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 #3 from mambax7/master
2.01 RC-1
- Loading branch information
Showing
154 changed files
with
6,228 additions
and
5,616 deletions.
There are no files selected for viewing
This file was deleted.
Oops, something went wrong.
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,14 +1,29 @@ | ||
<?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. | ||
* | ||
* 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. | ||
*/ | ||
|
||
/** | ||
* $Id: about.php 9889 2012-07-16 12:08:42Z beckmi $ | ||
* Module: SmartPartner | ||
* Author: The SmartFactory <www.smartfactory.ca> | ||
* Licence: GNU | ||
* @copyright XOOPS Project (http://xoops.org) | ||
* @license GNU GPL 2 or later (http://www.gnu.org/licenses/gpl-2.0.html) | ||
* @package | ||
* @since | ||
* @author XOOPS Development Team | ||
*/ | ||
|
||
include_once("admin_header.php"); | ||
include_once __DIR__ . '/admin_header.php'; | ||
|
||
xoops_cp_header(); | ||
|
||
$aboutAdmin = new ModuleAdmin(); | ||
|
||
echo $aboutAdmin->addNavigation(basename(__FILE__)); | ||
echo $aboutAdmin->renderAbout('6KJ7RW5DR3VTJ', false); | ||
|
||
include_once(SMARTOBJECT_ROOT_PATH . "class/smartobjectabout.php"); | ||
$aboutObj = new SmartobjectAbout(); | ||
$aboutObj->render(); | ||
include_once __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 |
---|---|---|
@@ -0,0 +1,22 @@ | ||
<?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. | ||
* | ||
* 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 XOOPS Project (http://xoops.org) | ||
* @license GNU GPL 2 or later (http://www.gnu.org/licenses/gpl-2.0.html) | ||
* @package | ||
* @since | ||
* @author XOOPS Development Team | ||
*/ | ||
|
||
echo "<div class='adminfooter'>\n" . " <div style='text-align: center;'>\n" . " <a href='http://xoops.org' rel='external'><img src='{$pathIcon32}/xoopsmicrobutton.gif' alt='XOOPS' title='XOOPS'></a>\n" . " </div>\n" . ' ' . _AM_MODULEADMIN_ADMIN_FOOTER . "\n" . '</div>'; | ||
|
||
xoops_cp_footer(); |
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,14 +1,42 @@ | ||
<?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. | ||
* | ||
* 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. | ||
*/ | ||
|
||
/** | ||
* $Id: admin_header.php 9889 2012-07-16 12:08:42Z beckmi $ | ||
* Module: SmartPartner | ||
* Author: The SmartFactory <www.smartfactory.ca> | ||
* Licence: GNU | ||
* @copyright XOOPS Project (http://xoops.org) | ||
* @license GNU GPL 2 or later (http://www.gnu.org/licenses/gpl-2.0.html) | ||
* @package | ||
* @since | ||
* @author XOOPS Development Team | ||
*/ | ||
|
||
include_once '../../../include/cp_header.php'; | ||
error_reporting(E_ALL); | ||
$path = dirname(dirname(dirname(__DIR__))); | ||
include_once $path . '/mainfile.php'; | ||
include_once $path . '/include/cp_functions.php'; | ||
require_once $path . '/include/cp_header.php'; | ||
include dirname(__DIR__) . '/include/common.php'; | ||
|
||
global $xoopsModule; | ||
|
||
$moduleDirName = $GLOBALS['xoopsModule']->getVar('dirname'); | ||
|
||
//if functions.php file exist | ||
//require_once dirname(__DIR__) . '/include/functions.php'; | ||
|
||
// Load language files | ||
xoops_loadLanguage('admin', $moduleDirName); | ||
xoops_loadLanguage('modinfo', $moduleDirName); | ||
xoops_loadLanguage('main', $moduleDirName); | ||
|
||
$pathIcon16 = '../' . $xoopsModule->getInfo('icons16'); | ||
$pathIcon32 = '../' . $xoopsModule->getInfo('icons32'); | ||
$pathModuleAdmin =& $xoopsModule->getInfo('dirmoduleadmin'); | ||
|
||
include "../include/common.php"; | ||
smart_loadCommonLanguageFile(); | ||
include_once $GLOBALS['xoops']->path($pathModuleAdmin . '/moduleadmin.php'); |
Oops, something went wrong.