Completed
Push — master ( 927119...d89418 )
by Richard
10s
created
admin/menu.php 1 patch
Spacing   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -28,11 +28,11 @@
 block discarded – undo
28 28
 $adminmenu[] = array(
29 29
     'title' => _MI_XMFDEMO_ADMENU1,
30 30
     'link'  => 'admin/index.php',
31
-    'icon'  => $pathIcon32 . 'home.png'
31
+    'icon'  => $pathIcon32.'home.png'
32 32
 );
33 33
 // About
34 34
 $adminmenu[] = array(
35 35
     'title' => _MI_XMFDEMO_ADMENU2,
36 36
     'link'  => 'admin/about.php',
37
-    'icon'  => $pathIcon32 . 'about.png'
37
+    'icon'  => $pathIcon32.'about.png'
38 38
 );
Please login to merge, or discard this patch.
admin/index.php 1 patch
Spacing   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -20,7 +20,7 @@  discard block
 block discarded – undo
20 20
  * @author          Richard Griffith <[email protected]>
21 21
  */
22 22
 
23
-require __DIR__ . '/admin_header.php';
23
+require __DIR__.'/admin_header.php';
24 24
 
25 25
 // code marker
26 26
 $moduleAdmin = Admin::getInstance();
@@ -33,4 +33,4 @@  discard block
 block discarded – undo
33 33
 // code end
34 34
 
35 35
 codeDump(__FILE__);
36
-require __DIR__ . '/admin_footer.php';
36
+require __DIR__.'/admin_footer.php';
Please login to merge, or discard this patch.
metagen.php 1 patch
Spacing   +3 added lines, -3 removed lines patch added patch discarded remove patch
@@ -22,9 +22,9 @@  discard block
 block discarded – undo
22 22
 use Xmf\Module\Helper;
23 23
 
24 24
 // code end
25
-require_once dirname(dirname(__DIR__)) . '/mainfile.php';
25
+require_once dirname(dirname(__DIR__)).'/mainfile.php';
26 26
 
27
-include __DIR__ . '/include/header.php';
27
+include __DIR__.'/include/header.php';
28 28
 
29 29
 describeThis(basename(__FILE__, '.php'));
30 30
 
@@ -90,4 +90,4 @@  discard block
 block discarded – undo
90 90
 
91 91
 codeDump(__FILE__);
92 92
 
93
-include __DIR__ . '/include/footer.php';
93
+include __DIR__.'/include/footer.php';
Please login to merge, or discard this patch.
permission.php 1 patch
Spacing   +3 added lines, -3 removed lines patch added patch discarded remove patch
@@ -21,9 +21,9 @@  discard block
 block discarded – undo
21 21
 use Xmf\Module\Helper;
22 22
 use Xmf\Module\Helper\Permission;
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
 
@@ -66,4 +66,4 @@  discard block
 block discarded – undo
66 66
 
67 67
 codeDump(__FILE__);
68 68
 
69
-include __DIR__ . '/include/footer.php';
69
+include __DIR__.'/include/footer.php';
Please login to merge, or discard this patch.
index.php 1 patch
Spacing   +5 added lines, -5 removed lines patch added patch discarded remove patch
@@ -15,15 +15,15 @@  discard block
 block discarded – undo
15 15
  * @author          Richard Griffith <[email protected]>
16 16
  * @author          trabis <[email protected]>
17 17
  */
18
-require_once dirname(dirname(__DIR__)) . '/mainfile.php';
18
+require_once dirname(dirname(__DIR__)).'/mainfile.php';
19 19
 
20
-include __DIR__ . '/include/header.php';
20
+include __DIR__.'/include/header.php';
21 21
 
22 22
 describeThis(basename(__FILE__, '.php'));
23 23
 
24 24
 $files = getFileList(__DIR__);
25 25
 
26
-echo '<h3>' . _MA_XMFDEMO_EXAMPLES . '</h3>';
26
+echo '<h3>'._MA_XMFDEMO_EXAMPLES.'</h3>';
27 27
 
28 28
 echo "<ul>\n";
29 29
 foreach ($files as $file) {
@@ -31,7 +31,7 @@  discard block
 block discarded – undo
31 31
         continue;
32 32
     }
33 33
     $name     = strtoupper(basename($file, '.php'));
34
-    $defTitle = '_MA_XMFDEMO_PAGE_TITLE_' . $name;
34
+    $defTitle = '_MA_XMFDEMO_PAGE_TITLE_'.$name;
35 35
     if (defined($defTitle)) {
36 36
         $title = constant($defTitle);
37 37
         echo "<li> <a href=\"{$file}\">{$title}</a></li>\n";
@@ -39,4 +39,4 @@  discard block
 block discarded – undo
39 39
 }
40 40
 echo "</ul>\n";
41 41
 
42
-include __DIR__ . '/include/footer.php';
42
+include __DIR__.'/include/footer.php';
Please login to merge, or discard this patch.
helper.php 1 patch
Spacing   +14 added lines, -14 removed lines patch added patch discarded remove patch
@@ -20,9 +20,9 @@  discard block
 block discarded – undo
20 20
 use Xmf\Module\Helper;
21 21
 
22 22
 // code end
23
-require_once dirname(dirname(__DIR__)) . '/mainfile.php';
23
+require_once dirname(dirname(__DIR__)).'/mainfile.php';
24 24
 
25
-include __DIR__ . '/include/header.php';
25
+include __DIR__.'/include/header.php';
26 26
 
27 27
 describeThis(basename(__FILE__, '.php'));
28 28
 
@@ -35,28 +35,28 @@  discard block
 block discarded – undo
35 35
 $helper->loadLanguage('badmanifesto'); //throws error on log because language file was not found
