Changeset 286

Show
Ignore:
Timestamp:
12/13/07 13:07:27 (13 years ago)
Author:
ralle030583
Message:

- fixed link errors in admin_kill_export template
- fixed ingame_mod + raw mail's aviable ingame

Location:
dev
Files:
1 added
3 modified

Legend:

Unmodified
Added
Removed
  • dev/common/includes/globals.php

    r283 r286  
    11<?php 
    22// current subversion revision 
    3 preg_match('/\$Re'.'vision: (.*?) \$/', '$Revision: 283 $', $match); 
     3preg_match('/\$Re'.'vision: (.*?) \$/', '$Revision: 286 $', $match); 
    44define('SVN_REV', $match[1]); 
    55 
  • dev/mods/ingame_mod/igb.php

    r240 r286  
    77function mktable($klist, $limit)  
    88{ 
    9         $this->klist = $klist; 
    10         $this->limit = $limit; 
    119        $odd = false; 
    1210        $klist->rewind(); 
     
    3533                $html .= "</td><td>"; 
    3634                $html .= $kill->getSolarSystemName() ."(".roundsec($kill->getSolarSystemSecurity()).")"; 
     35                $html .= "</td><td>"; 
     36                $html .= "<a href=index.php?a=igb_kill_mail&kll_id=".$kill->getID().">Mail</a>"; 
    3737                $html .= "</td></tr>"; 
    3838        } 
     
    4444$html .= "<a href=\"?a=post_igb\">Post killmail</a> | <a href=\"?a=portrait_grab\">Update portrait</a> | <a href=\"?a=igb&mode=kills\">Kills</a> | <a href=\"?a=igb&mode=losses\">Losses</a><br>"; 
    4545$html .= "<table width=\"100%\" border=1>"; 
    46 $html .= "<tr><td>Ship</td><td>Victim</td><td>Final Blow</td><td>Date/Time</td><td>System</td></tr>"; 
     46$html .= "<tr><td>Ship</td><td>Victim</td><td>Final Blow</td><td>Date/Time</td><td>System</td><td>Raw Mail</td></tr>"; 
    4747switch ($_GET[mode]) { 
    4848        case "losses": 
    4949                $klist = new KillList(); 
    5050                $klist->setOrdered(true); 
     51                $klist->setLimit(30); 
    5152                involved::load($klist,'loss');           
    5253                $html .= mktable($klist,30); 
     
    5556                $klist = new KillList(); 
    5657                $klist->setOrdered(true); 
     58                $klist->setLimit(30); 
    5759                involved::load($klist,'kill'); 
    5860                $html .= mktable($klist,30); 
     
    6062        default:  
    6163                $klist = new KillList(); 
     64                $klist->setOrdered(true); 
     65                $klist->setLimit(10); 
    6266                involved::load($klist,'kill'); 
    63                 $klist->setOrdered(true); 
    6467                $html .= mktable($klist,10); 
    6568                break; 
  • dev/templates/admin_export.tpl

    r91 r286  
    11Please select pilots, corps or alliances to be exported.<br/> 
    22<br/> 
    3 <form id="search" action="?a=kill_export" method="post"> 
     3<form id="search" action="?a=admin_kill_export" method="post"> 
    44<table class="kb-subtable"> 
    55<tr><td>Type:</td><td>Text: (3 letters minimum)</td></tr> 
     
    3232</table> 
    3333{if $permissions} 
    34 <br/><a href="?a=kill_export&sub=do">Export Mails</a> 
     34<br/><a href="?a=admin_kill_export&sub=do">Export Mails</a> 
    3535{/if} 
    3636<br/>