Skip to content
GitLab
Menu
Projects
Groups
Snippets
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Menu
Open sidebar
lolo888
ISPConfig 3
Commits
d4708d3f
Commit
d4708d3f
authored
Aug 26, 2011
by
marknl
Browse files
FS#1215 - show username in client-list
parent
1fbea9d9
Changes
3
Hide whitespace changes
Inline
Side-by-side
interface/web/client/lib/lang/en_clients_list.lng
View file @
d4708d3f
...
...
@@ -3,6 +3,7 @@ $wb["list_head_txt"] = 'Clients';
$wb
[
"client_id_txt"
]
=
'ID'
;
$wb
[
"company_name_txt"
]
=
'Company name'
;
$wb
[
"contact_name_txt"
]
=
'Contact name'
;
$wb
[
"username_txt"
]
=
'Username'
;
$wb
[
"city_txt"
]
=
'City'
;
$wb
[
"country_txt"
]
=
'Country'
;
$wb
[
"add_new_record_txt"
]
=
'Add new client'
;
...
...
interface/web/client/list/client.list.php
View file @
d4708d3f
...
...
@@ -74,6 +74,15 @@ $liste["item"][] = array( 'field' => "contact_name",
'width'
=>
""
,
'value'
=>
""
);
$liste
[
"item"
][]
=
array
(
'field'
=>
"username"
,
'datatype'
=>
"VARCHAR"
,
'formtype'
=>
"TEXT"
,
'op'
=>
"like"
,
'prefix'
=>
"%"
,
'suffix'
=>
"%"
,
'width'
=>
""
,
'value'
=>
""
);
$liste
[
"item"
][]
=
array
(
'field'
=>
"city"
,
'datatype'
=>
"VARCHAR"
,
'formtype'
=>
"TEXT"
,
...
...
interface/web/client/templates/clients_list.htm
View file @
d4708d3f
...
...
@@ -21,6 +21,7 @@
<th
class=
"tbl_col_client_id"
scope=
"col"
><tmpl_var
name=
"client_id_txt"
></th>
<th
class=
"tbl_col_company_name"
scope=
"col"
><tmpl_var
name=
"company_name_txt"
></th>
<th
class=
"tbl_col_contact_name"
scope=
"col"
><tmpl_var
name=
"contact_name_txt"
></th>
<th
class=
"tbl_col_username"
scope=
"col"
><tmpl_var
name=
"username_txt"
></th>
<th
class=
"tbl_col_city"
scope=
"col"
><tmpl_var
name=
"city_txt"
></th>
<th
class=
"tbl_col_country"
scope=
"col"
><tmpl_var
name=
"country_txt"
></th>
<th
class=
"tbl_col_country"
scope=
"col"
>
</th>
...
...
@@ -29,6 +30,7 @@
<td
class=
"tbl_col_client_id"
><input
type=
"text"
name=
"search_client_id"
value=
"{tmpl_var name='search_client_id'}"
style=
"width:30px;"
onblur=
"submitForm('pageForm','client/client_list.php');"
/></td>
<td
class=
"tbl_col_company_name"
><input
type=
"text"
name=
"search_company_name"
value=
"{tmpl_var name='search_company_name'}"
style=
"width:120px;"
onblur=
"submitForm('pageForm','client/client_list.php');"
/></td>
<td
class=
"tbl_col_contact_name"
><input
type=
"text"
name=
"search_contact_name"
value=
"{tmpl_var name='search_contact_name'}"
style=
"width:120px;"
onblur=
"submitForm('pageForm','client/client_list.php');"
/></td>
<td
class=
"tbl_col_username"
><input
type=
"text"
name=
"search_username"
value=
"{tmpl_var name='search_username'}"
style=
"width:120px;"
onblur=
"submitForm('pageForm','client/client_list.php');"
/></td>
<td
class=
"tbl_col_city"
><input
type=
"text"
name=
"search_city"
value=
"{tmpl_var name='search_city'}"
style=
"width:120px;"
onblur=
"submitForm('pageForm','client/client_list.php');"
/></td>
<td
class=
"tbl_col_country"
><input
type=
"text"
name=
"search_country"
value=
"{tmpl_var name='search_country'}"
style=
"width:30px;"
onblur=
"submitForm('pageForm','client/client_list.php');"
/></td>
<td
class=
"tbl_col_buttons"
><div
class=
"buttons"
><button
type=
"button"
class=
"icons16 icoFilter"
name=
"Filter"
id=
"Filter"
value=
"{tmpl_var name="
filter_txt
"}"
onClick=
"submitForm('pageForm','client/client_list.php');"
><span>
{tmpl_var name="filter_txt"}
</span></button></div></td>
...
...
@@ -40,6 +42,7 @@
<td
class=
"tbl_col_client_id"
><a
href=
"#"
onClick=
"loadContent('client/client_edit.php?id={tmpl_var name='id'}');"
>
{tmpl_var name="client_id"}
</a></td>
<td
class=
"tbl_col_company_name"
><a
href=
"#"
onClick=
"loadContent('client/client_edit.php?id={tmpl_var name='id'}');"
>
{tmpl_var name="company_name"}
</a></td>
<td
class=
"tbl_col_contact_name"
><a
href=
"#"
onClick=
"loadContent('client/client_edit.php?id={tmpl_var name='id'}');"
>
{tmpl_var name="contact_name"}
</a></td>
<td
class=
"tbl_col_username"
><a
href=
"#"
onClick=
"loadContent('client/client_edit.php?id={tmpl_var name='id'}');"
>
{tmpl_var name="username"}
</a></td>
<td
class=
"tbl_col_city"
><a
href=
"#"
onClick=
"loadContent('client/client_edit.php?id={tmpl_var name='id'}');"
>
{tmpl_var name="city"}
</a></td>
<td
class=
"tbl_col_country"
><a
href=
"#"
onClick=
"loadContent('client/client_edit.php?id={tmpl_var name='id'}');"
>
{tmpl_var name="country"}
</a></td>
<td
class=
"tbl_col_buttons"
>
...
...
@@ -53,7 +56,7 @@
</tbody>
<tfoot>
<tr>
<td
class=
"tbl_footer tbl_paging"
colspan=
"
6
"
><tmpl_var
name=
"paging"
></td>
<td
class=
"tbl_footer tbl_paging"
colspan=
"
7
"
><tmpl_var
name=
"paging"
></td>
</tr>
</tfoot>
</table>
...
...
Write
Preview
Supports
Markdown
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