| 1 | <?php |
| 2 | /** |
| 3 | * motd.tpl |
| 4 | * |
| 5 | * Tempalte for display Message of the day |
| 6 | * |
| 7 | * Variables available in this template: |
| 8 | * $motd - string containing the MOTD to be displayed |
| 9 | * |
| 10 | * @copyright 1999-2024 The SquirrelMail Project Team |
| 11 | * @license http://opensource.org/licenses/gpl-license.php GNU Public License |
| 12 | * @version $Id$ |
| 13 | * @package squirrelmail |
| 14 | * @subpackage templates |
| 15 | */ |
| 16 | |
| 17 | // Get variables from template |
| 18 | extract($t); |
| 19 | ?> |
| 20 | <!-- Begin MOTD --> |
| 21 | <div class="sqm_motdWrapper"> |
| 22 | <table class="sqm_motd" cellspacing="3"> |
| 23 | <tr> |
| 24 | <td> |
| 25 | <?php echo $motd; |
| 26 | if (!empty($plugin_output['motd_inside'])) |
| 27 | echo $plugin_output['motd_inside']; |
| 28 | ?> |
| 29 | </td> |
| 30 | </tr> |
| 31 | </table> |
| 32 | </div> |
| 33 | <!-- End MOTD --> |