aboutsummaryrefslogtreecommitdiff
path: root/mod/zaudio/start.php
diff options
context:
space:
mode:
authorcash <cash@36083f99-b078-4883-b0ff-0f9b5a30f544>2010-11-30 01:02:24 +0000
committercash <cash@36083f99-b078-4883-b0ff-0f9b5a30f544>2010-11-30 01:02:24 +0000
commite0122437519ae90315808119341faa114fec1e5b (patch)
treef11c7199f81d7e883d620e775cfcf0b559972bb1 /mod/zaudio/start.php
parent1b4f39fcced81c3dffd62d5c56e77d1c4cee9c1e (diff)
downloadelgg-e0122437519ae90315808119341faa114fec1e5b.tar.gz
elgg-e0122437519ae90315808119341faa114fec1e5b.tar.bz2
Updated the zaudio plugin for 1.8
git-svn-id: http://code.elgg.org/elgg/trunk@7475 36083f99-b078-4883-b0ff-0f9b5a30f544
Diffstat (limited to 'mod/zaudio/start.php')
-rw-r--r--mod/zaudio/start.php29
1 files changed, 13 insertions, 16 deletions
diff --git a/mod/zaudio/start.php b/mod/zaudio/start.php
index 551fd479a..c440456b7 100644
--- a/mod/zaudio/start.php
+++ b/mod/zaudio/start.php
@@ -1,18 +1,15 @@
<?php
+ /**
+ * ZAudio - a simple mp3 player
+ * A simple plugin to play mp3 files on the page
+ * http://wpaudioplayer.com/license
+ * http://wpaudioplayer.com/standalone
+ *
+ * @package ElggZAudio
+ */
- /**
- * ZAudio - a simple mp3 player
- * A simple plugin to play mp3 files on the page
- * http://wpaudioplayer.com/license
- * http://wpaudioplayer.com/standalone
- * @package ElggZAudio
- **/
-
- function zaudio_init() {
-
- }
-
- // Make sure the status initialisation function is called on initialisation
- elgg_register_event_handler('init','system','zaudio_init',999);
-
-?> \ No newline at end of file
+elgg_register_event_handler('init', 'system', 'zaudio_init');
+
+function zaudio_init() {
+ elgg_extend_view('css/elgg', 'zaudio/css');
+}