Skip to content
GitLab
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Register
Sign in
Toggle navigation
Menu
Open sidebar
ISPConfig
ISPConfig 3
Commits
bb205730
Commit
bb205730
authored
Nov 23, 2008
by
karailiev
Browse files
* showing witch language file is being edited at the moment
parent
3af0c1ea
Changes
2
Hide whitespace changes
Inline
Side-by-side
interface/web/admin/language_edit.php
View file @
bb205730
...
@@ -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
interface/web/admin/templates/language_edit.htm
View file @
bb205730
...
@@ -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"
>
...
...
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment