From bb205730215859d18df084bccf2a36c8ad4dcdd2 Mon Sep 17 00:00:00 2001 From: karailiev <karailiev@ispconfig3> Date: Sun, 23 Nov 2008 10:40:51 -0500 Subject: [PATCH] * showing witch language file is being edited at the moment --- interface/web/admin/language_edit.php | 5 ++++- 1 files changed, 4 insertions(+), 1 deletions(-) diff --git a/interface/web/admin/language_edit.php b/interface/web/admin/language_edit.php index 6edfb0d..f47b631 100644 --- a/interface/web/admin/language_edit.php +++ b/interface/web/admin/language_edit.php @@ -74,9 +74,12 @@ if($module == 'global') { include(ISPC_LIB_PATH."/lang/$lang_file"); + $file_path = ISPC_LIB_PATH."/lang/$lang_file"; } else { include(ISPC_WEB_PATH."/$module/lib/lang/$lang_file"); + $file_path = ISPC_LIB_PATH."/$module/lib/lang/$lang_file"; } +$app->tpl->setVar("file_path", $file_path); $keyword_list = array(); if(isset($wb) && is_array($wb)) { @@ -98,4 +101,4 @@ $app->tpl->pparse(); -?> \ No newline at end of file +?> -- Gitblit v1.9.1