Beispiel #1
0
require_once $_SERVER["DOCUMENT_ROOT"] . '/bitrix/modules/main/include/prolog_admin_after.php';
if (!CModule::IncludeModule('bx_moddev')) {
    die('no bx_moddev module');
}
$APPLICATION->SetAdditionalCSS('/bitrix/modules/bx_moddev/css/bx-moddev.css');
$active_module = array_key_exists('module', $_GET) ? filter_input(INPUT_GET, 'module', FILTER_SANITIZE_STRING) : 'bx_moddev';
$aTabs = array(array('DIV' => 'tab1', 'TAB' => GetMessage('MODULS_LIST_TAB'), 'ICON' => '', 'TITLE' => GetMessage('MODULS_LIST_TITLE')));
$tabControl = new CAdminTabControl("tabControl", $aTabs);
$tabControl->Begin();
$tabControl->BeginNextTab();
?>

<tr>
	<td colspan="2" align="center">
		<?php 
print SelectBox('moddev-module', CModule::GetDropdownList());
?>
	</td>
</tr>

<?
$tabControl->EndTab();
$tabControl->End();
?>

<div id="moddev-info"></div>
<div id="moddev-module-container"></div>

<script type="text/javascript" src="/bitrix/modules/bx_moddev/js/jquery-1.7.2.min.js"></script>
<script type="text/javascript">
(function() {