Show
Ignore:
Timestamp:
01/01/08 19:28:16 (15 years ago)
Author:
ralle030583
Message:

FIX for Ticket #62
FIX in kill detail templates (base / fitting mod) for update value submit button for dropped items
ADD "Adjust Values" Link, to leave Fix Slot mode as admin in kill detail

Files:
1 modified

Legend:

Unmodified
Added
Removed
  • dev/mods/fitting/kill_detail.php

    r307 r311  
    310310    $menubox->addOption("caption", "Admin"); 
    311311    $menubox->addOption("link", "Delete", "javascript:openWindow('?a=admin_kill_delete&kll_id=".$kill->getID()."', null, 420, 300, '' );"); 
    312     $menubox->addOption("link", "Fix Slots", "?a=kill_detail&kll_id=".$kill->getID()."&view=FixSlot"); 
    313  
     312    if (isset($_GET['view']) && $_GET['view'] == 'FixSlot') 
     313    { 
     314        $menubox->addOption("link", "Adjust Values", "?a=kill_detail&kll_id=".$kill->getID().""); 
     315    } 
     316    else 
     317    { 
     318        $menubox->addOption("link", "Fix Slots", "?a=kill_detail&kll_id=".$kill->getID()."&view=FixSlot"); 
     319    } 
    314320} 
    315321$page->addContext($menubox->generate());