diff --git a/calendar_events.php b/calendar_events.php index dd8e2ed8..07e059dd 100644 --- a/calendar_events.php +++ b/calendar_events.php @@ -45,7 +45,6 @@ while($row = mysqli_fetch_array($sql)){ var calendarEl = document.getElementById('calendar'); var calendar = new FullCalendar.Calendar(calendarEl, { - plugins: [ 'bootstrap', 'dayGrid', 'timeGrid', 'list' ], themeSystem: 'bootstrap', defaultView: 'dayGridMonth', customButtons: { @@ -62,10 +61,10 @@ while($row = mysqli_fetch_array($sql)){ } } }, - header: { + headerToolbar: { left: 'prev,next today', center: 'title', - right: 'dayGridMonth,timeGridWeek,timeGridDay,listMonth addEvent addCalendar ' + right: 'dayGridMonth,timeGridWeek,timeGridDay,listMonth addEvent addCalendar' }, events: [ \ No newline at end of file + diff --git a/client_events.php b/client_events.php index 9b83e8c9..10927085 100644 --- a/client_events.php +++ b/client_events.php @@ -37,7 +37,6 @@ while($row = mysqli_fetch_array($sql)){ var calendarEl = document.getElementById('calendar'); var calendar = new FullCalendar.Calendar(calendarEl, { - plugins: [ 'bootstrap', 'dayGrid', 'timeGrid', 'list' ], themeSystem: 'bootstrap', defaultView: 'dayGridMonth', customButtons: { @@ -54,10 +53,10 @@ while($row = mysqli_fetch_array($sql)){ } } }, - header: { + headerToolbar: { left: 'prev,next today', center: 'title', - right: 'dayGridMonth,timeGridWeek,timeGridDay,listMonth addEvent addCalendar ' + right: 'dayGridMonth,timeGridWeek,timeGridDay,listMonth addEvent addCalendar' }, events: [ \ No newline at end of file + diff --git a/test_starter_new.php b/test_starter_new.php index 4f47fb83..07e059dd 100644 --- a/test_starter_new.php +++ b/test_starter_new.php @@ -1,94 +1,93 @@ + + - -
- -
-
-
-
-

Starter Page

-
-
- -
-
-
-
- +
+ + -
-
-
-
-
-
-
Card title
- -

- Some quick example text to build on the card title and make up the bulk of the card's - content. -

- - Card link - Another link -
-
- -
-
-
Card title
- -

- Some quick example text to build on the card title and make up the bulk of the card's - content. -

- Card link - Another link -
-
-
- -
-
-
-
Featured
-
-
-
Special title treatment
- -

With supporting text below as a natural lead-in to additional content.

- Go somewhere -
-
- -
-
-
Featured
-
-
-
Special title treatment
- -

With supporting text below as a natural lead-in to additional content.

- Go somewhere -
-
-
- -
- -
-
- -
- +?> \ No newline at end of file +//loop through IDs and create a modal for each +$sql = mysqli_query($mysqli,"SELECT * FROM events, calendars WHERE events.calendar_id = calendars.calendar_id AND calendars.company_id = $session_company_id"); +while($row = mysqli_fetch_array($sql)){ + $event_id = $row['event_id']; + $event_title = $row['event_title']; + $event_start = $row['event_start']; + $event_end = $row['event_end']; + $calendar_id = $row['calendar_id']; + $calendar_name = $row['calendar_name']; + $calendar_color = $row['calendar_color']; + $client_id = $row['client_id']; + + include("edit_calendar_event_modal.php"); + +} + +?> + + + +