Better white space and wrapping
[squirrelmail.git] / templates / default_advanced / options_order.tpl
index d6f96b9e05b58dd497c6fe81d218fa8f622aaa8c..206d9f367301409f4171dfb541797ed98c33df08 100644 (file)
  *      $remove         - URL foundation to remove a field from the ordering.
  *      $add            - URL foundation to add a field to the ordering.
  * 
- * @copyright © 1999-2006 The SquirrelMail Project Team
+ * @copyright 1999-2017 The SquirrelMail Project Team
  * @license http://opensource.org/licenses/gpl-license.php GNU Public License
  * @version $Id$
  * @package squirrelmail
  * @subpackage templates
  */
 
-/** add required includes **/
-include(SM_PATH . 'templates/util_global.php');
 
 /** extract template variables **/
 extract($t);
@@ -75,8 +73,8 @@ extract($t);
     <?php
         foreach ($not_used as $field_id=>$name) {
             echo "<tr>\n" .
-                 "<td colspan=\"3\" class=\"moveLink\"><a href=\"". $add.$field_id."\">".getIcon($icon_theme_path, 'add.png', _("Add"), _("Add"))."</a></td>\n" .
-                 "<td class=\"fieldName\">".htmlspecialchars($name)."</td>\n" .
+                 "<td colspan=\"3\" class=\"moveLink\"><a href=\"". $add.$field_id."\">".getIcon($icon_theme_path, 'plus.png', _("Add"), _("Add"))."</a></td>\n" .
+                 "<td class=\"fieldName\">".sm_encode_html_special_chars($name)."</td>\n" .
                  "</tr>\n";
     }
    ?>
@@ -92,4 +90,4 @@ extract($t);
   </td>
  </tr>
 </table>
-</div>
\ No newline at end of file
+</div>