@@ -24,7 +24,7 @@ discard block |
||
24 | 24 | use XoopsModules\Wggithub; |
25 | 25 | use XoopsModules\Wggithub\Constants; |
26 | 26 | |
27 | -require __DIR__ . '/header.php'; |
|
27 | +require __DIR__.'/header.php'; |
|
28 | 28 | |
29 | 29 | // Define Stylesheet |
30 | 30 | $GLOBALS['xoTheme']->addStylesheet($style, null); |
@@ -52,8 +52,8 @@ discard block |
||
52 | 52 | } |
53 | 53 | // Display Navigation |
54 | 54 | if ($repositoriesCount > $limit) { |
55 | - include_once \XOOPS_ROOT_PATH . '/class/pagenav.php'; |
|
56 | - $pagenav = new \XoopsPageNav($repositoriesCount, $limit, $start, 'startRepositories', 'op=list&limitRepositories=' . $limit); |
|
55 | + include_once \XOOPS_ROOT_PATH.'/class/pagenav.php'; |
|
56 | + $pagenav = new \XoopsPageNav($repositoriesCount, $limit, $start, 'startRepositories', 'op=list&limitRepositories='.$limit); |
|
57 | 57 | $GLOBALS['xoopsTpl']->assign('pagenav', $pagenav->renderNav(4)); |
58 | 58 | } |
59 | 59 | } else { |
@@ -61,4 +61,4 @@ discard block |
||
61 | 61 | } |
62 | 62 | unset($crRepositories); |
63 | 63 | |
64 | -require __DIR__ . '/footer.php'; |
|
64 | +require __DIR__.'/footer.php'; |
@@ -25,7 +25,7 @@ discard block |
||
25 | 25 | use XoopsModules\Wggithub\Constants; |
26 | 26 | use XoopsModules\Wggithub\Common; |
27 | 27 | |
28 | -require __DIR__ . '/header.php'; |
|
28 | +require __DIR__.'/header.php'; |
|
29 | 29 | // It recovered the value of argument op in URL$ |
30 | 30 | $op = Request::getCmd('op', 'list'); |
31 | 31 | // Request req_id |
@@ -55,8 +55,8 @@ discard block |
||
55 | 55 | } |
56 | 56 | // Display Navigation |
57 | 57 | if ($requestsCount > $limit) { |
58 | - include_once \XOOPS_ROOT_PATH . '/class/pagenav.php'; |
|
59 | - $pagenav = new \XoopsPageNav($requestsCount, $limit, $start, 'start', 'op=list&limit=' . $limit); |
|
58 | + include_once \XOOPS_ROOT_PATH.'/class/pagenav.php'; |
|
59 | + $pagenav = new \XoopsPageNav($requestsCount, $limit, $start, 'start', 'op=list&limit='.$limit); |
|
60 | 60 | $GLOBALS['xoopsTpl']->assign('pagenav', $pagenav->renderNav(4)); |
61 | 61 | } |
62 | 62 | } else { |
@@ -133,4 +133,4 @@ discard block |
||
133 | 133 | } |
134 | 134 | break; |
135 | 135 | } |
136 | -require __DIR__ . '/footer.php'; |
|
136 | +require __DIR__.'/footer.php'; |