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
Helmo
ISPConfig 3
Commits
081f738e
Commit
081f738e
authored
Jul 25, 2018
by
Florian Schaal
Browse files
show active for additional php-versions (#5090)
parent
f055f5e9
Changes
4
Hide whitespace changes
Inline
Side-by-side
interface/web/admin/lib/lang/de_server_php_list.lng
View file @
081f738e
...
...
@@ -4,4 +4,5 @@ $wb['server_id_txt'] = 'Server';
$wb
[
'add_new_record_txt'
]
=
'Neue PHP Version hinzufügen'
;
$wb
[
'client_id_txt'
]
=
'Kunde'
;
$wb
[
'name_txt'
]
=
'PHP Name'
;
$wb
[
'active_txt'
]
=
'Aktiv'
;
?>
interface/web/admin/lib/lang/en_server_php_list.lng
View file @
081f738e
...
...
@@ -4,4 +4,5 @@ $wb['server_id_txt'] = 'Server';
$wb
[
'add_new_record_txt'
]
=
'Add new PHP version'
;
$wb
[
'client_id_txt'
]
=
'Client'
;
$wb
[
'name_txt'
]
=
'PHP Name'
;
$wb
[
'active_txt'
]
=
'Active'
;
?>
interface/web/admin/list/server_php.list.php
View file @
081f738e
...
...
@@ -44,6 +44,15 @@ $liste['auth'] = 'no';
* Suchfelder
*****************************************************/
$liste
[
'item'
][]
=
array
(
'field'
=>
'active'
,
'datatype'
=>
'VARCHAR'
,
'formtype'
=>
'SELECT'
,
'op'
=>
'='
,
'prefix'
=>
''
,
'suffix'
=>
''
,
'width'
=>
''
,
'value'
=>
array
(
'y'
=>
$app
->
lng
(
'yes_txt'
),
'n'
=>
$app
->
lng
(
'no_txt'
)));
$liste
[
'item'
][]
=
array
(
'field'
=>
'server_id'
,
'datatype'
=>
'INTEGER'
,
'formtype'
=>
'SELECT'
,
...
...
interface/web/admin/templates/server_php_list.htm
View file @
081f738e
...
...
@@ -15,12 +15,14 @@
<table
class=
"table"
>
<thead
class=
"dark form-group-sm"
>
<tr>
<th
class=
"tiny-col"
data-column=
"active"
><tmpl_var
name=
"active_txt"
></th>
<th
data-column=
"server_id"
><tmpl_var
name=
"server_id_txt"
></th>
<th
class=
"small-col"
data-column=
"client_id"
><tmpl_var
name=
"client_id_txt"
></th>
<th
data-column=
"name"
><tmpl_var
name=
"name_txt"
></th>
<th
class=
"text-right"
>
{tmpl_var name='search_limit'}
</th>
</tr>
<tr>
<td><select
class=
"form-control"
name=
"search_active"
>
{tmpl_var name='search_active'}
</select></td>
<td><select
class=
"form-control"
name=
"search_server_id"
>
{tmpl_var name='search_server_id'}
</select></td>
<td><select
class=
"form-control"
name=
"search_client_id"
>
{tmpl_var name='search_client_id'}
</select></td>
<td><input
class=
"form-control"
type=
"text"
name=
"search_name"
value=
"{tmpl_var name='search_name'}"
/></td>
...
...
@@ -32,6 +34,7 @@
<tbody>
<tmpl_loop
name=
"records"
>
<tr>
<td><a
href=
"#"
data-load-content=
"admin/server_php_edit.php?id={tmpl_var name='id'}"
>
{tmpl_var name="active"}
</a></td>
<td><a
href=
"#"
data-load-content=
"admin/server_php_edit.php?id={tmpl_var name='id'}"
>
{tmpl_var name="server_id"}
</a></td>
<td><a
href=
"#"
data-load-content=
"admin/server_php_edit.php?id={tmpl_var name='id'}"
>
{tmpl_var name="client_id"}
</a></td>
<td><a
href=
"#"
data-load-content=
"admin/server_php_edit.php?id={tmpl_var name='id'}"
>
{tmpl_var name="name"}
</a></td>
...
...
@@ -54,4 +57,4 @@
</table>
</div>
\ No newline at end of file
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