Changeset 64 for trunk/dns.cgi
- Timestamp:
- 10/25/10 16:49:10 (14 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/dns.cgi
r63 r64 68 68 69 69 # per-page startwith, filter, searchsubs 70 $session->param($webvar{page}.'startwith', $webvar{startwith}) if $webvar{startwith};70 $session->param($webvar{page}.'startwith', $webvar{startwith}) if defined($webvar{startwith}); 71 71 $session->param($webvar{page}.'filter', $webvar{filter}) if defined($webvar{filter}); 72 72 $webvar{searchsubs} =~ s/^n ?// if $webvar{searchsubs}; … … 1146 1146 1147 1147 # waffle, waffle - keep state on these as well as sortby, sortorder? 1148 $page->param("start$ webvar{startwith}" => 1) if $webvar{startwith} && $webvar{startwith} =~ /^[a-z]$/;1148 $page->param("start$startwith" => 1) if $startwith && $startwith =~ /^(?:[a-z]|0-9)$/; 1149 1149 1150 1150 $page->param(filter => $filter) if $filter; … … 1246 1246 1247 1247 # waffle, waffle - keep state on these as well as sortby, sortorder? 1248 $page->param("start$startwith" => 1) if $startwith && $startwith =~ /^ [a-z]$/;1248 $page->param("start$startwith" => 1) if $startwith && $startwith =~ /^(?:[a-z]|0-9)$/; 1249 1249 1250 1250 $page->param(filter => $filter) if $filter;
Note:
See TracChangeset
for help on using the changeset viewer.