Update
This commit is contained in:
@@ -1,39 +0,0 @@
|
||||
<? if(!defined("B_PROLOG_INCLUDED") || B_PROLOG_INCLUDED!==true)die();
|
||||
|
||||
$mobileAdminPageHtml = ob_get_contents();
|
||||
ob_end_clean();
|
||||
|
||||
CMobile::Init();
|
||||
|
||||
?>
|
||||
<!DOCTYPE html>
|
||||
<html<?=$APPLICATION->ShowProperty("Manifest");?> class="<?=CMobile::$platform;?>">
|
||||
<head>
|
||||
<meta http-equiv="Content-Type" content="text/html;charset=<?=SITE_CHARSET?>"/>
|
||||
<meta name="format-detection" content="telephone=no"><?
|
||||
$APPLICATION->ShowHeadStrings(true);
|
||||
$APPLICATION->ShowHeadStrings();
|
||||
$APPLICATION->ShowHeadScripts();
|
||||
CJSCore::Init('ajax');
|
||||
?><title><?$APPLICATION->ShowTitle()?></title>
|
||||
</head>
|
||||
<body class="<?=$APPLICATION->ShowProperty("BodyClass")?>">
|
||||
<?=$mobileAdminPageHtml?>
|
||||
</body>
|
||||
</html>
|
||||
|
||||
<script type="text/javascript">
|
||||
var pullParams = {
|
||||
enable:true,
|
||||
pulltext:"<?=GetMessage("PULL_TEXT")?>",
|
||||
downtext:"<?=GetMessage("DOWN_TEXT")?>",
|
||||
loadtext:"<?=GetMessage("LOAD_TEXT")?>"
|
||||
};
|
||||
if(app.enableInVersion(2))
|
||||
pullParams.action = "RELOAD";
|
||||
else
|
||||
pullParams.callback = function(){document.location.reload();};
|
||||
app.pullDown(pullParams);
|
||||
</script>
|
||||
|
||||
<?require($_SERVER["DOCUMENT_ROOT"]."/bitrix/modules/main/include/epilog_admin_after.php"); ?>
|
||||
@@ -1,19 +0,0 @@
|
||||
<?
|
||||
require_once($_SERVER["DOCUMENT_ROOT"] . '/bitrix/modules/mobileapp/include/defines.php');
|
||||
require($_SERVER["DOCUMENT_ROOT"] . '/bitrix/modules/main/include/prolog_admin_before.php');
|
||||
|
||||
if (!CModule::IncludeModule('mobileapp')) die("Module mobileapp not installed");
|
||||
|
||||
$startPage = CAdminMobileMenu::getDefaultUrl( array(
|
||||
"MENU_FILE" => MOBILE_APP_MENU_FILE,
|
||||
"EVENT_NAME" => MOBILE_APP_BUILD_MENU_EVENT_NAME,
|
||||
"MOBILE_APP_INDEX_PAGE" => MOBILE_APP_ADMIN_PATH
|
||||
));
|
||||
|
||||
$APPLICATION->IncludeComponent("bitrix:mobileapp.auth","",Array(
|
||||
"START_PAGE" => $startPage,
|
||||
"MENU_PAGE" => MOBILE_APP_ADMIN_PATH."/left.php"
|
||||
),false, Array("HIDE_ICONS" => "Y"));
|
||||
|
||||
ob_start();
|
||||
?>
|
||||
Reference in New Issue
Block a user