コード例 #1
0
ファイル: options.php プロジェクト: mrdeadmouse/u136006
    ?>
<form method="POST" action="<?php 
    echo $APPLICATION->GetCurPage();
    ?>
?mid=<?php 
    echo htmlspecialcharsbx($mid);
    ?>
&amp;lang=<?php 
    echo LANG;
    ?>
">
<?php 
    echo bitrix_sessid_post();
    $tabControl->Begin();
    $tabControl->BeginNextTab();
    __AdmSettingsDrawList("controller", $arOptions);
    $tabControl->BeginNextTab();
    require_once $_SERVER["DOCUMENT_ROOT"] . "/bitrix/modules/main/admin/group_rights.php";
    $tabControl->Buttons();
    ?>
	<input <?php 
    if ($M_RIGHT < "W") {
        echo "disabled";
    }
    ?>
 type="submit" name="Update" value="<?php 
    echo GetMessage("MAIN_SAVE");
    ?>
" title="<?php 
    echo GetMessage("MAIN_OPT_SAVE_TITLE");
    ?>
コード例 #2
0
ファイル: options.php プロジェクト: DarneoStudio/bitrix
    echo $APPLICATION->GetCurPage();
    ?>
?mid=<?php 
    echo htmlspecialcharsbx($mid);
    ?>
&lang=<?php 
    echo LANGUAGE_ID;
    ?>
">
<?php 
    $tabControl->BeginNextTab();
    __AdmSettingsDrawList('crm', $arOptionsBase);
    //$tabControl->BeginNextTab();
    //__AdmSettingsDrawList('crm', $arOptionsBase);
    $tabControl->BeginNextTab();
    __AdmSettingsDrawList('crm', $arOptionsPath);
    //$tabControl->BeginNextTab();
    //require_once($_SERVER['DOCUMENT_ROOT'].'/bitrix/modules/main/admin/group_rights.php');
    $tabControl->Buttons();
    ?>
