1
0
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:
Cameron
2013-05-12 04:51:06 -07:00
parent f874fc58da
commit c109689ac9
2 changed files with 6 additions and 3 deletions

View File

@@ -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
/* /*

View File

@@ -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}
'; ';