summary refs log tree commit diff stats
path: root/includes/bbcode.php
diff options
context:
space:
mode:
authorStarla Insigna <hatkirby@fourisland.com>2010-05-23 10:42:39 -0400
committerStarla Insigna <hatkirby@fourisland.com>2010-05-23 10:42:39 -0400
commite7d6066f936e7294651b52ff27f51145c7c73d02 (patch)
treeec7c54136967b20e48ac1d6c3c3eb8eafe7ecea3 /includes/bbcode.php
parentebd72beb7ea2feb7f04b49d7ae1b17ad591d6365 (diff)
downloadfourisland-e7d6066f936e7294651b52ff27f51145c7c73d02.tar.gz
fourisland-e7d6066f936e7294651b52ff27f51145c7c73d02.tar.bz2
fourisland-e7d6066f936e7294651b52ff27f51145c7c73d02.zip
Added fallthrough for [audio] in JavaScript-less environment
Diffstat (limited to 'includes/bbcode.php')
-rwxr-xr-xincludes/bbcode.php2
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}&amp;mode=scale&amp;by=260&amp;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}&amp;mode=scale&amp;by=260&amp;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 }