[geeklog-cvs] geeklog: Bug#1220: Implement an overridable COM_newTemplate func...

geeklog-cvs at lists.geeklog.net geeklog-cvs at lists.geeklog.net
Sat Mar 19 10:43:00 EDT 2011


changeset 8178:75c024498469
url:  http://project.geeklog.net/cgi-bin/hgwebdir.cgi/geeklog/rev/75c024498469
user: Joe Mucchiello
date: Thu Mar 17 21:55:56 2011 -0400
description:
Bug#1220: Implement an overridable COM_newTemplate function (missed file)

diffstat:

 system/lib-custom.php.dist |  2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

diffs (12 lines):

diff -r 86c6c613074a -r 75c024498469 system/lib-custom.php.dist
--- a/system/lib-custom.php.dist	Sat Mar 19 13:37:13 2011 +0000
+++ b/system/lib-custom.php.dist	Thu Mar 17 21:55:56 2011 -0400
@@ -332,7 +332,7 @@
     $submitbutton = '<input type="submit" value="Register Now!"' . XHTML . '>';
     $message = "<blockquote style=\"padding-top:10px;\"><b>Please complete the application below. Once you have completed the application, click the Register Now! button and the application will be processed immediately.</b></blockquote>";
 
-    $user_templates = new Template ($_CONF['path_layout'] . 'custom');
+    $user_templates = COM_newTemplate($_CONF['path_layout'] . 'custom');
     $user_templates->set_file('memberdetail', 'memberdetail.thtml');
     $user_templates->set_var( 'xhtml', XHTML );
     $user_templates->set_var('site_url', $_CONF['site_url']);



More information about the geeklog-cvs mailing list