Happy New Year
[squirrelmail.git] / templates / default / options_order.tpl
index 1113be5d1fe92f5ffb9c0b1270f1c6d8fd89c919..19ef07e9a11d99a0d6e437213ff66963a963812f 100644 (file)
@@ -17,7 +17,7 @@
  *      $move_down      - URL foundation to move a field down in the ordering
  *      $remove         - URL foundation to remove a field from the ordering.
  * 
- * @copyright © 1999-2006 The SquirrelMail Project Team
+ * @copyright 1999-2018 The SquirrelMail Project Team
  * @license http://opensource.org/licenses/gpl-license.php GNU Public License
  * @version $Id$
  * @package squirrelmail
@@ -67,11 +67,11 @@ extract($t);
  <tr>
   <td>
    <form action=<?php echo '"'.$addField_action.'"'; ?> method="GET">
-   <input type="hidden" name="method" value="add">
+   <input type="hidden" name="method" value="add" />
    <select name="num">
     <?php
         foreach ($not_used as $field_id=>$name) {
-            echo '<option value="'.$field_id.'">'.htmlspecialchars($name).'</option>'."\n";
+            echo '<option value="'.$field_id.'">'.sm_encode_html_special_chars($name).'</option>'."\n";
         }
     ?>
    </select>
@@ -88,4 +88,4 @@ extract($t);
   </td>
  </tr>
 </table>
-</div>
\ No newline at end of file
+</div>