Browse Source

日历多语言

visuddhinanda 5 years ago
parent
commit
a205f12d43
2 changed files with 3 additions and 2 deletions
  1. 1 1
      app/fullcalendar/examples/time-zones.php
  2. 2 1
      app/uhome/foot_step.php

+ 1 - 1
app/fullcalendar/examples/time-zones.php

@@ -35,7 +35,7 @@
 					},
 					//initialDate: '2020-09-12',
 					navLinks: true, // can click day/week names to navigate views
-					editable: true,
+					editable: false,
 					selectable: true,
 					dayMaxEvents: true, // allow "more" link when too many events
 					events: {

+ 2 - 1
app/uhome/foot_step.php

@@ -39,7 +39,8 @@ include "../pcdl/html_head.php";
         center: 'title',
         right: 'dayGridMonth,timeGridWeek,timeGridDay,listWeek'
       },
-      editable: true,
+      locale: getCookie("language"),
+      editable: false,
       navLinks: true, // can click day/week names to navigate views
       dayMaxEvents: true, // allow "more" link when too many events
       events: {