updating stuff for new paginator
This commit is contained in:
parent
16e9d39a71
commit
019c28e63e
23 changed files with 46 additions and 31 deletions
|
|
@ -12,6 +12,7 @@ package WebGUI::Operation::Style;
|
|||
|
||||
use Exporter;
|
||||
use strict;
|
||||
use WebGUI::Paginator;
|
||||
use WebGUI::Session;
|
||||
use WebGUI::URL;
|
||||
|
||||
|
|
@ -57,7 +58,8 @@ sub www_listRoots {
|
|||
$i++;
|
||||
}
|
||||
$sth->finish;
|
||||
$p = WebGUI::Paginator->new(WebGUI::URL::page('op=listRoots'),\@row);
|
||||
$p = WebGUI::Paginator->new(WebGUI::URL::page('op=listRoots'));
|
||||
$p->setDataByArrayRef(\@row);
|
||||
$output .= '<table border=1 cellpadding=3 cellspacing=0 align="center">';
|
||||
$output .= $p->getPage;
|
||||
$output .= '</table>';
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue