Web   ·   Wiki   ·   Activities   ·   Blog   ·   Lists   ·   Chat   ·   Meeting   ·   Bugs   ·   Git   ·   Translate   ·   Archive   ·   People   ·   Donate
summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorTomeu Vizoso <tomeu@sugarlabs.org>2008-12-19 16:14:03 (GMT)
committer YOUR NAME <USER@develer.com>2009-02-11 19:07:56 (GMT)
commit1fec925a9bc9cebc950b71361d622d779f78713a (patch)
tree922670cbe9a131f276e16800b2785d9d2073e4ab
parent249f8da271fab68f8a871d6b1c14d5355c047cec (diff)
Set the categories that activities can belong to
-rw-r--r--site/app/controllers/developers_controller.php9
1 files changed, 9 insertions, 0 deletions
diff --git a/site/app/controllers/developers_controller.php b/site/app/controllers/developers_controller.php
index e530ae8..a06b881 100644
--- a/site/app/controllers/developers_controller.php
+++ b/site/app/controllers/developers_controller.php
@@ -740,6 +740,15 @@ class DevelopersController extends AppController
1 => 82
);
}
+ elseif ($addon['Addon']['addontype_id'] == ADDON_ACTIVITY) {
+ // TODO: should be fetched from the DB
+ $otherTags = array(
+ 19 => 100,
+ 19 => 101,
+ 19 => 102,
+ 19 => 103,
+ );
+ }
else {
$otherTags = array(
1 => 73,