Skip to content
GitLab
Projects
Groups
Snippets
Help
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
I
ISPConfig 3
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
483
Issues
483
List
Boards
Labels
Service Desk
Milestones
Merge Requests
23
Merge Requests
23
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Operations
Operations
Incidents
Environments
Analytics
Analytics
CI / CD
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
ISPConfig
ISPConfig 3
Commits
d4708d3f
Commit
d4708d3f
authored
Aug 26, 2011
by
marknl
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
FS#1215 - show username in client-list
parent
1fbea9d9
Changes
3
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
14 additions
and
1 deletion
+14
-1
interface/web/client/lib/lang/en_clients_list.lng
interface/web/client/lib/lang/en_clients_list.lng
+1
-0
interface/web/client/list/client.list.php
interface/web/client/list/client.list.php
+9
-0
interface/web/client/templates/clients_list.htm
interface/web/client/templates/clients_list.htm
+4
-1
No files found.
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
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