36 36
 
37 37
 $helper->addLog(_MA_XMFDEMO_MANIFESTO_HI);
38
-echo _MA_XMFDEMO_MANIFESTO_LOOK_AT_LOG . '<br />';
38
+echo _MA_XMFDEMO_MANIFESTO_LOOK_AT_LOG.'<br />';
39 39
 
40
-echo '<h3>' . _MA_XMFDEMO_HELPER_MODULE . '</h3>';
40
+echo '<h3>'._MA_XMFDEMO_HELPER_MODULE.'</h3>';
41 41
 Debug::dump($helper->getModule());
42
-echo 'name: ' . $helper->getModule()->getVar('name') . '<br />';
43
-echo 'mid: ' . $helper->getModule()->getVar('mid') . '<br />';
44
-echo 'version: ' . $helper->getModule()->getVar('version') . '<br />';
42
+echo 'name: '.$helper->getModule()->getVar('name').'<br />';
43
+echo 'mid: '.$helper->getModule()->getVar('mid').'<br />';
44
+echo 'version: '.$helper->getModule()->getVar('version').'<br />';
45 45
 
46
-echo '<h3>' . _MA_XMFDEMO_HELPER_CONFIG . '</h3>';
46
+echo '<h3>'._MA_XMFDEMO_HELPER_CONFIG.'</h3>';
47 47
 Debug::dump($helper->getConfig());
48 48
 
49 49
 // does not use default since it exists
50
-echo 'config1: ' . $helper->getConfig('config1', 'unused default') . '<br />';
51
-echo 'config2: ' . $helper->getConfig('config2') . '<br />';
50
+echo 'config1: '.$helper->getConfig('config1', 'unused default').'<br />';
51
+echo 'config2: '.$helper->getConfig('config2').'<br />';
52 52
 
53 53
 // throws an error on log cause config3 is missing
54
-echo 'config3: ' . $helper->getConfig('config3') . '<br />';
54
+echo 'config3: '.$helper->getConfig('config3').'<br />';
55 55
 
56 56
 // uses default this time
57
-echo 'config3: ' . $helper->getConfig('config3', 'my default') . '<br />';
57
+echo 'config3: '.$helper->getConfig('config3', 'my default').'<br />';
58 58
 
59
-echo '<h3>' . _MA_XMFDEMO_HELPER_OTHER_MODULE . '</h3>';
59
+echo '<h3>'._MA_XMFDEMO_HELPER_OTHER_MODULE.'</h3>';
60 60
 if ($otherHelper = Helper::getHelper('pm')) {
61 61
     Debug::dump($otherHelper);
62 62
     Debug::dump($otherHelper->getHandler('message'));
@@ -70,4 +70,4 @@  discard block
 block discarded – undo
70 70
 
71 71
 codeDump(__FILE__);
72 72
 
73
-include __DIR__ . '/include/footer.php';
73
+include __DIR__.'/include/footer.php';
Please login to merge, or discard this patch.
migrate.php 1 patch
Spacing   +4 added lines, -4 removed lines patch added patch discarded remove patch
@@ -21,9 +21,9 @@  discard block
 block discarded – undo
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
 block discarded – undo
99 99
 
100 100
 $tables = $migrate->dumpTables();
101 101
 if (0 !== count($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';
Please login to merge, or discard this patch.
session.php 1 patch
Spacing   +6 added lines, -6 removed lines patch added patch discarded remove patch
@@ -21,25 +21,25 @@  discard block
 block discarded – undo
21 21
 use Xmf\Module\Helper\Session;
22 22
 
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
 
30 30
 // code marker
31
-echo '<h3>' . _MA_XMFDEMO_SESSION_VAR_TOGGLE . '</h3>';
31
+echo '<h3>'._MA_XMFDEMO_SESSION_VAR_TOGGLE.'</h3>';
32 32
 // toggle a session variable
33 33
 $varName       = 'widget';
34 34
 $sessionHelper = new Session();
35 35
 
36 36
 $var = $sessionHelper->get($varName);
37 37
 if ($var) {
38
-    echo sprintf(_MA_XMFDEMO_SESSION_VAR_GET, $var) . '<br />';
38
+    echo sprintf(_MA_XMFDEMO_SESSION_VAR_GET, $var).'<br />';
39 39
     $sessionHelper->del($varName);
40 40
 } else {
41 41
     $var = date('Y-m-d H:i:s');
42
-    echo sprintf(_MA_XMFDEMO_SESSION_VAR_SET, $var) . '<br />';
42
+    echo sprintf(_MA_XMFDEMO_SESSION_VAR_SET, $var).'<br />';
43 43
     $sessionHelper->set($varName, $var);
44 44
 }
45 45
 
@@ -51,4 +51,4 @@  discard block
 block discarded – undo
51 51
 
52 52
 codeDump(__FILE__);
53 53
 
54
-include __DIR__ . '/include/footer.php';
54
+include __DIR__.'/include/footer.php';
Please login to merge, or discard this patch.
admin/about.php 1 patch
Spacing   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -20,7 +20,7 @@  discard block
 block discarded – undo
20 20
  * @author          Richard Griffith <[email protected]>
21 21
  */
22 22
 
23
-require __DIR__ . '/admin_header.php';
23
+require __DIR__.'/admin_header.php';
24 24
 
25 25
 // code marker
26 26
 $moduleAdmin = Admin::getInstance();
@@ -33,4 +33,4 @@  discard block
 block discarded – undo
33 33
 // code end
34 34
 
35 35
 codeDump(__FILE__);
36
-require __DIR__ . '/admin_footer.php';
36
+require __DIR__.'/admin_footer.php';
Please login to merge, or discard this patch.