mirror of
https://github.com/EGroupware/egroupware.git
synced 2024-12-26 00:29:18 +01:00
Clean up the code for my patch merge in. Everything seems to on order now.
This commit is contained in:
parent
58d7eb8f15
commit
970073d7bd
@ -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',
|
||||
|
@ -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"> </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">
|
||||
|
Loading…
Reference in New Issue
Block a user