Skip to content
GitLab
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Menu
Open sidebar
François GrizzlyDev
ISPConfig 3
Commits
82e2a20f
Commit
82e2a20f
authored
Nov 21, 2013
by
Marius Cramer
Browse files
Fixed bug in language include
Removed workarounds
parent
14fe6d43
Changes
4
Hide whitespace changes
Inline
Side-by-side
interface/lib/classes/tform.inc.php
View file @
82e2a20f
...
...
@@ -131,7 +131,7 @@ class tform {
$this
->
module
=
$module
;
$wb
=
array
();
include
_once
ISPC_ROOT_PATH
.
'/lib/lang/'
.
$_SESSION
[
's'
][
'language'
]
.
'.lng'
;
include
ISPC_ROOT_PATH
.
'/lib/lang/'
.
$_SESSION
[
's'
][
'language'
]
.
'.lng'
;
if
(
is_array
(
$wb
))
$wb_global
=
$wb
;
...
...
@@ -146,7 +146,7 @@ class tform {
}
if
(
is_array
(
$wb_global
))
{
$wb
=
$app
->
functions
->
array_merge
(
$wb_global
,
$wb
);
$wb
=
array_merge
(
$wb_global
,
$wb
);
}
if
(
isset
(
$wb_global
))
unset
(
$wb_global
);
...
...
interface/web/client/client_edit.php
View file @
82e2a20f
...
...
@@ -212,9 +212,6 @@ class page_action extends tform_actions {
}
}
$app
->
tpl
->
setVar
(
'btn_save_txt'
,
$app
->
lng
(
'btn_save_txt'
));
$app
->
tpl
->
setVar
(
'btn_cancel_txt'
,
$app
->
lng
(
'btn_cancel_txt'
));
parent
::
onShowEnd
();
}
...
...
interface/web/client/reseller_edit.php
View file @
82e2a20f
...
...
@@ -159,9 +159,6 @@ class page_action extends tform_actions {
}
}
$app
->
tpl
->
setVar
(
'btn_save_txt'
,
$app
->
lng
(
'btn_save_txt'
));
$app
->
tpl
->
setVar
(
'btn_cancel_txt'
,
$app
->
lng
(
'btn_cancel_txt'
));
parent
::
onShowEnd
();
}
...
...
interface/web/sites/web_domain_edit.php
View file @
82e2a20f
...
...
@@ -471,9 +471,6 @@ class page_action extends tform_actions {
}
}
$app
->
tpl
->
setVar
(
'btn_save_txt'
,
$app
->
lng
(
'btn_save_txt'
));
$app
->
tpl
->
setVar
(
'btn_cancel_txt'
,
$app
->
lng
(
'btn_cancel_txt'
));
parent
::
onShowEnd
();
}
...
...
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