Improve Sorttable
This commit is contained in:
parent
bfb4aa3fe6
commit
ff1aaca93c
3 changed files with 8 additions and 7 deletions
BIN
html/image/delete.gif
Normal file
BIN
html/image/delete.gif
Normal file
Binary file not shown.
|
After Width: | Height: | Size: 167 B |
|
|
@ -121,7 +121,8 @@ sorttable = {
|
|||
this.removeChild(document.getElementById('sorttable_sortfwdind'));
|
||||
sortrevind = document.createElement('span');
|
||||
sortrevind.id = "sorttable_sortrevind";
|
||||
sortrevind.innerHTML = stIsIE ? ' <font face="webdings">5</font>' : ' ▴';
|
||||
// sortrevind.innerHTML = stIsIE ? ' <font face="webdings">5</font>' : ' ▴';
|
||||
sortrevind.innerHTML = '<img src="image/down.gif">';
|
||||
this.appendChild(sortrevind);
|
||||
return;
|
||||
}
|
||||
|
|
@ -134,7 +135,8 @@ sorttable = {
|
|||
this.removeChild(document.getElementById('sorttable_sortrevind'));
|
||||
sortfwdind = document.createElement('span');
|
||||
sortfwdind.id = "sorttable_sortfwdind";
|
||||
sortfwdind.innerHTML = stIsIE ? ' <font face="webdings">6</font>' : ' ▾';
|
||||
// sortfwdind.innerHTML = stIsIE ? ' <font face="webdings">6</font>' : ' ▾';
|
||||
sortfwdind.innerHTML = '<img src="image/up.gif">';
|
||||
this.appendChild(sortfwdind);
|
||||
return;
|
||||
}
|
||||
|
|
@ -155,7 +157,8 @@ sorttable = {
|
|||
this.className += ' sorttable_sorted';
|
||||
sortfwdind = document.createElement('span');
|
||||
sortfwdind.id = "sorttable_sortfwdind";
|
||||
sortfwdind.innerHTML = stIsIE ? ' <font face="webdings">6</font>' : ' ▾';
|
||||
// sortfwdind.innerHTML = stIsIE ? ' <font face="webdings">6</font>' : ' ▾';
|
||||
sortfwdind.innerHTML = '<img src="image/up.gif">';
|
||||
this.appendChild(sortfwdind);
|
||||
|
||||
// build an array to sort. This is a Schwartzian transform thing,
|
||||
|
|
|
|||
|
|
@ -34,10 +34,8 @@
|
|||
<?php echo _("Quick Code")?>
|
||||
<?php echo HtmlInput::infobulle(17)?>
|
||||
</th>
|
||||
<th class="sorttable_sorted_reverse">
|
||||
<th >
|
||||
<?php echo _("Nom")?>
|
||||
<span id="sorttable_sortrevind"> ▴</span>
|
||||
|
||||
</th>
|
||||
<th>
|
||||
<?php echo _("Poste Comptable")?>
|
||||
|
|
@ -47,7 +45,7 @@
|
|||
<?php echo _("Catégorie")?>
|
||||
</th>
|
||||
<?php endif; ?>
|
||||
<th>
|
||||
<th class="sorttable_nosort">
|
||||
<?php echo _("Selection")?>
|
||||
</th>
|
||||
</tr>
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue