Happy New Year
[squirrelmail.git] / templates / default / horizontal_rule.tpl
index 8ca2bbaac52985a4984f01f94d1422ada8918439..3792fd92adb7b055dfc55eb601d2104e1e6377a9 100644 (file)
@@ -13,7 +13,7 @@
   *                 in double quotes as attribute values (optional;
   *                 may not be present)
   *
-  * @copyright © 1999-2008 The SquirrelMail Project Team
+  * @copyright 1999-2018 The SquirrelMail Project Team
   * @license http://opensource.org/licenses/gpl-license.php GNU Public License
   * @version $Id$
   * @package squirrelmail
   */
 
 
+// retrieve the template vars
+//
+extract($t);
+
+
 echo '<hr'; 
-foreach ($aAttribs as $key => $value) {
+if (isset($aAttribs)) foreach ($aAttribs as $key => $value) {
     echo ' ' . $key . (is_null($value) ? '' : '="' . $value . '"');
 }
 echo ' />';