Alexander Nicolaysen Sørnes : Add arrow indicating sort order

Chris Morgan cmorgan at winehq.org
Sun Dec 2 14:53:24 CST 2007


Module: appdb
Branch: master
Commit: ced9b16cae17a38dac5d82aff4466e7794dd7c84
URL:    http://source.winehq.org/git/appdb.git/?a=commit;h=ced9b16cae17a38dac5d82aff4466e7794dd7c84

Author: Alexander Nicolaysen Sørnes <alex at thehandofagony.com>
Date:   Sun Dec  2 21:10:47 2007 +0100

Add arrow indicating sort order

---

 include/table.php |    3 +++
 1 files changed, 3 insertions(+), 0 deletions(-)

diff --git a/include/table.php b/include/table.php
index a2d413b..1558824 100644
--- a/include/table.php
+++ b/include/table.php
@@ -349,6 +349,9 @@ class TableRowSortable extends TableRow
                         $bAscending = FALSE;
                     else
                         $sSortVar = '';
+
+                    $this->aTableCells[$i]->sCellContents .= $oSortInfo->bAscending ?
+                                                             ' &#9650;' : ' &#9660;';
                 }
 
                 $sAscending = $bAscending == TRUE ? 'true': 'false';




More information about the wine-cvs mailing list