File tree Expand file tree Collapse file tree 3 files changed +15
-15
lines changed
Expand file tree Collapse file tree 3 files changed +15
-15
lines changed Original file line number Diff line number Diff line change 6565 </ tr >
6666 < tr >
6767 < td >
68- < input type ="text " size ="20 " class ="vst-input password " name ="v_password " value ="<?=htmlentities($v_password)?> ">
68+ < input type ="text " size ="20 " class ="vst-input password " name ="v_password " value ="<?=htmlentities(trim( $v_password, "'") )?> ">
6969 </ td >
7070 </ tr >
7171 < tr >
109109 < label > < input type ="checkbox " size ="20 " class ="vst-checkbox " name ="v_autoreply " < ?php if ($v_autoreply == 'yes') echo "checked=yes" ?> onclick="javascript:elementHideShow('autoreplytable');"> < ?php print __('Autoreply');?> </ label >
110110 </ td >
111111 </ tr >
112- < tr > %20autofocuse=true%20onFocus=%27alert%28123%29%27%20x=%27%20autofocuse=true%20onFocus=%27alert%28123%29%27%20x=%27
112+ < tr >
113113 < td class ="step-left ">
114114 < table style ="display:<?php if ($v_autoreply == 'yes') { echo 'block';} else {echo 'none';}?> ; " id ="autoreplytable ">
115115 < tr >
192192 < td > < ?=__('SMTP auth method')?> :</ td >
193193 < td > < div > < ?=__('Normal password')?> </ div > </ td >
194194 </ tr >
195- < ?
196- list($http_host, $port) = explode(':', $_SERVER["HTTP_HOST"].":");
197- $webmail = "http://".$http_host."/webmail/";
198- if (!empty($_SESSION['MAIL_URL'])) $webmail = $_SESSION['MAIL_URL'];
199- ?>
195+ < ?
196+ list($http_host, $port) = explode(':', $_SERVER["HTTP_HOST"].":");
197+ $webmail = "http://".$http_host."/webmail/";
198+ if (!empty($_SESSION['MAIL_URL'])) $webmail = $_SESSION['MAIL_URL'];
199+ ?>
200200 < tr >
201201 < td > < ?=__('Webmail URL')?> :</ td >
202202 < td > < div > < a class ="vst " href ="<?=$webmail?> " target ="_blank "> < ?=$webmail?> < i > </ i > </ a > </ div > </ td >
203- </ tr >
203+ </ tr >
204204 </ table >
205205 </ div >
206206 </ td >
Original file line number Diff line number Diff line change 6464 </ tr >
6565 < tr >
6666 < td >
67- < input type ="text " size ="20 " class ="vst-input password " name ="v_password " value ="<?=htmlentities($v_password)?> ">
67+ < input type ="text " size ="20 " class ="vst-input password " name ="v_password " value ="<?=htmlentities(trim( $v_password, "'") )?> ">
6868 </ td >
6969 </ tr >
7070 < tr >
Original file line number Diff line number Diff line change 5454 </ tr >
5555 < tr >
5656 < td >
57- < input type ="text " size ="20 " class ="vst-input " name ="v_domain " value ="<?php print htmlentities($v_domain) ?> ">
57+ < input type ="text " size ="20 " class ="vst-input " name ="v_domain " value ="<?= htmlentities(trim( $v_domain, "'") ) ?> ">
5858 </ td >
5959 </ tr >
6060 < tr >
6464 </ tr >
6565 < tr >
6666 < td >
67- < input type ="text " size ="20 " class ="vst-input " name ="v_email " value ="<?php print htmlentities($v_email) ?> ">
67+ < input type ="text " size ="20 " class ="vst-input " name ="v_email " value ="<?= htmlentities(trim( $v_email, "'") ) ?> ">
6868 </ td >
6969 </ tr >
7070 < tr >
7575 </ tr >
7676 < tr >
7777 < td >
78- < input type ="text " size ="20 " class ="vst-input " name ="v_country " value ="<?php print htmlentities($v_country)?> ">
78+ < input type ="text " size ="20 " class ="vst-input " name ="v_country " value ="<?= htmlentities(trim( $v_country, "'") )?> ">
7979 </ td >
8080 </ tr >
8181 < tr >
8585 </ tr >
8686 < tr >
8787 < td >
88- < input type ="text " size ="20 " class ="vst-input " name ="v_state " value ="<?php print htmlentities($v_state) ?> ">
88+ < input type ="text " size ="20 " class ="vst-input " name ="v_state " value ="<?= htmlentities(trim( $v_state, "'") ) ?> ">
8989 </ td >
9090 </ tr >
9191 < tr >
9595 </ tr >
9696 < tr >
9797 < td >
98- < input type ="text " size ="20 " class ="vst-input " name ="v_locality " value ="<?php print htmlentities($v_locality) ?> ">
98+ < input type ="text " size ="20 " class ="vst-input " name ="v_locality " value ="<?= htmlentities(trim( $v_locality, "'") ) ?> ">
9999 </ td >
100100 </ tr >
101101 < tr >
105105 </ tr >
106106 < tr >
107107 < td >
108- < input type ="text " size ="20 " class ="vst-input " name ="v_org " value ="<?php print htmlentities($v_org) ?> ">
108+ < input type ="text " size ="20 " class ="vst-input " name ="v_org " value ="<?= htmlentities(trim( $v_org, "'") ) ?> ">
109109 </ td >
110110 </ tr >
111111 </ table >
You can’t perform that action at this time.
0 commit comments