<script language="JavaScript">
function RestoreDefaults()
{
	if(confirm('<?php 
    echo AddSlashes(GetMessage('MAIN_HINT_RESTORE_DEFAULTS_WARNING'));
    ?>
'))
		window.location = "<?php 
    echo $APPLICATION->GetCurPage();
    ?>
?RestoreDefaults=Y&lang=<?php 
コード例 #3
0
ファイル: options.php プロジェクト: k-kalashnikov/geekcon_new
        $tabControl->BeginNextTab();
        __AdmSettingsDrawRow('wiki', array('socnet_enable', GetMessage('WIKI_OPTIONS_SOCNET_ENABLE'), $socnet_enable, array('checkbox')));
        ?>
	<tr>
		<td><?php 
        echo GetMessage('WIKI_OPTIONS_SOCNET_IBLOCK_ID');
        ?>
</td>
		<td><?php 
        echo GetIBlockDropDownList($socnet_iblock_id, 'socnet_iblock_type_id', 'socnet_iblock_id');
        ?>
</td>
	</tr>
	<?php 
        if (IsModuleInstalled('forum')) {
            __AdmSettingsDrawList('wiki', $arForumOptions);
        }
    }
    $tabControl->BeginNextTab();
    require_once $_SERVER['DOCUMENT_ROOT'] . '/bitrix/modules/main/admin/group_rights.php';
    $tabControl->Buttons();
    ?>
<script language="JavaScript">
function RestoreDefaults()
{
	if(confirm('<?php 
    echo AddSlashes(GetMessage('MAIN_HINT_RESTORE_DEFAULTS_WARNING'));
    ?>
'))
		window.location = "<?php 
    echo $APPLICATION->GetCurPage();
コード例 #4
0
ファイル: options.php プロジェクト: DarneoStudio/bitrix
        }
    }
    $tabControl->Begin();
    ?>
<form method="POST" action="<?php 
    echo $APPLICATION->GetCurPage();
    ?>
?mid=<?php 
    echo htmlspecialcharsbx($mid);
    ?>
&amp;lang=<?php 
    echo LANGUAGE_ID;
    ?>
"><?php 
    $tabControl->BeginNextTab();
    __AdmSettingsDrawList("translate", $arAllOptions);
    $tabControl->BeginNextTab();
    require_once $_SERVER["DOCUMENT_ROOT"] . "/bitrix/modules/main/admin/group_rights.php";
    $tabControl->Buttons();
    ?>
	<input <?php 
    if ($TRANS_RIGHT < "W") {
        echo "disabled";
    }
    ?>
 type="submit" name="Update" value="<?php 
    echo GetMessage("MAIN_SAVE");
    ?>
" title="<?php 
    echo GetMessage("MAIN_OPT_SAVE_TITLE");
    ?>
コード例 #5
0
ファイル: options.php プロジェクト: DarneoStudio/bitrix
    $tabControl = new CAdminTabControl("tabControl", $aTabs);
    $tabControl->Begin();
    ?>
<form method="POST" action="<?php 
    echo $APPLICATION->GetCurPage();
    ?>
?mid=<?php 
    echo htmlspecialcharsbx($mid);
    ?>
&lang=<?php 
    echo LANGUAGE_ID;
    ?>
" name="ldap_settings">
<?php 
    $tabControl->BeginNextTab();
    __AdmSettingsDrawList("ldap", $arAllOptions);
    $tabControl->BeginNextTab();
    require_once $_SERVER["DOCUMENT_ROOT"] . "/bitrix/modules/main/admin/group_rights.php";
    $tabControl->Buttons();
    ?>
<script language="JavaScript">
function RestoreDefaults()
{
	if(confirm('<?php 
    echo AddSlashes(GetMessage("MAIN_HINT_RESTORE_DEFAULTS_WARNING"));
    ?>
'))
		window.location = "<?php 
    echo $APPLICATION->GetCurPage();
    ?>
?RestoreDefaults=Y&lang=<?php 
コード例 #6
0
ファイル: options.php プロジェクト: safindr/snippets
$options = array_merge($options, $eventOptions);
if (count($options) == 0) {
    $options[] = array("note" => GetMessage('HOW_ADD'));
}
$aTabs = array(array('DIV' => 'safin_options', 'TAB' => GetMessage('OPTIONS_TAB'), 'OPTIONS' => $options));
if ($_SERVER['REQUEST_METHOD'] == 'POST' && strlen($_REQUEST['save']) > 0 && check_bitrix_sessid()) {
    foreach ($aTabs as $aTab) {
        __AdmSettingsSaveOptions($moduleId, $aTab['OPTIONS']);
    }
    LocalRedirect($APPLICATION->GetCurPage() . '?lang=' . LANGUAGE_ID . '&mid_menu=1&mid=' . urlencode($moduleId) . '&tabControl_active_tab=' . urlencode($_REQUEST['tabControl_active_tab']) . '&sid=' . urlencode($siteId));
}
$tabControl = new CAdminTabControl('tabControl', $aTabs);
?>
    <form method='post' action=''>
        <?php 
$tabControl->Begin();
foreach ($aTabs as $aTab) {
    $tabControl->BeginNextTab();
    __AdmSettingsDrawList($moduleId, $aTab['OPTIONS']);
}
$tabControl->Buttons(array('btnApply' => false, 'btnCancel' => false, 'btnSaveAndAdd' => false));
?>

        <?php 
echo bitrix_sessid_post();
?>
        <?php 
$tabControl->End();
?>
    </form>
コード例 #7
0
ファイル: options.php プロジェクト: HannibalLecktor/alfa74
<?php 
$tabControl->Begin();
?>
    <form method="POST"
          action="<?php 
echo $APPLICATION->GetCurPage();
?>
?mid=<?php 
echo htmlspecialcharsbx($mid);
?>
&amp;lang=<?php 
echo LANGUAGE_ID;
?>
">
        <?php 
$tabControl->BeginNextTab();
?>
        <?php 
__AdmSettingsDrawList("xpage.seofilter", $arAllOptions);
?>
        <?php 
$tabControl->Buttons();
?>
        <input type="submit" name="Update" value="Сохранить">
        <input type="submit" name="Apply" value="Применить">
        <?php 
echo bitrix_sessid_post();
?>
    </form>
<?php 
$tabControl->End();
コード例 #8
0
ファイル: options.php プロジェクト: DarneoStudio/bitrix
				<td colspan="3" style="border:none">
				<br />
				<input type="button" value="<?php 
    echo GetMessage("WEBDAV_OPTIONS_ADD_FILE_TYPE");
    ?>
" onClick="addNewTableRow('tblTYPES', /right\[(n)([0-9]*)\]/g, 2)">
				</td>
			</tr>
		</table>
		</td>
	</tr>
<?php 
    $tabControl->BeginNextTab();
    ?>
	<?php 
    __AdmSettingsDrawList("webdav", $arHistoryOptions);
    $tabControl->Buttons();
    ?>
<script language="JavaScript">
function RestoreDefaults()
{
	if(confirm('<?php 
    echo AddSlashes(GetMessage("MAIN_HINT_RESTORE_DEFAULTS_WARNING"));
    ?>
'))
		window.location = "<?php 
    echo $APPLICATION->GetCurPage();
    ?>
?RestoreDefaults=Y&lang=<?php 
    echo LANG;
    ?>