mirror of
https://github.com/kleeja-official/kleeja.git
synced 2025-12-16 04:59:42 +01:00
enhancements
This commit is contained in:
14
ucp.php
14
ucp.php
@@ -21,6 +21,7 @@ is_array($plugin_run_result = Plugins::getInstance()->run('begin_usrcp_page', ge
|
||||
|
||||
|
||||
$extra = '';
|
||||
$show_style = true;
|
||||
|
||||
switch (g('go'))
|
||||
{
|
||||
@@ -924,9 +925,10 @@ is_array($plugin_run_result = Plugins::getInstance()->run('end_usrcp_page', get_
|
||||
$titlee = empty($titlee) ? $lang['USERS_SYSTEM'] : $titlee;
|
||||
$stylee = empty($stylee) ? 'info' : $stylee;
|
||||
|
||||
//header
|
||||
Saaheader($titlee, $extra);
|
||||
|
||||
echo $tpl->display($stylee);
|
||||
//footer
|
||||
Saafooter();
|
||||
//show style
|
||||
if($show_style)
|
||||
{
|
||||
Saaheader($titlee, $extra);
|
||||
echo $tpl->display($stylee);
|
||||
Saafooter();
|
||||
}
|
||||
Reference in New Issue
Block a user