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

Handle standard LAN files, differences between single/multiple elements in a section

This commit is contained in:
e107steved
2008-08-10 16:06:15 +00:00
parent 3e3d1db9a3
commit 526ec11746
2 changed files with 22 additions and 15 deletions

View File

@@ -12,8 +12,8 @@
| GNU General Public License (http://gnu.org).
|
| $Source: /cvs_backup/e107_0.8/e107_admin/header.php,v $
| $Revision: 1.15 $
| $Date: 2008-05-23 21:14:38 $
| $Revision: 1.16 $
| $Date: 2008-08-10 16:06:15 $
| $Author: e107steved $
+---------------------------------------------------------------+
*/
@@ -459,6 +459,15 @@ function admin_purge_related($table, $id)
}
}
// Searches a defined set of paths and file names to load language files used for admin (including install etc)
function include_lan_admin($path)
{
include_lan($path.'languages/'.e_LANGUAGE.'/lan_config.php');
include_lan($path.'languages/admin/'.e_LANGUAGE.'.php');
}
$sql->db_Mark_Time('Parse Admin Header');
if (strpos(e_SELF.'?'.e_QUERY, 'menus.php?configure') === FALSE) {
parse_admin($ADMIN_HEADER);