diff --git a/addressbook/inc/functions.inc.php b/addressbook/inc/functions.inc.php index e1d0a28f4e..2507f4e317 100755 --- a/addressbook/inc/functions.inc.php +++ b/addressbook/inc/functions.inc.php @@ -165,7 +165,7 @@ "tel_car" => "car phone", "tel_video" => "video phone", - "tel_prefer" => "prefer", + "tel_prefer" => "preferred phone", "email" => "business email", "email_type" => "business email type", "email_home" => "home email", diff --git a/addressbook/templates/default/view_header.tpl b/addressbook/templates/default/view_header.tpl index 51f4e72cdb..a35b38180b 100644 --- a/addressbook/templates/default/view_header.tpl +++ b/addressbook/templates/default/view_header.tpl @@ -1,4 +1,4 @@

 {lang_viewpref}


- +
diff --git a/addressbook/templates/default/view_row.tpl b/addressbook/templates/default/view_row.tpl index 45a56cf95c..b909044447 100644 --- a/addressbook/templates/default/view_row.tpl +++ b/addressbook/templates/default/view_row.tpl @@ -1,5 +1,5 @@ - + diff --git a/addressbook/view.php b/addressbook/view.php index 5664a16d9d..f628ee3783 100755 --- a/addressbook/view.php +++ b/addressbook/view.php @@ -107,8 +107,8 @@ $t->set_var('lang_viewpref',lang("Address book - view") . $noprefs); - reset($columns_to_display); - while (list($column,$null) = each($qfields)) { // each entry column + @reset($qfields); + while (list($column,$null) = @each($qfields)) { // each entry column if(display_name($colname[$column])) { $t->set_var('display_col',display_name($colname[$column])); @@ -133,7 +133,7 @@ { if ($key) { - $data .= "
{display_col}:{ref_data}{display_col}:{ref_data}
 " .$info; + $data .= "
 " .$info; } else { // First row, don't close td/tr