Skip to content
Snippets Groups Projects
Commit bb205730 authored by karailiev's avatar karailiev
Browse files

* showing witch language file is being edited at the moment

parent 3af0c1ea
No related branches found
No related tags found
No related merge requests found
......@@ -74,9 +74,12 @@ $app->tpl->setVar(array('module' => $module,'lang_file' => $lang_file, 'lang' =>
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_defaults();
$app->tpl->pparse();
?>
\ No newline at end of file
?>
......@@ -7,7 +7,7 @@
</tmpl_if>
<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">
<tmpl_loop name="records">
<span class="wf_oneField">
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment