本文整理汇总了PHP中mslib_fe::jQueryAdminMenu方法的典型用法代码示例。如果您正苦于以下问题:PHP mslib_fe::jQueryAdminMenu方法的具体用法?PHP mslib_fe::jQueryAdminMenu怎么用?PHP mslib_fe::jQueryAdminMenu使用的例子?那么恭喜您, 这里精选的方法代码示例或许可以为您提供帮助。您也可以进一步了解该方法所在类mslib_fe
的用法示例。
在下文中一共展示了mslib_fe::jQueryAdminMenu方法的2个代码示例,这些例子默认根据受欢迎程度排序。您可以为喜欢或者感觉有用的代码点赞,您的评价将有助于系统推荐出更棒的PHP代码示例。
示例1: die
<?php
if (!defined('TYPO3_MODE')) {
die('Access denied.');
}
header("Content-Type:application/json; charset=UTF-8");
header("Expires: Mon, 26 Jul 1997 05:00:00 GMT");
header("Last-Modified: " . gmdate("D,d M YH:i:s") . " GMT");
header("Cache-Control: no-cache, must-revalidate");
header("Pragma: no-cache");
if ($this->ADMIN_USER) {
$this->get['categories_id'] = $this->get['tx_multishop_pi1']['categories_id'];
$this->get['products_id'] = $this->get['tx_multishop_pi1']['products_id'];
$data = mslib_fe::jQueryAdminMenu();
echo json_encode($data, ENT_NOQUOTES);
exit;
}
示例2: elseif
';
if ($this->get['products_id']) {
$meta_tags['1_jquery'].='msAdminShortcutFunc(\'product\');'."\n";
} elseif ($this->get['categories_id']) {
$meta_tags['1_jquery'].='msAdminShortcutFunc(\'category\');'."\n";
} else {
$meta_tags['1_jquery'].='msAdminShortcutFunc();'."\n";
}
$meta_tags['1_jquery'].='
});
</script>
';
*/
}
if ($this->ADMIN_USER) {
$admin_menu_panel = mslib_fe::jQueryAdminMenu();
// admin stats
if ($this->ms['MODULES']['GLOBAL_MODULES']['CACHE_FRONT_END']) {
$options = array('caching' => true, 'cacheDir' => $this->DOCUMENT_ROOT . 'uploads/tx_multishop/tmp/cache/', 'lifeTime' => 180);
$Cache_Lite = new Cache_Lite($options);
$string = md5('admin_stats_' . $this->shop_pid);
}
if (!$this->ms['MODULES']['GLOBAL_MODULES']['CACHE_FRONT_END'] or $this->ms['MODULES']['GLOBAL_MODULES']['CACHE_FRONT_END'] and !($html = $Cache_Lite->get($string))) {
$html = '
<script type="text/javascript" data-ignore="1">
jQuery(document).ready(function($) {
var intervalID;
// messages
';
$messages = array();
// total customers