mirror of
https://github.com/EGroupware/egroupware.git
synced 2024-12-22 23:00:56 +01:00
Add placeholders for parent
This commit is contained in:
parent
3f8ac20b7a
commit
228d3e9614
@ -144,6 +144,12 @@ class infolog_merge extends bo_merge
|
||||
if(!$value) $value = '';
|
||||
$info['$$'.($prefix ? $prefix.'/':'').$key.'$$'] = $value;
|
||||
}
|
||||
|
||||
// Add parent
|
||||
if($record->info_id_parent)
|
||||
{
|
||||
$info += $this->infolog_replacements($record->info_id_parent, 'info_id_parent', $content);
|
||||
}
|
||||
return $info;
|
||||
}
|
||||
|
||||
@ -191,6 +197,9 @@ class infolog_merge extends bo_merge
|
||||
echo '<tr><td /><td colspan="3">* '.lang('Addressbook placeholders available'). '</td></tr>';
|
||||
}
|
||||
|
||||
echo '<tr><td colspan="4"><h3>'.lang('Parent').":</h3></td></tr>";
|
||||
echo '<tr><td>{{info_id_parent/info_subject}}</td><td colspan="3">'.lang('All other %1 fields are valid',lang('infolog'))."</td></tr>\n";
|
||||
|
||||
echo '<tr><td colspan="4"><h3>'.lang('Contact fields').':</h3></td></tr>';
|
||||
$n = 0;
|
||||
foreach($this->contacts->contact_fields as $name => $label)
|
||||
|
Loading…
Reference in New Issue
Block a user