Got a basic calendar editing page going.

This commit is contained in:
2025-07-01 23:02:30 +10:00
parent 7607d807fe
commit f8616ff819
12 changed files with 148 additions and 30 deletions

9
cal/api.php Normal file
View File

@@ -0,0 +1,9 @@
<?php
header("Content-Type: application/json");
include('lib.php');
$ret = array( "err" => "unknown command" );
if ( $_GET["cmd"] == "get" ) {
$ret = getEvents();
}
print(json_encode($ret));
?>