Skip to content
GitLab
Projects
Groups
Snippets
Help
Loading...
Help
What's new
10
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Open sidebar
ISPConfig
ISPConfig 3
Commits
83df1d00
Commit
83df1d00
authored
Nov 17, 2008
by
fantu
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
- Add language list to add new client
parent
999b4251
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
13 additions
and
1 deletion
+13
-1
interface/web/client/form/client.tform.php
interface/web/client/form/client.tform.php
+13
-1
No files found.
interface/web/client/form/client.tform.php
View file @
83df1d00
...
...
@@ -50,6 +50,18 @@ $form["auth_preset"]["perm_user"] = 'riud'; //r = read, i = insert, u = update,
$form
[
"auth_preset"
][
"perm_group"
]
=
'riud'
;
//r = read, i = insert, u = update, d = delete
$form
[
"auth_preset"
][
"perm_other"
]
=
''
;
//r = read, i = insert, u = update, d = delete
//* Languages
$language_list
=
array
();
$handle
=
@
opendir
(
ISPC_ROOT_PATH
.
'/lib/lang'
);
while
(
$file
=
@
readdir
(
$handle
))
{
if
(
$file
!=
'.'
&&
$file
!=
'..'
)
{
if
(
@
is_file
(
ISPC_ROOT_PATH
.
'/lib/lang/'
.
$file
)
and
substr
(
$file
,
-
4
,
4
)
==
'.lng'
)
{
$tmp
=
substr
(
$file
,
0
,
2
);
$language_list
[
$tmp
]
=
$tmp
;
}
}
}
$form
[
"tabs"
][
'address'
]
=
array
(
'title'
=>
"Address"
,
'width'
=>
100
,
...
...
@@ -120,7 +132,7 @@ $form["tabs"]['address'] = array (
'datatype'
=>
'VARCHAR'
,
'formtype'
=>
'SELECT'
,
'default'
=>
$conf
[
"language"
],
'value'
=>
array
(
'en'
=>
'en'
)
,
'value'
=>
$language_list
,
'separator'
=>
''
,
'width'
=>
'30'
,
'maxlength'
=>
'255'
,
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a 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