Changeset 417 for trunk/includes/global_function.php
- Timestamp:
- Apr 7, 2010, 7:31:53 AM (15 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/includes/global_function.php
r410 r417 101 101 function GetOrderTableHeader($Columns, $DefaultColumn, $DefaultOrder = 0) 102 102 { 103 global $OrderDirSQL, $OrderArrowImage, $Config ;103 global $OrderDirSQL, $OrderArrowImage, $Config, $System; 104 104 105 105 if(array_key_exists('OrderCol', $_GET)) $_SESSION['OrderCol'] = $_GET['OrderCol']; … … 132 132 $QueryItems['OrderCol'] = $Column['Name']; 133 133 $QueryItems['OrderDir'] = 1 - $_SESSION['OrderDir']; 134 if($Column['Name'] == $_SESSION['OrderCol']) $ArrowImage = '<img style="vertical-align: middle; border: 0px;" src="'.$ Config['Web']['BaseURL'].'/images/'.$OrderArrowImage[$_SESSION['OrderDir']].'" alt="order arrow">';134 if($Column['Name'] == $_SESSION['OrderCol']) $ArrowImage = '<img style="vertical-align: middle; border: 0px;" src="'.$System->Link('/images/'.$OrderArrowImage[$_SESSION['OrderDir']]).'" alt="order arrow">'; 135 135 else $ArrowImage = ''; 136 136 if($Column['Name'] == '') $Result .= '<th>'.$Column['Title'].'</th>';
Note:
See TracChangeset
for help on using the changeset viewer.