X-Git-Url: https://git.infodrom.org/?p=infodrom%2Fphone;a=blobdiff_plain;f=index.php;h=b227cf5fbf1533201d0211ca6e378fa9aaa457d1;hp=7525c2abc69af5f4cb5c1936fccc5ddd629a7615;hb=0b8c3ecbb7ea0e61a072d169a52130c87f5c4e11;hpb=ed3fc8e33e16b893b747b721d78df71bff3609ce diff --git a/index.php b/index.php index 7525c2a..b227cf5 100644 --- a/index.php +++ b/index.php @@ -7,8 +7,16 @@ if (!empty($_POST['func'])) { $data['incoming'] = read_directory('incoming'); } elseif ($_POST['func'] == 'archive') { $data['archive'] = read_directory('archive'); + } elseif ($_POST['func'] == 'archive_call') { + archive_call($_POST['call']); + } elseif ($_POST['func'] == 'delete_call') { + delete_call($_POST['dir'],$_POST['call']); } elseif ($_POST['func'] == 'callinfo') { $data = callinfo($_POST['dir'],$_POST['call']); + $data['dir'] = $_POST['dir']; + $data['call'] = $_POST['call']; + } elseif ($_POST['func'] == 'save') { + save_call(); } header('Content-type: application/json; charset=UTF-8'); echo json_encode($data); @@ -51,6 +59,10 @@ if (!empty($_POST['func'])) { +
+ +
+

Play message

 

@@ -59,5 +71,20 @@ if (!empty($_POST['func'])) {

+
+

Edit message

+
+
+ 
+ + +Name

+Note

+ + +
+
+
+