mirror of
https://github.com/e107inc/e107.git
synced 2025-08-01 12:20:44 +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
|
||||
if ('0' == ADMINPERMS)
|
||||
@@ -194,6 +194,9 @@ if ('0' == ADMINPERMS)
|
||||
require_once(e_ADMIN.'update_routines.php');
|
||||
update_check();
|
||||
}
|
||||
|
||||
|
||||
|
||||
// end auto db update
|
||||
|
||||
/*
|
||||
|
@@ -215,7 +215,7 @@ $ADMIN_HEADER .= '<div class="container-fluid">
|
||||
|
||||
</div>
|
||||
<div class="span10" id="right-panel" >
|
||||
{ADMIN_COREUPDATE=alert}
|
||||
|
||||
';
|
||||
|
||||
|
||||
|
Reference in New Issue
Block a user