X-Git-Url: https://delta.frontaccounting.com/gitweb/?a=blobdiff_plain;f=includes%2Fui%2Fdb_pager_view.inc;h=bb6574bef14ffbe24d0074bb5356435aa3893890;hb=17b390efcf904072b02ec866b2a427490471a260;hp=6c0a8d7fccc34afd2e7e6a72f3d27a3625940396;hpb=0c1ab57c09d87eed2bd248892dbfe3f256767a82;p=fa-stable.git diff --git a/includes/ui/db_pager_view.inc b/includes/ui/db_pager_view.inc index 6c0a8d7f..bb6574be 100644 --- a/includes/ui/db_pager_view.inc +++ b/includes/ui/db_pager_view.inc @@ -40,7 +40,7 @@ function navi_button_cell($name, $value, $enabled=true, $align='left') { // Sql paged table view. Call this function inside form. // function display_db_pager(&$pager) { - global $use_popup_windows, $path_to_root; + global $path_to_root; $pager->select_records(); @@ -61,7 +61,7 @@ function display_db_pager(&$pager) { } } /* show a table of records returned by the sql */ - start_table(TABLESTYLE, "width=$pager->width"); + start_table(TABLESTYLE, "width='$pager->width'"); table_header($headers); if($pager->header_fun) { // if set header handler @@ -103,7 +103,7 @@ function display_db_pager(&$pager) { } switch($coltype) { // format column case 'time': - label_cell($cell, "width=40"); break; + label_cell($cell, "width='40'"); break; case 'date': label_cell(sql2date($cell), "align='center' nowrap"); break; case 'dstamp': // time stamp displayed as date @@ -203,4 +203,3 @@ function display_db_pager(&$pager) { } -?> \ No newline at end of file