Changeset 137
- Timestamp:
- 10/07/11 15:59:35 (13 years ago)
- Location:
- trunk
- Files:
-
- 3 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/dns.cgi
r128 r137 319 319 $page->param(curpage => $webvar{page}); 320 320 321 my $count = getRecCount($dbh, $webvar{defrec}, $webvar{id} );321 my $count = getRecCount($dbh, $webvar{defrec}, $webvar{id}, $filter); 322 322 323 323 $sortby = 'host'; … … 1397 1397 $page->param(ttl => $soa{ttl}); 1398 1398 1399 $startwith = $session->param($webvar{page}.'startwith');1400 $filter = $session->param($webvar{page}.'filter');1401 1402 my $foo2 = getDomRecs($dbh,$def,$id,$perpage,$webvar{offset},$sortby,$sortorder );1399 # $startwith = $session->param($webvar{page}.'startwith'); 1400 # $filter = $session->param($webvar{page}.'filter'); 1401 1402 my $foo2 = getDomRecs($dbh,$def,$id,$perpage,$webvar{offset},$sortby,$sortorder,$filter); 1403 1403 1404 1404 my $row = 0; … … 1544 1544 $page->param(pgtype => $pgtype); 1545 1545 $page->param(parent => $parent); 1546 $page->param(filter => $filter); 1546 1547 } # end fill_pgcount() 1547 1548 1548 1549 sub listdomains { 1549 1550 1550 $startwith = $session->param($webvar{page}.'startwith');1551 $filter = $session->param($webvar{page}.'filter');1551 # $startwith = $session->param($webvar{page}.'startwith'); 1552 # $filter = $session->param($webvar{page}.'filter'); 1552 1553 $searchsubs = $session->param($webvar{page}.'searchsubs'); 1553 1554 -
trunk/templates/pgcount.tmpl
r39 r137 1 <TMPL_IF ntot>Listing <TMPL_VAR NAME=nfirst> - <TMPL_VAR NAME=npglast> of <TMPL_VAR NAME=ntot><TMPL_ELSE>No <TMPL_VAR NAME=pgtype></TMPL_IF><TMPL_IF NAME=parent> in <TMPL_VAR NAME=parent></TMPL_IF> 1 <TMPL_IF ntot>Listing <TMPL_VAR NAME=nfirst> - <TMPL_VAR NAME=npglast> of <TMPL_VAR NAME=ntot><TMPL_ELSE>No <TMPL_VAR NAME=pgtype></TMPL_IF><TMPL_IF NAME=parent> in <TMPL_VAR NAME=parent></TMPL_IF><TMPL_IF filter> matching "<TMPL_VAR NAME=filter>"</TMPL_IF> -
trunk/templates/reclist.tmpl
r100 r137 33 33 <input type="hidden" name="id" value="<TMPL_VAR NAME=id>" /> 34 34 <input type="hidden" name="defrec" value="<TMPL_VAR NAME=defrec>" /> 35 <input name=" search"/>35 <input name="filter"<TMPL_IF filter> value="<TMPL_VAR NAME=filter>"</TMPL_IF> /> 36 36 <input type="submit" value="Filter" /> 37 37 </fieldset>
Note:
See TracChangeset
for help on using the changeset viewer.