@@ -18,21 +18,21 @@ |
||
| 18 | 18 | defined('XOOPS_ROOT_PATH') or die("XOOPS root path not defined"); |
| 19 | 19 | |
| 20 | 20 | // get path to icons |
| 21 | -$pathIcon32=''; |
|
| 21 | +$pathIcon32 = ''; |
|
| 22 | 22 | if (class_exists('Xmf\Module\Admin', true)) { |
| 23 | 23 | $pathIcon32 = \Xmf\Module\Admin::menuIconPath(''); |
| 24 | 24 | } |
| 25 | 25 | |
| 26 | -$adminmenu=array(); |
|
| 26 | +$adminmenu = array(); |
|
| 27 | 27 | // Index |
| 28 | 28 | $adminmenu[] = array( |
| 29 | - 'title' => _MI_XMFDEMO_ADMENU1 , |
|
| 30 | - 'link' => 'admin/index.php' , |
|
| 29 | + 'title' => _MI_XMFDEMO_ADMENU1, |
|
| 30 | + 'link' => 'admin/index.php', |
|
| 31 | 31 | 'icon' => $pathIcon32.'home.png' |
| 32 | -) ; |
|
| 32 | +); |
|
| 33 | 33 | // About |
| 34 | 34 | $adminmenu[] = array( |
| 35 | - 'title' => _MI_XMFDEMO_ADMENU2 , |
|
| 36 | - 'link' => 'admin/about.php' , |
|
| 35 | + 'title' => _MI_XMFDEMO_ADMENU2, |
|
| 36 | + 'link' => 'admin/about.php', |
|
| 37 | 37 | 'icon' => $pathIcon32.'about.png' |
| 38 | -) ; |
|
| 38 | +); |
|
@@ -19,7 +19,7 @@ discard block |
||
| 19 | 19 | * @author Richard Griffith <[email protected]> |
| 20 | 20 | */ |
| 21 | 21 | |
| 22 | -require dirname(__FILE__) . '/admin_header.php'; |
|
| 22 | +require dirname(__FILE__).'/admin_header.php'; |
|
| 23 | 23 | |
| 24 | 24 | // code marker |
| 25 | 25 | $moduleAdmin = Admin::getInstance(); |
@@ -32,4 +32,4 @@ discard block |
||
| 32 | 32 | // code end |
| 33 | 33 | |
| 34 | 34 | codeDump(__FILE__); |
| 35 | -require dirname(__FILE__) . '/admin_footer.php'; |
|
| 35 | +require dirname(__FILE__).'/admin_footer.php'; |
|
@@ -16,11 +16,11 @@ |
||
| 16 | 16 | */ |
| 17 | 17 | |
| 18 | 18 | $path = dirname(dirname(dirname(__DIR__))); |
| 19 | -require_once $path . '/mainfile.php'; |
|
| 20 | -require_once $path . '/include/cp_functions.php'; |
|
| 21 | -require_once $path . '/include/cp_header.php'; |
|
| 19 | +require_once $path.'/mainfile.php'; |
|
| 20 | +require_once $path.'/include/cp_functions.php'; |
|
| 21 | +require_once $path.'/include/cp_header.php'; |
|
| 22 | 22 | |
| 23 | -include dirname(__DIR__) . '/include/common.php'; |
|
| 23 | +include dirname(__DIR__).'/include/common.php'; |
|
| 24 | 24 | |
| 25 | 25 | class_exists('\Xmf\Module\Admin') or die('XMF is required.'); |
| 26 | 26 | |
@@ -21,9 +21,9 @@ discard block |
||
| 21 | 21 | use Xmf\Module\Helper; |
| 22 | 22 | use Xmf\Request; |
| 23 | 23 | // code end |
| 24 | -require_once dirname(dirname(__DIR__)) . '/mainfile.php'; |
|
| 24 | +require_once dirname(dirname(__DIR__)).'/mainfile.php'; |
|
| 25 | 25 | |
| 26 | -include __DIR__ . '/include/header.php'; |
|
| 26 | +include __DIR__.'/include/header.php'; |
|
| 27 | 27 | |
| 28 | 28 | describeThis(basename(__FILE__, '.php')); |
| 29 | 29 | |
@@ -99,11 +99,11 @@ discard block |
||
| 99 | 99 | |
| 100 | 100 | $tables = $migrate->dumpTables(); |
| 101 | 101 | if (!empty($tables)) { |
| 102 | - echo '<h5>' . _MA_XMFDEMO_TABLE_CURRENT . '</h5>'; |
|
| 102 | + echo '<h5>'._MA_XMFDEMO_TABLE_CURRENT.'</h5>'; |
|
| 103 | 103 | Debug::dump($tables); |
| 104 | 104 | } |
| 105 | 105 | // code end |
| 106 | 106 | |
| 107 | 107 | codeDump(__FILE__); |
| 108 | 108 | |
| 109 | -include __DIR__ . '/include/footer.php'; |
|
| 109 | +include __DIR__.'/include/footer.php'; |
|
@@ -19,7 +19,7 @@ discard block |
||
| 19 | 19 | * @author Richard Griffith <[email protected]> |
| 20 | 20 | */ |
| 21 | 21 | |
| 22 | -require dirname(__FILE__) . '/admin_header.php'; |
|
| 22 | +require dirname(__FILE__).'/admin_header.php'; |
|
| 23 | 23 | |
| 24 | 24 | // code marker |
| 25 | 25 | $moduleAdmin = Admin::getInstance(); |
@@ -32,4 +32,4 @@ discard block |
||
| 32 | 32 | // code end |
| 33 | 33 | |
| 34 | 34 | codeDump(__FILE__); |
| 35 | -require dirname(__FILE__) . '/admin_footer.php'; |
|
| 35 | +require dirname(__FILE__).'/admin_footer.php'; |
|