diff options
Diffstat (limited to 'includes/bbcode.php')
-rwxr-xr-x | includes/bbcode.php | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/includes/bbcode.php b/includes/bbcode.php index 28247ff..4842ee5 100755 --- a/includes/bbcode.php +++ b/includes/bbcode.php | |||
@@ -37,6 +37,7 @@ class BBCode | |||
37 | $this->bbcodes2['url'] = '<a href="{PARAM}">{CONTENT}</a>'; | 37 | $this->bbcodes2['url'] = '<a href="{PARAM}">{CONTENT}</a>'; |
38 | $this->bbcodes['img'] = '<img src="{CONTENT}" alt="Image" />'; | 38 | $this->bbcodes['img'] = '<img src="{CONTENT}" alt="Image" />'; |
39 | $this->bbcodes2['img'] = '<img src="{CONTENT}" alt="{PARAM}" title="{PARAM}" />'; | 39 | $this->bbcodes2['img'] = '<img src="{CONTENT}" alt="{PARAM}" title="{PARAM}" />'; |
40 | $this->bbcodes['imgright'] = '<img src="{CONTENT}" align="right" alt="Image" />'; | ||
40 | $this->bbcodes['big'] = '<big>{CONTENT}</big>'; | 41 | $this->bbcodes['big'] = '<big>{CONTENT}</big>'; |
41 | $this->bbcodes['small'] = '<small>{CONTENT}</small>'; | 42 | $this->bbcodes['small'] = '<small>{CONTENT}</small>'; |
42 | $this->bbcodes['ul'] = '<ul>{CONTENT}</ul>'; | 43 | $this->bbcodes['ul'] = '<ul>{CONTENT}</ul>'; |
@@ -57,6 +58,8 @@ class BBCode | |||
57 | $this->bbcodes['thumb'] = '<a href="/images/{CONTENT}"><img src="http://fourisland.com/thumb.php?file=images/{CONTENT}&mode=scale&by=521&side=0" alt="Image" /></a>'; | 58 | $this->bbcodes['thumb'] = '<a href="/images/{CONTENT}"><img src="http://fourisland.com/thumb.php?file=images/{CONTENT}&mode=scale&by=521&side=0" 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['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>'; | 60 | $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->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>'; | ||
60 | 63 | ||
61 | $this->init = true; | 64 | $this->init = true; |
62 | } | 65 | } |