summary refs log tree commit diff stats
path: root/includes/bbcode.php
diff options
context:
space:
mode:
authorStarla Insigna <starla4444@gmail.com>2010-10-10 17:48:06 -0400
committerStarla Insigna <starla4444@gmail.com>2010-10-10 17:48:06 -0400
commit7687dfe1d828cc2ad4cbdf37fea1b2f911fdb3f5 (patch)
tree3fd6ca13fdaa691978013e9191b963d2adfbac5d /includes/bbcode.php
parent6d73fef3281365967d3d6ebef1be3998d5c61659 (diff)
downloadfourisland-7687dfe1d828cc2ad4cbdf37fea1b2f911fdb3f5.tar.gz
fourisland-7687dfe1d828cc2ad4cbdf37fea1b2f911fdb3f5.tar.bz2
fourisland-7687dfe1d828cc2ad4cbdf37fea1b2f911fdb3f5.zip
Added [thumb3] BBCode
This is a hack to get a thumbnail image floating to the left of a list. It's a really bad hack and I just can't wait to get to Four Island 3.
Diffstat (limited to 'includes/bbcode.php')
-rwxr-xr-xincludes/bbcode.php1
1 files changed, 1 insertions, 0 deletions
diff --git a/includes/bbcode.php b/includes/bbcode.php index 4842ee5..a7bb247 100755 --- a/includes/bbcode.php +++ b/includes/bbcode.php
@@ -57,6 +57,7 @@ class BBCode
57 $this->bbcodes['hidden'] = '<span style="display: none">{CONTENT}</span>'; 57 $this->bbcodes['hidden'] = '<span style="display: none">{CONTENT}</span>';
58 $this->bbcodes['thumb'] = '<a href="/images/{CONTENT}"><img src="http://fourisland.com/thumb.php?file=images/{CONTENT}&amp;mode=scale&amp;by=521&amp;side=0" alt="Image" /></a>'; 58 $this->bbcodes['thumb'] = '<a href="/images/{CONTENT}"><img src="http://fourisland.com/thumb.php?file=images/{CONTENT}&amp;mode=scale&amp;by=521&amp;side=0" alt="Image" /></a>';
59 $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['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>';
60 $this->bbcodes['thumb3'] = '<a href="/images/{CONTENT}"><img src="http://fourisland.com/thumb.php?file=images/{CONTENT}&amp;mode=scale&amp;by=260&amp;side=0" align="left" style="margin-right: 2em" alt="Image" /></a>';
60 $this->bbcodes['project'] = '<a href="http://projects.fourisland.com/projects/show/{CONTENT}">{CONTENT}</a>'; 61 $this->bbcodes['project'] = '<a href="http://projects.fourisland.com/projects/show/{CONTENT}">{CONTENT}</a>';
61 $this->bbcodes['hr'] = '<hr size="2" color="black" />'; 62 $this->bbcodes['hr'] = '<hr size="2" color="black" />';
62 $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>'; 63 $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>';