Skip to content

Commit c3f5977

Browse files
committed
Merge pull request #4 from mambax7/master
2.39 Beta 1
2 parents ff755af + 329788e commit c3f5977

File tree

210 files changed

+19283
-19860
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

210 files changed

+19283
-19860
lines changed

.travis.yml

Lines changed: 0 additions & 8 deletions
This file was deleted.

htdocs/modules/extcal/admin/about.php

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@
99
* but WITHOUT ANY WARRANTY; without even the implied warranty of
1010
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
1111
*
12-
* @copyright The XOOPS Project (http://www.xoops.org)
12+
* @copyright XOOPS Project (http://xoops.org)
1313
* @license GNU GPL (http://www.gnu.org/licenses/gpl-2.0.html/)
1414
* @package extCal
1515
* @since 2.5.0
@@ -24,7 +24,7 @@
2424
xoops_cp_header();
2525

2626
$aboutAdmin = new ModuleAdmin();
27-
echo $aboutAdmin->addNavigation('about.php');
27+
echo $aboutAdmin->addNavigation(basename(__FILE__));
2828
echo $aboutAdmin->renderabout('6KJ7RW5DR3VTJ', false);
2929

3030
include_once __DIR__ . '/admin_footer.php';

htdocs/modules/extcal/admin/admin_footer.php

Lines changed: 7 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -9,20 +9,15 @@
99
* but WITHOUT ANY WARRANTY; without even the implied warranty of
1010
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
1111
*
12-
* @copyright:: The XOOPS Project http://sourceforge.net/projects/xoops/
13-
* @license:: http://www.fsf.org/copyleft/gpl.html GNU public license
14-
* @package:: extCal
12+
* @copyright :: XOOPS Project (http://xoops.org)
13+
* @license :: http://www.fsf.org/copyleft/gpl.html GNU public license
14+
* @package :: extCal
1515
* @subpackage:: admin
16-
* @since: 2.5.0
17-
* @author Mamba (www.xoops.org)
18-
* @version:: $Id $
16+
* @since : 2.5.0
17+
* @author Mamba (www.xoops.org)
18+
* @version :: $Id $
1919
**/
2020

21-
echo "<div class='adminfooter'>\n"
22-
." <div style='text-align: center;'>\n"
23-
." <a href='http://www.xoops.org' rel='external'><img src='{$pathIcon32}/xoopsmicrobutton.gif' alt='XOOPS' title='XOOPS'></a>\n"
24-
." </div>\n"
25-
." " . _AM_MODULEADMIN_ADMIN_FOOTER . "\n"
26-
."</div>";
21+
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>';
2722

2823
xoops_cp_footer();

htdocs/modules/extcal/admin/admin_header.php

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@
33
// ------------------------------------------------------------------------ //
44
// XOOPS - PHP Content Management System //
55
// Copyright (c) 2000 XOOPS.org //
6-
// <http://www.xoops.org/> //
6+
// <http://xoops.org/> //
77
// ------------------------------------------------------------------------ //
88
// This program is free software; you can redistribute it and/or modify //
99
// it under the terms of the GNU General Public License as published by //
@@ -32,12 +32,12 @@
3232

3333
global $xoopsModule;
3434

35-
$thisModuleDir = $GLOBALS['xoopsModule']->getVar('dirname');
35+
$moduleDirName = $GLOBALS['xoopsModule']->getVar('dirname');
3636

3737
// Load language files
38-
xoops_loadLanguage('admin', $thisModuleDir);
39-
xoops_loadLanguage('modinfo', $thisModuleDir);
40-
xoops_loadLanguage('main', $thisModuleDir);
38+
xoops_loadLanguage('admin', $moduleDirName);
39+
xoops_loadLanguage('modinfo', $moduleDirName);
40+
xoops_loadLanguage('main', $moduleDirName);
4141

4242
$pathIcon16 = '../' . $xoopsModule->getInfo('icons16');
4343
$pathIcon32 = '../' . $xoopsModule->getInfo('icons32');
@@ -46,5 +46,5 @@
4646
if (file_exists($GLOBALS['xoops']->path($pathModuleAdmin . '/moduleadmin.php'))) {
4747
include_once $GLOBALS['xoops']->path($pathModuleAdmin . '/moduleadmin.php');
4848
} else {
49-
redirect_header("../../../admin.php", 5, _AM_EXTCAL_MODULEADMIN_MISSING, false);
49+
redirect_header('../../../admin.php', 5, _AM_EXTCAL_MODULEADMIN_MISSING, false);
5050
}

0 commit comments

Comments
 (0)