|
getInstance('Horde_Core_Factory_TextFilter')->filter($location, 'text2html', array('parselevel' => Horde_Text_Filter_Text2html::MICRO, 'class' => 'text')) ?> |
|
getInstance('Horde_Core_Factory_TextFilter')->filter($eventurl, 'linkurls') ?> |
|
|
|
|
|
event->start->strftime($dateFormat) . ' '; echo $this->event->isAllDay() ? _("All day event") : $this->event->start->format($timeFormat) ?> |
event->isAllDay()): ?>
|
event->end->strftime($dateFormat) . ' ' . $this->event->end->format($timeFormat) ?> |
|
event->initialized && $this->event->alarm > 0):
if ($this->event->alarm % 10080 == 0) {
$alarm_value = $this->event->alarm / 10080;
$alarm_unit = _("Week(s)");
} elseif ($this->event->alarm % 1440 == 0) {
$alarm_value = $this->event->alarm / 1440;
$alarm_unit = _("Day(s)");
} elseif ($this->event->alarm % 60 == 0) {
$alarm_value = $this->event->alarm / 60;
$alarm_unit = _("Hour(s)");
} else {
$alarm_value = $this->event->alarm;
$alarm_unit = _("Minute(s)");
}
?>
|
event->created): ?>
|
event->created->strftime($dateFormat) . ' ' . $this->event->created->format($timeFormat) . ' ' . htmlspecialchars($this->event->createdby) ?> |
event->modified): ?>
|
event->modified->strftime($dateFormat) . ' ' . $this->event->modified->format($timeFormat) . ' ' . htmlspecialchars($this->event->modifiedby) ?> |
event->recurs() || !empty($this->event->baseid)): ?>
|
|
event->baseid):?>
event->exceptionoriginaldate->strftime($GLOBALS['prefs']->getValue('date_format')), $this->event->exceptionoriginaldate->strftime(($GLOBALS['prefs']->getValue('twentyFour') ? '%H:%M' : '%I:%M %p')));?>
event->recurrence->hasRecurType(Horde_Date_Recurrence::RECUR_DAILY)): ?>
event->recurrence->getRecurInterval() . ' ' . _("day(s)") ?>
event->recurrence->hasRecurType(Horde_Date_Recurrence::RECUR_WEEKLY)):
$weekdays = array();
if ($this->event->recurrence->recurOnDay(Horde_Date::MASK_MONDAY)) $weekdays[] = _("Monday");
if ($this->event->recurrence->recurOnDay(Horde_Date::MASK_TUESDAY)) $weekdays[] = _("Tuesday");
if ($this->event->recurrence->recurOnDay(Horde_Date::MASK_WEDNESDAY)) $weekdays[] = _("Wednesday");
if ($this->event->recurrence->recurOnDay(Horde_Date::MASK_THURSDAY)) $weekdays[] = _("Thursday");
if ($this->event->recurrence->recurOnDay(Horde_Date::MASK_FRIDAY)) $weekdays[] = _("Friday");
if ($this->event->recurrence->recurOnDay(Horde_Date::MASK_SATURDAY)) $weekdays[] = _("Saturday");
if ($this->event->recurrence->recurOnDay(Horde_Date::MASK_SUNDAY)) $weekdays[] = _("Sunday");
echo _("Weekly: Recurs every") . ' ' . $this->event->recurrence->getRecurInterval() . ' ' . _("week(s) on:") . ' ' . implode(', ', $weekdays) ?>
event->recurrence->hasRecurType(Horde_Date_Recurrence::RECUR_MONTHLY_DATE)): ?>
event->recurrence->getRecurInterval() . ' ' . _("month(s)") . ' ' . _("on the same date") ?>
event->recurrence->hasRecurType(Horde_Date_Recurrence::RECUR_MONTHLY_WEEKDAY)): ?>
event->recurrence->getRecurInterval() . ' ' . _("month(s)") . ' ' . _("on the same weekday") ?>
event->recurrence->hasRecurType(Horde_Date_Recurrence::RECUR_YEARLY_DATE)): ?>
event->recurrence->getRecurInterval() . ' ' . _("year(s) on the same date") ?>
event->recurrence->hasRecurType(Horde_Date_Recurrence::RECUR_YEARLY_DAY)): ?>
event->recurrence->getRecurInterval() . ' ' . _("year(s) on the same day of the year") ?>
event->recurrence->hasRecurType(Horde_Date_Recurrence::RECUR_YEARLY_WEEKDAY)): ?>
event->recurrence->getRecurInterval() . ' ' . _("year(s) on the same weekday and month of the year") ?>
|
event->recurs()): ?>
|
event->recurrence->hasRecurEnd() ? $this->event->recurrence->recurEnd->strftime($dateFormat) . ($this->event->recurrence->recurEnd->hour == 23 && $this->event->recurrence->recurEnd->min == 59 ? '' : ' ' . $this->event->recurrence->recurEnd->format($timeFormat)) : ($this->event->recurrence->getRecurCount() ? sprintf(_("%d times"), $this->event->recurrence->getRecurCount()) : _("No end date")) ?> |
event->recurrence->getExceptions()): ?>
|
event->exceptionsList(); ?> |
|
|
|
getInstance('Horde_Core_Factory_TextFilter')->filter($description, 'text2html', array('parselevel' => Horde_Text_Filter_Text2html::MICRO, 'class' => 'text')) ?> |