From 8d9321225140a3db0b72796d4d0236d6cacfeb8a Mon Sep 17 00:00:00 2001 From: Nicolas BERNSTEIN Date: Sat, 17 Sep 2011 19:36:41 +0200 Subject: Started working on a study program. --- lib/conf/apps.php | 36 ++++++++++++++++++++++++++++++++---- 1 file changed, 32 insertions(+), 4 deletions(-) (limited to 'lib/conf/apps.php') diff --git a/lib/conf/apps.php b/lib/conf/apps.php index fc714ca..734bfca 100644 --- a/lib/conf/apps.php +++ b/lib/conf/apps.php @@ -3,12 +3,20 @@ $homepage = "notes"; $apps = array( + + // Image upload application "image" => array( "index" => 1, "delete" => 1, - "upload" => 0), + "upload" => 0, + ), + + // Account application "account" => array( - "new" => 0), + "new" => 0, + ), + + // Notebook application "notes" => array( "index" => 0, "user" => 0, @@ -17,5 +25,25 @@ $apps = array( "edit" => 1, "delete" => 1, "move" => 1, - "source" => 0), - ); + "source" => 0, + ), + + // Studies application + "deck" => array( + "index" => 0, + "new" => 1, + "view" => 0, + // function called for editing + "edit" => 1, // change title, comment + "addent" => 1, // add card + "rment" => 1, // remove card + "edent" => 1, // edit card + "mvent" => 1, // move card + ), + "study" => array ( + "index" => 1, + "deckadd" => 1, + "deck" => 1, + ), + +); -- cgit v1.2.3