mirror of
https://github.com/EGroupware/egroupware.git
synced 2025-01-24 14:58:52 +01:00
Modify to normalize display of column names
This commit is contained in:
parent
5f1e2fe0e7
commit
469b60f4bf
@ -28,9 +28,10 @@
|
|||||||
while ($column = each($this->stock_contact_fields)) {
|
while ($column = each($this->stock_contact_fields)) {
|
||||||
if (isset($phpgw_info["user"]["preferences"]["addressbook"][$column[1]]) &&
|
if (isset($phpgw_info["user"]["preferences"]["addressbook"][$column[1]]) &&
|
||||||
$phpgw_info["user"]["preferences"]["addressbook"][$column[1]]) {
|
$phpgw_info["user"]["preferences"]["addressbook"][$column[1]]) {
|
||||||
|
$showcol = display_name($column[0]);
|
||||||
$cols .= " <td height=\"21\">\n";
|
$cols .= " <td height=\"21\">\n";
|
||||||
$cols .= ' <font size="-1" face="Arial, Helvetica, sans-serif">';
|
$cols .= ' <font size="-1" face="Arial, Helvetica, sans-serif">';
|
||||||
$cols .= $phpgw->nextmatchs->show_sort_order($sort, $column[0],$order,"index.php",lang($column[1]));
|
$cols .= $phpgw->nextmatchs->show_sort_order($sort, $column[0],$order,"index.php",lang($showcol));
|
||||||
$cols .= "</font>\n </td>";
|
$cols .= "</font>\n </td>";
|
||||||
$cols .= "\n";
|
$cols .= "\n";
|
||||||
|
|
||||||
@ -45,8 +46,10 @@
|
|||||||
// insert acl stuff here
|
// insert acl stuff here
|
||||||
|
|
||||||
$offset = $phpgw_info["user"]["preferences"]["common"]["maxmatchs"];
|
$offset = $phpgw_info["user"]["preferences"]["common"]["maxmatchs"];
|
||||||
|
//$extra = 1; // filtering to be done on extra fields
|
||||||
|
//"access='$filter'"
|
||||||
|
|
||||||
$entries = $this->read($start,$offset,$columns_to_display,$query,$sort,$order);
|
$entries = $this->read($start,$offset,$columns_to_display,$query,$extra,$sort,$order);
|
||||||
|
|
||||||
$search_filter = $phpgw->nextmatchs->show_tpl("index.php",
|
$search_filter = $phpgw->nextmatchs->show_tpl("index.php",
|
||||||
$start, $this->total_records,
|
$start, $this->total_records,
|
||||||
|
Loading…
Reference in New Issue
Block a user