Clean up the code for my patch merge in. Everything seems to on order now.

This commit is contained in:
jengo 2000-11-01 12:48:48 +00:00
parent 58d7eb8f15
commit 970073d7bd
2 changed files with 8 additions and 4 deletions

View File

@ -12,6 +12,9 @@
/* $Id$ */
// NOTE: This entire file needs to be rewritten. There is a great deal of code not being used
// anymore. (jengo)
$abc = array('company' => 'company', // AddressBook Columns and their descriptions
'firstname' => 'first name',
'lastname' => 'last name',

View File

@ -66,8 +66,9 @@
$i++;
$columns_html .= "</td></tr>";
}
$owner = $phpgw->db->f("ab_owner");
$access = $phpgw->db->f("ab_access");
$owner = $phpgw->db->f("ab_owner");
$ab_id = $phpgw->db->f("ab_id");
echo $columns_html . '<tr><td colspan="4">&nbsp;</td></tr>';
echo "<tr><td><b>" . lang("Record owner") . "</b></td><td>"
@ -75,7 +76,7 @@
. lang("Record Access") . "</b></td><td>";
if ($access != "private" && $access != "public") {
echo lang("Group access") . $phpgw->accounts->convert_string_to_names_access($access);
echo lang("Group access") . " - " . $phpgw->accounts->convert_string_to_names_access($access);
} else {
echo $access;
@ -87,7 +88,7 @@
<TR>
<TD align="left">
<?php
echo $phpgw->common->check_owner($owner,"edit.php","Edit");
echo $phpgw->common->check_owner($owner,"edit.php","Edit","ab_id=$ab_id");
?>
</TD>
<TD align="left">