Przeglądaj źródła

Need to extract template vars - oops

pdontthink 17 lat temu
rodzic
commit
a5c2914f1d

+ 5 - 0
templates/default/horizontal_rule.tpl

@@ -21,6 +21,11 @@
   */
   */
 
 
 
 
+// retrieve the template vars
+//
+extract($t);
+
+
 echo '<hr'; 
 echo '<hr'; 
 foreach ($aAttribs as $key => $value) {
 foreach ($aAttribs as $key => $value) {
     echo ' ' . $key . (is_null($value) ? '' : '="' . $value . '"');
     echo ' ' . $key . (is_null($value) ? '' : '="' . $value . '"');

+ 5 - 0
templates/default/line_break.tpl

@@ -21,6 +21,11 @@
   */
   */
 
 
 
 
+// retrieve the template vars
+//
+extract($t);
+
+
 echo '<br';
 echo '<br';
 foreach ($aAttribs as $key => $value) {
 foreach ($aAttribs as $key => $value) {
     echo ' ' . $key . (is_null($value) ? '' : '="' . $value . '"');
     echo ' ' . $key . (is_null($value) ? '' : '="' . $value . '"');