[geeklog-cvs] Geeklog-1.x/plugins/calendar functions.inc, 1.77, 1.78

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


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

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/calendar/functions.inc,v
retrieving revision 1.77
retrieving revision 1.78
diff -C2 -d -r1.77 -r1.78
*** functions.inc	27 Jan 2008 15:23:32 -0000	1.77
--- functions.inc	20 Feb 2008 20:07:58 -0000	1.78
***************
*** 808,811 ****
--- 808,814 ----
      $cal_templates->set_file (array ('form' => 'batchdelete.thtml'));
      $cal_templates->set_var ('site_admin_url', $_CONF['site_admin_url']);
+     $cal_templates->set_var ('site_url', $_CONF['site_url']);
+     $cal_templates->set_var('layout_url', $_CONF['layout_url']);
+     $cal_templates->set_var('xhtml', XHTML);
      $cal_templates->set_var ('usr_time', $usr_time);
      $cal_templates->set_var ('lang_text_start', $LANG_CAL_ADMIN[28]);
***************
*** 814,818 ****
      $cal_templates->set_var ('lang_delete_sel', $LANG_ADMIN['delete_sel']);
      $cal_templates->set_var ('lang_delconfirm', $LANG_CAL_ADMIN[31]);
-     $cal_templates->set_var('xhtml', XHTML);
      $cal_templates->parse('form', 'form');
      $desc = $cal_templates->finish($cal_templates->get_var('form'));
--- 817,820 ----




More information about the geeklog-cvs mailing list