From: <be...@us...> - 2012-03-14 10:13:24
|
Revision: 9128 http://xoops.svn.sourceforge.net/xoops/?rev=9128&view=rev Author: beckmi Date: 2012-03-14 10:13:12 +0000 (Wed, 14 Mar 2012) Log Message: ----------- Converting to XOOPS 2.5.x Admin GUI Modified Paths: -------------- XoopsModules/tplleaguestats/trunk/tplleaguestats/admin/head.php XoopsModules/tplleaguestats/trunk/tplleaguestats/admin/index.php XoopsModules/tplleaguestats/trunk/tplleaguestats/admin/leaguematches.php XoopsModules/tplleaguestats/trunk/tplleaguestats/admin/menu.php XoopsModules/tplleaguestats/trunk/tplleaguestats/admin/opponents.php XoopsModules/tplleaguestats/trunk/tplleaguestats/admin/seasons.php XoopsModules/tplleaguestats/trunk/tplleaguestats/bottom.txt XoopsModules/tplleaguestats/trunk/tplleaguestats/images/tplleague_slogo.png XoopsModules/tplleaguestats/trunk/tplleaguestats/language/english/admin.php XoopsModules/tplleaguestats/trunk/tplleaguestats/language/english/modinfo.php XoopsModules/tplleaguestats/trunk/tplleaguestats/xoops_version.php Added Paths: ----------- XoopsModules/tplleaguestats/trunk/tplleaguestats/admin/about.php XoopsModules/tplleaguestats/trunk/tplleaguestats/admin/admin_footer.php XoopsModules/tplleaguestats/trunk/tplleaguestats/admin/admin_header.php XoopsModules/tplleaguestats/trunk/tplleaguestats/docs/changelog.txt XoopsModules/tplleaguestats/trunk/tplleaguestats/docs/credits.txt XoopsModules/tplleaguestats/trunk/tplleaguestats/docs/install.txt XoopsModules/tplleaguestats/trunk/tplleaguestats/docs/lang_diff.txt XoopsModules/tplleaguestats/trunk/tplleaguestats/docs/readme.txt XoopsModules/tplleaguestats/trunk/tplleaguestats/images/icons/ XoopsModules/tplleaguestats/trunk/tplleaguestats/images/icons/16/ XoopsModules/tplleaguestats/trunk/tplleaguestats/images/icons/16/game.png XoopsModules/tplleaguestats/trunk/tplleaguestats/images/icons/16/karm.png XoopsModules/tplleaguestats/trunk/tplleaguestats/images/icons/16/users.png XoopsModules/tplleaguestats/trunk/tplleaguestats/language/english/help/ XoopsModules/tplleaguestats/trunk/tplleaguestats/language/english/help/help.html XoopsModules/tplleaguestats/trunk/tplleaguestats/language/english/help/index.html Added: XoopsModules/tplleaguestats/trunk/tplleaguestats/admin/about.php =================================================================== --- XoopsModules/tplleaguestats/trunk/tplleaguestats/admin/about.php (rev 0) +++ XoopsModules/tplleaguestats/trunk/tplleaguestats/admin/about.php 2012-03-14 10:13:12 UTC (rev 9128) @@ -0,0 +1,29 @@ +<?php +/** + * Marquee module + * + * You may not change or alter any portion of this comment or credits + * of supporting developers from this source code or any supporting source code + * which is considered copyrighted (c) material of the original comment or credit authors. + * This program is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. + * + * @copyright The XOOPS Project (http://www.xoops.org) + * @license {@link http://www.gnu.org/licenses/gpl-2.0.html GNU Public License} + * @package Marquee + * @since 2.5.0 + * @author Mage, Mamba + * @version $Id $ + **/ + +include_once dirname(__FILE__) . '/admin_header.php'; + +xoops_cp_header(); + +$aboutAdmin = new ModuleAdmin(); + +echo $aboutAdmin->addNavigation('about.php'); +echo $aboutAdmin->renderAbout('6KJ7RW5DR3VTJ', false); + +include 'admin_footer.php'; \ No newline at end of file Added: XoopsModules/tplleaguestats/trunk/tplleaguestats/admin/admin_footer.php =================================================================== --- XoopsModules/tplleaguestats/trunk/tplleaguestats/admin/admin_footer.php (rev 0) +++ XoopsModules/tplleaguestats/trunk/tplleaguestats/admin/admin_footer.php 2012-03-14 10:13:12 UTC (rev 9128) @@ -0,0 +1,27 @@ +<?php +/** + * Marquee module + * + * You may not change or alter any portion of this comment or credits + * of supporting developers from this source code or any supporting source code + * which is considered copyrighted (c) material of the original comment or credit authors. + * This program is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. + * + * @copyright The XOOPS Project http://sourceforge.net/projects/xoops/ + * @license http://www.gnu.org/licenses/gpl-2.0.html GNU Public License + * @package Marquee + * @since 2.5.0 + * @author Mamba (www.xoops.org) + * @version $Id $ +**/ + +echo "<div class='adminfooter'>\n" + ." <div style='text-align: center;'>\n" + ." <a href='http://www.xoops.org' target='_blank'><img src='{$pathIcon32}/xoopsmicrobutton.gif' alt='XOOPS' title='XOOPS'></a>\n" + ." </div>\n" + ." " . _AM_TPL_ADMIN_FOOTER . "\n" + ."</div>"; + +xoops_cp_footer(); \ No newline at end of file Added: XoopsModules/tplleaguestats/trunk/tplleaguestats/admin/admin_header.php =================================================================== --- XoopsModules/tplleaguestats/trunk/tplleaguestats/admin/admin_header.php (rev 0) +++ XoopsModules/tplleaguestats/trunk/tplleaguestats/admin/admin_header.php 2012-03-14 10:13:12 UTC (rev 9128) @@ -0,0 +1,42 @@ +<?php +/** + * Marquee module + * + * You may not change or alter any portion of this comment or credits + * of supporting developers from this source code or any supporting source code + * which is considered copyrighted (c) material of the original comment or credit authors. + * This program is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. + * + * @copyright The XOOPS Project http://sourceforge.net/projects/xoops/ + * @license http://www.gnu.org/licenses/gpl-2.0.html GNU Public License + * @package Marquee + * @since 2.5.0 + * @author XOOPS Module Team + * @version $Id $ +**/ + +$path = dirname(dirname(dirname(dirname(__FILE__)))); +include_once $path . '/mainfile.php'; +include_once $path . '/include/cp_functions.php'; +require_once $path . '/include/cp_header.php'; + +global $xoopsModule; + +$thisModuleDir = $GLOBALS['xoopsModule']->getVar('dirname'); + +// Load language files +xoops_loadLanguage('admin', $thisModuleDir); +xoops_loadLanguage('modinfo', $thisModuleDir); +xoops_loadLanguage('main', $thisModuleDir); + +$pathIcon16 = '../'.$xoopsModule->getInfo('icons16'); +$pathIcon32 = '../'.$xoopsModule->getInfo('icons32'); +$pathModuleAdmin = $xoopsModule->getInfo('dirmoduleadmin'); + +if ( file_exists($GLOBALS['xoops']->path($pathModuleAdmin.'/moduleadmin.php'))){ + include_once $GLOBALS['xoops']->path($pathModuleAdmin.'/moduleadmin.php'); + }else{ + redirect_header("../../../admin.php", 5, _AM_TPL_MODULEADMIN_MISSING, false); + } \ No newline at end of file Modified: XoopsModules/tplleaguestats/trunk/tplleaguestats/admin/head.php =================================================================== --- XoopsModules/tplleaguestats/trunk/tplleaguestats/admin/head.php 2012-03-14 09:32:43 UTC (rev 9127) +++ XoopsModules/tplleaguestats/trunk/tplleaguestats/admin/head.php 2012-03-14 10:13:12 UTC (rev 9128) @@ -4,7 +4,7 @@ TPLLeagueStats is a league stats software designed for football (soccer) team. -Copyright (C) 2003 Timo Lepp\xE4nen / TPL Design +Copyright (C) 2003 Timo Lepp�nen / TPL Design email: in...@tp... www: www.tpl-design.com/tplleaguestats @@ -30,7 +30,7 @@ ************************************************************ */ -if(!session_is_registered('season_name') || !session_is_registered('season_id')) +if(!isset($_SESSION['season_name']) || !isset($_SESSION['season_id'])) { echo "<form method=\"post\" action=\"leaguematches.php\">"; echo '<b><?php echo _AM_CHOSEASON;?></b>'; Modified: XoopsModules/tplleaguestats/trunk/tplleaguestats/admin/index.php =================================================================== --- XoopsModules/tplleaguestats/trunk/tplleaguestats/admin/index.php 2012-03-14 09:32:43 UTC (rev 9127) +++ XoopsModules/tplleaguestats/trunk/tplleaguestats/admin/index.php 2012-03-14 10:13:12 UTC (rev 9128) @@ -1,42 +1,30 @@ <?php -/* -************************************************************ -TPLLeagueStats is a league stats software designed for football (soccer) -team. +/** + * Private message + * + * You may not change or alter any portion of this comment or credits + * of supporting developers from this source code or any supporting source code + * which is considered copyrighted (c) material of the original comment or credit authors. + * This program is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. + * + * @copyright The XOOPS Project http://sourceforge.net/projects/xoops/ + * @license http://www.fsf.org/copyleft/gpl.html GNU public license + * @package MRBS + * @since 1.41 + * @author jobrazo + * @version $Id: admin.php $ + */ -Copyright (C) 2003 Timo Lepp\xE4nen / TPL Design -email: in...@tp... -www: www.tpl-design.com/tplleaguestats +require_once dirname(dirname(dirname(dirname(__FILE__)))) . '/include/cp_header.php'; +include_once dirname(__FILE__) . '/admin_header.php'; -This program is free software; you can redistribute it and/or -modify it under the terms of the GNU General Public License -as published by the Free Software Foundation; either version 2 -of the License, or (at your option) any later version. - -This program is distributed in the hope that it will be useful, -but WITHOUT ANY WARRANTY; without even the implied warranty of -MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the -GNU General Public License for more details. - -You should have received a copy of the GNU General Public License -along with this program; if not, write to the Free Software -Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. - -************************************************************ -Ported to xoops by -Mythrandir http://www.web-udvikling.dk -and -ralf57 http://www.madeinbanzi.it - -************************************************************ -*/ - - -include '../../../include/cp_header.php'; //Include file, which checks for permissions and sets navigation - xoops_cp_header(); -header("Location:leaguematches.php"); + $indexAdmin = new ModuleAdmin(); -xoops_cp_footer(); -?> + echo $indexAdmin->addNavigation('index.php'); + echo $indexAdmin->renderIndex(); + +include "admin_footer.php"; \ No newline at end of file Modified: XoopsModules/tplleaguestats/trunk/tplleaguestats/admin/leaguematches.php =================================================================== --- XoopsModules/tplleaguestats/trunk/tplleaguestats/admin/leaguematches.php 2012-03-14 09:32:43 UTC (rev 9127) +++ XoopsModules/tplleaguestats/trunk/tplleaguestats/admin/leaguematches.php 2012-03-14 10:13:12 UTC (rev 9128) @@ -4,7 +4,7 @@ TPLLeagueStats is a league stats software designed for football (soccer) team. -Copyright (C) 2003 Timo Lepp\xE4nen / TPL Design +Copyright (C) 2003 Timo Lepp�nen / TPL Design email: in...@tp... www: www.tpl-design.com/tplleaguestats @@ -63,25 +63,6 @@ xoops_cp_header(); -?> - -<!-- Navigation bar--> -<table width="560" cellspacing="0" bordercolordark="white" bordercolorlight="black" style="border-collapse:collapse;"> - <tr> - <td align="center" style="padding: 3px;background-color: #FFFFFF; border:1px #000000 dotted;"> - <a href="seasons.php"><?php echo _AM_NAVSEASONS;?></a></td> - <td align="center" style="padding: 3px;background-color: #FFFFFF; border:1px #000000 dotted;"> - <a href="opponents.php"><?php echo _AM_NAVOPPONENTS;?></a></td> - <td align="center" nowrap style="padding: 3px;background-color: #E6E6FF; border:1px #000000 dotted;"> - <a href="leaguematches.php"><?php echo _AM_NAVLEAGUEMATCHES;?></a></td> - <td align="center" style="padding: 3px;background-color: #FFFFFF; border:1px #000000 dotted;"> - <a href="../index.php" target="_blank"><?php echo _AM_NAVLEAGUETABLE;?></a></td> - </tr> -</table> -<!-- End Navigation bar--> - -<?php - // //Exit check, if there are less than 2 teams in database // @@ -89,8 +70,7 @@ if($xoopsDB->getRowsNum($query) < 2) { - echo "<br><br>"._AM_ADDTWOTEAMS."<br><br> - <a href=\"opponents.php\">" ._AM_ADDTEAMS. "</a>"; + redirect_header('opponents.php', 1, _AM_ADDTWOTEAMS); exit(); } @@ -488,13 +468,13 @@ <select name="year"> <?php //print the years - for($i = 1950 ; $i < 2010 ; $i++) + for($i = 1950 ; $i < 2020 ; $i++) { if($i<10) { $i = "0".$i; } - if($i == "2003") + if($i == "2012") echo "<option value=\"$i\" SELECTED>$i</option>\n"; else echo "<option value=\"$i\">$i</option>\n"; Modified: XoopsModules/tplleaguestats/trunk/tplleaguestats/admin/menu.php =================================================================== --- XoopsModules/tplleaguestats/trunk/tplleaguestats/admin/menu.php 2012-03-14 09:32:43 UTC (rev 9127) +++ XoopsModules/tplleaguestats/trunk/tplleaguestats/admin/menu.php 2012-03-14 10:13:12 UTC (rev 9128) @@ -1,10 +1,37 @@ <?php -$adminmenu[1]['title'] = _MI_TPLLS_ADMENU1; -$adminmenu[1]['link'] = "admin/seasons.php"; -$adminmenu[2]['title'] = _MI_TPLLS_ADMENU2; -$adminmenu[2]['link'] = "admin/opponents.php"; -$adminmenu[3]['title'] = _MI_TPLLS_ADMENU3; -$adminmenu[3]['link'] = "admin/leaguematches.php"; +defined("XOOPS_ROOT_PATH") or die("XOOPS root path not defined"); -?> \ No newline at end of file +$dirname = basename(dirname(dirname(__FILE__))); +$module_handler = xoops_gethandler('module'); +$module = $module_handler->getByDirname($dirname); +$pathIcon32 = $module->getInfo('icons32'); + +xoops_loadLanguage('admin', $dirname); + +$i = 0; + +// Index +$adminmenu[$i]['title'] = _MI_TPLLS_ADMENU0; +$adminmenu[$i]['link'] = "admin/index.php"; +$adminmenu[$i]["icon"] = $pathIcon32.'/home.png'; +$i++; + +$adminmenu[$i]['title'] = _MI_TPLLS_ADMENU1; +$adminmenu[$i]['link'] = "admin/seasons.php"; +$adminmenu[$i]["icon"] = './images/icons/16/karm.png'; +$i++; + +$adminmenu[$i]['title'] = _MI_TPLLS_ADMENU2; +$adminmenu[$i]['link'] = "admin/opponents.php"; +$adminmenu[$i]["icon"] = './images/icons/16/users.png'; +$i++; + +$adminmenu[$i]['title'] = _MI_TPLLS_ADMENU3; +$adminmenu[$i]['link'] = "admin/leaguematches.php"; +$adminmenu[$i]["icon"] = './images/icons/16/game.png'; + +$i++; +$adminmenu[$i]['title'] = _MI_TPLLS_ABOUT; +$adminmenu[$i]['link'] = "admin/about.php"; +$adminmenu[$i]["icon"] = $pathIcon32.'/about.png'; \ No newline at end of file Modified: XoopsModules/tplleaguestats/trunk/tplleaguestats/admin/opponents.php =================================================================== --- XoopsModules/tplleaguestats/trunk/tplleaguestats/admin/opponents.php 2012-03-14 09:32:43 UTC (rev 9127) +++ XoopsModules/tplleaguestats/trunk/tplleaguestats/admin/opponents.php 2012-03-14 10:13:12 UTC (rev 9128) @@ -4,7 +4,7 @@ TPLLeagueStats is a league stats software designed for football (soccer) team. -Copyright (C) 2003 Timo Lepp\xE4nen / TPL Design +Copyright (C) 2003 Timo Lepp�nen / TPL Design email: in...@tp... www: www.tpl-design.com/tplleaguestats @@ -66,25 +66,6 @@ xoops_cp_header(); -?> - -<!-- Navigation bar--> -<table width="560" cellspacing="0" bordercolordark="white" bordercolorlight="black" style="border-collapse:collapse;"> - <tr> - <td align="center" style="padding: 3px;background-color: #FFFFFF; border:1px #000000 dotted;"> - <a href="seasons.php"><?php echo _AM_NAVSEASONS;?></a></td> - <td align="center" style="padding: 3px;background-color: #E6E6FF; border:1px #000000 dotted;"> - <a href="opponents.php"><?php echo _AM_NAVOPPONENTS;?></a></td> - <td align="center" nowrap style="padding: 3px;background-color: #FFFFFF; border:1px #000000 dotted;"> - <a href="leaguematches.php"><?php echo _AM_NAVLEAGUEMATCHES;?></a></td> - <td align="center" style="padding: 3px;background-color: #FFFFFF; border:1px #000000 dotted;"> - <a href="../index.php" target="_blank"><?php echo _AM_NAVLEAGUETABLE;?></a></td> - </tr> -</table> -<!-- End Navigation bar--> - -<?php - // //Add // Modified: XoopsModules/tplleaguestats/trunk/tplleaguestats/admin/seasons.php =================================================================== --- XoopsModules/tplleaguestats/trunk/tplleaguestats/admin/seasons.php 2012-03-14 09:32:43 UTC (rev 9127) +++ XoopsModules/tplleaguestats/trunk/tplleaguestats/admin/seasons.php 2012-03-14 10:13:12 UTC (rev 9128) @@ -4,7 +4,7 @@ TPLLeagueStats is a league stats software designed for football (soccer) team. -Copyright (C) 2003 Timo Lepp\xE4nen / TPL Design +Copyright (C) 2003 Timo Lepp�nen / TPL Design email: in...@tp... www: www.tpl-design.com/tplleaguestats @@ -47,25 +47,6 @@ xoops_cp_header(); -?> - -<!-- Navigation bar--> -<table width="560" cellspacing="0" bordercolordark="white" bordercolorlight="black" style="border-collapse:collapse;"> - <tr> - <td align="center" style="padding: 3px;background-color: #E6E6FF; border:1px #000000 dotted;"> - <a href="seasons.php"><?php echo _AM_NAVSEASONS;?></a></td> - <td align="center" style="padding: 3px;background-color: #FFFFFF; border:1px #000000 dotted;"> - <a href="opponents.php"><?php echo _AM_NAVOPPONENTS;?></a></td> - <td align="center" nowrap style="padding: 3px;background-color: #FFFFFF; border:1px #000000 dotted;"> - <a href="leaguematches.php"><?php echo _AM_NAVLEAGUEMATCHES;?></a></td> - <td align="center" style="padding: 3px;background-color: #FFFFFF; border:1px #000000 dotted;"> - <a href="../index.php" target="_blank"><?php echo _AM_NAVLEAGUETABLE;?></a></td> - </tr> -</table> -<!-- End Navigation bar--> - - -<?php if($add_submit) { $name = $xoopsDB->quoteString(trim($_POST['name'])); Modified: XoopsModules/tplleaguestats/trunk/tplleaguestats/bottom.txt =================================================================== --- XoopsModules/tplleaguestats/trunk/tplleaguestats/bottom.txt 2012-03-14 09:32:43 UTC (rev 9127) +++ XoopsModules/tplleaguestats/trunk/tplleaguestats/bottom.txt 2012-03-14 10:13:12 UTC (rev 9128) @@ -1,3 +1,2 @@ <center> -TPLLeagueStats by <a href="http://www.web-udvikling.dk " target="_BLANK">Mithrandir</a> and <a href="http://www.madeinbanzi.it " target="_BLANK">ralf57</a> based on <a href="http://www.tpl-design.com/tplleaguestats" target="_BLANK">tplLeagueStats 1.03</a> </center> \ No newline at end of file Added: XoopsModules/tplleaguestats/trunk/tplleaguestats/docs/changelog.txt =================================================================== --- XoopsModules/tplleaguestats/trunk/tplleaguestats/docs/changelog.txt (rev 0) +++ XoopsModules/tplleaguestats/trunk/tplleaguestats/docs/changelog.txt 2012-03-14 10:13:12 UTC (rev 9128) @@ -0,0 +1,10 @@ +1.1 2012/03/14 Beta: +================================= +- converted to XOOPS 2.5.x Admin GUI (mamba) + +Version 1.0beta | 29-Mar-2004 +================================= +Ported to xoops by +Mythrandir http://www.web-udvikling.dk +and +ralf57 http://www.madeinbanzi.it \ No newline at end of file Added: XoopsModules/tplleaguestats/trunk/tplleaguestats/docs/credits.txt =================================================================== --- XoopsModules/tplleaguestats/trunk/tplleaguestats/docs/credits.txt (rev 0) +++ XoopsModules/tplleaguestats/trunk/tplleaguestats/docs/credits.txt 2012-03-14 10:13:12 UTC (rev 9128) @@ -0,0 +1,23 @@ +Ported to xoops by +Mythrandir http://www.web-udvikling.dk +and +ralf57 http://www.madeinbanzi.it + +************************************************************ +Version 1.0beta | 29-Mar-2004 +************************************************************ +READ manual.txt for installing & other help!!! +************************************************************ +Version history + +1.0beta: Mar 2003 +- first beta release + +************************************************************ +Features planned for the next release(s): +- Add search feature +- Add templates +- Relate teams to seasons so each season has its teams +********************************************************** +If you have any bug or suggest please +report it to http://www.madeinbanzi.it/xoopsworld/modules/newbb/index.php Added: XoopsModules/tplleaguestats/trunk/tplleaguestats/docs/install.txt =================================================================== --- XoopsModules/tplleaguestats/trunk/tplleaguestats/docs/install.txt (rev 0) +++ XoopsModules/tplleaguestats/trunk/tplleaguestats/docs/install.txt 2012-03-14 10:13:12 UTC (rev 9128) @@ -0,0 +1,6 @@ +INSTALL/UNISTALL +================= + +No special measures necessary, follow the standard installation process & extract the module folder into the ../modules directory. Install the module through Admin -> System Module -> Modules. + +Detailed instructions on installing modules are available in the XOOPS Operations Manual: http://goo.gl/adT2i \ No newline at end of file Added: XoopsModules/tplleaguestats/trunk/tplleaguestats/docs/lang_diff.txt =================================================================== --- XoopsModules/tplleaguestats/trunk/tplleaguestats/docs/lang_diff.txt (rev 0) +++ XoopsModules/tplleaguestats/trunk/tplleaguestats/docs/lang_diff.txt 2012-03-14 10:13:12 UTC (rev 9128) @@ -0,0 +1,4 @@ +LANGUAGE DIFFERENCES +===================== + +Below are language differences from a version to next version. \ No newline at end of file Added: XoopsModules/tplleaguestats/trunk/tplleaguestats/docs/readme.txt =================================================================== --- XoopsModules/tplleaguestats/trunk/tplleaguestats/docs/readme.txt (rev 0) +++ XoopsModules/tplleaguestats/trunk/tplleaguestats/docs/readme.txt 2012-03-14 10:13:12 UTC (rev 9128) @@ -0,0 +1,25 @@ +README +=========== + +This module allows you to easily manage the league of your favourite team and show your supporters detailed statistics on multiple seasons too. + +Using a MySQL backend the program is fully featured and can be used to generate League, Form & Stats Tables. + +Fixtures, Head to Head comparisons and Sequences are also catered for in various custom layouts. + +Installation is simple and straight forward with all updates to your league made online using a password protected admin page. + +Finally, and best of all...tplLeagueStats is Free Software released under the GNU/GPL license. + + Requirements + _____________________________________________________________________ + +- XOOPS >= 2.5.0 +- PHP version >= 5.2.0 +- ModuleClasses in /Frameworks (download it from here: http://goo.gl/Bmknt) + +Install/uninstall +--------------------- +No special measures necessary, follow the standard installation process & extract the /marquee folder into the ../modules directory. Install the module through Admin -> System Module -> Modules. + +Detailed instructions on installing modules are available in the XOOPS Operations Manual: http://goo.gl/adT2i \ No newline at end of file Added: XoopsModules/tplleaguestats/trunk/tplleaguestats/images/icons/16/game.png =================================================================== (Binary files differ) Property changes on: XoopsModules/tplleaguestats/trunk/tplleaguestats/images/icons/16/game.png ___________________________________________________________________ Added: svn:mime-type + application/octet-stream Added: XoopsModules/tplleaguestats/trunk/tplleaguestats/images/icons/16/karm.png =================================================================== (Binary files differ) Property changes on: XoopsModules/tplleaguestats/trunk/tplleaguestats/images/icons/16/karm.png ___________________________________________________________________ Added: svn:mime-type + application/octet-stream Added: XoopsModules/tplleaguestats/trunk/tplleaguestats/images/icons/16/users.png =================================================================== (Binary files differ) Property changes on: XoopsModules/tplleaguestats/trunk/tplleaguestats/images/icons/16/users.png ___________________________________________________________________ Added: svn:mime-type + application/octet-stream Modified: XoopsModules/tplleaguestats/trunk/tplleaguestats/images/tplleague_slogo.png =================================================================== (Binary files differ) Modified: XoopsModules/tplleaguestats/trunk/tplleaguestats/language/english/admin.php =================================================================== --- XoopsModules/tplleaguestats/trunk/tplleaguestats/language/english/admin.php 2012-03-14 09:32:43 UTC (rev 9127) +++ XoopsModules/tplleaguestats/trunk/tplleaguestats/language/english/admin.php 2012-03-14 10:13:12 UTC (rev 9128) @@ -75,4 +75,10 @@ define("_AM_SEASONGO","Go"); + +//ModuleAdmin +define('_AM_TPL_MODULEADMIN_MISSING','Error: The ModuleAdmin class is missing. Please install the ModuleAdmin Class into /Frameworks (see /docs/readme.txt)'); + +// Text for Admin footer +define("_AM_TPL_ADMIN_FOOTER", "<div class='center smallsmall italic pad5'>TPL League Stats is maintained by the <a class='tooltip' rel='external' href='http://xoops.org/' title='Visit XOOPS Community'>XOOPS Community</a></div>"); ?> Added: XoopsModules/tplleaguestats/trunk/tplleaguestats/language/english/help/help.html =================================================================== --- XoopsModules/tplleaguestats/trunk/tplleaguestats/language/english/help/help.html (rev 0) +++ XoopsModules/tplleaguestats/trunk/tplleaguestats/language/english/help/help.html 2012-03-14 10:13:12 UTC (rev 9128) @@ -0,0 +1,36 @@ +<div id="help-template" class="outer"> + <h1 class="head">Help: + <a class="ui-corner-all tooltip" href="<{$xoops_url}>/modules/tplleaguestats/admin/index.php" + title="Back to the administration of TPL League Stats"> TPL League Stats + <img src="<{xoAdminIcons home.png}>" + alt="Back to the Administration of TPL League Stats"/> + </a></h1> + + <!-- -----Help Content ---------- --> + <h4 class="odd">Description</h4> + + <p class="even">Simple application to record and present sport league results/stats</p> + <h4 class="odd">Install/uninstall</h4> + + <p>No special measures necessary, follow the standard installation process – extract the module folder into the + ../modules directory. Install the module through Admin -> System Module -> Modules.</p> + + <p>Detailed instructions on installing modules are available in the + <a href="http://goo.gl/adT2i" title="XOOPS Operations Manual">XOOPS Operations Manual</a></p> + <h4 class="odd">Operating instructions</h4> + + <p class="even">To set up this module you need to:</p> + <ul> + <li>Configure your preferences for the module (see ‘Preferences’) and optionally the blocks if you intend + to use them (see ‘Blocks’). + </li> + <li>Add Seasons.</li> + <li>Add Teams. + </li> + <li>Add Matches</li> + </ul> + <h4 class="odd">Tutorial</h4> + + <p class="even">Currently there is no tutorial</p> + <!-- -----Help Content ---------- --> + </div> \ No newline at end of file Added: XoopsModules/tplleaguestats/trunk/tplleaguestats/language/english/help/index.html =================================================================== --- XoopsModules/tplleaguestats/trunk/tplleaguestats/language/english/help/index.html (rev 0) +++ XoopsModules/tplleaguestats/trunk/tplleaguestats/language/english/help/index.html 2012-03-14 10:13:12 UTC (rev 9128) @@ -0,0 +1 @@ + <script>history.go(-1);</script> \ No newline at end of file Modified: XoopsModules/tplleaguestats/trunk/tplleaguestats/language/english/modinfo.php =================================================================== --- XoopsModules/tplleaguestats/trunk/tplleaguestats/language/english/modinfo.php 2012-03-14 09:32:43 UTC (rev 9127) +++ XoopsModules/tplleaguestats/trunk/tplleaguestats/language/english/modinfo.php 2012-03-14 10:13:12 UTC (rev 9128) @@ -32,4 +32,5 @@ define("_MI_TPLLS_ADMENU2","Teams"); define("_MI_TPLLS_ADMENU3","Matches"); -?> \ No newline at end of file +define("_MI_TPLLS_ADMENU0","Home"); +define("_MI_TPLLS_ABOUT","About"); \ No newline at end of file Modified: XoopsModules/tplleaguestats/trunk/tplleaguestats/xoops_version.php =================================================================== --- XoopsModules/tplleaguestats/trunk/tplleaguestats/xoops_version.php 2012-03-14 09:32:43 UTC (rev 9127) +++ XoopsModules/tplleaguestats/trunk/tplleaguestats/xoops_version.php 2012-03-14 10:13:12 UTC (rev 9128) @@ -25,14 +25,31 @@ // Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA // // ------------------------------------------------------------------------ // $modversion['name'] = "TPL League Stats"; -$modversion['version'] = 1; +$modversion['version'] = 1.1; $modversion['description'] = 'A nice league stats software'; $modversion['credits'] = "Mithrandir and ralf57"; -$modversion['license'] = "GPL see LICENSE"; +$modversion['help'] = 'page=help'; +$modversion['license'] = 'GNU GPL 2.0'; +$modversion['license_url'] = "www.gnu.org/licenses/gpl-2.0.html/"; $modversion['official'] = 0; $modversion['image'] = "images/tplleague_slogo.png"; $modversion['dirname'] = "tplleaguestats"; +$modversion['dirmoduleadmin'] = '/Frameworks/moduleclasses/moduleadmin'; +$modversion['icons16'] = '../../Frameworks/moduleclasses/icons/16'; +$modversion['icons32'] = '../../Frameworks/moduleclasses/icons/32'; +//about +$modversion["module_website_url"] = "http://www.xoops.org/"; +$modversion["module_website_name"] = "XOOPS"; +$modversion["release_date"] = "2012/03/14"; +$modversion["module_status"] = "Beta"; +$modversion["author_website_url"] = "http://www.xoops.org/"; +$modversion["author_website_name"] = "XOOPS"; +$modversion['min_php']='5.2'; +$modversion['min_xoops']='2.5'; +$modversion['min_admin']='1.1'; +$modversion['min_db']= array('mysql'=>'5.0.7', 'mysqli'=>'5.0.7'); + // Sql file (must contain sql generated by phpMyAdmin or phpPgAdmin) // All tables should not have any prefix! $modversion['sqlfile']['mysql'] = "sql/mysql.sql"; @@ -46,6 +63,7 @@ // Admin things $modversion['hasAdmin'] = 1; +$modversion['system_menu'] = 1; $modversion['adminindex'] = "admin/index.php"; $modversion['adminmenu'] = "admin/menu.php"; This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site. |