1
0
mirror of synced 2024-11-26 23:36:08 +03:00
bitrix-module/intaro.intarocrm/install/step1.php

62 lines
2.8 KiB
PHP
Raw Normal View History

2013-07-24 14:44:48 +04:00
<?php
IncludeModuleLangFile(__FILE__);
2013-07-05 18:19:42 +04:00
2013-07-24 14:44:48 +04:00
if(isset($arResult['errCode']) && $arResult['errCode'])
echo CAdminMessage::ShowMessage(GetMessage($arResult['errCode']));
?>
2013-07-05 18:19:42 +04:00
<div class="adm-detail-content-item-block">
<form action="<?php echo $APPLICATION->GetCurPage() ?>" method="POST">
<?php echo bitrix_sessid_post(); ?>
<input type="hidden" name="lang" value="<?php echo LANGUAGE_ID ?>">
2013-07-16 18:50:05 +04:00
<input type="hidden" name="id" value="intaro.intarocrm">
2013-07-05 18:19:42 +04:00
<input type="hidden" name="install" value="Y">
<input type="hidden" name="step" value="2">
<table class="adm-detail-content-table edit-table" id="edit1_edit_table">
<tbody>
2013-07-18 14:32:10 +04:00
<tr class="heading">
<td colspan="2">
<b><?php echo GetMessage('STEP_NAME'); ?></b>
</td>
</tr>
<tr align="center">
<td colspan="2"><b><?php echo GetMessage('INFO_1'); ?></b></td>
</tr>
<tr align="center">
<td colspan="2"><b><?php echo GetMessage('INFO_2'); ?></b></td>
</tr>
2013-09-02 18:17:42 +04:00
<tr align="center">
<td colspan="2"><b><?php echo GetMessage('INFO_3'); ?></b></td>
</tr>
2013-07-18 14:32:10 +04:00
<tr align="center">
<td colspan="2">&nbsp;</td>
</tr>
<tr>
<td width="50%" class="adm-detail-content-cell-l"><?php echo GetMessage('ICRM_API_HOST'); ?></td>
<td width="50%" class="adm-detail-content-cell-r"><input type="text" id="api_host" name="api_host" value=""></td>
</tr>
<tr>
<td width="50%" class="adm-detail-content-cell-l"><?php echo GetMessage('ICRM_API_KEY'); ?></td>
<td width="50%" class="adm-detail-content-cell-r"><input type="text" id="api_key" name="api_key" value=""></td>
</tr>
2013-09-02 15:48:12 +04:00
<tr>
<td width="50%" class="adm-detail-content-cell-l"><?php echo GetMessage('ICRM_SITES'); ?></td>
<td width="50%" class="adm-detail-content-cell-r">
<select id="sites_ids" name="sites_ids[]" multiple="multiple" size="3">
<?php foreach ($arResult['arSites'] as $site): ?>
<option value="<?php echo $site['LID'] ?>" selected="selected"><?php echo $site['NAME'] . ' (' . $site['LID'] . ')' ?></option>
<?php endforeach; ?>
</select>
</td>
</tr>
2013-07-18 14:32:10 +04:00
</tbody>
</table>
2013-07-05 18:19:42 +04:00
<br />
2013-07-18 14:32:10 +04:00
<div style="padding: 1px 13px 2px; height:28px;">
<div align="right" style="float:right; position:relative;">
<input type="submit" name="inst" value="<?php echo GetMessage("MOD_NEXT_STEP"); ?>" class="adm-btn-save">
</div>
</div>
2013-07-05 18:19:42 +04:00
</form>
2013-07-18 22:55:52 +04:00
</div>