Subversion Repositories wimsdev

Rev

Rev 12638 | Details | Compare with Previous | Last modification | View Log | RSS feed

Rev Author Line No. Line
12638 obado 1
!! Table Sort proc that handle js table sorting
2
!! call it with "!read tablesort.phtml"
3
 
4
!if sortable iswordof $table_class
5
  !if $tablesort_loaded notsametext yes
6
    <script src="scripts/js/tablesort.js"></script>
7
    <script src="scripts/js/tablesort.number.js"></script>
8
    !set tablesort_loaded=yes
9
  !endif
10
 
11
  !if $table_id notsametext $empty
12
    <script>new Tablesort(document.getElementById("$table_id"));</script>
13
  !endif
17551 bpr 14
!endif