6bc2a9788c
Write a php code for adding and removing device folder from device. Write a js code for adding and removing folder into store while user select / deselect folder
27 lines
949 B
PHP
27 lines
949 B
PHP
<?php
|
|
// Folder Properties
|
|
define("SYNC_FOLDER_TYPE_OTHER", 1);
|
|
define("SYNC_FOLDER_TYPE_INBOX", 2);
|
|
define("SYNC_FOLDER_TYPE_DRAFTS", 3);
|
|
define("SYNC_FOLDER_TYPE_WASTEBASKET", 4);
|
|
define("SYNC_FOLDER_TYPE_SENTMAIL", 5);
|
|
define("SYNC_FOLDER_TYPE_OUTBOX", 6);
|
|
define("SYNC_FOLDER_TYPE_TASK", 7);
|
|
define("SYNC_FOLDER_TYPE_APPOINTMENT", 8);
|
|
define("SYNC_FOLDER_TYPE_CONTACT", 9);
|
|
define("SYNC_FOLDER_TYPE_NOTE", 10);
|
|
define("SYNC_FOLDER_TYPE_JOURNAL", 11);
|
|
define("SYNC_FOLDER_TYPE_USER_MAIL", 12);
|
|
define("SYNC_FOLDER_TYPE_USER_APPOINTMENT", 13);
|
|
define("SYNC_FOLDER_TYPE_USER_CONTACT", 14);
|
|
define("SYNC_FOLDER_TYPE_USER_TASK", 15);
|
|
define("SYNC_FOLDER_TYPE_USER_JOURNAL", 16);
|
|
define("SYNC_FOLDER_TYPE_USER_NOTE", 17);
|
|
define("SYNC_FOLDER_TYPE_UNKNOWN", 18);
|
|
define("SYNC_FOLDER_TYPE_RECIPIENT_CACHE", 19);
|
|
define("SYNC_FOLDER_TYPE_DUMMY", 999999);
|
|
define("FLD_FLAGS_REPLYASUSER", 1);
|
|
|
|
// Other constant
|
|
define('KOE_GAB_NAME', 'Z-Push-KOE-GAB');
|
|
?>
|