added missing sql report help and converted article, file manager, sql report, and uss to use the proper pagination template vars

This commit is contained in:
JT Smith 2004-04-19 15:45:22 +00:00
parent a850033b92
commit ffd532dcf1
8 changed files with 78 additions and 28 deletions

View file

@ -164,14 +164,7 @@ sub www_view {
$var{'rows.count'} = $p->getRowCount;
$var{'rows.count.isZero'} = ($p->getRowCount < 1);
$var{'rows.count.isZero.label'} = WebGUI::International::get(18,$_[0]->get("namespace"));
$var{firstPage} = $p->getFirstPageLink;
$var{lastPage} = $p->getLastPageLink;
$var{nextPage} = $p->getNextPageLink;
$var{pageList} = $p->getPageLinks;
$var{previousPage} = $p->getPreviousPageLink;
$var{multiplePages} = ($p->getNumberOfPages > 1);
$var{numberOfPages} = $p->getNumberOfPages;
$var{pageNumber} = $p->getPageNumber;
$p->appendTemplateVars(\%var);
}
} else {
push(@debug,{'debug.output'=>WebGUI::International::get(10,$_[0]->get("namespace"))});