From 6e013fe5720148096804ae1fa869eec548837d57 Mon Sep 17 00:00:00 2001 From: Abdulrahman Date: Fri, 22 Feb 2019 15:07:50 +0300 Subject: [PATCH] fixes --- includes/adm/start.php | 12 ++++++------ includes/functions_adm.php | 2 +- 2 files changed, 7 insertions(+), 7 deletions(-) diff --git a/includes/adm/start.php b/includes/adm/start.php index a79d96f..64e1613 100755 --- a/includes/adm/start.php +++ b/includes/adm/start.php @@ -42,12 +42,12 @@ $usernamelang = sprintf($lang['KLEEJA_CP_W'], $username); $current_year = date('Y'); $startBoxes = array( - 'notifications' => array('title' => $lang['NOTIFICATIONS'], 'hidden' => (int) adm_is_hidden_start_boxe('notifications')), - 'statsBoxes' => array('title' => $lang['STATS_BOXES'], 'hidden' => (int) adm_is_hidden_start_boxe('statsBoxes')), - 'lastVisitActions' => array('title' => $lang['LAST_VISIT'], 'hidden' => (int) adm_is_hidden_start_boxe('lastVisitActions')), - 'statsChart' => array('title' => $lang['STATS'], 'hidden' => (int) adm_is_hidden_start_boxe('statsChart')), - 'hurryActions' => array('title' => $lang['HURRY_HURRY'], 'hidden' => (int) adm_is_hidden_start_boxe('hurryActions')), - 'extraStats' => array('title' => $lang['OTHER_INFO'], 'hidden' => (int) adm_is_hidden_start_boxe('extraStats')), + 'notifications' => array('title' => $lang['NOTIFICATIONS'], 'hidden' => (int) adm_is_start_box_hidden('notifications')), + 'statsBoxes' => array('title' => $lang['STATS_BOXES'], 'hidden' => (int) adm_is_start_box_hidden('statsBoxes')), + 'lastVisitActions' => array('title' => $lang['LAST_VISIT'], 'hidden' => (int) adm_is_start_box_hidden('lastVisitActions')), + 'statsChart' => array('title' => $lang['STATS'], 'hidden' => (int) adm_is_start_box_hidden('statsChart')), + 'hurryActions' => array('title' => $lang['HURRY_HURRY'], 'hidden' => (int) adm_is_start_box_hidden('hurryActions')), + 'extraStats' => array('title' => $lang['OTHER_INFO'], 'hidden' => (int) adm_is_start_box_hidden('extraStats')), ); $extra_adm_start_html = ''; diff --git a/includes/functions_adm.php b/includes/functions_adm.php index 61d6a49..8ec15e5 100755 --- a/includes/functions_adm.php +++ b/includes/functions_adm.php @@ -357,7 +357,7 @@ function get_actual_stats($name) * @param string $name box name * @return bool */ -function adm_is_hidden_start_boxe($name) +function adm_is_start_box_hidden($name) { global $config;