Ticket #22: adminsettings_patch.diff
| File adminsettings_patch.diff, 1.9 KB (added by jceh, 6 years ago) |
|---|
-
home/johnny/public_html/phpbms/modules/base/adminsettings.php
101 101 <legend>company</legend> 102 102 <label for="scompany_name"> 103 103 company name<br /> 104 <input id="scompany_name" name="scompany_name" type="text" size="40" maxlength="128" value="<?php echo htmlQuotes($_SESSION["company_name"]) ?>" />104 <input id="scompany_name" name="scompany_name" type="text" size="40" maxlength="128" value="<?php echo stripslashes(htmlQuotes($_SESSION["company_name"])) ?>" /> 105 105 </label> 106 106 <label for="scompany_address"> 107 107 address<br /> 108 <input id="scompany_address" name="scompany_address" type="text" value="<?php echo htmlQuotes($_SESSION["company_address"]) ?>" size="40" maxlength="128" />108 <input id="scompany_address" name="scompany_address" type="text" value="<?php echo stripslashes(htmlQuotes($_SESSION["company_address"])) ?>" size="40" maxlength="128" /> 109 109 </label> 110 110 <label for="scompany_csz"> 111 111 city, state/province and zip/postal code<br /> 112 <input id="scompany_csz" name="scompany_csz" type="text" size="40" maxlength="128" value="<?php echo htmlQuotes($_SESSION["company_csz"]) ?>" />112 <input id="scompany_csz" name="scompany_csz" type="text" size="40" maxlength="128" value="<?php echo stripslashes(htmlQuotes($_SESSION["company_csz"])) ?>" /> 113 113 </label> 114 114 <label for="scompany_phone"> 115 115 phone number<br /> 116 <input id="scompany_phone" name="scompany_phone" type="text" value="<?php echo htmlQuotes($_SESSION["company_phone"]) ?>" size="40" maxlength="128" />116 <input id="scompany_phone" name="scompany_phone" type="text" value="<?php echo stripslashes(htmlQuotes($_SESSION["company_phone"])) ?>" size="40" maxlength="128" /> 117 117 </label> 118 118 </fieldset> 119 119