|
@@ 1100-1113 (lines=14) @@
|
| 1097 |
|
* |
| 1098 |
|
* @return bool|null |
| 1099 |
|
*/ |
| 1100 |
|
function xtubeSetPageNavigationCategoryList($pubrowamount, $start, $art = 'art', $_this = '', $align) |
| 1101 |
|
{ |
| 1102 |
|
global $xoopsModuleConfig; |
| 1103 |
|
|
| 1104 |
|
if (($pubrowamount < $xoopsModuleConfig['admin_perpage'])) { |
| 1105 |
|
return false; |
| 1106 |
|
} |
| 1107 |
|
// Display Page Nav if published is > total display pages amount. |
| 1108 |
|
include_once XOOPS_ROOT_PATH . '/class/pagenav.php'; |
| 1109 |
|
$pagenav = new XoopsPageNav($pubrowamount, $xoopsModuleConfig['admin_perpage'], $start, 'st' . $art, $_this); |
| 1110 |
|
echo '<div style="text-align: ' . $align . '; padding: 8px;">' . $pagenav->renderNav() . '</div>'; |
| 1111 |
|
|
| 1112 |
|
return null; |
| 1113 |
|
} |
| 1114 |
|
|
| 1115 |
|
/** |
| 1116 |
|
* |
|
@@ 1243-1256 (lines=14) @@
|
| 1240 |
|
* |
| 1241 |
|
* @return bool|null |
| 1242 |
|
*/ |
| 1243 |
|
function xtubeSetPageNavigationVideoList($pubrowamount, $start, $art = 'art', $_this = '', $align) |
| 1244 |
|
{ |
| 1245 |
|
global $xoopsModuleConfig; |
| 1246 |
|
|
| 1247 |
|
if (($pubrowamount < $xoopsModuleConfig['admin_perpage'])) { |
| 1248 |
|
return false; |
| 1249 |
|
} |
| 1250 |
|
// Display Page Nav if published is > total display pages amount. |
| 1251 |
|
include_once XOOPS_ROOT_PATH . '/class/pagenav.php'; |
| 1252 |
|
$pagenav = new XoopsPageNav($pubrowamount, $xoopsModuleConfig['admin_perpage'], $start, 'st' . $art, $_this); |
| 1253 |
|
echo '<div style="text-align: ' . $align . '; padding: 8px;">' . $pagenav->renderNav() . '</div>'; |
| 1254 |
|
|
| 1255 |
|
return null; |
| 1256 |
|
} |
| 1257 |
|
|
| 1258 |
|
/** |
| 1259 |
|
* @param $document |