- Timestamp:
- 12/01/06 02:00:47 (14 years ago)
- Location:
- dev
- Files:
-
- 7 modified
Legend:
- Unmodified
- Added
- Removed
-
dev/common/generic.js
r41 r132 29 29 } 30 30 } 31 <!-- 32 function createRequestObject() { 33 var ro; 34 var browser = navigator.appName; 35 if(browser == "Microsoft Internet Explorer"){ 36 ro = new ActiveXObject("Microsoft.XMLHTTP"); 37 }else{ 38 ro = new XMLHttpRequest(); 39 } 40 return ro; 41 } 42 43 var http = createRequestObject(); 44 45 function sndReq(action) { 46 http.open('get', action); 47 http.onreadystatechange = handleResponse; 48 http.send(null); 49 } 50 51 function handleResponse() { 52 if(http.readyState == 4){ 53 var response = http.responseText; 54 var update = new Array(); 55 56 if(response.indexOf('|' != -1)) { 57 update = response.split('|'); 58 document.getElementById(update[0]).innerHTML = update[1]; 59 } 60 } 61 } 62 //--> 63 <!-- 64 65 function ReverseContentDisplay(d) { 66 if(d.length < 1) { return; } 67 var dd = document.getElementById(d); 68 if(dd.style.display == "none") { dd.style.display = "block"; } 69 else { dd.style.display = "none"; } 70 } 71 //--> -
dev/common/kill_detail.php
r130 r132 201 201 $menubox->setIcon("menu-item.gif"); 202 202 $menubox->addOption("caption", "View"); 203 $menubox->addOption("link", "Killmail", "javascript:openWindow( '?a=kill_mail&kll_id=" . $kill->getID() . "', null, 355, 430, '' );");203 $menubox->addOption("link","Killmail", "javascript:sndReq('index.php?a=kill_mail&kll_id=".$kill->getID()."');ReverseContentDisplay('popup')"); 204 204 if ($kill->relatedKillCount() > 1 || $kill->relatedLossCount() > 1) 205 205 { -
dev/common/kill_mail.php
r54 r132 8 8 $kill = new Kill($kll_id); 9 9 ?> 10 <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" 11 "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd"> 12 <html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en"> 13 <head> 14 <title>Rawmail - Kill ID <?php echo $kll_id; ?></title> 15 </head> 16 <style type="text/css"> 17 textarea 18 { 19 font-size: 10px; 20 font-family: Verdana, Arial, Helvetica, sans-serif; 21 color: #333333; 22 } 23 </style> 24 <body bgcolor="#222222"> 25 <form> 26 <table class="kb-table" width="1" height="100%"> 27 <tr><td valign="top"><textarea class="killmail" name="killmail" cols="60" rows="30" readonly="readonly"> 10 popup|<form> 11 <table class="popup-table" height="100%" width="355px"> 12 <tr> 13 <td align="center"><strong>Original Killmail</strong></td> 14 </tr> 15 <tr> 16 <td align="center"><input type="button" value="Close" onClick="ReverseContentDisplay('popup');"></td> 17 </tr> 18 <tr> 19 <td valign="top" align="center"> 20 <textarea class="killmail" name="killmail" cols="60" rows="30" readonly="readonly"> 28 21 <?php echo $kill->getRawMail();?></textarea></td></tr> 29 <tr><td align="center"><input type="button" value="Select All" onClick="this.form.killmail.select();this.form.killmail.focus(); document.execCommand('Copy')"> <input type="button" value="Close" onClick="window.close();"></td></tr> 22 <tr><td align="center"><input type="button" value="Select All" onClick="this.form.killmail.select();this.form.killmail.focus(); document.execCommand('Copy')"> <input type="button" value="Close" onClick="ReverseContentDisplay('popup');"></td> 23 </tr> 24 30 25 </table> 31 26 </form> 32 </body> 33 </html> 27 28 -
dev/style/blue/style.css
r68 r132 553 553 font-family: Arial, Helvetica, sans-serif; 554 554 } 555 .popup-table 556 { 557 filter: alpha(opacity=90); 558 -moz-opacity: 0.9; 559 background-color:#39475F; 560 } -
dev/style/default/style.css
r68 r132 553 553 font-family: Arial, Helvetica, sans-serif; 554 554 } 555 .popup-table 556 { 557 filter: alpha(opacity=90); 558 -moz-opacity: 0.9; 559 background-color:#333333; 560 } -
dev/style/revelations/style.css
r95 r132 588 588 text-decoration: underline; 589 589 } 590 .popup-table 591 { 592 filter: alpha(opacity=90); 593 -moz-opacity: 0.9; 594 background-color:#999999; 595 } -
dev/templates/index.tpl
r86 r132 7 7 <link rel="stylesheet" type="text/css" href="{$style_url}/{$style}/style.css"> 8 8 <script language=javascript src="{$common_url}/generic.js"></script> 9 10 <style type="text/css"> 11 </style> 9 12 </head> 10 13 <body bgcolor="#222222" {$on_load} style="height: 100%"> 11 <table class="main-table" height="100%" align="center" bgcolor="#111111" border="0" cellspacing="1" style="height: 100%"> 14 <div align="center" id="popup" style="display:none; 15 position:absolute; 16 top:217px; width:99%; 17 z-index:3; 18 padding: 5px;"></div> 19 <table class="main-table" height="100%" align="center" bgcolor="#111111" border="0" cellspacing="1" style="height: 100%"> 12 20 <tr style="height: 100%"> 13 21 <td valign="top" height="100%" style="height: 100%">