5 * This template generates the "Options" toolbar while reading a message.
7 * The following variables are available in this template:
9 * $links - array containing various elements to be displayed in the toolbar.
10 * Each element is an array representing an option that contains the
12 * $link['URL'] - URL needed to access the action
13 * $link['Text'] - Text to be displayed for the action.
14 * $link['Target'] - Optional link target
16 * @copyright © 1999-2006 The SquirrelMail Project Team
17 * @license http://opensource.org/licenses/gpl-license.php GNU Public License
19 * @package squirrelmail
20 * @subpackage templates
23 /** add required includes **/
25 /** extract template variables **/
28 /** Begin template **/
32 foreach ($links as $count=>$link) {
34 if (empty($link['Text']))
38 <a href="<?php echo $link['URL']; ?>"<?php echo (empty($link['Target'])?'':' target="' . $link['Target'] . '"')?>><?php echo $link['Text']; ?></a>
41 # Spit out a divider between each element
42 if ($count < count($links)-1) {