Note: this list is kept only as a demonstration for CVSNotice. For the latest CVS notices, see the Xaraya and Postnuke sites
View Statistics - Next Notice - Previous NoticeDirectory filter : [ all ] / postnuke_official / html / modules / comments / rendering [ view in CVS ]
| Date | Directory [filter] | File(s) [view] | Author [filter] |
| 26 Jul 2002 02:55:22 | postnuke_official/html/modules/comments/rendering | factory.php,1.5,1.6 | Carl P. Corliss |
| various bugfixes. | |||
Update of /home/cvsroot/postnuke_official/html/modules/comments/rendering
In directory ns7.hostnuke.net:/tmp/cvs-serv8388/html/modules/Comments/rendering
Modified Files:
factory.php
Log Message:
various bugfixes.
Index: factory.php
===================================================================
RCS file: /home/cvsroot/postnuke_official/html/modules/comments/rendering/factory.php,v
retrieving revision 1.5
retrieving revision 1.6
diff -C2 -d -r1.5 -r1.6
*** factory.php 30 Jun 2002 12:25:44 -0000 1.5
--- factory.php 26 Jul 2002 02:55:20 -0000 1.6
***************
*** 27,37 ****
function pnComments_RenderFactory($args, $view=_COM_VIEW_FLAT) {
// load the code for the object to be instantiated.
! include_once("rendering/{$view}.php");
$classname = "pnComments_Render_{$view}";
! $this->__rendertype = $view;
! return new class $$classname($args);
}
--- 27,40 ----
function pnComments_RenderFactory($args, $view=_COM_VIEW_FLAT) {
+ if (empty($view)) {
+ $view = _COM_VIEW_FLAT;
+ }
+
// load the code for the object to be instantiated.
! include_once("modules/comments/rendering/{$view}.php");
$classname = "pnComments_Render_{$view}";
! return new $classname($args);
}
View Statistics - Next Notice - Previous Notice
| Visit Developer Site - Browse CVS Repository |
Syndicate via backend.rss (max. once per hour please) | Powered by CVSNotice 0.1.3 |