Update of /cvsroot/xoops/xoops2/modules/mylinks In directory sc8-pr-cvs1:/tmp/cvs-serv21628/modules/mylinks Modified Files: brokenlink.php index.php modlink.php ratelink.php singlelink.php submit.php topten.php viewcat.php Log Message: removed $xoopsOption['template_used'] Index: brokenlink.php =================================================================== RCS file: /cvsroot/xoops/xoops2/modules/mylinks/brokenlink.php,v retrieving revision 1.1 retrieving revision 1.2 diff -C2 -d -r1.1 -r1.2 *** brokenlink.php 2 Jan 2003 17:40:40 -0000 1.1 --- brokenlink.php 6 Jan 2003 19:57:28 -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 ---- *************** *** 64,68 **** exit(); } else { - $xoopsOption['template_used'] = array('mylinks_brokenlink.html'); $xoopsOption['template_main'] = 'mylinks_brokenlink.html'; include XOOPS_ROOT_PATH.'/header.php'; --- 59,62 ---- Index: index.php =================================================================== RCS file: /cvsroot/xoops/xoops2/modules/mylinks/index.php,v retrieving revision 1.1 retrieving revision 1.2 diff -C2 -d -r1.1 -r1.2 *** index.php 2 Jan 2003 17:40:44 -0000 1.1 --- index.php 6 Jan 2003 19:57:33 -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 ---- *************** *** 34,38 **** include_once XOOPS_ROOT_PATH."/class/xoopstree.php"; $mytree = new XoopsTree($xoopsDB->prefix("mylinks_cat"),"cid","pid"); - $xoopsOption['template_used'] = array('mylinks_index.html', 'mylinks_link.html'); $xoopsOption['template_main'] = 'mylinks_index.html'; if ($xoopsConfig['startpage'] == "mylinks") { --- 29,32 ---- Index: modlink.php =================================================================== RCS file: /cvsroot/xoops/xoops2/modules/mylinks/modlink.php,v retrieving revision 1.1 retrieving revision 1.2 diff -C2 -d -r1.1 -r1.2 *** modlink.php 2 Jan 2003 17:40:44 -0000 1.1 --- modlink.php 6 Jan 2003 19:57:34 -0000 1.2 *************** *** 70,74 **** exit(); } - $xoopsOption['template_used'] = array('mylinks_modlink.html'); $xoopsOption['template_main'] = 'mylinks_modlink.html'; include XOOPS_ROOT_PATH."/header.php"; --- 70,73 ---- Index: ratelink.php =================================================================== RCS file: /cvsroot/xoops/xoops2/modules/mylinks/ratelink.php,v retrieving revision 1.1 retrieving revision 1.2 diff -C2 -d -r1.1 -r1.2 *** ratelink.php 2 Jan 2003 17:40:44 -0000 1.1 --- ratelink.php 6 Jan 2003 19:57: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 ---- *************** *** 93,97 **** exit(); } else { - $xoopsOption['template_used'] = array('mylinks_ratelink.html'); $xoopsOption['template_main'] = 'mylinks_ratelink.html'; include XOOPS_ROOT_PATH."/header.php"; --- 88,91 ---- Index: singlelink.php =================================================================== RCS file: /cvsroot/xoops/xoops2/modules/mylinks/singlelink.php,v retrieving revision 1.1 retrieving revision 1.2 diff -C2 -d -r1.1 -r1.2 *** singlelink.php 2 Jan 2003 17:40:44 -0000 1.1 --- singlelink.php 6 Jan 2003 19:57: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 ---- *************** *** 35,39 **** $mytree = new XoopsTree($xoopsDB->prefix("mylinks_cat"),"cid","pid"); $lid = intval($HTTP_GET_VARS['lid']); - $xoopsOption['template_used'] = array('mylinks_singlelink.html', 'mylinks_link.html'); $xoopsOption['template_main'] = 'mylinks_singlelink.html'; include XOOPS_ROOT_PATH."/header.php"; --- 30,33 ---- Index: submit.php =================================================================== RCS file: /cvsroot/xoops/xoops2/modules/mylinks/submit.php,v retrieving revision 1.3 retrieving revision 1.4 diff -C2 -d -r1.3 -r1.4 *** submit.php 6 Jan 2003 17:55:27 -0000 1.3 --- submit.php 6 Jan 2003 19:57:41 -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 ---- *************** *** 91,95 **** exit(); } - $xoopsOption['template_used'] = array('mylinks_submit.html'); $xoopsOption['template_main'] = 'mylinks_submit.html'; include XOOPS_ROOT_PATH."/header.php"; --- 86,89 ---- Index: topten.php =================================================================== RCS file: /cvsroot/xoops/xoops2/modules/mylinks/topten.php,v retrieving revision 1.1 retrieving revision 1.2 diff -C2 -d -r1.1 -r1.2 *** topten.php 2 Jan 2003 17:40:44 -0000 1.1 --- topten.php 6 Jan 2003 19:57:42 -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 ---- *************** *** 34,38 **** include_once XOOPS_ROOT_PATH."/class/xoopstree.php"; $mytree = new XoopsTree($xoopsDB->prefix("mylinks_cat"),"cid","pid"); - $xoopsOption['template_used'] = array('mylinks_topten.html'); $xoopsOption['template_main'] = 'mylinks_topten.html'; include XOOPS_ROOT_PATH."/header.php"; --- 29,32 ---- Index: viewcat.php =================================================================== RCS file: /cvsroot/xoops/xoops2/modules/mylinks/viewcat.php,v retrieving revision 1.1 retrieving revision 1.2 diff -C2 -d -r1.1 -r1.2 *** viewcat.php 2 Jan 2003 17:40:44 -0000 1.1 --- viewcat.php 6 Jan 2003 19:57:44 -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 **** $cid = intval($HTTP_GET_VARS['cid']); - $xoopsOption['template_used'] = array('mylinks_viewcat.html', 'mylinks_link.html'); $xoopsOption['template_main'] = 'mylinks_viewcat.html'; include XOOPS_ROOT_PATH."/header.php"; --- 31,34 ---- |