summaryrefslogtreecommitdiff
path: root/lib/conf/apps.php
diff options
context:
space:
mode:
authorNicolas BERNSTEIN <alexis211@gmail.com>2011-09-17 19:36:41 +0200
committerNicolas BERNSTEIN <alexis211@gmail.com>2011-09-17 19:36:41 +0200
commit8d9321225140a3db0b72796d4d0236d6cacfeb8a (patch)
tree766e25ed98b86ed4cbf6d0517d9daaecc5ce3c18 /lib/conf/apps.php
parentb6b341d949437c913fcce3d1a7c302945f67b22b (diff)
downloadBits-8d9321225140a3db0b72796d4d0236d6cacfeb8a.tar.gz
Bits-8d9321225140a3db0b72796d4d0236d6cacfeb8a.zip
Started working on a study program.
Diffstat (limited to 'lib/conf/apps.php')
-rw-r--r--lib/conf/apps.php36
1 files changed, 32 insertions, 4 deletions
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,
+ ),
+
+);