diff options
author | Starla Insigna <hatkirby@fourisland.com> | 2010-05-23 10:42:39 -0400 |
---|---|---|
committer | Starla Insigna <hatkirby@fourisland.com> | 2010-05-23 10:42:39 -0400 |
commit | e7d6066f936e7294651b52ff27f51145c7c73d02 (patch) | |
tree | ec7c54136967b20e48ac1d6c3c3eb8eafe7ecea3 /includes | |
parent | ebd72beb7ea2feb7f04b49d7ae1b17ad591d6365 (diff) | |
download | fourisland-e7d6066f936e7294651b52ff27f51145c7c73d02.tar.gz fourisland-e7d6066f936e7294651b52ff27f51145c7c73d02.tar.bz2 fourisland-e7d6066f936e7294651b52ff27f51145c7c73d02.zip |
Added fallthrough for [audio] in JavaScript-less environment
Diffstat (limited to 'includes')
-rwxr-xr-x | includes/bbcode.php | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/includes/bbcode.php b/includes/bbcode.php index 67f5eda..d864f6b 100755 --- a/includes/bbcode.php +++ b/includes/bbcode.php | |||
@@ -58,7 +58,7 @@ class BBCode | |||
58 | $this->bbcodes['thumb2'] = '<a href="/images/{CONTENT}"><img src="http://fourisland.com/thumb.php?file=images/{CONTENT}&mode=scale&by=260&side=0" align="right" alt="Image" /></a>'; | 58 | $this->bbcodes['thumb2'] = '<a href="/images/{CONTENT}"><img src="http://fourisland.com/thumb.php?file=images/{CONTENT}&mode=scale&by=260&side=0" align="right" alt="Image" /></a>'; |
59 | $this->bbcodes['project'] = '<a href="http://projects.fourisland.com/projects/show/{CONTENT}">{CONTENT}</a>'; | 59 | $this->bbcodes['project'] = '<a href="http://projects.fourisland.com/projects/show/{CONTENT}">{CONTENT}</a>'; |
60 | $this->bbcodes['hr'] = '<hr size="2" color="black" />'; | 60 | $this->bbcodes['hr'] = '<hr size="2" color="black" />'; |
61 | $this->bbcodes2['audio'] = '<p id="audioplayer_{CONTENT}">{CONTENT}</p><script>AudioPlayer.embed("audioplayer_{CONTENT}", {soundFile: "{PARAM}", titles: "{CONTENT}"});</script>'; | 61 | $this->bbcodes2['audio'] = '<p id="audioplayer_{CONTENT}">Click to download: <a href="{PARAM}">{CONTENT}</a></p><script>AudioPlayer.embed("audioplayer_{CONTENT}", {soundFile: "{PARAM}", titles: "{CONTENT}"});</script>'; |
62 | 62 | ||
63 | $this->init = true; | 63 | $this->init = true; |
64 | } | 64 | } |