Changeset 507 for branches/stable/cgi-bin/admin.cgi
- Timestamp:
- 11/15/11 18:08:14 (13 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
branches/stable/cgi-bin/admin.cgi
r506 r507 10 10 # Last update by $Author$ 11 11 ### 12 # Copyright (C) 2004-201 0- Kris Deugau12 # Copyright (C) 2004-2011 - Kris Deugau 13 13 14 14 use strict; … … 54 54 print "Content-Type: text/html\n\n". 55 55 "<html>\n<head>\n\t<title>Access denied</title>\n". 56 qq(\t<link rel="stylesheet" type="text/css" href=" /ip/ipdb.css">\n).57 qq(\t<link rel="stylesheet" type="text/css" href=" /ip/local.css">\n).56 qq(\t<link rel="stylesheet" type="text/css" href="$IPDB::webpath/ipdb.css">\n). 57 qq(\t<link rel="stylesheet" type="text/css" href="$IPDB::webpath/local.css">\n). 58 58 "</head>\n<body>\n". 59 59 qq(Access to this tool is restricted. Contact the <a href="mailto:ipdbadmin\@example.com">IPDB administrator</a> \n). … … 67 67 print "Content-type: text/html\n\n". 68 68 "<html>\n<head>\n\t<title>[IPDB admin tools]</title>\n". 69 qq(\t<link rel="stylesheet" type="text/css" href=" /ip/ipdb.css">\n).70 qq(\t<link rel="stylesheet" type="text/css" href=" /ip/local.css">\n).69 qq(\t<link rel="stylesheet" type="text/css" href="$IPDB::webpath/ipdb.css">\n). 70 qq(\t<link rel="stylesheet" type="text/css" href="$IPDB::webpath/local.css">\n). 71 71 "</head>\n<body>\n". 72 72 "<h2>IPDB - Administrative Tools</h2>\n<hr>\n"; … … 125 125 ); 126 126 } else { 127 print '<a href="/ip/cgi-bin/admin.cgi">Back</a> to main<hr>';127 print qq(<a href="$IPDB::webpath/cgi-bin/admin.cgi">Back</a> to main<hr>); 128 128 } 129 129 … … 213 213 $cities 214 214 </select> 215 <a href="javascript:popNotes(' /ip/newcity.html')">Add new location</a>215 <a href="javascript:popNotes('$IPDB::webpath/newcity.html')">Add new location</a> 216 216 </td> 217 217 </tr> … … 651 651 # 652 652 653 print qq(<hr><a href=" /ip/">Back</a> to main interface</a>\n);653 print qq(<hr><a href="$IPDB::webpath/">Back</a> to main interface</a>\n); 654 654 655 655 printFooter;
Note:
See TracChangeset
for help on using the changeset viewer.