Skip to content

Commit 74410e7

Browse files
author
cfoe
committed
fixed display of country in client/reseller list
1 parent d6b3614 commit 74410e7

File tree

4 files changed

+13
-3
lines changed

4 files changed

+13
-3
lines changed

interface/web/client/list/client.list.php

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -98,6 +98,11 @@
9898
'op' => "=",
9999
'prefix' => "",
100100
'suffix' => "",
101+
'datasource'=> array ( 'type' => 'SQL',
102+
'querystring' => 'SELECT iso,printable_name FROM country ORDER BY iso ASC',
103+
'keyfield' => 'iso',
104+
'valuefield' => 'printable_name'
105+
),
101106
'width' => "",
102107
'value' => "");
103108

interface/web/client/list/reseller.list.php

Lines changed: 6 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -89,7 +89,12 @@
8989
'op' => "=",
9090
'prefix' => "",
9191
'suffix' => "",
92+
'datasource'=> array ( 'type' => 'SQL',
93+
'querystring' => 'SELECT iso,printable_name FROM country ORDER BY printable_name ASC',
94+
'keyfield' => 'iso',
95+
'valuefield' => 'printable_name'
96+
),
9297
'width' => "",
93-
'value' => "");
98+
'value' => "" );
9499

95100
?>

interface/web/client/templates/clients_list.htm

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -32,7 +32,7 @@ <h2><tmpl_var name="list_head_txt"></h2>
3232
<td class="tbl_col_contact_name"><input type="text" name="search_contact_name" value="{tmpl_var name='search_contact_name'}" style="width:120px;" /></td>
3333
<td class="tbl_col_username"><input type="text" name="search_username" value="{tmpl_var name='search_username'}" style="width:120px;" /></td>
3434
<td class="tbl_col_city"><input type="text" name="search_city" value="{tmpl_var name='search_city'}" style="width:120px;" /></td>
35-
<td class="tbl_col_country"><select name="search_country" style="width:120px;">{tmpl_var name='search_country'}</select></td>
35+
<td class="tbl_col_country"><select name="search_country" class="selectInput flags" style="width:120px;">{tmpl_var name='search_country'}</select></td>
3636
<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>
3737
</tr>
3838
</thead>

interface/web/client/templates/resellers_list.htm

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -30,7 +30,7 @@ <h2><tmpl_var name="list_head_txt"></h2>
3030
<td class="tbl_col_company_name"><input type="text" name="search_company_name" value="{tmpl_var name='search_company_name'}" style="width:120px;" /></td>
3131
<td class="tbl_col_contact_name"><input type="text" name="search_contact_name" value="{tmpl_var name='search_contact_name'}" style="width:120px;" /></td>
3232
<td class="tbl_col_city"><input type="text" name="search_city" value="{tmpl_var name='search_city'}" style="width:120px;" /></td>
33-
<td class="tbl_col_country"><select name="search_country" style="width:120px;">{tmpl_var name='search_country'}</select></td>
33+
<td class="tbl_col_country"><select name="search_country" class="selectInput flags" style="width:120px;">{tmpl_var name='search_country'}</select></td>
3434
<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/reseller_list.php');"><span>{tmpl_var name="filter_txt"}</span></button></div></td>
3535
</tr>
3636
</thead>

0 commit comments

Comments
 (0)