@@ -29,7 +29,7 @@ discard block |
||
29 | 29 | use XoopsModules\Wggithub\Github\Http\BadResponseException; |
30 | 30 | |
31 | 31 | |
32 | -require __DIR__ . '/header.php'; |
|
32 | +require __DIR__.'/header.php'; |
|
33 | 33 | // It recovered the value of argument op in URL$ |
34 | 34 | $op = Request::getCmd('op', 'list'); |
35 | 35 | $setId = Request::getInt('set_id'); |
@@ -63,8 +63,8 @@ discard block |
||
63 | 63 | } |
64 | 64 | // Display Navigation |
65 | 65 | if ($settingsCount > $limit) { |
66 | - include_once XOOPS_ROOT_PATH . '/class/pagenav.php'; |
|
67 | - $pagenav = new \XoopsPageNav($settingsCount, $limit, $start, 'start', 'op=list&limit=' . $limit); |
|
66 | + include_once XOOPS_ROOT_PATH.'/class/pagenav.php'; |
|
67 | + $pagenav = new \XoopsPageNav($settingsCount, $limit, $start, 'start', 'op=list&limit='.$limit); |
|
68 | 68 | $GLOBALS['xoopsTpl']->assign('pagenav', $pagenav->renderNav(4)); |
69 | 69 | } |
70 | 70 | } else { |
@@ -106,7 +106,7 @@ discard block |
||
106 | 106 | $setId = $setId > 0 ? $setId : $newSetId; |
107 | 107 | $settingsHandler->setPrimarySetting($setId); |
108 | 108 | } |
109 | - \redirect_header('settings.php?op=list&start=' . $start . '&limit=' . $limit, 2, _AM_WGGITHUB_FORM_OK); |
|
109 | + \redirect_header('settings.php?op=list&start='.$start.'&limit='.$limit, 2, _AM_WGGITHUB_FORM_OK); |
|
110 | 110 | } |
111 | 111 | // Get Form |
112 | 112 | $GLOBALS['xoopsTpl']->assign('error', $settingsObj->getHtmlErrors()); |
@@ -164,4 +164,4 @@ discard block |
||
164 | 164 | $GLOBALS['xoopsTpl']->assign('info1', $info); |
165 | 165 | break; |
166 | 166 | } |
167 | -require __DIR__ . '/footer.php'; |
|
167 | +require __DIR__.'/footer.php'; |