From: Paul R. <pro...@us...> - 2002-05-27 07:08:14
|
Update of /cvsroot/post-nuke/postnuke_official/html/includes In directory usw-pr-cvs1:/tmp/cvs-serv13573/includes Modified Files: pnMod.php Log Message: added module templating, backward compatible Index: pnMod.php =================================================================== RCS file: /cvsroot/post-nuke/postnuke_official/html/includes/pnMod.php,v retrieving revision 1.61 retrieving revision 1.62 diff -C2 -d -r1.61 -r1.62 *** pnMod.php 26 May 2002 19:26:06 -0000 1.61 --- pnMod.php 27 May 2002 07:08:07 -0000 1.62 *************** *** 706,710 **** } ! return $modfunc($args); } --- 706,721 ---- } ! $data = $modfunc($args); ! ! if (is_string($data) || $data == false) { ! return $data; ! } ! ! $template = 'default'; ! if (isset($args['template'])) { ! $template = $args['template']; ! } ! ! return pnModTemplate($modname, $type, $func, $data, $template); } |