From fc70c7094a32be06329e1674339a4d6d7329db65 Mon Sep 17 00:00:00 2001 From: Georg Ehrke Date: Tue, 31 Jan 2012 11:57:09 +0100 Subject: [PATCH] add tabs for repeating and attendees in the event form --- apps/calendar/js/calendar.js | 1 + apps/calendar/templates/part.eventform.php | 50 +++++++++++++--------- 2 files changed, 31 insertions(+), 20 deletions(-) diff --git a/apps/calendar/js/calendar.js b/apps/calendar/js/calendar.js index afd1b692dd4..6b24fbc2f9c 100644 --- a/apps/calendar/js/calendar.js +++ b/apps/calendar/js/calendar.js @@ -52,6 +52,7 @@ Calendar={ $('#advanced_month').change(function(){ Calendar.UI.repeat('month'); }); + $( "#event" ).tabs({ selected: 0}); $('#event').dialog({ width : 500, close : function(event, ui) { diff --git a/apps/calendar/templates/part.eventform.php b/apps/calendar/templates/part.eventform.php index 1f2073f4bc7..fc81ebc1758 100644 --- a/apps/calendar/templates/part.eventform.php +++ b/apps/calendar/templates/part.eventform.php @@ -1,3 +1,9 @@ + +
@@ -56,7 +62,27 @@
t("Title");?>:
" onclick="Calendar.UI.showadvancedoptions();" id="advanced_options_button"> +
+
+
t("Repeat");?>: @@ -200,23 +226,7 @@
+ t('Summary'); ?>:
-
- - - - - - -
t("Location");?>: - " value="" maxlength="100" name="location" /> -
- - - - - -
t("Description");?>: - -
- + +
\ No newline at end of file