Adding templates for the note in right_main.php, MOTD, and empty folder notification.
[squirrelmail.git] / templates / default / motd.tpl
diff --git a/templates/default/motd.tpl b/templates/default/motd.tpl
new file mode 100644 (file)
index 0000000..19fcaf9
--- /dev/null
@@ -0,0 +1,30 @@
+<?php
+/**
+ * motd.tpl
+ *
+ * Tempalte for display Message of the day
+ * 
+ * Variables available in this template:
+ *      $motd - string containing the MOTD to be displayed
+ *
+ * @copyright &copy; 1999-2006 The SquirrelMail Project Team
+ * @license http://opensource.org/licenses/gpl-license.php GNU Public License
+ * @version $Id$
+ * @package squirrelmail
+ * @subpackage templates
+ */
+// Get variables from template
+extract($t);
+?>
+<!-- Begin MOTD -->
+<div class="sqm_motdWrapper">
+ <table class="sqm_motd" cellspacing="3">
+  <tr>
+   <td>
+    <?php echo $motd; ?>
+   </td>
+  </tr>
+ </table>
+</div>
+<!-- End MOTD -->