5 * Template for rendering main option page blocks
7 * The following variables are available to this template:
8 * $page_title - string containing the title element for this page
9 * $options - array containing option blocks to be displayed. Each
10 * element in the array will contain the following fields:
11 * $el['url'] - The URL of the link to display that option page
12 * $el['name'] - The name of the option page
13 * $el['desc'] - string containing the description of that option block
14 * $el['js'] - boolean TRUE if the element requires javascript being enabled.
16 * @copyright © 2006 The SquirrelMail Project Team
17 * @license http://opensource.org/licenses/gpl-license.php GNU Public License
19 * @package squirrelmail
20 * @subpackage templates
23 /** extract variables */
26 <div id="optionGroups">
27 <table cellspacing="0">
29 <td colspan="2" class="title">
30 <?php echo $page_title; ?>
35 foreach ($options as $index=>$option) {
37 <td class="optionElement">
38 <table cellspacing="0">
40 <td class="optionName">
41 <a href=<?php echo '"'.$option['url'].'"'; ?>><?php echo $option['name']; ?></a>
45 <td class="optionDesc">
46 <?php echo $option['desc']; ?>
52 if (($index+1) % 2 == 0) {
53 echo " </tr>\n <tr>\n";