mirror of
https://github.com/EGroupware/egroupware.git
synced 2024-12-27 00:58:55 +01:00
Add created by back to edit screen, move this on edit form
This commit is contained in:
parent
0b93b50f1e
commit
bddc2b415b
@ -50,7 +50,6 @@
|
||||
}
|
||||
|
||||
// Read in user custom fields, if any
|
||||
$phpgw->preferences->read_repository();
|
||||
$customfields = array();
|
||||
while (list($col,$descr) = @each($phpgw_info["user"]["preferences"]["addressbook"])) {
|
||||
if ( substr($col,0,6) == 'extra_' ) {
|
||||
@ -70,7 +69,7 @@
|
||||
|
||||
$qfields = $this->stock_contact_fields + $extrafields + $customfields;
|
||||
$fields = addressbook_read_entry($ab_id,$qfields);
|
||||
addressbook_form("","edit.php","Edit",$fields[0],$customfields);
|
||||
addressbook_form("edit","edit.php","Edit",$fields[0],$customfields);
|
||||
} else {
|
||||
if ($url == "http://") {
|
||||
$url = "";
|
||||
|
@ -484,14 +484,17 @@
|
||||
|
||||
$birthday = $phpgw->common->dateformatorder($bday_year,$bday_month,$bday_day)
|
||||
. '<font face="'.$theme["font"].'" size="-2">(e.g. 1969)</font>';
|
||||
|
||||
if ($format == "view")
|
||||
$create .= '<tr><td><font size="-1">'.lang("Created by").':</font></td>'
|
||||
. '<td colspan="3"><font size="-1">'
|
||||
. grab_owner_name($fields["owner"]);
|
||||
if ($format == 'edit')
|
||||
{
|
||||
$create .= '<tr><td><font size="-1">' . lang("Created by") . ':</font></td>'
|
||||
. '<td colspan="3"><font size="-1">'
|
||||
. $phpgw->common->grab_owner_name($fields["owner"]);
|
||||
}
|
||||
else
|
||||
$create = '';
|
||||
|
||||
{
|
||||
$create .= '';
|
||||
}
|
||||
|
||||
$t->set_var("lang_home",lang("Home"));
|
||||
$t->set_var("lang_business",lang("Business"));
|
||||
$t->set_var("lang_personal",lang("Personal"));
|
||||
|
@ -298,14 +298,6 @@
|
||||
<td></td>
|
||||
<td colspan="4"><font size="-1"></font></td>
|
||||
</tr>
|
||||
<tr>
|
||||
<!-- BEGIN creator -->
|
||||
{create}
|
||||
<!-- END creator -->
|
||||
<td colspan="3">
|
||||
<font size="-1">
|
||||
</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td><font size="-1">{lang_notes}:</font></td>
|
||||
<td colspan="3">
|
||||
@ -331,5 +323,13 @@
|
||||
<td></td>
|
||||
</tr>
|
||||
{custom}
|
||||
<tr>
|
||||
<!-- BEGIN creator -->
|
||||
{create}
|
||||
<!-- END creator -->
|
||||
<td colspan="3">
|
||||
<font size="-1">
|
||||
</td>
|
||||
</tr>
|
||||
</table>
|
||||
<!-- END addressbook entry form -->
|
||||
|
@ -298,14 +298,6 @@
|
||||
<td></td>
|
||||
<td colspan="4"><font size="-1"></font></td>
|
||||
</tr>
|
||||
<tr>
|
||||
<!-- BEGIN creator -->
|
||||
{create}
|
||||
<!-- END creator -->
|
||||
<td colspan="3">
|
||||
<font size="-1">
|
||||
</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td><font size="-1">{lang_notes}:</font></td>
|
||||
<td colspan="3">
|
||||
@ -331,5 +323,13 @@
|
||||
<td></td>
|
||||
</tr>
|
||||
{custom}
|
||||
<tr>
|
||||
<!-- BEGIN creator -->
|
||||
{create}
|
||||
<!-- END creator -->
|
||||
<td colspan="3">
|
||||
<font size="-1">
|
||||
</td>
|
||||
</tr>
|
||||
</table>
|
||||
<!-- END addressbook entry form -->
|
||||
|
Loading…
Reference in New Issue
Block a user