Show
Ignore:
Timestamp:
12/01/06 02:00:47 (14 years ago)
Author:
knifee
Message:

Changed how the Killmail link works, no longer loads a popup window but rather fetches the killmail and loads it into a div. Also added a new style class for popup.

Files:
1 modified

Legend:

Unmodified
Added
Removed
  • dev/common/kill_mail.php

    r54 r132  
    88$kill = new Kill($kll_id); 
    99?> 
    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"> 
     10popup|<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"> 
    2821<?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')">&nbsp;<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')">&nbsp;<input type="button" value="Close" onClick="ReverseContentDisplay('popup');"></td> 
     23</tr> 
     24 
    3025</table> 
    3126</form> 
    32 </body> 
    33 </html> 
     27 
     28