/[ludap]/ludap/templates/list.tpl
ViewVC logotype

Diff of /ludap/templates/list.tpl

Parent Directory Parent Directory | Revision Log Revision Log | View Patch Patch

revision 1.3 by mose, Wed Sep 3 12:49:06 2003 UTC revision 1.4 by mose, Thu Sep 4 23:24:57 2003 UTC
# Line 4  Line 4 
4    
5  {foreach key=th item=ti from=$list name=titles}  {foreach key=th item=ti from=$list name=titles}
6    
7  {if $sort eq $th}  {if $sort and $sort eq $ti}
8  <td class="orderbysort">  <td class="orderbysort">
9  &nbsp;<a href="{$self}?rsort={$th}{$mquery}" style="color:inherit;text-decoration:none;">{$schema_user.$ti.LABEL}  &nbsp;<a href="index.php?rsort={$ti}{$mquery}" style="color:inherit;text-decoration:none;">{$schema_user.$ti.LABEL}
10  <span style="font-weight:bold;color:#429262;margin-left:7px;">&gt;&gt;</span></a>  <span style="font-weight:bold;color:#429262;margin-left:7px;">&gt;&gt;</span></a>
11  </td>  </td>
12    
13  {elseif $rsort eq $th}  {elseif $rsort and $rsort eq $ti}
14  <td class="orderbysort">  <td class="orderbysort">
15  &nbsp;<a href="{$self}?sort={$th}{$mquery}" style="color:inherit;text-decoration:none;">{$schema_user.$ti.LABEL}  &nbsp;<a href="index.php?sort={$ti}{$mquery}" style="color:inherit;text-decoration:none;">{$schema_user.$ti.LABEL}
16  <span style="font-weight:bold;color:#429262;margin-left:7px;">&lt;&lt;</span></a>  <span style="font-weight:bold;color:#429262;margin-left:7px;">&lt;&lt;</span></a>
17  </td>  </td>
18    
19  {else}  {else}
20  <td class="orderby">  <td class="orderby">
21  &nbsp;<a href="{$self}?sort={$th}{$mquery}" style="color:inherit;text-decoration:none;">{$schema_user.$ti.LABEL}  &nbsp;<a href="index.php?sort={$ti}{$mquery}" style="color:inherit;text-decoration:none;">{$schema_user.$ti.LABEL}
22  <span style="font-weight:bold;color:#999999;margin-left:7px;">&gt;&gt;</span></a>  <span style="font-weight:bold;color:#999999;margin-left:7px;">&gt;&gt;</span></a>
23  </td>  </td>
24    
# Line 32  Line 32 
32  <tR>  <tR>
33  <td class="clabel0" style="font-size:80%;padding-top:1px;">  <td class="clabel0" style="font-size:80%;padding-top:1px;">
34  <div style="margin:2px;">  <div style="margin:2px;">
35  <a href="{$self}?id={$udata.$baseattr|escape:"url"}{$mquery}" class="act">Afficher</a>  <a href="index.php?id={$udata.$baseattr|escape:"url"}{$mquery}" class="act">Afficher</a>
36  {if $admin}  {if $admin}
37  <a href="{$self}?action=del&amp;delid={$udata.$baseattr|escape:"url"}{$mquery}" class="act">Effacer</a>  <a href="index.php?action=del&amp;id={$udata.$baseattr|escape:"url"}{$mquery}" class="act">Effacer</a>
38  {/if}  {/if}
39  {if $ladmin}  {if $admin or $ladmin}
40  <a href="{$self}?view=form&amp;id={$udata.$baseattr|escape:"url"}{$mquery}" class="act">Modifier</a>  <a href="form.php?id={$udata.$baseattr|escape:"url"}{$mquery}" class="act">Modifier</a>
41  {/if}  {/if}
42  </div></td>  </div></td>
43  {cycle print=false}  {cycle print=false}
44    {if $udata.$baseattr eq $id}
45    <td class="msgok" style="border-top: solid 1px #999999;border-left: solid 1px #999999;" colspan="{$cols}" align="right">
46    {$msg}
47    </td>
48    {else}
49  {foreach key=th item=ti from=$list name=titles}  {foreach key=th item=ti from=$list name=titles}
50  <td class="clabel{cycle advance=false}" style="border-left: solid 1px #999999;">  <td class="clabel{cycle advance=false}" style="border-left: solid 1px #999999;">
51  <div style="margin:2px;">{$udata.$ti}&nbsp;</div></td>  <div style="margin:2px;">{$udata.$ti}&nbsp;</div></td>
52  {/foreach}  {/foreach}
53    {/if}
54  </tr>  </tr>
55  {/foreach}  {/foreach}
56  <tr><td colspan="{$colspan}" class="lastline">&nbsp;Connexion OK.</td></tr>  <tr><td colspan="{$colspan}" class="lastline">&nbsp;Connexion OK.</td></tr>

Legend:
Removed from v.1.3  
changed lines
  Added in v.1.4

savannah-hackers-public@gnu.org
ViewVC Help
Powered by ViewVC 1.1.26