aboutsummaryrefslogtreecommitdiffstats
path: root/addon/sniper/sniper.php
diff options
context:
space:
mode:
authorFriendika <info@friendika.com>2011-09-25 01:59:14 -0700
committerFriendika <info@friendika.com>2011-09-25 01:59:14 -0700
commit4846d114a84b0c7da64501ea89a635d24e403a1d (patch)
tree565923c7932ef7fffa4e22482fce48ddb9f133e4 /addon/sniper/sniper.php
parent6a9e22550d82595c4341290ca26e3afc5fe6300f (diff)
downloadvolse-hubzilla-4846d114a84b0c7da64501ea89a635d24e403a1d.tar.gz
volse-hubzilla-4846d114a84b0c7da64501ea89a635d24e403a1d.tar.bz2
volse-hubzilla-4846d114a84b0c7da64501ea89a635d24e403a1d.zip
project fork
Diffstat (limited to 'addon/sniper/sniper.php')
-rw-r--r--addon/sniper/sniper.php43
1 files changed, 0 insertions, 43 deletions
diff --git a/addon/sniper/sniper.php b/addon/sniper/sniper.php
deleted file mode 100644
index d431a2466..000000000
--- a/addon/sniper/sniper.php
+++ /dev/null
@@ -1,43 +0,0 @@
-<?php
-/**
- * Name: Sniper App
- * Description: Example of flash game application
- * Version: 1.0
- * Author: Mike Macgirvin <http://macgirvin.com/profile/mike>
- */
-
-/**
- * Demo plugin for adding various types of Flash games to Friendika.
- * In this case we're using "Hot Shot Sniper" by FlashGames247
- */
-
-
-function sniper_install() {
- register_hook('app_menu', 'addon/sniper/sniper.php', 'sniper_app_menu');
-}
-
-function sniper_uninstall() {
- unregister_hook('app_menu', 'addon/sniper/sniper.php', 'sniper_app_menu');
-
-}
-
-function sniper_app_menu($a,&$b) {
- $b['app_menu'] .= '<div class="app-title"><a href="sniper">Hot Shot Sniper</a></div>';
-}
-
-
-function sniper_module() {}
-
-function sniper_content(&$a) {
-
-$baseurl = $a->get_baseurl() . '/addon/sniper';
-
-$o .= <<< EOT
-<object classid="clsid:d27cdb6e-ae6d-11cf-96b8-444553540000" codebase="http://fpdownload.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=8,0,0,0" width="620" height="480" id="hotshotsniper" align="middle">
-<param name="allowScriptAccess" value="sameDomain" />
-<param name="movie" value="$baseurl/hotshotsniper.swf" /><param name="quality" value="high" /><param name="bgcolor" value="#000000" /><embed src="$baseurl/hotshotsniper.swf" quality="high" bgcolor="#000000" width="620" height="480" name="hotshotsniper" align="middle" allowScriptAccess="sameDomain" type="application/x-shockwave-flash" pluginspage="http://www.macromedia.com/go/getflashplayer" />
-</object>
-EOT;
-
-return $o;
-}