Changeset 415
- Timestamp:
- 05/14/10 16:00:26 (15 years ago)
- Location:
- trunk/cgi-bin
- Files:
-
- 4 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/cgi-bin/CommonWeb.pm
r233 r415 8 8 9 9 package CommonWeb; 10 11 # 08/13/2004 kdeugau@vianet12 # Split DB-related functions into new module; they're not13 # specific to CGI/web stuff.14 10 15 11 use strict; … … 108 104 } 109 105 110 sub loginAgain111 {112 print qq(113 <center><p>Your session has expired. Please login again.</p>114 <p>115 <a href="http://hosttest.vianet.ca"> Click here to login again.</a>116 </p>117 </center>118 );119 printFooter();120 exit(0);121 }122 123 106 # needs a reference to the webvar hash. 124 107 # takes out backticks and single quotes -
trunk/cgi-bin/admin.cgi
r413 r415 53 53 qq(\t<link rel="stylesheet" type="text/css" href="/ip/local.css">\n). 54 54 "</head>\n<body>\n". 55 qq(Access to this tool is restricted. Contact <a href="mailto:kdeugau\@vianet.ca">Kris</a> \n).55 qq(Access to this tool is restricted. Contact the <a href="mailto:ipdbadmin\@example.com">IPDB administrator</a> \n). 56 56 "for more information.\n</body>\n</html>\n"; 57 57 exit; -
trunk/cgi-bin/main.cgi
r406 r415 1 1 #!/usr/bin/perl 2 2 # ipdb/cgi-bin/main.cgi 3 # Started munging from noc.vianet's old IPDB 04/22/20044 3 ### 5 4 # SVN revision info -
trunk/cgi-bin/newcity.cgi
r370 r415 48 48 if ($sth->err) { 49 49 print "Error adding city to database: ".$sth->errstr; 50 mailNotify('kdeugau@vianet.ca',"IPDB city add failure",51 "$authuser could not add city '$webvar{city}' to database: ".$sth->errstr);50 # mailNotify('ipdbadmin@example.com',"IPDB city add failure", 51 # "$authuser could not add city '$webvar{city}' to database: ".$sth->errstr); 52 52 syslog "err", "$authuser could not add city '$webvar{city}' to database: ".$sth->errstr; 53 53 } else {
Note:
See TracChangeset
for help on using the changeset viewer.