Changeset b3040ca2cac41ca7c8498bdafa5f95a8aed4b854

Show
Ignore:
Timestamp:
08/26/07 22:54:29 (1 year ago)
Author:
Christopher Jung <bktheg@web.de>
git-committer:
Christopher Jung <bktheg@web.de> 1188161669 +0200
git-parent:

[29a380e5464a5377caffdf1817752e284ded273d]

git-author:
Christopher Jung <bktheg@web.de> 1188161669 +0200
Message:

SRS: Der Sortiermodus type heisst nach dem Hibernate-Port nun shiptype

Files:

Legend:

Unmodified
Added
Removed
Modified
Copied
Moved
  • src/net/driftingsouls/ds2/server/modules/schiffplugins/SensorsDefault.java

    rd7f0720 rb3040ca  
    7373                String order = controller.getString("order"); 
    7474                if( !order.equals("") ) { 
    75                         if( !order.equals("id") && !order.equals("name") && !order.equals("owner") && !order.equals("type") ) { 
     75                        if( !order.equals("id") && !order.equals("name") && !order.equals("owner") && !order.equals("shiptype") ) { 
    7676                                order = "id"; 
    7777                        } 
     
    383383                        if( order.equals("id") ) { 
    384384                                thisorder = "case when s.docked!='' then s.docked else s.id end"; 
     385                        } 
     386                        if( order.equals("type") ) { 
     387                                order = "s.shiptype"; 
    385388                        } 
    386389                         
  • templates/schiff.sensors.default.html

    r7a698da rb3040ca  
    3939        <td class="show" style="width:150px"><a class="forschinfo" href="./ds?module=schiff&amp;sess={global.sess}&amp;ship={global.ship}&amp;action=plugin&amp;plugin={global.pluginid}&amp;{global.pluginid}_ops[order]=owner">Besitzer</a></td> 
    4040        <td class="show" style="width:150px"><a class="forschinfo" href="./ds?module=schiff&amp;sess={global.sess}&amp;ship={global.ship}&amp;action=plugin&amp;plugin={global.pluginid}&amp;{global.pluginid}_ops[order]=name">Name</a></td> 
    41         <td class="show" style="width:100px"><a class="forschinfo" href="./ds?module=schiff&amp;sess={global.sess}&amp;ship={global.ship}&amp;action=plugin&amp;plugin={global.pluginid}&amp;{global.pluginid}_ops[order]=type">Klasse</a></td> 
     41        <td class="show" style="width:100px"><a class="forschinfo" href="./ds?module=schiff&amp;sess={global.sess}&amp;ship={global.ship}&amp;action=plugin&amp;plugin={global.pluginid}&amp;{global.pluginid}_ops[order]=shiptype">Klasse</a></td> 
    4242        <td class="show"><span class="smallfont">Zustand</span></td> 
    4343        {if global.awac}<td class="show"><span class="smallfont">Info</span></td>{/endif}