mirror of
https://github.com/e107inc/e107.git
synced 2025-08-01 20:30:39 +02:00
Remove lan_admin from the list
This commit is contained in:
@@ -9,8 +9,8 @@
|
|||||||
* Administration Area - Languages
|
* Administration Area - Languages
|
||||||
*
|
*
|
||||||
* $Source: /cvs_backup/e107_0.8/e107_admin/language.php,v $
|
* $Source: /cvs_backup/e107_0.8/e107_admin/language.php,v $
|
||||||
* $Revision: 1.24 $
|
* $Revision: 1.25 $
|
||||||
* $Date: 2009-11-07 11:20:27 $
|
* $Date: 2009-11-07 11:34:22 $
|
||||||
* $Author: e107coders $
|
* $Author: e107coders $
|
||||||
*
|
*
|
||||||
*/
|
*/
|
||||||
@@ -636,7 +636,11 @@ function show_tools()
|
|||||||
$lans = $fl->get_files(e_LANGUAGEDIR."English/admin");
|
$lans = $fl->get_files(e_LANGUAGEDIR."English/admin");
|
||||||
|
|
||||||
foreach($lans as $script=>$lan)
|
foreach($lans as $script=>$lan)
|
||||||
{
|
{
|
||||||
|
if(basename($lan)=='lan_admin.php')
|
||||||
|
{
|
||||||
|
continue;
|
||||||
|
}
|
||||||
$selected = ($lan == varset($_POST['deprecatedLans'])) ? "selected='selected'" : "";
|
$selected = ($lan == varset($_POST['deprecatedLans'])) ? "selected='selected'" : "";
|
||||||
$text .= "<option value='".$lan."' {$selected}>".str_replace(e_LANGUAGEDIR."English/","",$lan)."</option>\n";
|
$text .= "<option value='".$lan."' {$selected}>".str_replace(e_LANGUAGEDIR."English/","",$lan)."</option>\n";
|
||||||
}
|
}
|
||||||
|
Reference in New Issue
Block a user