Skip to content

Commit

Permalink
Merge pull request #4 from mambax7/master
Browse files Browse the repository at this point in the history
1.04 RC2
  • Loading branch information
mambax7 committed Jun 2, 2016
2 parents ececdd6 + 64ba14d commit b33bae8
Show file tree
Hide file tree
Showing 31 changed files with 356 additions and 349 deletions.
2 changes: 1 addition & 1 deletion README.md
Expand Up @@ -10,7 +10,7 @@

About Us module for [XOOPS CMS](http://xoops.org) for adding a multi-page About Us section to your Website

[![Tutorial Available](http://xoops.org/images/tutorial-available-blue.svg)](https://www.gitbook.com/book/xoops/xoops-about/) Tutorial: see [here](https://www.gitbook.com/book/xoops/xoops-about/).
[![Tutorial Available](http://xoops.org/images/tutorial-available-blue.svg)](https://www.gitbook.com/book/xoops/xoops-about/) Tutorial: see [GitBook](https://www.gitbook.com/book/xoops/xoops-about/).
To contribute to the Tutorial, [fork it on GitHub](https://github.com/XoopsDocs/about-tutorial)

[![Translations on Transifex](http://xoops.org/images/translations-transifex-blue.svg)](https://www.transifex.com/xoops)
Expand Down
3 changes: 1 addition & 2 deletions admin/about.php
Expand Up @@ -10,12 +10,11 @@
*/

/**
* @copyright The XOOPS Project http://sourceforge.net/projects/xoops/
* @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
* @version $Id $
*/

include_once __DIR__ . '/admin_header.php';
Expand Down
4 changes: 2 additions & 2 deletions admin/admin.page.php
Expand Up @@ -15,7 +15,6 @@
* @since 1.0.0
* @author Mengjue Shao <magic.shao@gmail.com>
* @author Susheng Yang <ezskyyoung@gmail.com>
* @version $Id: admin.page.php 1 2010-2-9 ezsky$
*/

include __DIR__ . '/admin_header.php';
Expand Down Expand Up @@ -72,7 +71,8 @@
'page_status',
'page_order',
'page_index',
'page_tpl');
'page_tpl'
);

$criteria = new CriteriaCompo();
$criteria->setSort('page_order');
Expand Down
12 changes: 9 additions & 3 deletions admin/admin_footer.php
Expand Up @@ -10,17 +10,23 @@
*/

/**
* @copyright The XOOPS Project http://sourceforge.net/projects/xoops/
* @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
* @version $Id $
*/

global $xoopsModule;
//$pathIcon32 = '../' . $xoopsModule->getInfo('icons32');

echo "<div class='adminfooter'>\n" . " <div style='text-align: center;'>\n" . " <a href='http://www.xoops.org' rel='external'><img src='{$pathIcon32}/xoopsmicrobutton.gif' alt='XOOPS' title='XOOPS'></a>\n" . " </div>\n" . ' ' . _AM_MODULEADMIN_ADMIN_FOOTER . "\n" . '</div>';
echo "<div class='adminfooter'>\n" .
" <div style='text-align: center;'>\n" .
" <a href='http://www.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();
3 changes: 1 addition & 2 deletions admin/admin_header.php
Expand Up @@ -10,12 +10,11 @@
*/

/**
* @copyright The XOOPS Project http://sourceforge.net/projects/xoops/
* @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
* @version $Id $
*/

$moduleDirName = basename(dirname(__DIR__));
Expand Down
1 change: 0 additions & 1 deletion admin/header.php
Expand Up @@ -16,7 +16,6 @@
* @since 1.0.0
* @author Mengjue Shao <magic.shao@gmail.com>
* @author Susheng Yang <ezskyyoung@gmail.com>
* @version $Id: header.php 1 2010-2-9 ezsky$
*/

include dirname(dirname(dirname(__DIR__))) . '/include/cp_header.php';
Expand Down
3 changes: 1 addition & 2 deletions admin/index.php
Expand Up @@ -10,12 +10,11 @@
*/

/**
* @copyright The XOOPS Project http://sourceforge.net/projects/xoops/
* @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
* @version $Id $
*/

include_once __DIR__ . '/admin_header.php';
Expand Down
16 changes: 9 additions & 7 deletions admin/menu.php
Expand Up @@ -16,14 +16,13 @@
* @since 1.0.0
* @author Mengjue Shao <magic.shao@gmail.com>
* @author Susheng Yang <ezskyyoung@gmail.com>
* @version $Id: menu.php 1 2010-2-9 ezsky$
*/

$moduleDirName = basename(dirname(__DIR__));

$moduleHandler = xoops_gethandler('module');
$module = $moduleHandler->getByDirname($moduleDirName);
$pathIcon32 = '../../' . $module->getInfo('sysicons32');
$moduleHandler = xoops_getHandler('module');
$module = $moduleHandler->getByDirname($moduleDirName);
$pathIcon32 = '../../' . $module->getInfo('sysicons32');
$pathModIcon32 = './' . $module->getInfo('modicons32');
xoops_loadLanguage('modinfo', $module->dirname());

Expand All @@ -36,14 +35,17 @@
$adminmenu[] = array(
'title' => _AM_MODULEADMIN_HOME,
'link' => 'admin/index.php',
'icon' => $pathIcon32 . '/home.png');
'icon' => $pathIcon32 . '/home.png'
);

$adminmenu[] = array(
'title' => _MI_ABOUT_PAGE,
'link' => 'admin/admin.page.php',
'icon' => $pathIcon32 . '/manage.png');
'icon' => $pathIcon32 . '/manage.png'
);

$adminmenu[] = array(
'title' => _AM_MODULEADMIN_ABOUT,
'link' => 'admin/about.php',
'icon' => $pathIcon32 . '/about.png');
'icon' => $pathIcon32 . '/about.png'
);

0 comments on commit b33bae8

Please sign in to comment.