<?php
/**
- * Demo plugin for adding various types of Flash games to Friendika.
+ * Demo plugin for adding various types of Flash games to Friendica.
* In this case we're using "Hot Shot Sniper" by FlashGames247
+ *
+ * Name: Sniper
+ * Description: Basic demonstration of flash game addons for Friendica
+ * Version: 1.0
+ * Author: Mike Macgirvin <http://macgirvin.com/profile/mike>
*/
}
function sniper_app_menu($a,&$b) {
- $b['app_menu'] .= '<div class="app-title"><a href="sniper">Hot Shot Sniper</a></div>';
+ $b['app_menu'][] = '<div class="app-title"><a href="sniper">Hot Shot Sniper</a></div>';
}
EOT;
return $o;
-}
\ No newline at end of file
+}