Changeset 210
- Timestamp:
- 12/21/11 15:33:48 (13 years ago)
- Location:
- trunk
- Files:
-
- 6 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/Makefile
-
Property svn:keywords
set to
Id
r201 r210 1 # $Id : Makefile 417 2010-06-30 21:48:03Z kdeugau$1 # $Id$ 2 2 # DNS Admin makefile 3 3 -
Property svn:keywords
set to
-
trunk/dns.cgi
r209 r210 136 136 my $header = HTML::Template->new(filename => "$templatedir/header.tmpl"); 137 137 my $footer = HTML::Template->new(filename => "$templatedir/footer.tmpl"); 138 $header->param(orgname => $config{orgname}) if $config{orgname} ne 'Example Corp'; 139 $footer->param(version => $DNSDB::VERSION); 138 140 139 141 ## set up "URL to self" … … 279 281 $page->param(loginfailed => 1) if $webvar{loginfailed}; 280 282 $page->param(sessexpired => 1) if $webvar{sessexpired}; 283 # $page->param(orgname => $config{orgname}) if $config{orgname} ne 'Example Corp'; 284 $page->param(version => $DNSDB::VERSION); 281 285 282 286 } elsif ($webvar{page} eq 'domlist' or $webvar{page} eq 'index') { -
trunk/templates/dns.css
r173 r210 225 225 margin: 17% auto; 226 226 padding: 3px; 227 font-size: 1.1em; 228 } 229 #login2 { 230 margin: auto; 227 231 border: thin solid #000000; 228 232 } -
trunk/templates/footer.tmpl
r166 r210 4 4 <div id="footer"> 5 5 <div id="contact"> 6 <a href="https://secure.deepnet.cx/trac/dnsadmin">dnsadmin</a> 6 <a href="https://secure.deepnet.cx/trac/dnsadmin">dnsadmin</a> <TMPL_VAR NAME=version> 7 7 © 2008-2011 <a href="mailto:kdeugau@deepnet.cx">Kris Deugau</a>/<a href="http://www.deepnet.cx">deepnet</a><br /> 8 8 Written for standards-based browsers (eg <a href="http://www.firefox.com">FireFox</a>/<a href="http://www.mozilla.org">Mozilla</a>) -
trunk/templates/header.tmpl
r166 r210 3 3 <head> 4 4 <meta http-equiv="content-type" content="text/html; charset=UTF-8" /> 5 <title><TMPL_IF compname><TMPL_VAR NAME=compname> - </TMPL_IF>DNS Administration</title>5 <title><TMPL_IF orgname><TMPL_VAR NAME=orgname> - </TMPL_IF>DNS Administration</title> 6 6 <!-- General stylesheet for most content, all browsers --> 7 7 <link rel="stylesheet" type="text/css" href="templates/dns.css" /> 8 8 9 9 <!-- 10 Fair warning: this does NOT validate according to the DTD above!10 Fair warning: this validates according to the DTD above but breaks in IE<7 (at least). 11 11 Unlike in the body these if/endif constructs don't work for IE6 if 12 12 fully embedded in proper comment tags. >:( -
trunk/templates/login.tmpl
r163 r210 4 4 <input type="hidden" name="page" value="login" /> 5 5 6 <table id="login"> 6 <div id="login"> 7 <div class="center">DeepNet DNS Administrator v<TMPL_VAR NAME=version></div> 8 <br /> 9 <table id="login2"> 7 10 <TMPL_IF loginfailed><tr><td colspan="2" class="errmsg" align="center">Error logging in: Invalid username or password</td></tr></TMPL_IF> 8 11 <TMPL_IF sessexpired><tr><td colspan="2" class="errmsg" align="center">Your session has expired</td></tr></TMPL_IF> … … 12 15 <tr><td colspan="2" class="tblsubmit" align="right"><input type="submit" value="Login" /></td></tr> 13 16 </table> 17 </div> 14 18 15 19 </fieldset>
Note:
See TracChangeset
for help on using the changeset viewer.