[geeklog-cvs] geeklog: Make old {button_xxx} variables available in footer.tht...

geeklog-cvs at lists.geeklog.net geeklog-cvs at lists.geeklog.net
Sun Feb 14 15:16:35 EST 2010


changeset 7722:a387ff3c56bf
url:  http://project.geeklog.net/cgi-bin/hgwebdir.cgi/geeklog/rev/a387ff3c56bf
user: Dirk Haun <dirk at haun-online.de>
date: Sun Feb 14 20:15:17 2010 +0100
description:
Make old {button_xxx} variables available in footer.thtml again

diffstat:

 plugins/calendar/functions.inc |  2 +-
 plugins/links/functions.inc    |  2 +-
 plugins/polls/functions.inc    |  2 +-
 3 files changed, 3 insertions(+), 3 deletions(-)

diffs (36 lines):

diff -r 1bb30e1994fa -r a387ff3c56bf plugins/calendar/functions.inc
--- a/plugins/calendar/functions.inc	Sun Feb 14 19:37:36 2010 +0100
+++ b/plugins/calendar/functions.inc	Sun Feb 14 20:15:17 2010 +0100
@@ -1741,7 +1741,7 @@
 {
     global $LANG_CAL_1;
 
-    if ($templatename == 'header') {
+    if (($templatename == 'header') || ($templatename == 'footer')) {
         $template->set_var ('button_calendar', $LANG_CAL_1[16]);
     }
 }
diff -r 1bb30e1994fa -r a387ff3c56bf plugins/links/functions.inc
--- a/plugins/links/functions.inc	Sun Feb 14 19:37:36 2010 +0100
+++ b/plugins/links/functions.inc	Sun Feb 14 20:15:17 2010 +0100
@@ -1215,7 +1215,7 @@
 {
     global $LANG_LINKS;
 
-    if ($templatename == 'header') {
+    if (($templatename == 'header') || ($templatename == 'footer')) {
         $template->set_var ('button_links', $LANG_LINKS[14]);
     }
 }
diff -r 1bb30e1994fa -r a387ff3c56bf plugins/polls/functions.inc
--- a/plugins/polls/functions.inc	Sun Feb 14 19:37:36 2010 +0100
+++ b/plugins/polls/functions.inc	Sun Feb 14 20:15:17 2010 +0100
@@ -1106,7 +1106,7 @@
 {
     global $LANG_POLLS;
 
-    if ($templatename == 'header') {
+    if (($templatename == 'header') || ($templatename == 'footer')) {
         $template->set_var ('button_polls', $LANG_POLLS['polls']);
     }
 }



More information about the geeklog-cvs mailing list