Go to the documentation of this file.
8 require_once(
'header.inc.php');
9 require_once(CH_DIRECTORY_PATH_INC .
'db.inc.php');
10 require_once(CH_DIRECTORY_PATH_INC .
'design.inc.php');
11 require_once(CH_DIRECTORY_PATH_INC .
'prof.inc.php');
12 require_once(CH_DIRECTORY_PATH_INC .
'languages.inc.php');
31 'jquery-migrate.min.js',
32 'jquery.ui.position.min.js',
36 'jquery.dolRetina.js',
37 'jquery.float_info.js',
39 'jquery.dolRSSFeed.js',
47 chPageCodeAdmin($oTemplate);
52 if (is_array($mixedTopItems)) {
54 $mixedButtons = array();
55 foreach ($mixedTopItems
as $sId => $aAction) {
56 $mixedButtons[] = array(
59 'class' => isset($aAction[
'class']) ?
' class="' . $aAction[
'class'] .
'"' :
'',
60 'icon' => isset($aAction[
'icon']) ?
$GLOBALS[
'oFunctions']->sysImage($aAction[
'icon']) :
'',
61 'href' => isset($aAction[
'href']) ?
' href="' .
htmlspecialchars_adv($aAction[
'href']) .
'"' :
'',
62 'target' => isset($aAction[
'target']) ?
' target="' . $aAction[
'target'] .
'"' :
'',
63 'on_click' => isset($aAction[
'onclick']) ?
' onclick="' . $aAction[
'onclick'] .
'"' :
'',
64 'ch_if:hide_active' => array(
65 'condition' => !isset($aAction[
'active']) || $aAction[
'active'] != 1,
68 'ch_if:hide_inactive' => array(
69 'condition' => isset($aAction[
'active']) && $aAction[
'active'] == 1,
72 'ch_if:show_bullet' => array(
73 'condition' => !$bFirst,
81 $mixedButtons = $mixedTopItems;
84 return $GLOBALS[
'oAdmTemplate']->parseHtmlByName(
'design_box_' . (
int)
$iIndex .
'.html', array(
86 'ch_repeat:actions' => $mixedButtons,
88 'bottom_items' => $sBottomItems
95 $sUrlRelocate =
ch_get(
'relocate');
96 if (
empty($sUrlRelocate) || basename($sUrlRelocate) ==
'index.php') {
104 'header' =>
_t(
'_adm_page_cpt_login')
107 $bLicense =
getParam(
'license_code') !=
'';
115 'action_url' =>
$GLOBALS[
'site'][
'url_admin'] .
'index.php',
117 'ch_if:show_unregistered' => array(
136 if (
getParam(
'feeds_enable') !=
'on') {
140 return DesignBoxAdmin(
_t(
'_adm_txt_hosting_title'),
$GLOBALS[
'oAdmTemplate']->parseHtmlByName(
'hosting_promo.html', array()),
'',
'', 11);
ch_import($sClassName, $aModule=array())
$_page_cont[$_ni]['page_main_code']
ch_html_attribute($mixedInput)
DesignBoxAdmin($sTitle, $sContent, $mixedTopItems='', $sBottomItems='', $iIndex=1)
getParam($sParamName, $bUseCache=true)
htmlspecialchars_adv($string)
PageCodeAdmin($oTemplate=null)
_t($key, $arg0="", $arg1="", $arg2="")
Attr AllowedRel this is empty
if($aLicenseData['site_url']=='') if($aLicenseData['server_ip']=='') $aLicenseData['issue_date']