tag verbatim * $form_method - The value of the
's method attribute (optional, may be blank) * $form_target - The value of the 's target attribute (optional, may be blank) * $form_onsubmit - The value of the 's onsubmit handler (optional, may be blank) * $compose_href - Base URL to forward, reply, etc. Note that a specific action * must also be given by the form or in this URL. * $button_onclick - Onclick event string for all buttons * $forward_as_attachment_enabled - boolean TRUE if forwarding as attachments * has been enabled. * $can_resume_draft - boolean TRUE if the "resume draft" is legitimate for * this message. * $can_edit_as_new - boolean TRUE if the "reasume as new" action is legitimate * for this message * $mailboxes - array containing list of mailboxes available for move/copy action. * $can_be_deleted - boolean TRUE if this message can be deleted. * $can_be_moved - boolean TRUE if this message can be moved. * $cab_be_copied - boolean TRUE if this message can be copied to another folder. * $move_delete_form_action - the value for the ACTION attribute of forms to * move, copy or delete a message * $delete_form_extra - additional input elements needed by the DELETE form * $move_form_extra - additional input elements needed by the MOVE form. * $last_move_target - the last folder that a message was moved/copied to. * $accesskey_read_msg_reply - The accesskey to be used for the Reply button * $accesskey_read_msg_reply_all - The accesskey to be used for the Reply All button * $accesskey_read_msg_forward - The accesskey to be used for the Forward button * $accesskey_read_msg_as_attach - The accesskey to be used for the As Attachment checkbox * $accesskey_read_msg_delete - The accesskey to be used for the Delete button * $accesskey_read_msg_bypass_trash - The accesskey to be used for the Bypass Trash checkbox * $accesskey_read_msg_move_to - The accesskey to be used for the folder select list * $accesskey_read_msg_move - The accesskey to be used for the Move button * $accesskey_read_msg_copy - The accesskey to be used for the Copy button * * * @copyright 1999-2011 The SquirrelMail Project Team * @license http://opensource.org/licenses/gpl-license.php GNU Public License * @version $Id: read_menubar_buttons.tpl 11850 2006-10-06 21:57:26Z stevetruckstuff $ * @package squirrelmail * @subpackage templates */ /** add required includes **/ /** 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 here 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).*/ /** preview pane prep */ global $data_dir, $username, $base_uri; $pp_refresh_message_list = getPref($data_dir, $username, 'pp_refresh_message_list', 1); $use_previewPane = getPref($data_dir, $username, 'use_previewPane', 0); $show_preview_pane = checkForJavascript() && $use_previewPane; $empty_frame_uri = $base_uri . 'plugins/preview_pane/empty_frame.php'; /** Begin template **/ if ($nav_on_top) { $table_class = 'bottom'; $plugin_hook = 'read_body_menu_buttons_top'; } else { $table_class = 'top'; $plugin_hook = 'read_body_menu_buttons_bottom'; } ?>
> " onclick="" />  " onclick="" />  value="" onclick="" />  value="" onclick="" />   |   value="" onclick="" /> />   |  
value="'; ?> />
: value="'; if ($can_be_copied) { ?> value="" />