Legend:
- Unmodified
- Added
- Removed
-
trunk/DNSDB.pm
r200 r201 126 126 # Other miscellanea 127 127 log_failures => 1, # log all evarthing by default 128 perpage => 15, 128 129 ); 129 130 … … 208 209 $def{contact} = $1 if /^contact\s*=\s*([a-z0-9_.-]+)/i; 209 210 $def{prins} = $1 if /^prins\s*=\s*([a-z0-9_.-]+)/i; 210 $def{soattl} = $1 if /^soattl\s*=\s*( [a-z0-9_.-]+)/i;211 $def{refresh} = $1 if /^refresh\s*=\s*( [a-z0-9_.-]+)/i;212 $def{retry} = $1 if /^retry\s*=\s*( [a-z0-9_.-]+)/i;213 $def{expire} = $1 if /^expire\s*=\s*( [a-z0-9_.-]+)/i;214 $def{minttl} = $1 if /^minttl\s*=\s*( [a-z0-9_.-]+)/i;215 $def{ttl} = $1 if /^ttl\s*=\s*( [a-z0-9_.-]+)/i;211 $def{soattl} = $1 if /^soattl\s*=\s*(\d+)/i; 212 $def{refresh} = $1 if /^refresh\s*=\s*(\d+)/i; 213 $def{retry} = $1 if /^retry\s*=\s*(\d+)/i; 214 $def{expire} = $1 if /^expire\s*=\s*(\d+)/i; 215 $def{minttl} = $1 if /^minttl\s*=\s*(\d+)/i; 216 $def{ttl} = $1 if /^ttl\s*=\s*(\d+)/i; 216 217 # Mail settings 217 218 $config{mailhost} = $1 if /^mailhost\s*=\s*([a-z0-9_.-]+)/i; … … 223 224 # session - note this is fed directly to CGI::Session 224 225 $config{timeout} = $1 if /^[tT][iI][mM][eE][oO][uU][tT]\s*=\s*(\d+[smhdwMy]?)/; 225 # log failed actions226 # misc 226 227 $config{log_failures} = $1 if /^log_failures\s*=\s*([a-z01]+)/i; 228 $config{perpage} = $1 if /^perpage\s*=\s*(\d+)/i; 227 229 } 228 230 close CFG; -
trunk/Makefile
r199 r201 35 35 \ 36 36 images/trash2.png images/fwd.png images/ffwd.png images/frev.png \ 37 images/rev.png images/DESC.png images/ASC.png \37 images/rev.png images/DESC.png images/ASC.png images/tree_open.png images/tree_closed.png \ 38 38 \ 39 39 templates/adddomain.tmpl templates/addgroup.tmpl templates/addrec.tmpl templates/adduser.tmpl \ -
trunk/dns.cgi
r198 r201 156 156 # pagination 157 157 my $perpage = 15; 158 $perpage = $config{perpage} if $config{perpage}; 158 159 my $offset = ($webvar{offset} ? $webvar{offset} : 0); 159 160 -
trunk/templates/newdomain.tmpl
r133 r201 11 11 <input type="hidden" name="page" value="adddomain" /> 12 12 <input type="hidden" name="newdomain" value="yes" /> 13 <input type="hidden" name="makeactive" value="0" /> 13 14 14 15 <table class="container" width="450">
Note:
See TracChangeset
for help on using the changeset viewer.