diff options
author | cash <cash.costello@gmail.com> | 2010-07-04 19:39:29 +0000 |
---|---|---|
committer | cash <cash.costello@gmail.com> | 2010-07-04 19:39:29 +0000 |
commit | 16da0ce0f606397012c65950b07262fbecb2fc84 (patch) | |
tree | 4d504a62f679c3b0d307e95ca8d7a91634215afa /start.php | |
parent | 14025a5462c77d841801e00b2eda993bba62264d (diff) | |
download | elgg-16da0ce0f606397012c65950b07262fbecb2fc84.tar.gz elgg-16da0ce0f606397012c65950b07262fbecb2fc84.tar.bz2 |
brought the simplepie plugin up to Elgg coding standards
Diffstat (limited to 'start.php')
-rw-r--r-- | start.php | 29 |
1 files changed, 14 insertions, 15 deletions
@@ -1,17 +1,16 @@ <?php
- /**
- * Simplepie Plugin
- *
- * Loads the simplepie feed parser library
- **/
-
- function simplepie_init()
- {
- add_widget_type('feed_reader', elgg_echo('simplepie:widget'), elgg_echo('simplepie:description'));
-
- extend_view('css','feed_reader/css');
- }
-
- register_elgg_event_handler('plugins_boot', 'system', 'simplepie_init');
-?>
+/**
+* Simplepie Plugin
+*
+* Loads the simplepie feed parser library and provides a widget
+**/
+
+function simplepie_init() {
+ add_widget_type('feed_reader', elgg_echo('simplepie:widget'), elgg_echo('simplepie:description'));
+
+ extend_view('css','feed_reader/css');
+}
+
+register_elgg_event_handler('plugins_boot', 'system', 'simplepie_init');
+
|