@@ -16,10 +16,10 @@ |
||
16 | 16 | * @version $Id: about.php 8065 2011-11-06 02:02:32Z beckmi $ |
17 | 17 | */ |
18 | 18 | |
19 | -require __DIR__ . '/admin_header.php'; |
|
19 | +require __DIR__.'/admin_header.php'; |
|
20 | 20 | |
21 | 21 | $aboutAdmin = new \Xoops\Module\Admin(); |
22 | 22 | $aboutAdmin->displayNavigation('about.php'); |
23 | 23 | $aboutAdmin->displayAbout(true); |
24 | 24 | |
25 | -require __DIR__ . '/admin_footer.php'; |
|
25 | +require __DIR__.'/admin_footer.php'; |
@@ -16,21 +16,21 @@ |
||
16 | 16 | */ |
17 | 17 | |
18 | 18 | // get path to icons |
19 | -$pathIcon32=''; |
|
19 | +$pathIcon32 = ''; |
|
20 | 20 | if (class_exists('Xmf\Module\Admin', true)) { |
21 | 21 | $pathIcon32 = \Xmf\Module\Admin::menuIconPath(''); |
22 | 22 | } |
23 | 23 | |
24 | -$adminmenu=array(); |
|
24 | +$adminmenu = array(); |
|
25 | 25 | // Index |
26 | 26 | $adminmenu[] = array( |
27 | - 'title' => _MI_USERCONFIGS_ADMENU1 , |
|
28 | - 'link' => 'admin/index.php' , |
|
27 | + 'title' => _MI_USERCONFIGS_ADMENU1, |
|
28 | + 'link' => 'admin/index.php', |
|
29 | 29 | 'icon' => $pathIcon32.'home.png' |
30 | 30 | ); |
31 | 31 | // About |
32 | 32 | $adminmenu[] = array( |
33 | - 'title' => _MI_USERCONFIGS_ADMENU2 , |
|
34 | - 'link' => 'admin/about.php' , |
|
33 | + 'title' => _MI_USERCONFIGS_ADMENU2, |
|
34 | + 'link' => 'admin/about.php', |
|
35 | 35 | 'icon' => $pathIcon32.'about.png' |
36 | 36 | ); |
@@ -16,10 +16,10 @@ |
||
16 | 16 | * @version $Id: about.php 8065 2011-11-06 02:02:32Z beckmi $ |
17 | 17 | */ |
18 | 18 | |
19 | -require __DIR__ . '/admin_header.php'; |
|
19 | +require __DIR__.'/admin_header.php'; |
|
20 | 20 | |
21 | 21 | $indexAdmin = new \Xoops\Module\Admin(); |
22 | 22 | $indexAdmin->displayNavigation('index.php'); |
23 | 23 | $indexAdmin->displayIndex(); |
24 | 24 | |
25 | -require __DIR__ . '/admin_footer.php'; |
|
25 | +require __DIR__.'/admin_footer.php'; |
@@ -43,7 +43,7 @@ |
||
43 | 43 | // paypal |
44 | 44 | $modversion['paypal'] = array( |
45 | 45 | 'business' => '[email protected]', |
46 | - 'item_name' => 'Donation : ' . _MI_USERCONFIGS_NAME, |
|
46 | + 'item_name' => 'Donation : '._MI_USERCONFIGS_NAME, |
|
47 | 47 | 'amount' => 0, |
48 | 48 | 'currency_code' => 'USD', |
49 | 49 | ); |
@@ -35,7 +35,7 @@ |
||
35 | 35 | { |
36 | 36 | $path = dirname(__DIR__); |
37 | 37 | XoopsLoad::addMap(array( |
38 | - 'userconfigs' => $path . '/class/helper.php', |
|
38 | + 'userconfigs' => $path.'/class/helper.php', |
|
39 | 39 | )); |
40 | 40 | } |
41 | 41 |
@@ -4,8 +4,8 @@ |
||
4 | 4 | // E-Mail: [email protected] |
5 | 5 | |
6 | 6 | // Module Info |
7 | -define('_MI_USERCONFIGS_NAME',"User Configs"); |
|
8 | -define('_MI_USERCONFIGS_DSC',"Allows users to manage module configs"); |
|
7 | +define('_MI_USERCONFIGS_NAME', "User Configs"); |
|
8 | +define('_MI_USERCONFIGS_DSC', "Allows users to manage module configs"); |
|
9 | 9 | |
10 | -define('_MI_USERCONFIGS_ADMENU1','Home'); |
|
11 | -define('_MI_USERCONFIGS_ADMENU2','About'); |
|
10 | +define('_MI_USERCONFIGS_ADMENU1', 'Home'); |
|
11 | +define('_MI_USERCONFIGS_ADMENU2', 'About'); |
@@ -16,11 +16,11 @@ |
||
16 | 16 | * @version $Id$ |
17 | 17 | */ |
18 | 18 | |
19 | -define('_MD_USERCONFIGS_NOACCESS',"Sorry, you are not allowed to access this page!"); |
|
19 | +define('_MD_USERCONFIGS_NOACCESS', "Sorry, you are not allowed to access this page!"); |
|
20 | 20 | //define('_MD_USERCONFIGS_NOPLUGINS',"Sorry, there is nothing to display!"); |
21 | -define('_MD_USERCONFIGS_NOPLUGIN',"Sorry, there is nothing to display!"); |
|
22 | -define('_MD_USERCONFIGS_NOMOD',"Sorry, the selected module is not supported!"); |
|
23 | -define('_MD_USERCONFIGS_UPDATED',"Your settings were updated!"); |
|
24 | -define('_MD_USERCONFIGS_CONFIGS',"Settings"); |
|
25 | -define('_MD_USERCONFIGS_CHOOSE_MODULE',"Choose settings :"); |
|
26 | -define('_MD_USERCONFIGS_WELCOME',"Hello %s, welcome to your settings page!"); |
|
21 | +define('_MD_USERCONFIGS_NOPLUGIN', "Sorry, there is nothing to display!"); |
|
22 | +define('_MD_USERCONFIGS_NOMOD', "Sorry, the selected module is not supported!"); |
|
23 | +define('_MD_USERCONFIGS_UPDATED', "Your settings were updated!"); |
|
24 | +define('_MD_USERCONFIGS_CONFIGS', "Settings"); |
|
25 | +define('_MD_USERCONFIGS_CHOOSE_MODULE', "Choose settings :"); |
|
26 | +define('_MD_USERCONFIGS_WELCOME', "Hello %s, welcome to your settings page!"); |
@@ -31,7 +31,7 @@ |
||
31 | 31 | $mHelper = Xoops::getModuleHelper($dirName); |
32 | 32 | $subMenu[] = [ |
33 | 33 | 'name' => $mHelper->getModule()->getVar('name'), |
34 | - 'link' => 'index.php?op=showmod&mid=' . $mHelper->getModule()->getVar('mid') |
|
34 | + 'link' => 'index.php?op=showmod&mid='.$mHelper->getModule()->getVar('mid') |
|
35 | 35 | ]; |
36 | 36 | } |
37 | 37 | } |
@@ -38,7 +38,7 @@ |
||
38 | 38 | foreach (array_keys($plugins) as $dirname) { |
39 | 39 | $mHelper = $xoops->getModuleHelper($dirname); |
40 | 40 | $ret[$dirname]['name'] = $mHelper->getModule()->getVar('name'); |
41 | - $ret[$dirname]['url'] = 'index.php?op=showmod&mid=' . $mHelper->getModule()->getVar('mid'); |
|
41 | + $ret[$dirname]['url'] = 'index.php?op=showmod&mid='.$mHelper->getModule()->getVar('mid'); |
|
42 | 42 | } |
43 | 43 | } |
44 | 44 |