fleches plus petites pour #484
authorx2001corpet <x2001corpet@839d8a87-29fc-0310-9880-83ba4fa771e5>
Sun, 22 Oct 2006 14:31:50 +0000 (14:31 +0000)
committerx2001corpet <x2001corpet@839d8a87-29fc-0310-9880-83ba4fa771e5>
Sun, 22 Oct 2006 14:31:50 +0000 (14:31 +0000)
git-svn-id: svn+ssh://murphy/home/svn/platal/trunk@1002 839d8a87-29fc-0310-9880-83ba4fa771e5

htdocs/images/icons/bullet_arrow_down.gif [new file with mode: 0644]
htdocs/images/icons/bullet_arrow_up.gif [new file with mode: 0644]
templates/table-editor.tpl

diff --git a/htdocs/images/icons/bullet_arrow_down.gif b/htdocs/images/icons/bullet_arrow_down.gif
new file mode 100644 (file)
index 0000000..daa2eec
Binary files /dev/null and b/htdocs/images/icons/bullet_arrow_down.gif differ
diff --git a/htdocs/images/icons/bullet_arrow_up.gif b/htdocs/images/icons/bullet_arrow_up.gif
new file mode 100644 (file)
index 0000000..834ba5c
Binary files /dev/null and b/htdocs/images/icons/bullet_arrow_up.gif differ
index 0d49beb..c4b376d 100644 (file)
@@ -34,7 +34,7 @@
 <table class="bicol">
 <tr>
   {foreach from=$t->vars item=myval key=myvar}{if $myval.display}
-    <th style="cursor:pointer" onclick="redirect('{$t->pl}/sort{if $t->sortfield eq $myvar && !$t->sortdesc}desc{/if}/{$myvar}')">{$myval.desc}{if $t->sortfield eq $myvar}<img src="images/{if $t->sortdesc}up{else}dn{/if}.png" alt=""/>{/if}</th>
+    <th style="cursor:pointer" onclick="redirect('{$t->pl}/sort{if $t->sortfield eq $myvar && !$t->sortdesc}desc{/if}/{$myvar}')">{$myval.desc}{if $t->sortfield eq $myvar}{if $t->sortdesc}{icon name="bullet_arrow_down"}{else}{icon name="bullet_arrow_up"}{/if}{/if}</th>
   {/if}{/foreach}
   {if !$hideactions}
   <th>action</th>