Show
Ignore:
Timestamp:
07/20/08 18:15:48 (1 month ago)
Author:
Christopher Jung <bktheg@web.de>
git-committer:
Christopher Jung <bktheg@web.de> 1216570548 +0200
git-parent:

[a53bf3df2ee843c7dcbff98462aa9c06d33cf7c1]

git-author:
Sebastian Gift <Madison@gt-knm.de> 1216570548 +0200
Message:

[feature] Schiffe koennen direkt vom Flottenmenue aus gebaut werden.

Files:

Legend:

Unmodified
Added
Removed
Modified
Copied
Moved
  • templates/fleetmgnt.html

    ref36dc7 r5e49daa  
    202202                                                document.getElementById("alarm").style.display = 'none'; 
    203203                                        } 
     204                                         
     205                                        if( action == "build" ) { 
     206                                                document.getElementById("buildcount").style.display = 'inline'; 
     207                                                document.getElementById("buildid").style.display = 'inline'; 
     208                                        } 
     209                                        else { 
     210                                                document.getElementById("buildcount").style.display = 'none'; 
     211                                                document.getElementById("buildid").style.display = 'none'; 
     212                                        } 
    204213                                } 
    205214                        --> 
     
    226235                                        {if fleetcombine.list} 
    227236                                                <option value="fleetcombine">Flotten zusammenlegen</option> 
     237                                        {/endif} 
     238                                        {if buildableships.list} 
     239                                                <option value="build">Schiffe bauen</option> 
    228240                                        {/endif} 
    229241                                        <option value="rename">Flotte umbenennen</option> 
     
    253265                                        <option value="1">rot</option> 
    254266                                </select> 
     267                                {if buildableships.list} 
     268                                <input type="text" id="buildcount" name="buildcount" style="display:none" size="3" maxlength="3" /> 
     269                                <select id="buildid" name="buildid" size="1" style="display:none"> 
     270                                                <!-- BEGIN buildableships.listitem --> 
     271                                                        <option value="{buildableships.id}">{buildableships.name}</option> 
     272                                                <!-- END buildableships.listitem --> 
     273                                </select> 
     274                                {/endif} 
    255275                                <input type="submit" value="ok" /> 
    256276                        </form>