mirror of
https://github.com/e107inc/e107.git
synced 2025-08-01 20:30:39 +02:00
Display upgrade alert on main admin page only.
This commit is contained in:
@@ -185,8 +185,8 @@ if (isset($potential))
|
|||||||
|
|
||||||
|
|
||||||
// ---------------------------------------------------------
|
// ---------------------------------------------------------
|
||||||
|
e107::getScBatch('admin');
|
||||||
|
echo $tp->parseTemplate('{ADMIN_COREUPDATE=alert}',true);
|
||||||
|
|
||||||
// auto db update
|
// auto db update
|
||||||
if ('0' == ADMINPERMS)
|
if ('0' == ADMINPERMS)
|
||||||
@@ -194,6 +194,9 @@ if ('0' == ADMINPERMS)
|
|||||||
require_once(e_ADMIN.'update_routines.php');
|
require_once(e_ADMIN.'update_routines.php');
|
||||||
update_check();
|
update_check();
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
// end auto db update
|
// end auto db update
|
||||||
|
|
||||||
/*
|
/*
|
||||||
|
@@ -215,7 +215,7 @@ $ADMIN_HEADER .= '<div class="container-fluid">
|
|||||||
|
|
||||||
</div>
|
</div>
|
||||||
<div class="span10" id="right-panel" >
|
<div class="span10" id="right-panel" >
|
||||||
{ADMIN_COREUPDATE=alert}
|
|
||||||
';
|
';
|
||||||
|
|
||||||
|
|
||||||
|
Reference in New Issue
Block a user