1
0
mirror of https://github.com/e107inc/e107.git synced 2025-08-18 04:12:00 +02:00

Issue #149 - fixes media-categories, theme layout, menu-prefs etc.

This commit is contained in:
Cameron
2013-03-28 00:41:29 -07:00
parent bb200157bc
commit 9be058d806
4 changed files with 90 additions and 37 deletions

View File

@@ -14,6 +14,7 @@
* $Author$
*
*/
define("e_MINIMAL",true);
require_once ("../class2.php");
// include_lan(e_LANGUAGEDIR.e_LANGUAGE.'/admin/lan_'.e_PAGE);
@@ -274,17 +275,19 @@ class e107Update
{
$text .= "<tr><td>".$data['title']."</td>";
if(vartrue($data['message']))
{
$mes->addInfo($data['message']);
}
if(call_user_func("update_".$func))
{
$text .= "<td>".LAN_UPDATE_3."</td>";
$text .= "<td>".ADMIN_TRUE_ICON."</td>";
}
else
{
if(vartrue($data['message']))
{
$mes->addInfo($data['message']);
}
$this->updates ++;
$text .= "<td>".$frm->admin_button('update_core['.$func.']', LAN_UPDATE, 'warning', '', "id=e-{$func}&disabled=".$this->disabled)."</td>";