1
0
mirror of https://github.com/e107inc/e107.git synced 2025-08-20 13:21:54 +02:00

Update methods to load LAN files in Admin Area

(fingers crossed there are no typo's...)
This commit is contained in:
Tijn Kuyper
2017-01-17 01:33:03 +01:00
parent 65f840d5b3
commit 347c9f9af0
38 changed files with 59 additions and 229 deletions

View File

@@ -9,6 +9,7 @@
* Administration - Site Preferences
*
*/
require_once ("../class2.php");
if(isset($_POST['newver']))
@@ -17,17 +18,17 @@ if(isset($_POST['newver']))
exit();
}
if(! getperms("1"))
if(!getperms("1"))
{
e107::redirect('admin');
exit();
}
include_lan(e_LANGUAGEDIR.e_LANGUAGE.'/admin/lan_'.e_PAGE);
e107::coreLan('prefs', true);
$e_sub_cat = 'prefs';
e107::lan('core','mailout','admin');
//e107::lan('core','mailout','admin');
e107::coreLan('mailout', true);
require_once (e_ADMIN."auth.php");