[geeklog-cvs] Geeklog-1.x/plugins/polls functions.inc,1.82,1.83

Michael Jervis mjervis at qs1489.pair.com
Wed Feb 20 15:08:00 EST 2008


Update of /cvsroot/geeklog/Geeklog-1.x/plugins/polls
In directory qs1489.pair.com:/tmp/cvs-serv25857/plugins/polls

Modified Files:
	functions.inc 
Log Message:
Ensure every template class has site_url, site_admin_url, layout_url and xhtml variables set. My eyes, they bleed...

Index: functions.inc
===================================================================
RCS file: /cvsroot/geeklog/Geeklog-1.x/plugins/polls/functions.inc,v
retrieving revision 1.82
retrieving revision 1.83
diff -C2 -d -r1.82 -r1.83
*** functions.inc	19 Jan 2008 14:53:12 -0000	1.82
--- functions.inc	20 Feb 2008 20:07:58 -0000	1.83
***************
*** 479,482 ****
--- 479,483 ----
                  $poll->set_var('site_url', $_CONF['site_url']);
                  $poll->set_var('layout_url', $_CONF['layout_url']);
+                 $poll->set_var('site_admin_url', $_CONF['site_admin_url']);
                  $poll->set_var('poll_id', $pid );
                  $poll->set_var('poll_topic', $P['topic'] );
***************
*** 776,779 ****
--- 777,781 ----
              $poll->set_var('xhtml', XHTML);
              $poll->set_var('site_url', $_CONF['site_url']);
+             $poll->set_var('site_admin_url', $_CONF['site_admin_url']);
              $poll->set_var('layout_url', $_CONF['layout_url']);
              $poll->set_var('poll_topic', $P['topic']);




More information about the geeklog-cvs mailing list