Maybe a little nicer look?

This commit is contained in:
Miles Lott 2001-04-28 04:18:24 +00:00
parent 85bb8b8007
commit 0b93b50f1e
4 changed files with 6 additions and 6 deletions

View File

@ -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",

View File

@ -1,4 +1,4 @@
<!-- BEGIN view_header.tpl -->
<p>&nbsp;<b>{lang_viewpref}</b><hr><p>
<table border="1" cellspacing="2" cellpadding="2" width="80%" align="center">
<table border="1" cellspacing="2" cellpadding="2" width="70%" align="center">
<!-- END view_header.tpl -->

View File

@ -1,5 +1,5 @@
<!-- BEGIN view_row.tpl -->
<tr>
<td><b>{display_col}</b>:</td><td>{ref_data}</td>
<td align="right" width="30%"><b>{display_col}</b>:</td><td width="70%">{ref_data}</td>
</tr>
<!-- END view_row.tpl -->

View File

@ -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 .= "</td></tr><tr><td>&nbsp;</td><td>" .$info;
$data .= "</td></tr><tr><td width=\"30%\">&nbsp;</td><td width=\"70%\">" .$info;
}
else
{ // First row, don't close td/tr