Show
Ignore:
Timestamp:
01/20/08 13:08:15 (10 months ago)
Author:
Christopher Jung <bktheg@web.de>
git-committer:
Christopher Jung <bktheg@web.de> 1200830895 +0100
git-parent:

[f1077ec52a5478f6d548f4e47b3c175a46cb7752]

git-author:
Christopher Jung <bktheg@web.de> 1200830895 +0100
Message:

Allianzen: Umstellung auf neue Menuestruktur

Files:

Legend:

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

    r59e22f8 rba4c53f  
    1 <table class="noBorder"> 
    2 <tr> 
    3         <td class="noBorder"> 
    4         {if user.ally} 
    5                 <table class="show" cellspacing="2" cellpadding="2"> 
     1{if ally.message} 
     2        <span style="color:red">{ally.message}</span><br /><br /> 
     3{/endif} 
     4{if allylist.showally} 
     5        <div style="text-align:center"> 
     6        {!table_begin 700,left} 
     7                <table class="noBorderX" width="100%"> 
     8                <tr>     
     9                        <td class="noBorderX" style="width:75px"> 
     10                                <img src="{URL}data/logos/ally/{ally.id}.gif" width="75" height="75" alt="Kein Allylogo vorhanden" /> 
     11                                <br /> 
     12                                <br /> 
     13                        </td>    
     14                        <td class="noBorderX" align="center"> 
     15                                <span class="smallfont">{ally.name}</span> 
     16                                <br /> 
     17                                {if user.changerelations} 
     18                                        {!link_to feindlich, changeRelation, css_class:error, css_style:font-size:10px, details:$ally.id, relation:1} - 
     19                                        {!link_to neutral, changeRelation, css_style:font-size:10px;color:#c7c7c7, details:$ally.id, relation:0} - 
     20                                        {!link_to freundlich, changeRelation, css_class:ok, css_style:font-size:10px, details:$ally.id, relation:2} 
     21                                        {if user.allyrelationchange} 
     22                                                <br /> 
     23                                                <span style="font-size:10px">F&uuml;r alle ihre Allianzmitglieder:</span><br /> 
     24                                                {!link_to feindlich, changeRelationAlly, css_class:error, css_style:font-size:10px, details:$ally.id, relation:1} - 
     25                                                {!link_to neutral, changeRelationAlly, css_style:font-size:10px;color:#c7c7c7, details:$ally.id, relation:0} - 
     26                                                {!link_to freundlich, changeRelationAlly, css_class:ok, css_style:font-size:10px, details:$ally.id, relation:2} 
     27                                        {/endif} 
     28                                {/endif} 
     29                        </td> 
     30                        <td class="noBorderX" style="width:75px"> 
     31                                <img src="{URL}data/logos/ally/{ally.id}.gif" width="75" height="75" alt="Kein Allylogo vorhanden" /> 
     32                                <br /> 
     33                                <br /> 
     34                        </td> 
     35                </tr> 
    636                <tr> 
    7                         <td class="noBorderS">{user.ally.name}</td> 
    8                         <td class="noBorder">&nbsp;</td> 
    9                         <td class="noBorder"> 
    10                                 {!table_begin 650,center} 
    11                                         {!link_to Allgemeines, default, module:ally, show:allgemein} 
    12                                         | 
    13                                         {!link_to Mitglieder, default, module:ally, show:members} 
    14                                         | 
    15                                         {if user.ally.president} 
    16                                                 {!link_to Einstellungen, default, module:ally, show:config} 
    17                                                 | 
    18                                                 {!link_to Posten, default, module:ally, show:posten} 
    19                                                 | 
    20                                         {/endif} 
    21                                         {!link_to K&auml;mpfe, default, module:ally, show:battles} 
    22                                         | 
    23                                         {!link_to Allianzen auflisten, default} 
    24                                         | 
    25                                         {!link_to Austreten, part, css_class:error, module:ally} 
    26                                 {!table_end} 
     37                        <td class="noBorderX" colspan="3"> 
     38                                <div style="color:#cccccc">{ally.description}<br /><br /></div> 
    2739                        </td> 
    2840                </tr> 
    2941                </table> 
    30         {else} 
    31                 <table class="show" cellspacing="2" cellpadding="2"> 
     42 
     43                <table class="noBorderX"> 
    3244                <tr> 
    33                         <td class="noBorderS">Keine Allianz</td> 
    34                         <td class="noBorder">&nbsp;</td> 
    35                         <td class="noBorder"> 
    36                                 {!table_begin 600,center} 
    37                                         {!link_to Allianz beitreten, defaultNoAlly, module:ally, show:join} 
    38                                         &nbsp;|&nbsp; 
    39                                         {!link_to Allianz gr&uuml;nden, defaultNoAlly, module:ally, show:create} 
    40                                         &nbsp;|&nbsp; 
    41                                         {!link_to Allianzen auflisten, default} 
    42                                 {!table_end} 
     45                        <td class="noBorderX" valign="top"> 
     46                                Gegr&uuml;ndet: {ally.founded}<br /> 
     47                                Gewonnene Schlachten: {ally.wonBattles}<br /> 
     48                                Verlorene Schlachten: {ally.lostBattles}<br /> 
     49                                Zerst&ouml;rte Schiffe: {ally.destroyedShips}<br /> 
     50                                Verlorene Schiffe: {ally.lostShips}<br /> 
     51                                Mitglieder: {ally.membercount}<br /><br /> 
     52                        </td> 
     53                        <td class="noBorderX" style="width:50px">&nbsp;&nbsp;&nbsp;&nbsp;</td> 
     54                        <td class="noBorderX" valign="top"> 
     55                                {if ally.items.list} 
     56                                        Items:<br /> 
     57                                        <!-- BEGIN ally.items.listitem --> 
     58                                                <img style="vertical-align:middle" src="{res.image}" alt="" /> 
     59                                                {res.name}<br /> 
     60                                        <!-- END ally.items.listitem --> 
     61                                {/endif} 
    4362                        </td> 
    4463                </tr> 
    4564                </table> 
    46         {/endif} 
    47         <br /> 
    48         </td> 
    49 </tr> 
    50 <tr> 
    51         <td class="noBorder"> 
    52                 {if ally.message} 
    53                         <span style="color:red">{ally.message}</span><br /><br /> 
    54                 {/endif} 
    55                 {if allylist.showally} 
    56                         <div style="text-align:center"> 
    57                         {!table_begin 700,left} 
    58                                 <table class="noBorderX" width="100%"> 
    59                                 <tr>     
    60                                         <td class="noBorderX" style="width:75px"> 
    61                                                 <img src="{URL}data/logos/ally/{ally.id}.gif" width="75" height="75" alt="Kein Allylogo vorhanden" /> 
    62                                                 <br /> 
    63                                                 <br /> 
    64                                         </td>    
    65                                         <td class="noBorderX" align="center"> 
    66                                                 <span class="smallfont">{ally.name}</span> 
    67                                                 <br /> 
    68                                                 {if user.changerelations} 
    69                                                         {!link_to feindlich, changeRelation, css_class:error, css_style:font-size:10px, details:$ally.id, relation:1} - 
    70                                                         {!link_to neutral, changeRelation, css_style:font-size:10px;color:#c7c7c7, details:$ally.id, relation:0} - 
    71                                                         {!link_to freundlich, changeRelation, css_class:ok, css_style:font-size:10px, details:$ally.id, relation:2} 
    72                                                         {if user.allyrelationchange} 
    73                                                                 <br /> 
    74                                                                 <span style="font-size:10px">F&uuml;r alle ihre Allianzmitglieder:</span><br /> 
    75                                                                 {!link_to feindlich, changeRelationAlly, css_class:error, css_style:font-size:10px, details:$ally.id, relation:1} - 
    76                                                                 {!link_to neutral, changeRelationAlly, css_style:font-size:10px;color:#c7c7c7, details:$ally.id, relation:0} - 
    77                                                                 {!link_to freundlich, changeRelationAlly, css_class:ok, css_style:font-size:10px, details:$ally.id, relation:2} 
    78                                                         {/endif} 
    79                                                 {/endif} 
    80                                         </td> 
    81                                         <td class="noBorderX" style="width:75px"> 
    82                                                 <img src="{URL}data/logos/ally/{ally.id}.gif" width="75" height="75" alt="Kein Allylogo vorhanden" /> 
    83                                                 <br /> 
    84                                                 <br /> 
     65                <br /> 
     66                         
     67                <table class="noBorderX" cellspacing="2" cellpadding="2"> 
     68                        <tr> 
     69                                <td class="noBorderX"> 
     70                                        <span style="font-weight:bold">{ally.pname}:</span> 
     71                                </td> 
     72                                <td class="noBorderX"> 
     73                                        {!link_to $ally.president.name, default, css_class:profile, module:userprofile, user:$ally.president.id} 
     74                                </td> 
     75                        </tr> 
     76                        <!-- BEGIN ally.minister.listitem --> 
     77                                <tr> 
     78                                        <td class="noBorderX" valign="top">{ally.minister.posten}:</td> 
     79                                        <td class="noBorderX"> 
     80                                                {!link_to $ally.minister.name, default, css_class:profile, module:userprofile, user:$ally.minister.id}<br /> 
    8581                                        </td> 
    8682                                </tr> 
     83                        <!-- END ally.minister.listitem --> 
     84                        {if ally.addmembers.list} 
    8785                                <tr> 
    88                                         <td class="noBorderX" colspan="3"> 
    89                                                 <div style="color:#cccccc">{ally.description}<br /><br /></div> 
     86                                        <td class="noBorderX" valign="top">Weitere Mitglieder:</td> 
     87                                        <td class="noBorderX"> 
     88                                                <!-- BEGIN ally.addmembers.listitem --> 
     89                                                        {!link_to $ally.addmembers.name, default, css_class:profile, module:userprofile, user:$ally.addmembers.id}<br /> 
     90                                                <!-- END ally.addmembers.listitem -->    
    9091                                        </td> 
    9192                                </tr> 
    92                                 </table> 
    93  
    94                                 <table class="noBorderX"> 
    95                                 <tr> 
    96                                         <td class="noBorderX" valign="top"> 
    97                                                 Gegr&uuml;ndet: {ally.founded}<br /> 
    98                                                 Gewonnene Schlachten: {ally.wonBattles}<br /> 
    99                                                 Verlorene Schlachten: {ally.lostBattles}<br /> 
    100                                                 Zerst&ouml;rte Schiffe: {ally.destroyedShips}<br /> 
    101                                                 Verlorene Schiffe: {ally.lostShips}<br /> 
    102                                                 Mitglieder: {ally.membercount}<br /><br /> 
    103                                         </td> 
    104                                         <td class="noBorderX" style="width:50px">&nbsp;&nbsp;&nbsp;&nbsp;</td> 
    105                                         <td class="noBorderX" valign="top"> 
    106                                                 {if ally.items.list} 
    107                                                         Items:<br /> 
    108                                                         <!-- BEGIN ally.items.listitem --> 
    109                                                                 <img style="vertical-align:middle" src="{res.image}" alt="" /> 
    110                                                                 {res.name}<br /> 
    111                                                         <!-- END ally.items.listitem --> 
    112                                                 {/endif} 
    113                                         </td> 
    114                                 </tr> 
    115                                 </table> 
    116                                 <br /> 
    117                                          
    118                                 <table class="noBorderX" cellspacing="2" cellpadding="2"> 
    119                                 <tr> 
    120                                         <td class="noBorderX"> 
    121                                                 <span style="font-weight:bold">{ally.pname}:</span> 
    122                                         </td> 
    123                                         <td class="noBorderX"> 
    124                                                 {!link_to $ally.president.name, default, css_class:profile, module:userprofile, user:$ally.president.id} 
    125                                         </td> 
    126                                 </tr> 
    127                                 <!-- BEGIN ally.minister.listitem --> 
    128                                         <tr> 
    129                                                 <td class="noBorderX" valign="top">{ally.minister.posten}:</td> 
    130                                                 <td class="noBorderX"> 
    131                                                         {!link_to $ally.minister.name, default, css_class:profile, module:userprofile, user:$ally.minister.id}<br /> 
    132                                                 </td> 
    133                                         </tr> 
    134                                 <!-- END ally.minister.listitem --> 
    135                                 {if ally.addmembers.list} 
    136                                         <tr> 
    137                                                 <td class="noBorderX" valign="top">Weitere Mitglieder:</td> 
    138                                                 <td class="noBorderX"> 
    139                                                         <!-- BEGIN ally.addmembers.listitem --> 
    140                                                                 {!link_to $ally.addmembers.name, default, css_class:profile, module:userprofile, user:$ally.addmembers.id}<br /> 
    141                                                         <!-- END ally.addmembers.listitem -->    
    142                                                 </td> 
    143                                         </tr> 
    144                                 {/endif} 
    145                                 </table> 
    146                                 <br />                   
    147                         {!table_end} 
    148                         </div> 
    149                 {/endif} 
    150                 {if allylist.showlist} 
    151                         <!-- BEGIN allylist.ally.listitem --> 
    152                                 {!table_begin 400,center} 
    153                                         <table class="noBorderX" width="620"> 
    154                                         <tr> 
    155                                                 <td class="noBorderX" style="width:75px"> 
    156                                                         <img src="{URL}data/logos/ally/{allylist.ally.id}.gif" width="75" height="75" alt="Kein Allylogo vorhanden" /> 
    157                                                         <br /> 
    158                                                         <br /> 
    159                                                 </td> 
    160                                                 <td class="noBorderX" align="center"> 
    161                                                         <span class="smallfont">{allylist.ally.name}</span><br /><br /> 
    162                                                 </td> 
    163                                                 <td class="noBorderX" style="width:75px"> 
    164                                                         <img src="{URL}data/logos/ally/{allylist.ally.id}.gif" width="75" height="75" alt="Kein Allylogo vorhanden" /> 
    165                                                         <br /> 
    166                                                         <br /> 
    167                                                 </td> 
    168                                         </tr> 
    169                                         </table> 
    170                                 {!table_end} 
    171                         <!-- END allylist.ally.listitem --> 
    172                 {/endif} 
    173         </td> 
    174 </tr> 
    175 </table> 
     93                        {/endif} 
     94                        </table> 
     95                        <br />                   
     96        {!table_end} 
     97        </div> 
     98{/endif} 
     99{if allylist.showlist} 
     100        <!-- BEGIN allylist.ally.listitem --> 
     101                {!table_begin 400,center} 
     102                        <table class="noBorderX" width="620"> 
     103                        <tr> 
     104                                <td class="noBorderX" style="width:75px"> 
     105                                        <img src="{URL}data/logos/ally/{allylist.ally.id}.gif" width="75" height="75" alt="Kein Allylogo vorhanden" /> 
     106                                        <br /> 
     107                                        <br /> 
     108                                </td> 
     109                                <td class="noBorderX" align="center"> 
     110                                        <span class="smallfont">{allylist.ally.name}</span><br /><br /> 
     111                                </td> 
     112                                <td class="noBorderX" style="width:75px"> 
     113                                        <img src="{URL}data/logos/ally/{allylist.ally.id}.gif" width="75" height="75" alt="Kein Allylogo vorhanden" /> 
     114                                        <br /> 
     115                                        <br /> 
     116                                </td> 
     117                        </tr> 
     118                        </table> 
     119                {!table_end} 
     120        <!-- END allylist.ally.listitem --> 
     121{/endif}