mirror of
https://github.com/EGroupware/egroupware.git
synced 2024-12-26 16:48:49 +01:00
implemented link to view event as variable in notify-emails (Alarms, Notifications)
This commit is contained in:
parent
dfdfaad414
commit
eaecf4b608
@ -2595,6 +2595,15 @@
|
||||
}
|
||||
$details['participants'] = implode("\n",$details['participants']);
|
||||
|
||||
$details['link'] = $GLOBALS['phpgw_info']['server']['webserver_url'].'/index.php?menuaction=calendar.uicalendar.view&cal_id='.$event['id'];
|
||||
// if url is only a path, try guessing the rest ;-)
|
||||
if ($GLOBALS['phpgw_info']['server']['webserver_url'][0] == '/')
|
||||
{
|
||||
$details['link'] = ($GLOBALS['phpgw_info']['server']['enforce_ssl'] ? 'https://' : 'http://').
|
||||
($GLOBALS['phpgw_info']['server']['hostname'] ? $GLOBALS['phpgw_info']['server']['hostname'] : 'localhost').
|
||||
$details['link'];
|
||||
}
|
||||
|
||||
if(!is_object($GLOBALS['phpgw']->send))
|
||||
{
|
||||
$GLOBALS['phpgw']->send = CreateObject('phpgwapi.send');
|
||||
|
@ -83,7 +83,8 @@
|
||||
'participants'=> lang('Participants'),
|
||||
'owner' => lang('Owner'),
|
||||
'repetition' => lang('Repetitiondetails (or empty)'),
|
||||
'action' => lang('Action that caused the notify: Added, Canceled, Accepted, Rejected, ...')
|
||||
'action' => lang('Action that caused the notify: Added, Canceled, Accepted, Rejected, ...'),
|
||||
'link' => lang('Link to view the event'),
|
||||
);
|
||||
create_notify('Notification messages for added events ','notifyAdded',5,50,
|
||||
'This message is sent to every participant of events you own, who has requested notifcations about new events.<br>You can use certain variables which get substituted with the data of the event. The first line is the subject of the email.',
|
||||
|
@ -150,6 +150,8 @@ last calendar de letzte
|
||||
lastname of person to notify calendar de Nachname der zu benachrichtigenden Person
|
||||
length shown<br>(emtpy for full length) calendar de angezeigte Länge<br>(leer für volle Länge)
|
||||
length<br>(<= 255) calendar de Länge<br>(<= 255)
|
||||
link calendar de Verweis
|
||||
link to view the event calendar de Verweis (Weblink) um den Termin anzuzeigen
|
||||
list all categories. calendar de Alle Kategorien auflisten.
|
||||
load [iv]cal calendar de [iv]Cal Laden
|
||||
location calendar de Ort
|
||||
|
@ -143,6 +143,8 @@ last calendar en last
|
||||
lastname of person to notify calendar en Lastname of person to notify
|
||||
length shown<br>(emtpy for full length) calendar en Length shown<br>(emtpy for full length)
|
||||
length<br>(<= 255) calendar en Length<br>(<= 255)
|
||||
link calendar en Link
|
||||
link to view the event calendar en Link to view the event
|
||||
list all categories. calendar en List all categories.
|
||||
load [iv]cal calendar en Load [iv]Cal
|
||||
location calendar en Location
|
||||
|
Loading…
Reference in New Issue
Block a user