From: Bart Visscher Date: Wed, 14 Sep 2011 20:26:01 +0000 (+0200) Subject: Move event form field to part.eventform template X-Git-Tag: v3.0~203 X-Git-Url: https://source.dussan.org/?a=commitdiff_plain;h=cb9a67906d53110f8c98ef6a8743fc2ecc8ba13f;p=nextcloud-server.git Move event form field to part.eventform template --- diff --git a/apps/calendar/templates/part.editevent.php b/apps/calendar/templates/part.editevent.php index 8a85652442c..e722515c9d0 100644 --- a/apps/calendar/templates/part.editevent.php +++ b/apps/calendar/templates/part.editevent.php @@ -1,101 +1,7 @@ -
"> - - - - - - - - - -
t("Title");?>: - -
t("Location");?>: - -
- - - - - - - -
t("Category");?>: -     t("Calendar");?>: -
-
- - - - - - - - - - - - - - - - - - - -
- -
t("From");?>: - " id="from"> -    - " id="fromtime"> -
t("To");?>: - " id="to"> -    - " id="totime"> -
t("Repeat");?>: -
-
- - - - - -
t("Attendees");?>:
-
- - - - - -
t("Description");?>:
+
"> +inc("part.eventform"); ?> - "> + ">
";}?> + + + + + t("From");?>: + + " id="from"> +    + " id="fromtime"> + + + + + t("To");?>: + + " id="to"> +    + " id="totime"> + + + +
+ +
+ + + + +
t("Description");?>:
diff --git a/apps/calendar/templates/part.newevent.php b/apps/calendar/templates/part.newevent.php index 6260f2337ef..a1c48d2c22b 100644 --- a/apps/calendar/templates/part.newevent.php +++ b/apps/calendar/templates/part.newevent.php @@ -1,135 +1,9 @@ - -
"> -
- - - - - - - - - -
t("Title");?>: - " maxlength="100" id="newevent_title"/> -
t("Location");?>: - " maxlength="100" id="newevent_location" /> -
- - - - - - - -
t("Category");?>: -     t("Calendar");?>: -
-
- - - - - - - - - - - - - - - - -
- id="newcalendar_allday_checkbox"> - document.getElementById(\"fromtime\").disabled = true;document.getElementById(\"totime\").disabled = true;document.getElementById(\"fromtime\").style.color = \"#A9A9A9\";document.getElementById(\"totime\").style.color = \"#A9A9A9\";";}?> -
t("From");?>: - " id="from"> -    - " id="fromtime"> -
t("To");?>: - " id="to"> -    - " id="totime"> -
-
- -
- - - - -
t("Description");?>:
+
"> + +inc("part.eventform"); ?>
- " onclick="validate_newevent_form();"> + " onclick="validate_newevent_form();">
@@ -213,4 +87,4 @@ } },"json"); } - \ No newline at end of file +