-
Notifications
You must be signed in to change notification settings - Fork 4
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #8 from mambax7/master
updates
- Loading branch information
Showing
109 changed files
with
5,475 additions
and
4,808 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,5 +1,5 @@ | ||
<?php | ||
/* | ||
/** | ||
* 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. | ||
|
@@ -8,14 +8,12 @@ | |
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. | ||
*/ | ||
/** | ||
* MyLinks module | ||
* | ||
* @copyright:: {@link http://sourceforge.net/projects/xoops/ The XOOPS Project} | ||
* @license:: {@link http://www.gnu.org/licenses/gpl-2.0.html GNU Public License} | ||
* @package:: mylinks | ||
* @copyright :: {@link http://xoops.org/ XOOPS Project} | ||
* @license :: {@link http://www.gnu.org/licenses/gpl-2.0.html GNU Public License} | ||
* @package :: mylinks | ||
* @subpackage:: admin | ||
* @author:: XOOPS Module Dev Team | ||
**/ | ||
* @author :: XOOPS Devolopment Team | ||
*/ | ||
/** | ||
* Display module information in Admin | ||
*/ | ||
|
@@ -25,7 +23,7 @@ | |
|
||
$aboutAdmin = new ModuleAdmin(); | ||
|
||
echo $aboutAdmin->addNavigation('about.php'); | ||
echo $aboutAdmin->renderAbout('6KJ7RW5DR3VTJ', false); | ||
echo $aboutAdmin->addNavigation(basename(__FILE__)); | ||
echo $aboutAdmin->renderAbout('[email protected]', false); | ||
|
||
include __DIR__ . '/admin_footer.php'; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -9,13 +9,11 @@ | |
* 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:: {@link http://www.gnu.org/licenses/gpl-2.0.html GNU Public License} | ||
* @package:: mylinks | ||
* @copyright :: {@link http://xoops.org/ XOOPS Project} | ||
* @license :: {@link http://www.gnu.org/licenses/gpl-2.0.html GNU Public License} | ||
* @package :: mylinks | ||
* @subpackage:: admin | ||
* @since:: 2.5.0 | ||
* @author:: Magic.Shao <[email protected]> - Susheng Yang <[email protected]> | ||
**/ | ||
*/ | ||
|
||
$path = dirname(dirname(dirname(__DIR__))); | ||
include_once $path . '/mainfile.php'; | ||
|
@@ -24,20 +22,20 @@ | |
|
||
global $xoopsModule; | ||
|
||
$thisModuleDir = $GLOBALS['xoopsModule']->getVar('dirname'); | ||
$thisModuleDir = $GLOBALS['xoopsModule']->getVar('dirname'); | ||
$thisModulePath = dirname(__DIR__); | ||
|
||
// Load language files | ||
xoops_loadLanguage('admin', $thisModuleDir); | ||
xoops_loadLanguage('modinfo', $thisModuleDir); | ||
xoops_loadLanguage('main', $thisModuleDir); | ||
|
||
$pathIcon16 = '../'.$xoopsModule->getInfo('icons16'); | ||
$pathIcon32 = '../'.$xoopsModule->getInfo('icons32'); | ||
$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_MODULEADMIN_MISSING, false); | ||
} | ||
if (file_exists($GLOBALS['xoops']->path($pathModuleAdmin . '/moduleadmin.php'))) { | ||
include_once $GLOBALS['xoops']->path($pathModuleAdmin . '/moduleadmin.php'); | ||
} else { | ||
redirect_header('../../../admin.php', 5, _AM_MODULEADMIN_MISSING, false); | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.