Skip to content

Commit 14b8be7

Browse files
committed
- Replaced SSL Country input field with a select field.
1 parent 5d036a2 commit 14b8be7

File tree

5 files changed

+506
-491
lines changed

5 files changed

+506
-491
lines changed

interface/web/monitor/templates/show_log.htm

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@ <h2><tmpl_var name="list_head_txt"></h2>
88
<div class="buttons">
99
<div class="ctrlHolder">
1010
<label for="refreshinterval">{tmpl_var name='refreshinterval_txt'}</label>
11-
<select name="refreshinterval" id="refreshinterval" class="selectInput withicons" onChange="loadContentRefresh('monitor/show_log.php?log={tmpl_var name="log_id"}')">
11+
<select name="refreshinterval" id="refreshinterval" class="selectInput" onChange="loadContentRefresh('monitor/show_log.php?log={tmpl_var name="log_id"}')">
1212
{tmpl_var name='refresh'}
1313
</select>
1414
</div>

interface/web/monitor/templates/show_sys_state.htm

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@ <h2><tmpl_var name="list_head_txt"></h2>
88
<div class="buttons">
99
<div class="ctrlHolder">
1010
<label for="refreshinterval">{tmpl_var name='refreshinterval_txt'}</label>
11-
<select name="refreshinterval" id="refreshinterval" class="selectInput withicons" onChange="loadContentRefresh('monitor/show_sys_state.php?state={tmpl_var name="state_type"}')">
11+
<select name="refreshinterval" id="refreshinterval" class="selectInput" onChange="loadContentRefresh('monitor/show_sys_state.php?state={tmpl_var name="state_type"}')">
1212
{tmpl_var name='refresh'}
1313
</select>
1414
</div>

interface/web/sites/form/web_domain.tform.php

Lines changed: 13 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -331,6 +331,7 @@
331331
'width' => '30',
332332
'maxlength' => '255'
333333
),
334+
/*
334335
'ssl_country' => array (
335336
'datatype' => 'VARCHAR',
336337
'formtype' => 'TEXT',
@@ -343,6 +344,18 @@
343344
'width' => '2',
344345
'maxlength' => '2'
345346
),
347+
*/
348+
'ssl_country' => array (
349+
'datatype' => 'VARCHAR',
350+
'formtype' => 'SELECT',
351+
'default' => '',
352+
'datasource' => array ( 'type' => 'SQL',
353+
'querystring' => 'SELECT iso,printable_name FROM country ORDER BY printable_name',
354+
'keyfield'=> 'iso',
355+
'valuefield'=> 'printable_name'
356+
),
357+
'value' => ''
358+
),
346359
'ssl_domain' => array (
347360
'datatype' => 'VARCHAR',
348361
'formtype' => 'TEXT',

interface/web/sites/templates/web_domain_ssl.htm

Lines changed: 5 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -21,10 +21,12 @@ <h2><tmpl_var name="list_head_txt"></h2>
2121
<label for="ssl_organisation_unit">{tmpl_var name='ssl_organisation_unit_txt'}</label>
2222
<input name="ssl_organisation_unit" id="ssl_organisation_unit" value="{tmpl_var name='ssl_organisation_unit'}" size="30" maxlength="255" type="text" class="textInput" />
2323
</div>
24-
<div class="ctrlHolder">
24+
<div class="ctrlHolder">
2525
<label for="ssl_country">{tmpl_var name='ssl_country_txt'}</label>
26-
<input name="ssl_country" id="ssl_country" value="{tmpl_var name='ssl_country'}" size="2" maxlength="2" type="text" class="textInput" />
27-
</div>
26+
<select name="ssl_country" id="ssl_country" class="selectInput withicons">
27+
{tmpl_var name='ssl_country'}
28+
</select>
29+
</div>
2830
<div class="ctrlHolder">
2931
<label for="client_group_id">{tmpl_var name='ssl_domain_txt'}</label>
3032
<select name="ssl_domain" id="ssl_domain" class="selectInput">

0 commit comments

Comments
 (0)