* $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);
<?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";
}
?>
</td>
</tr>
</table>
-</div>
\ No newline at end of file
+</div>