Completed
Branch master (c92e39)
by Michael
02:32
created
comment_reply.php 1 patch
Spacing   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -6,5 +6,5 @@
 block discarded – undo
6 6
  * Licence: GNU
7 7
  */
8 8
 
9
-include __DIR__ . '/../../mainfile.php';
10
-include_once XOOPS_ROOT_PATH . '/include/comment_reply.php';
9
+include __DIR__.'/../../mainfile.php';
10
+include_once XOOPS_ROOT_PATH.'/include/comment_reply.php';
Please login to merge, or discard this patch.
notification_update.php 1 patch
Spacing   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -6,5 +6,5 @@
 block discarded – undo
6 6
  * Licence: GNU
7 7
  */
8 8
 
9
-include __DIR__ . '/../../mainfile.php';
10
-include XOOPS_ROOT_PATH . '/include/notification_update.php';
9
+include __DIR__.'/../../mainfile.php';
10
+include XOOPS_ROOT_PATH.'/include/notification_update.php';
Please login to merge, or discard this patch.
faq.php 2 patches
Indentation   +9 added lines, -9 removed lines patch added patch discarded remove patch
@@ -82,15 +82,15 @@
 block discarded – undo
82 82
 
83 83
 $xoopsTpl->assign('xcodes', $faqObj->getVar('xcodes'));
84 84
 $xoopsTpl->assign('mail_link', 'mailto:?subject='
85
-                               . sprintf(_MD_SF_INTARTICLE, $xoopsConfig['sitename'])
86
-                               . '&body='
87
-                               . sprintf(_MD_SF_INTARTFOUND, $xoopsConfig['sitename'])
88
-                               . ':  '
89
-                               . XOOPS_URL
90
-                               . '/modules/'
91
-                               . $xoopsModule->dirname()
92
-                               . '/faq.php?faqid='
93
-                               . $faqObj->getVar('faqid'));
85
+                                . sprintf(_MD_SF_INTARTICLE, $xoopsConfig['sitename'])
86
+                                . '&body='
87
+                                . sprintf(_MD_SF_INTARTFOUND, $xoopsConfig['sitename'])
88
+                                . ':  '
89
+                                . XOOPS_URL
90
+                                . '/modules/'
91
+                                . $xoopsModule->dirname()
92
+                                . '/faq.php?faqid='
93
+                                . $faqObj->getVar('faqid'));
94 94
 $xoopsTpl->assign('lang_printerpage', _MD_SF_PRINTERFRIENDLY);
95 95
 $xoopsTpl->assign('lang_sendstory', _MD_SF_SENDSTORY);
96 96
 $xoopsTpl->assign('faqid', $faqObj->getVar('faqid'));
Please login to merge, or discard this patch.
Spacing   +9 added lines, -9 removed lines patch added patch discarded remove patch
@@ -6,9 +6,9 @@  discard block
 block discarded – undo
6 6
  * Licence: GNU
7 7
  */
8 8
 
9
-include_once __DIR__ . '/header.php';
9
+include_once __DIR__.'/header.php';
10 10
 
11
-$faqid = isset($_GET['faqid']) ? (int)$_GET['faqid'] : 0;
11
+$faqid = isset($_GET['faqid']) ? (int) $_GET['faqid'] : 0;
12 12
 
13 13
 if ($faqid == 0) {
14 14
     redirect_header('javascript:history.go(-1)', 1, _MD_SF_NOFAQSELECTED);
@@ -45,8 +45,8 @@  discard block
 block discarded – undo
45 45
     $faqObj->updateCounter();
46 46
 }
47 47
 $GLOBALS['xoopsOption']['template_main'] = 'smartfaq_faq.tpl';
48
-include_once XOOPS_ROOT_PATH . '/header.php';
49
-include_once __DIR__ . '/footer.php';
48
+include_once XOOPS_ROOT_PATH.'/header.php';
49
+include_once __DIR__.'/footer.php';
50 50
 
51 51
 $faq = $faqObj->toArray(null, $categoryObj, false);
52 52
 
@@ -106,19 +106,19 @@  discard block
 block discarded – undo
106 106
 
107 107
 // Page Title Hack by marcan
108 108
 $module_name = $myts->htmlSpecialChars($xoopsModule->getVar('name'));
109
-$xoopsTpl->assign('xoops_pagetitle', $module_name . ' - ' . $categoryObj->name() . ' - ' . $faq['question']);
109
+$xoopsTpl->assign('xoops_pagetitle', $module_name.' - '.$categoryObj->name().' - '.$faq['question']);
110 110
 // End Page Title Hack by marcan
111 111
 
112 112
 // Include the comments if the selected FAQ supports comments
113 113
 if ($faqObj->cancomment() == 1) {
114
-    include_once XOOPS_ROOT_PATH . '/include/comment_view.php';
114
+    include_once XOOPS_ROOT_PATH.'/include/comment_view.php';
115 115
 }
116 116
 
117 117
 //code to include smartie
118
-if (file_exists(XOOPS_ROOT_PATH . '/modules/smarttie/smarttie_links.php')) {
119
-    include_once XOOPS_ROOT_PATH . '/modules/smarttie/smarttie_links.php';
118
+if (file_exists(XOOPS_ROOT_PATH.'/modules/smarttie/smarttie_links.php')) {
119
+    include_once XOOPS_ROOT_PATH.'/modules/smarttie/smarttie_links.php';
120 120
     $xoopsTpl->assign('smarttie', 1);
121 121
 }
122 122
 //end code for smarttie
123 123
 
124
-include_once XOOPS_ROOT_PATH . '/footer.php';
124
+include_once XOOPS_ROOT_PATH.'/footer.php';
Please login to merge, or discard this patch.