Changeset 311 for dev/mods

Show
Ignore:
Timestamp:
01/01/08 19:28:16 (13 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

Location:
dev/mods/fitting
Files:
2 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()); 
  • dev/mods/fitting/kill_detail.tpl

    r307 r311  
    164164                                <input name="{$i.itemID}" type="text" class="comment-button" value="{$i.single_unit}" size="6"> 
    165165                            </div> 
    166                         <td height="34" valign="top"><input type="submit" name="submit" value="Update" class="comment-button"></td> 
     166                        <td height="34" valign="top"><input type="submit" name="submit" value="UpdateValue" class="comment-button"></td> 
    167167                      </form> 
    168168                    </tr>