mirror of
https://github.com/fusionpbx/fusionpbx.git
synced 2026-01-06 11:43:50 +00:00
Modify th_order_by function to allow the passing of CSS to the generated <th> tag.
This commit is contained in:
@@ -367,9 +367,9 @@
|
||||
|
||||
if (!function_exists('th_order_by')) {
|
||||
//html table header order by
|
||||
function th_order_by($field_name, $columntitle, $order_by, $order, $app_uuid = '') {
|
||||
function th_order_by($field_name, $columntitle, $order_by, $order, $app_uuid = '', $css = '') {
|
||||
if (strlen($app_uuid) > 0) { $app_uuid = "&app_uuid=".$app_uuid; } // accomodate need to pass app_uuid where necessary (inbound/outbound routes lists)
|
||||
$html = "<th nowrap>";
|
||||
$html = "<th ".$css." nowrap>";
|
||||
if (strlen($order_by)==0) {
|
||||
$html .= "<a href='?order_by=$field_name&order=desc".$app_uuid."' title='ascending'>$columntitle</a>";
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user