File tree Expand file tree Collapse file tree 1 file changed +21
-21
lines changed
Expand file tree Collapse file tree 1 file changed +21
-21
lines changed Original file line number Diff line number Diff line change 8080 < input type ="text " size ="20 " class ="vst-input vst-list-editor " name ="v_ip " value ="<?=htmlentities(trim($v_ip, "'"))?> ">
8181 </ td >
8282 </ tr >
83+ < tr >
84+ < td class ="vst-text input-label ">
85+ < ?php print _('Template') . "< span class ='optional '> " . strtoupper($_SESSION['DNS_SYSTEM']) . "</ span > ";?>
86+ </ td >
87+ </ tr >
88+ < tr >
89+ < td >
90+ < select class ="vst-list " name ="v_template ">
91+ < ?php
92+ foreach ($templates as $key => $value) {
93+ echo "\t\t\t\t< option value =\ "".htmlentities($value)."\"";
94+ $svalue = "'".$value."'";
95+ if ((!empty($v_template)) && ( $value == $v_template ) || ($svalue == $v_template)){
96+ echo ' selected' ;
97+ }
98+ echo "> ".htmlentities($value)."</ option > \n";
99+ }
100+ ?>
101+ </ select >
102+ </ td >
103+ </ tr >
83104 < tr >
84105 < td class ="vst-text input-label step-top ">
85106 < a href ="javascript:elementHideShow('advtable'); " class ="vst-advanced "> < ?php print _('Advanced options');?> < i class ="fas fa-arrow-circle-right "> </ i > </ a >
88109 < tr >
89110 < td class ="vst-text step-top ">
90111 < table style ="display:<?php if (empty($v_adv)) echo 'none';?> ; " id ="advtable ">
91- < tr >
92- < td class ="vst-text input-label ">
93- < ?php print _('Template') . "< span class ='optional '> " . strtoupper($_SESSION['DNS_SYSTEM']) . "</ span > ";?>
94- </ td >
95- </ tr >
96- < tr >
97- < td >
98- < select class ="vst-list " name ="v_template ">
99- < ?php
100- foreach ($templates as $key => $value) {
101- echo "\t\t\t\t< option value =\ "".htmlentities($value)."\"";
102- $svalue = "'".$value."'";
103- if ((!empty($v_template)) && ( $value == $v_template ) || ($svalue == $v_template)){
104- echo ' selected' ;
105- }
106- echo "> ".htmlentities($value)."</ option > \n";
107- }
108- ?>
109- </ select >
110- </ td >
111- </ tr >
112112 < tr >
113113 < td class ="vst-text input-label ">
114114 < ?php print _('Expiration Date');?> < span class ="optional "> (< ?=_('YYYY-MM-DD');?> )</ span >
You can’t perform that action at this time.
0 commit comments