mirror of
https://github.com/kleeja-official/kleeja.git
synced 2025-12-15 20:49:41 +01:00
fixes
This commit is contained in:
@@ -42,12 +42,12 @@ $usernamelang = sprintf($lang['KLEEJA_CP_W'], $username);
|
|||||||
$current_year = date('Y');
|
$current_year = date('Y');
|
||||||
|
|
||||||
$startBoxes = array(
|
$startBoxes = array(
|
||||||
'notifications' => array('title' => $lang['NOTIFICATIONS'], 'hidden' => (int) adm_is_hidden_start_boxe('notifications')),
|
'notifications' => array('title' => $lang['NOTIFICATIONS'], 'hidden' => (int) adm_is_start_box_hidden('notifications')),
|
||||||
'statsBoxes' => array('title' => $lang['STATS_BOXES'], 'hidden' => (int) adm_is_hidden_start_boxe('statsBoxes')),
|
'statsBoxes' => array('title' => $lang['STATS_BOXES'], 'hidden' => (int) adm_is_start_box_hidden('statsBoxes')),
|
||||||
'lastVisitActions' => array('title' => $lang['LAST_VISIT'], 'hidden' => (int) adm_is_hidden_start_boxe('lastVisitActions')),
|
'lastVisitActions' => array('title' => $lang['LAST_VISIT'], 'hidden' => (int) adm_is_start_box_hidden('lastVisitActions')),
|
||||||
'statsChart' => array('title' => $lang['STATS'], 'hidden' => (int) adm_is_hidden_start_boxe('statsChart')),
|
'statsChart' => array('title' => $lang['STATS'], 'hidden' => (int) adm_is_start_box_hidden('statsChart')),
|
||||||
'hurryActions' => array('title' => $lang['HURRY_HURRY'], 'hidden' => (int) adm_is_hidden_start_boxe('hurryActions')),
|
'hurryActions' => array('title' => $lang['HURRY_HURRY'], 'hidden' => (int) adm_is_start_box_hidden('hurryActions')),
|
||||||
'extraStats' => array('title' => $lang['OTHER_INFO'], 'hidden' => (int) adm_is_hidden_start_boxe('extraStats')),
|
'extraStats' => array('title' => $lang['OTHER_INFO'], 'hidden' => (int) adm_is_start_box_hidden('extraStats')),
|
||||||
);
|
);
|
||||||
|
|
||||||
$extra_adm_start_html = '';
|
$extra_adm_start_html = '';
|
||||||
|
|||||||
@@ -357,7 +357,7 @@ function get_actual_stats($name)
|
|||||||
* @param string $name box name
|
* @param string $name box name
|
||||||
* @return bool
|
* @return bool
|
||||||
*/
|
*/
|
||||||
function adm_is_hidden_start_boxe($name)
|
function adm_is_start_box_hidden($name)
|
||||||
{
|
{
|
||||||
global $config;
|
global $config;
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user