Changeset 289 for trunk/includes/global_function.php
- Timestamp:
- Dec 23, 2009, 9:03:16 AM (15 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/includes/global_function.php
r288 r289 94 94 function GetOrderTableHeader($Columns, $DefaultColumn) 95 95 { 96 global $OrderDirSQL, $OrderArrowImage ;96 global $OrderDirSQL, $OrderArrowImage, $Config; 97 97 98 98 if(array_key_exists('OrderCol', $_GET)) $_SESSION['OrderCol'] = $_GET['OrderCol']; … … 121 121 $QueryItems['OrderCol'] = $Column['Name']; 122 122 $QueryItems['OrderDir'] = 1 - $_SESSION['OrderDir']; 123 if($Column['Name'] == $_SESSION['OrderCol']) $ArrowImage = '<img style="vertical-align: middle; border: 0px;" src=" images/'.$OrderArrowImage[$_SESSION['OrderDir']].'" alt="order arrow">';123 if($Column['Name'] == $_SESSION['OrderCol']) $ArrowImage = '<img style="vertical-align: middle; border: 0px;" src="'.$Config['Web']['BaseURL'].'/images/'.$OrderArrowImage[$_SESSION['OrderDir']].'" alt="order arrow">'; 124 124 else $ArrowImage = ''; 125 125 if($Column['Name'] == '') $Result .= '<th>'.$Column['Title'].'</th>';
Note:
See TracChangeset
for help on using the changeset viewer.