2010-10-11 22:05:58 +02:00
|
|
|
( /* the toolbar groups -*-java-*- */
|
|
|
|
( { link = "#";
|
2006-07-11 19:43:58 +02:00
|
|
|
isSafe = NO;
|
|
|
|
label = "New Event";
|
2010-02-11 03:36:43 +01:00
|
|
|
onclick = "return newEvent('event');";
|
2007-09-11 17:41:39 +02:00
|
|
|
image = "new-event.png";
|
|
|
|
tooltip = "Create a new event"; },
|
2010-10-11 22:05:58 +02:00
|
|
|
{ link = "#";
|
2006-07-06 21:50:26 +02:00
|
|
|
label="New Task";
|
2006-10-11 20:22:30 +02:00
|
|
|
image = "new-task.png";
|
2010-02-11 03:36:43 +01:00
|
|
|
onclick = "return newEvent('task');";
|
2007-09-11 17:41:39 +02:00
|
|
|
image = "new-task.png";
|
2009-07-16 15:52:53 +02:00
|
|
|
tooltip = "Create a new task"; } ),
|
2010-10-11 22:05:58 +02:00
|
|
|
( { link = "#";
|
2006-07-06 21:50:26 +02:00
|
|
|
label="Go to Today";
|
2006-08-22 00:22:19 +02:00
|
|
|
onclick = "return gotoToday();";
|
2007-09-11 17:41:39 +02:00
|
|
|
image = "goto-today.png";
|
|
|
|
tooltip = "Go to today"; } ),
|
2010-10-11 22:05:58 +02:00
|
|
|
( { link = "#";
|
2006-07-06 21:50:26 +02:00
|
|
|
label="Day View";
|
2006-08-22 00:22:19 +02:00
|
|
|
onclick = "return onDayOverview();";
|
2007-09-11 17:41:39 +02:00
|
|
|
image = "day-view.png";
|
|
|
|
tooltip = "Switch to day view"; },
|
2010-10-11 22:05:58 +02:00
|
|
|
/* disabled until we fix the view */
|
|
|
|
/* { link = "#";
|
|
|
|
label="Multicolumn Day View";
|
|
|
|
onclick = "return onMulticolumnDayOverview();";
|
|
|
|
image = "day-view-multicolumn.png";
|
|
|
|
tooltip = ""; }, */
|
|
|
|
{ link = "#";
|
2006-07-06 21:50:26 +02:00
|
|
|
label="Week View";
|
2006-08-22 00:22:19 +02:00
|
|
|
onclick = "return onWeekOverview();";
|
2007-09-11 17:41:39 +02:00
|
|
|
image = "week-view.png";
|
|
|
|
tooltip = "Switch to week view"; },
|
2010-10-11 22:05:58 +02:00
|
|
|
{ link = "#";
|
2006-07-06 21:50:26 +02:00
|
|
|
label="Month View";
|
2006-08-22 00:22:19 +02:00
|
|
|
onclick = "return onMonthOverview();";
|
2007-09-11 17:41:39 +02:00
|
|
|
image = "month-view.png";
|
2009-07-15 22:36:06 +02:00
|
|
|
tooltip = "Switch to month view"; } ),
|
2014-04-03 22:47:02 +02:00
|
|
|
( { link = "#";
|
2014-04-14 16:29:23 +02:00
|
|
|
onclick = "return printView();";
|
2014-04-03 22:47:02 +02:00
|
|
|
cssClass = "tbicon_print single-window-not-conditional";
|
|
|
|
image = "tb-mail-print-flat-24x24.png";
|
|
|
|
label = "Print View";
|
|
|
|
tooltip = "Print the current calendar view"; } ),
|
2010-10-11 22:05:58 +02:00
|
|
|
( { link = "#";
|
2009-07-16 15:52:53 +02:00
|
|
|
label="Delete";
|
|
|
|
onclick = "return deleteEvent(this);";
|
|
|
|
image = "tb-mail-delete-flat-24x24.png";
|
|
|
|
tooltip = "Delete this event or task"; } ),
|
2009-07-15 22:36:06 +02:00
|
|
|
( { link = "#";
|
|
|
|
label = "Reload";
|
|
|
|
onclick = "return onCalendarReload();";
|
|
|
|
image = "calendar-reload.png";
|
|
|
|
tooltip = "Reload all calendars"; } )
|
2006-07-06 21:50:26 +02:00
|
|
|
)
|