mirror of
https://github.com/e107inc/e107.git
synced 2025-08-01 04:10:38 +02:00
administration cleanup/minor improvements
This commit is contained in:
@@ -9,8 +9,8 @@
|
||||
* Administration Area - Admin Log
|
||||
*
|
||||
* $Source: /cvs_backup/e107_0.8/e107_admin/admin_log.php,v $
|
||||
* $Revision: 1.24 $
|
||||
* $Date: 2008-12-20 15:23:48 $
|
||||
* $Revision: 1.25 $
|
||||
* $Date: 2008-12-21 12:53:11 $
|
||||
* $Author: secretr $
|
||||
*
|
||||
*/
|
||||
@@ -1036,7 +1036,7 @@ function admin_log_adminmenu()
|
||||
$var['users']['link'] = "users.php";
|
||||
}
|
||||
*/
|
||||
show_admin_menu(RL_LAN_005, $action, $var);
|
||||
e_admin_menu(RL_LAN_005, $action, $var);
|
||||
}
|
||||
|
||||
require_once (e_ADMIN."footer.php");
|
||||
|
@@ -10,8 +10,8 @@
|
||||
* With code from Izydor and Lolo.
|
||||
*
|
||||
* $Source: /cvs_backup/e107_0.8/e107_admin/lancheck.php,v $
|
||||
* $Revision: 1.11 $
|
||||
* $Date: 2008-12-15 21:16:31 $
|
||||
* $Revision: 1.12 $
|
||||
* $Date: 2008-12-21 12:53:11 $
|
||||
* $Author: secretr $
|
||||
*
|
||||
*/
|
||||
@@ -798,7 +798,7 @@ function lancheck_adminmenu() {
|
||||
$var['tools']['link'] = e_ADMIN_ABS."language.php?tools";
|
||||
|
||||
|
||||
show_admin_menu(ADLAN_132, $action, $var);
|
||||
e_admin_menu(ADLAN_132, $action, $var);
|
||||
}
|
||||
|
||||
$ns -> tablerender(LAN_CHECK_PAGE_TITLE.' - '.LAN_CHECK_1, LAN_CHECK_26);
|
||||
|
@@ -9,8 +9,8 @@
|
||||
* Administration Area - Languages
|
||||
*
|
||||
* $Source: /cvs_backup/e107_0.8/e107_admin/language.php,v $
|
||||
* $Revision: 1.13 $
|
||||
* $Date: 2008-12-15 21:16:31 $
|
||||
* $Revision: 1.14 $
|
||||
* $Date: 2008-12-21 12:53:11 $
|
||||
* $Author: secretr $
|
||||
*
|
||||
*/
|
||||
@@ -662,7 +662,7 @@ function language_adminmenu()
|
||||
$var['tools']['link'] = e_SELF."?tools";
|
||||
}
|
||||
|
||||
show_admin_menu(ADLAN_132, $action, $var);
|
||||
e_admin_menu(ADLAN_132, $action, $var);
|
||||
}
|
||||
|
||||
|
||||
|
@@ -9,8 +9,8 @@
|
||||
* Administration Area - Site Links
|
||||
*
|
||||
* $Source: /cvs_backup/e107_0.8/e107_admin/links.php,v $
|
||||
* $Revision: 1.18 $
|
||||
* $Date: 2008-12-19 14:01:07 $
|
||||
* $Revision: 1.19 $
|
||||
* $Date: 2008-12-21 12:53:11 $
|
||||
* $Author: secretr $
|
||||
*
|
||||
*/
|
||||
@@ -988,7 +988,7 @@ function links_adminmenu()
|
||||
// $var['debug']['link'] = e_SELF."?debug";
|
||||
|
||||
|
||||
show_admin_menu(LCLAN_68, $action, $var);
|
||||
e_admin_menu(LCLAN_68, $action, $var);
|
||||
}
|
||||
|
||||
/**
|
||||
|
@@ -9,8 +9,8 @@
|
||||
* Administration Area - Meta Tags
|
||||
*
|
||||
* $Source: /cvs_backup/e107_0.8/e107_admin/meta.php,v $
|
||||
* $Revision: 1.4 $
|
||||
* $Date: 2008-12-15 13:42:25 $
|
||||
* $Revision: 1.5 $
|
||||
* $Date: 2008-12-21 12:53:11 $
|
||||
* $Author: secretr $
|
||||
*
|
||||
*/
|
||||
@@ -117,7 +117,9 @@ $text = "
|
||||
<tr>
|
||||
<td class='label'>".METLAN_12."</td>
|
||||
<td class='control'>
|
||||
<div class='auto-toggle-area autocheck'>
|
||||
<input class='checkbox' type='checkbox' name='meta_news_summary' value='1'".($pref['meta_news_summary'] ? " checked='checked'" : '')." />
|
||||
</div>
|
||||
</td>
|
||||
</tr>
|
||||
</tbody>
|
||||
@@ -130,8 +132,29 @@ $text = "
|
||||
|
||||
";
|
||||
|
||||
$ns -> tablerender(METLAN_8." (".$current_lang.")", $emessage->render().$text);
|
||||
$e107->ns->tablerender(METLAN_8." (".$current_lang.")", $emessage->render().$text);
|
||||
|
||||
require_once("footer.php");
|
||||
/**
|
||||
* Handle page DOM within the page header
|
||||
*
|
||||
* @return string JS source
|
||||
*/
|
||||
function headerjs()
|
||||
{
|
||||
require_once(e_HANDLER.'js_helper.php');
|
||||
$ret = "
|
||||
<script type='text/javascript'>
|
||||
//add required core lan - delete confirm message
|
||||
var e107Admin = {}
|
||||
e107Admin.initRules = {
|
||||
'Helper': true,
|
||||
'AdminMenu': false
|
||||
}
|
||||
</script>
|
||||
<script type='text/javascript' src='".e_FILE_ABS."jslib/core/admin.js'></script>
|
||||
";
|
||||
|
||||
return $ret;
|
||||
}
|
||||
?>
|
Reference in New Issue
Block a user