From 61aa00899d33a3b9706cf321555405fedf044775 Mon Sep 17 00:00:00 2001 From: Georg Ehrke Date: Tue, 27 Sep 2011 21:56:16 +0200 Subject: show only most essential stuff in add and edit event form --- apps/calendar/js/calendar.js | 4 ++++ apps/calendar/templates/part.eventform.php | 24 ++++++++++++++++-------- 2 files changed, 20 insertions(+), 8 deletions(-) (limited to 'apps/calendar') diff --git a/apps/calendar/js/calendar.js b/apps/calendar/js/calendar.js index f8d1c8e650e..1b345452912 100644 --- a/apps/calendar/js/calendar.js +++ b/apps/calendar/js/calendar.js @@ -352,6 +352,10 @@ Calendar={ } },"json"); }, + showadvancedoptions:function(){ + $("#advanced_options").css("display", "block"); + $("#advanced_options_button").css("display", "none"); + }, createEventPopup:function(e){ var popup = $(this).data('popup'); if (!popup){ diff --git a/apps/calendar/templates/part.eventform.php b/apps/calendar/templates/part.eventform.php index 5bb072cc23b..4c34b3e1fcc 100644 --- a/apps/calendar/templates/part.eventform.php +++ b/apps/calendar/templates/part.eventform.php @@ -5,12 +5,6 @@ " value="" maxlength="100" name="title"/> - - t("Location");?>: - - " value="" maxlength="100" name="location" /> - - @@ -60,7 +54,12 @@    -
- + + + +
t("Description");?>:t("Location");?>: + " value="" maxlength="100" name="location" /> +
+ + +
t("Description");?>:
+ -- cgit v1.2.3