@@ -9,7 +9,7 @@ |
||
| 9 | 9 | |
| 10 | 10 | function b_faqs_random_how_show() |
| 11 | 11 | { |
| 12 | - include_once XOOPS_ROOT_PATH . '/modules/smartfaq/include/functions.php'; |
|
| 12 | + include_once XOOPS_ROOT_PATH.'/modules/smartfaq/include/functions.php'; |
|
| 13 | 13 | |
| 14 | 14 | $block = array(); |
| 15 | 15 | |
@@ -9,7 +9,7 @@ |
||
| 9 | 9 | |
| 10 | 10 | function b_faqs_random_diduno_show() |
| 11 | 11 | { |
| 12 | - include_once XOOPS_ROOT_PATH . '/modules/smartfaq/include/functions.php'; |
|
| 12 | + include_once XOOPS_ROOT_PATH.'/modules/smartfaq/include/functions.php'; |
|
| 13 | 13 | |
| 14 | 14 | $block = array(); |
| 15 | 15 | |
@@ -6,5 +6,5 @@ |
||
| 6 | 6 | * Licence: GNU |
| 7 | 7 | */ |
| 8 | 8 | |
| 9 | -include __DIR__ . '/../../mainfile.php'; |
|
| 10 | -include_once XOOPS_ROOT_PATH . '/include/comment_edit.php'; |
|
| 9 | +include __DIR__.'/../../mainfile.php'; |
|
| 10 | +include_once XOOPS_ROOT_PATH.'/include/comment_edit.php'; |
|
@@ -6,5 +6,5 @@ |
||
| 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'; |
|
@@ -6,5 +6,5 @@ |
||
| 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'; |
|
@@ -6,9 +6,9 @@ discard block |
||
| 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 |
||
| 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 |
||
| 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'; |
|