Commit bb205730 authored by karailiev's avatar karailiev
Browse files

* showing witch language file is being edited at the moment

parent 3af0c1ea
...@@ -74,9 +74,12 @@ $app->tpl->setVar(array('module' => $module,'lang_file' => $lang_file, 'lang' => ...@@ -74,9 +74,12 @@ $app->tpl->setVar(array('module' => $module,'lang_file' => $lang_file, 'lang' =>
if($module == 'global') { if($module == 'global') {
include(ISPC_LIB_PATH."/lang/$lang_file"); include(ISPC_LIB_PATH."/lang/$lang_file");
$file_path = ISPC_LIB_PATH."/lang/$lang_file";
} else { } else {
include(ISPC_WEB_PATH."/$module/lib/lang/$lang_file"); 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(); $keyword_list = array();
if(isset($wb) && is_array($wb)) { if(isset($wb) && is_array($wb)) {
...@@ -98,4 +101,4 @@ $app->tpl_defaults(); ...@@ -98,4 +101,4 @@ $app->tpl_defaults();
$app->tpl->pparse(); $app->tpl->pparse();
?> ?>
\ No newline at end of file
...@@ -7,7 +7,7 @@ ...@@ -7,7 +7,7 @@
</tmpl_if> </tmpl_if>
<div class="pnl_formsarea"> <div class="pnl_formsarea">
<fieldset id="wf_area_language_edit"><legend>Language Edit</legend> <fieldset id="wf_area_language_edit"><legend>Language File Edit: {tmpl_var name="file_path"}</legend>
<span class="wf_oneField"> <span class="wf_oneField">
<tmpl_loop name="records"> <tmpl_loop name="records">
<span class="wf_oneField"> <span class="wf_oneField">
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment