From: <ok...@us...> - 2003-01-06 20:02:52
|
Update of /cvsroot/xoops/xoops2/modules/newbb In directory sc8-pr-cvs1:/tmp/cvs-serv23618/modules/newbb Modified Files: index.php search.php viewforum.php viewtopic.php Log Message: removed $xoopsOption['template_used'] Index: index.php =================================================================== RCS file: /cvsroot/xoops/xoops2/modules/newbb/index.php,v retrieving revision 1.1 retrieving revision 1.2 diff -C2 -d -r1.1 -r1.2 *** index.php 2 Jan 2003 18:00:42 -0000 1.1 --- index.php 6 Jan 2003 20:02:02 -0000 1.2 *************** *** 33,37 **** // this page uses smarty template // this must be set before including main header.php - $xoopsOption['template_used']= array('newbb_index.html'); $xoopsOption['template_main']= 'newbb_index.html'; include XOOPS_ROOT_PATH."/header.php"; --- 33,36 ---- Index: search.php =================================================================== RCS file: /cvsroot/xoops/xoops2/modules/newbb/search.php,v retrieving revision 1.1 retrieving revision 1.2 diff -C2 -d -r1.1 -r1.2 *** search.php 2 Jan 2003 18:00:55 -0000 1.1 --- search.php 6 Jan 2003 20:02:20 -0000 1.2 *************** *** 33,37 **** if ( !isset($HTTP_POST_VARS['submit']) ) { - $xoopsOption['template_used']= array('newbb_search.html'); $xoopsOption['template_main']= 'newbb_search.html'; include XOOPS_ROOT_PATH.'/header.php'; --- 33,36 ---- *************** *** 64,68 **** } else { - $xoopsOption['template_used']= array('newbb_searchresults.html'); $xoopsOption['template_main']= 'newbb_searchresults.html'; include XOOPS_ROOT_PATH."/header.php"; --- 63,66 ---- Index: viewforum.php =================================================================== RCS file: /cvsroot/xoops/xoops2/modules/newbb/viewforum.php,v retrieving revision 1.1 retrieving revision 1.2 diff -C2 -d -r1.1 -r1.2 *** viewforum.php 2 Jan 2003 18:01:03 -0000 1.1 --- viewforum.php 6 Jan 2003 20:02:22 -0000 1.2 *************** *** 48,52 **** // this page uses smarty template // this must be set before including main header.php - $xoopsOption['template_used'] = array('newbb_viewforum.html'); $xoopsOption['template_main'] = 'newbb_viewforum.html'; include XOOPS_ROOT_PATH."/header.php"; --- 48,51 ---- Index: viewtopic.php =================================================================== RCS file: /cvsroot/xoops/xoops2/modules/newbb/viewtopic.php,v retrieving revision 1.2 retrieving revision 1.3 diff -C2 -d -r1.2 -r1.3 *** viewtopic.php 6 Jan 2003 19:55:23 -0000 1.2 --- viewtopic.php 6 Jan 2003 20:02:25 -0000 1.3 *************** *** 43,47 **** // this page uses smarty template // this must be set before including main header.php - $xoopsOption['template_used'] = array('newbb_thread.html', 'newbb_viewtopic_flat.html', 'newbb_viewtopic_thread.html'); include XOOPS_ROOT_PATH.'/header.php'; include_once 'class/class.forumposts.php'; --- 43,46 ---- |