[geeklog-cvs] geeklog-1.3/public_html/staticpages index.php,1.21,1.22
dhaun at iowaoutdoors.org
dhaun at iowaoutdoors.org
Sun Aug 8 04:56:00 EDT 2004
Update of /var/cvs/geeklog-1.3/public_html/staticpages
In directory www:/tmp/cvs-serv26321/public_html/staticpages
Modified Files:
index.php
Log Message:
The plugin now checks for template files in the current theme's directory before falling back to the default template files
Index: index.php
===================================================================
RCS file: /var/cvs/geeklog-1.3/public_html/staticpages/index.php,v
retrieving revision 1.21
retrieving revision 1.22
diff -C2 -d -r1.21 -r1.22
*** index.php 8 Aug 2004 08:22:05 -0000 1.21
--- index.php 8 Aug 2004 08:55:58 -0000 1.22
***************
*** 151,155 ****
global $_CONF;
! $print = new Template ($_CONF['path'] . 'plugins/staticpages/templates');
$print->set_file (array ('print' => 'printable.thtml'));
$print->set_var ('site_url', $_CONF['site_url']);
--- 151,156 ----
global $_CONF;
! $template_path = staticpages_templatePath ();
! $print = new Template ($template_path);
$print->set_file (array ('print' => 'printable.thtml'));
$print->set_var ('site_url', $_CONF['site_url']);
More information about the geeklog-cvs
mailing list