| @@ 170-174 (lines=5) @@ | ||
| 167 | // The Navigation Bar |
|
| 168 | require_once XOOPS_ROOT_PATH . '/class/pagenav.php'; |
|
| 169 | $pagenav = new \XoopsPageNav($thiscategory_faqcount, $xoopsModuleConfig['indexperpage'], $start, 'start', 'categoryid=' . $categoryObj->getVar('categoryid')); |
|
| 170 | if (1 == $xoopsModuleConfig['useimagenavpage']) { |
|
| 171 | $xoopsTpl->assign('navbar', '<div style="text-align:right;">' . $pagenav->renderImageNav() . '</div>'); |
|
| 172 | } else { |
|
| 173 | $xoopsTpl->assign('navbar', '<div style="text-align:right;">' . $pagenav->renderNav() . '</div>'); |
|
| 174 | } |
|
| 175 | ||
| 176 | $xoopsTpl->assign('category', $category); |
|
| 177 | ||
| @@ 190-194 (lines=5) @@ | ||
| 187 | // Category Navigation Bar |
|
| 188 | require_once XOOPS_ROOT_PATH . '/class/pagenav.php'; |
|
| 189 | $pagenav = new \XoopsPageNav($totalCategories, $xoopsModuleConfig['catperpage'], $catstart, 'catstart', ''); |
|
| 190 | if (1 == $xoopsModuleConfig['useimagenavpage']) { |
|
| 191 | $xoopsTpl->assign('catnavbar', '<div style="text-align:right;">' . $pagenav->renderImageNav() . '</div>'); |
|
| 192 | } else { |
|
| 193 | $xoopsTpl->assign('catnavbar', '<div style="text-align:right;">' . $pagenav->renderNav() . '</div>'); |
|
| 194 | } |
|
| 195 | ||
| 196 | // FAQ Navigation Bar |
|
| 197 | $pagenav = new \XoopsPageNav($totalFaqs, $xoopsModuleConfig['indexperpage'], $start, 'start', ''); |
|
| @@ 198-202 (lines=5) @@ | ||
| 195 | ||
| 196 | // FAQ Navigation Bar |
|
| 197 | $pagenav = new \XoopsPageNav($totalFaqs, $xoopsModuleConfig['indexperpage'], $start, 'start', ''); |
|
| 198 | if (1 == $xoopsModuleConfig['useimagenavpage']) { |
|
| 199 | $xoopsTpl->assign('navbar', '<div style="text-align:right;">' . $pagenav->renderImageNav() . '</div>'); |
|
| 200 | } else { |
|
| 201 | $xoopsTpl->assign('navbar', '<div style="text-align:right;">' . $pagenav->renderNav() . '</div>'); |
|
| 202 | } |
|
| 203 | ||
| 204 | // Page Title Hack by marcan |
|
| 205 | $module_name = $myts->htmlSpecialChars($xoopsModule->getVar('name')); |
|
| @@ 157-161 (lines=5) @@ | ||
| 154 | // Category Navigation Bar |
|
| 155 | require_once XOOPS_ROOT_PATH . '/class/pagenav.php'; |
|
| 156 | $pagenav = new \XoopsPageNav($totalCategories, $xoopsModuleConfig['catperpage'], $catstart, 'catstart', ''); |
|
| 157 | if (1 == $xoopsModuleConfig['useimagenavpage']) { |
|
| 158 | $xoopsTpl->assign('catnavbar', '<div style="text-align:right;">' . $pagenav->renderImageNav() . '</div>'); |
|
| 159 | } else { |
|
| 160 | $xoopsTpl->assign('catnavbar', '<div style="text-align:right;">' . $pagenav->renderNav() . '</div>'); |
|
| 161 | } |
|
| 162 | ||
| 163 | // FAQ Navigation Bar |
|
| 164 | $pagenav = new \XoopsPageNav($totalFaqs, $xoopsModuleConfig['indexperpage'], $start, 'start', ''); |
|
| @@ 165-169 (lines=5) @@ | ||
| 162 | ||
| 163 | // FAQ Navigation Bar |
|
| 164 | $pagenav = new \XoopsPageNav($totalFaqs, $xoopsModuleConfig['indexperpage'], $start, 'start', ''); |
|
| 165 | if (1 == $xoopsModuleConfig['useimagenavpage']) { |
|
| 166 | $xoopsTpl->assign('navbar', '<div style="text-align:right;">' . $pagenav->renderImageNav() . '</div>'); |
|
| 167 | } else { |
|
| 168 | $xoopsTpl->assign('navbar', '<div style="text-align:right;">' . $pagenav->renderNav() . '</div>'); |
|
| 169 | } |
|
| 170 | ||
| 171 | // Page Title Hack by marcan |
|
| 172 | $module_name = $myts->htmlSpecialChars($xoopsModule->getVar('name')); |
|