From: <ok...@us...> - 2003-01-06 19:53:06
|
Update of /cvsroot/xoops/xoops2/modules/mydownloads In directory sc8-pr-cvs1:/tmp/cvs-serv19452/modules/mydownloads Modified Files: submit.php topten.php viewcat.php Log Message: removed $xoopsOption['template_used'] Index: submit.php =================================================================== RCS file: /cvsroot/xoops/xoops2/modules/mydownloads/submit.php,v retrieving revision 1.3 retrieving revision 1.4 diff -C2 -d -r1.3 -r1.4 *** submit.php 6 Jan 2003 17:52:00 -0000 1.3 --- submit.php 6 Jan 2003 19:52:26 -0000 1.4 *************** *** 5,13 **** // Copyright (c) 2000 XOOPS.org // // <http://www.xoops.org/> // - // ------------------------------------------------------------------------ // - // Based on: // - // myPHPNUKE Web Portal System - http://myphpnuke.com/ // - // PHP-NUKE Web Portal System - http://phpnuke.org/ // - // Thatware - http://thatware.org/ // // ------------------------------------------------------------------------- // // This program is free software; you can redistribute it and/or modify // --- 5,8 ---- *************** *** 102,106 **** exit(); } - $xoopsOption['template_used'] = array('mydownloads_submit.html'); $xoopsOption['template_main'] = 'mydownloads_submit.html'; include XOOPS_ROOT_PATH."/header.php"; --- 97,100 ---- Index: topten.php =================================================================== RCS file: /cvsroot/xoops/xoops2/modules/mydownloads/topten.php,v retrieving revision 1.1 retrieving revision 1.2 diff -C2 -d -r1.1 -r1.2 *** topten.php 2 Jan 2003 17:15:59 -0000 1.1 --- topten.php 6 Jan 2003 19:52:35 -0000 1.2 *************** *** 5,13 **** // Copyright (c) 2000 XOOPS.org // // <http://www.xoops.org/> // - // ------------------------------------------------------------------------ // - // Based on: // - // myPHPNUKE Web Portal System - http://myphpnuke.com/ // - // PHP-NUKE Web Portal System - http://phpnuke.org/ // - // Thatware - http://thatware.org/ // // ------------------------------------------------------------------------- // // This program is free software; you can redistribute it and/or modify // --- 5,8 ---- *************** *** 36,40 **** $myts =& MyTextSanitizer::getInstance(); // MyTextSanitizer object $mytree = new XoopsTree($xoopsDB->prefix("mydownloads_cat"),"cid","pid"); - $xoopsOption['template_used'] = array('mydownloads_topten.html'); $xoopsOption['template_main'] = 'mydownloads_topten.html'; include XOOPS_ROOT_PATH."/header.php"; --- 31,34 ---- Index: viewcat.php =================================================================== RCS file: /cvsroot/xoops/xoops2/modules/mydownloads/viewcat.php,v retrieving revision 1.1 retrieving revision 1.2 diff -C2 -d -r1.1 -r1.2 *** viewcat.php 2 Jan 2003 17:15:59 -0000 1.1 --- viewcat.php 6 Jan 2003 19:52:49 -0000 1.2 *************** *** 5,13 **** // Copyright (c) 2000 XOOPS.org // // <http://www.xoops.org/> // - // ------------------------------------------------------------------------ // - // Based on: // - // myPHPNUKE Web Portal System - http://myphpnuke.com/ // - // PHP-NUKE Web Portal System - http://phpnuke.org/ // - // Thatware - http://thatware.org/ // // ------------------------------------------------------------------------- // // This program is free software; you can redistribute it and/or modify // --- 5,8 ---- *************** *** 33,37 **** include "header.php"; include_once XOOPS_ROOT_PATH."/class/xoopstree.php"; - $xoopsOption['template_used'] = array('mydownloads_viewcat.html', 'mydownloads_download.html'); $xoopsOption['template_main'] = 'mydownloads_viewcat.html'; $myts =& MyTextSanitizer::getInstance();// MyTextSanitizer object --- 28,31 ---- |