Home
last modified time | relevance | path

Searched refs:currentpage (Results 1 – 4 of 4) sorted by relevance

/plugin/blogtng/
Dadmin.php347 $currentpage = floor($query['offset'] / $limit) + 1;
356 $this->htmlPagination($query, $currentpage, $count, $limit);
369 $this->htmlPagination($query, $currentpage, $count, $limit);
377 * @param int $currentpage number of current page
383 private function htmlPagination($query, $currentpage, $maximum, $limit) { argument
388 $pages[] = $currentpage; // current page always
396 if($currentpage-1 > 0) $pages[] = $currentpage-1;
397 if($currentpage-2 > 0) $pages[] = $currentpage-2;
398 if($currentpage-3 > 0) $pages[] = $currentpage-3;
399 if($currentpage+1 < $lastpage) $pages[] = $currentpage+1;
[all …]
/plugin/blogtng/helper/
Dentry.php318 $currentpage = floor($conf['offset']/$conf['limit'])+1;
322 $pages[] = $currentpage; // current always
330 if($currentpage-1 > 0) $pages[] = $currentpage-1;
331 if($currentpage-2 > 0) $pages[] = $currentpage-2;
332 if($currentpage-3 > 0) $pages[] = $currentpage-3;
333 if($currentpage+1 < $lastpage) $pages[] = $currentpage+1;
334 if($currentpage+2 < $lastpage) $pages[] = $currentpage+2;
335 if($currentpage+3 < $lastpage) $pages[] = $currentpage+3;
342 if($currentpage > 1){
344 ['pagination-start'=>$conf['limit']*($currentpage-2),
[all …]
/plugin/linkfix/
Dadmin.php135 * @param string $currentpage the page to rewrite
137 protected function updatepage($currentpage) { argument
138 $currentns = getNS($currentpage);
140 $text = rawWiki($currentpage);
146 $this->prnt($this->getLang('checking') . ' <b>' . hsc($currentpage) . "</b><br />");
206 saveWikiText($currentpage, $text, $this->getLang('summary'), true);
/plugin/indexmenu/
Dscript.js252 currentpage: JSINFO.id, property
280 currentpage: JSINFO.id, property