diff --git a/apps/calendar/ajax/choosecalendar.php b/apps/calendar/ajax/choosecalendar.php
new file mode 100644
index 00000000000..03765dabe9d
--- /dev/null
+++ b/apps/calendar/ajax/choosecalendar.php
@@ -0,0 +1,27 @@
+ *
+ * *
+ * please write to the Free Software Foundation. *
+ * Address: *
+ * 59 Temple Place, Suite 330, Boston, *
+ * MA 02111-1307 USA *
+ *************************************************/
+require_once('../../../lib/base.php');
+$l10n = new OC_L10N('calendar');
+if(!OC_USER::isLoggedIn()) {
+ die("");
+}
+$output = new OC_TEMPLATE("calendar", "part.choosecalendar");
+$output -> printpage();
+?>
\ No newline at end of file
diff --git a/apps/calendar/caldav.php b/apps/calendar/caldav.php
index da56919a528..49fc9633365 100644
--- a/apps/calendar/caldav.php
+++ b/apps/calendar/caldav.php
@@ -1,6 +1,6 @@
printPage();
diff --git a/apps/calendar/js/calendar.js b/apps/calendar/js/calendar.js
index 067d5f53081..a52d0deeb12 100755
--- a/apps/calendar/js/calendar.js
+++ b/apps/calendar/js/calendar.js
@@ -873,4 +873,12 @@ function oc_cal_newevent(date, time){
}else{
alert(t("calendar", "You can't open more than one dialog per site!"));
}
+}
+function oc_cal_choosecalendar(){
+ if(oc_cal_opendialog == 0){
+ $("#dialog_holder").load(oc_webroot + "/apps/calendar/ajax/choosecalendar.php");
+ oc_cal_opendialog = 1;
+ }else{
+ alert(t("calendar", "You can't open more than one dialog per site!"));
+ }
}
\ No newline at end of file
diff --git a/apps/calendar/js/calendar_init.js b/apps/calendar/js/calendar_init.js
index e8f52313297..3b5d37161c7 100755
--- a/apps/calendar/js/calendar_init.js
+++ b/apps/calendar/js/calendar_init.js
@@ -50,6 +50,7 @@ var oc_cal_listview_numofevents = 0;
var oc_cal_listview_count = 0;
var oc_cal_opendialog = 0;
var oc_cal_datemonthyear = String(oc_cal_dayofmonth) + String(oc_cal_month) + String(oc_cal_year);
+var oc_cal_calendars = new Array();
//event vars
var oc_cal_events = new Array(2011);
oc_cal_events[2011] = new Array(0,1,2,3,4,5,6,7,8,9,10,11);
diff --git a/apps/calendar/l10n/de.php b/apps/calendar/l10n/de.php
index 82d9f86073a..325a323d57a 100644
--- a/apps/calendar/l10n/de.php
+++ b/apps/calendar/l10n/de.php
@@ -63,6 +63,16 @@
"Calendars" => "Kalender",
"Time" => "Uhrzeit",
"All day" => "Ganztägig",
+"Does not repeat" => "Keine Wiederholung",
+"Daily" => "Täglich",
+"Weekly" => "Wöchentlich",
+"Every Weekday" => "jeden Wochentag",
+"Bi-Weekly" => "jede 2. Woche",
+"Monthly" => "Monatlich",
+"Yearly" => "Jährlich",
+"Description of the Event" => "Beschreibung des Termins",
+"" => "",
+"" => "",
"" => ""
);
?>
\ No newline at end of file
diff --git a/apps/calendar/templates/calendar.php b/apps/calendar/templates/calendar.php
index 0cfbea29e55..b9b11f8a274 100755
--- a/apps/calendar/templates/calendar.php
+++ b/apps/calendar/templates/calendar.php
@@ -28,7 +28,7 @@