mirror of
https://github.com/EGroupware/egroupware.git
synced 2025-02-06 21:40:37 +01:00
* Calendar: configuration to automatic create links for participants from addressbook
This commit is contained in:
parent
de5e5ba478
commit
86d54d092c
@ -1168,6 +1168,19 @@ class calendar_boupdate extends calendar_bo
|
|||||||
}
|
}
|
||||||
if ($updateTS) $GLOBALS['egw']->contenthistory->updateTimeStamp('calendar', $cal_id, $event['id'] ? 'modify' : 'add', $this->now);
|
if ($updateTS) $GLOBALS['egw']->contenthistory->updateTimeStamp('calendar', $cal_id, $event['id'] ? 'modify' : 'add', $this->now);
|
||||||
|
|
||||||
|
// create links for new participants from addressbook, if configured
|
||||||
|
if ($cal_id && $GLOBALS['egw_info']['server']['link_contacts'])
|
||||||
|
{
|
||||||
|
foreach($event['participants'] as $uid => $status)
|
||||||
|
{
|
||||||
|
calendar_so::split_user($uid, $user_type, $user_id);
|
||||||
|
if ($user_type == 'c' && (!$old_event || !isset($old_event['participants'][$uid])))
|
||||||
|
{
|
||||||
|
egw_link::link('calendar', $cal_id, 'addressbook', $user_id);
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
// Update history
|
// Update history
|
||||||
$tracking = new calendar_tracking($this);
|
$tracking = new calendar_tracking($this);
|
||||||
if (empty($event['id']) && !empty($cal_id)) $event['id']=$cal_id;
|
if (empty($event['id']) && !empty($cal_id)) $event['id']=$cal_id;
|
||||||
|
@ -100,6 +100,7 @@ create a new series calendar de Neue Serie anlegen
|
|||||||
create an exception for the given date calendar de Erzeugt eine Ausnahme am angegebenen Datum
|
create an exception for the given date calendar de Erzeugt eine Ausnahme am angegebenen Datum
|
||||||
create an infolog from this event calendar de Erstelle ein InfoLog von diesem Termin
|
create an infolog from this event calendar de Erstelle ein InfoLog von diesem Termin
|
||||||
create exception calendar de Ausnahme erzeugen
|
create exception calendar de Ausnahme erzeugen
|
||||||
|
create links for participants from addressbook calendar de Erzeuge Verknüpfungen für Teilnehmer aus dem Adressbuch
|
||||||
create new links calendar de Neue Verknüpfung erstellen
|
create new links calendar de Neue Verknüpfung erstellen
|
||||||
created calendar de Angelegt
|
created calendar de Angelegt
|
||||||
creator calendar de Ersteller
|
creator calendar de Ersteller
|
||||||
|
@ -100,6 +100,7 @@ create a new series calendar en Create a new series
|
|||||||
create an exception for the given date calendar en Create an exception for the given date
|
create an exception for the given date calendar en Create an exception for the given date
|
||||||
create an infolog from this event calendar en Create an InfoLog from this event
|
create an infolog from this event calendar en Create an InfoLog from this event
|
||||||
create exception calendar en Create exception
|
create exception calendar en Create exception
|
||||||
|
create links for participants from addressbook calendar en Create links for participants from addressbook
|
||||||
create new links calendar en Create new links
|
create new links calendar en Create new links
|
||||||
created calendar en Created
|
created calendar en Created
|
||||||
creator calendar en Creator
|
creator calendar en Creator
|
||||||
|
@ -119,6 +119,15 @@
|
|||||||
<td> {lang_Calendar_recurrence_horizont_in_days_(default_1000)}:</td>
|
<td> {lang_Calendar_recurrence_horizont_in_days_(default_1000)}:</td>
|
||||||
<td><input size="5" name="newsettings[calendar_horizont]" value="{value_calendar_horizont}"></td>
|
<td><input size="5" name="newsettings[calendar_horizont]" value="{value_calendar_horizont}"></td>
|
||||||
</tr>
|
</tr>
|
||||||
|
<tr class="row_off">
|
||||||
|
<td> {lang_Create_links_for_participants_from_addressbook}:</td>
|
||||||
|
<td>
|
||||||
|
<select name="newsettings[link_contacts]">
|
||||||
|
<option value="">{lang_No}</option>
|
||||||
|
<option value="yes"{selected_link_contacts_yes}>{lang_Yes}</option>
|
||||||
|
</select>
|
||||||
|
</td>
|
||||||
|
</tr>
|
||||||
|
|
||||||
<!-- END body -->
|
<!-- END body -->
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user