aboutsummaryrefslogtreecommitdiff
path: root/start.php
diff options
context:
space:
mode:
authorSem <sembrestels@riseup.net>2011-11-06 01:11:57 +0100
committerSem <sembrestels@riseup.net>2011-11-06 01:11:57 +0100
commitd7ac68a7db932618c051442210614b9b6484c702 (patch)
tree51a9df735007b5b50e900da61163255072102ff9 /start.php
parentecf03771557e24e86a982e5f79ebcb84d8d54883 (diff)
downloadelgg-d7ac68a7db932618c051442210614b9b6484c702.tar.gz
elgg-d7ac68a7db932618c051442210614b9b6484c702.tar.bz2
Add/edit video form.
Diffstat (limited to 'start.php')
-rw-r--r--start.php9
1 files changed, 9 insertions, 0 deletions
diff --git a/start.php b/start.php
index ff0182c3b..94a07a35c 100644
--- a/start.php
+++ b/start.php
@@ -27,6 +27,15 @@ function videolist_init() {
// Register a page handler, so we can have nice URLs
elgg_register_page_handler('videolist', 'videolist_page_handler');
+
+ // Language short codes must be of the form "videolist:key"
+ // where key is the array key below
+ elgg_set_config('videolist', array(
+ 'video_url' => 'url',
+ 'title' => 'text',
+ 'tags' => 'tags',
+ 'access_id' => 'access',
+ ));
//extend this plugin for groups
elgg_extend_view('groups/tool_latest','videolist/groupprofile_videolist');