summary |
shortlog |
log |
commit | commitdiff |
tree
raw |
patch |
inline | side by side (from parent 1:
12ba947)
git-svn-id: https://svn.code.sf.net/p/squirrelmail/code/trunk/squirrelmail@14145
7612ce4b-ef26-0410-bec9-
ea0150e637f0
echo '<input type="' . $type . '"';
foreach ($aAttribs as $key => $value) {
echo '<input type="' . $type . '"';
foreach ($aAttribs as $key => $value) {
- echo ' ' . $key . (is_null($value) ? '' : '="' . $value . '"');
+//TODO: see the FIXME tag on line 68 of functions/forms.php - the htmlspecialchars() below should be migrated to the template class
+ echo ' ' . $key . (is_null($value) ? '' : '="' . htmlspecialchars($value) . '"');