* $accesskey_read_msg_copy - The accesskey to be used for the Copy button
*
*
- * @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
/** extract template variables **/
extract($t);
-/*FIXME: This is a place where Marc's idea for putting all the buttons and
- links and other widgets into an array is sorely needed instead of
- hard-coding everything. Whomever implements that, PLEASE, PLEASE
- look at how the preview pane plugin code is used in this same template
- file for the *default_advanced* set to change some links and buttons
- and make sure your implementation can support it (tip: it may or may
- not be OK to let a plugin do the modification of the widgets, since
- a template set can turn on the needed plugin, but that might not be
- the most clear way to solve said issue).*/
-
+/*FIXME: This is a place where Marc's idea for putting all the buttons and links and other widgets into an array is sorely needed instead of hard-coding everything. Whomever implements that, PLEASE, PLEASE look at how the preview pane plugin code is used in this same template file for the *default_advanced* set to change some links and buttons and make sure your implementation can support it (tip: it may or may not be OK to let a plugin do the modification of the widgets, since a template set can turn on the needed plugin, but that might not be the most clear way to solve said issue).*/
/** Begin template **/
if ($nav_on_top) {
if ($can_be_deleted) {
?>
<form name="deleteMessageForm" action="<?php echo $move_delete_form_action; ?>" method="post">
+ <input type="hidden" name="smtoken" value="<?php echo sm_generate_security_token(); ?>" />
<?php echo $delete_form_extra; ?>
<small>
<input type="submit" name="delete" <?php if ($accesskey_read_msg_delete != 'NONE') echo 'accesskey="' . $accesskey_read_msg_delete . '" '; ?>value="<?php echo _("Delete"); ?>" />
if ($can_be_moved) {
?>
<form name="moveMessageForm" action="<?php echo $move_delete_form_action; ?>" method="post">
+ <input type="hidden" name="smtoken" value="<?php echo sm_generate_security_token(); ?>" />
<?php echo $move_form_extra; ?>
<small>
<?php echo _("Move To"); ?>: