summary refs log tree commit diff stats
path: root/includes/bbcode.php
diff options
context:
space:
mode:
Diffstat (limited to 'includes/bbcode.php')
-rwxr-xr-xincludes/bbcode.php10
1 files changed, 5 insertions, 5 deletions
diff --git a/includes/bbcode.php b/includes/bbcode.php index 69e89e3..c381f3c 100755 --- a/includes/bbcode.php +++ b/includes/bbcode.php
@@ -35,8 +35,8 @@ class BBCode
35 $this->bbcodes['u'] = '<U>{CONTENT}</U>'; 35 $this->bbcodes['u'] = '<U>{CONTENT}</U>';
36 $this->bbcodes['url'] = '<A HREF="{CONTENT}">{CONTENT}</A>'; 36 $this->bbcodes['url'] = '<A HREF="{CONTENT}">{CONTENT}</A>';
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}" />'; 38 $this->bbcodes['img'] = '<IMG SRC="{CONTENT}">';
39 $this->bbcodes2['img'] = '<IMG SRC="{CONTENT}" ALT="{PARAM}" TITLE="{PARAM}" ALIGN="right" />'; 39 $this->bbcodes2['img'] = '<IMG SRC="{CONTENT}" ALT="{PARAM}" TITLE="{PARAM}" ALIGN="right">';
40 $this->bbcodes['big'] = '<BIG>{CONTENT}</BIG>'; 40 $this->bbcodes['big'] = '<BIG>{CONTENT}</BIG>';
41 $this->bbcodes['small'] = '<SMALL>{CONTENT}</SMALL>'; 41 $this->bbcodes['small'] = '<SMALL>{CONTENT}</SMALL>';
42 $this->bbcodes['ul'] = '<UL>{CONTENT}</UL>'; 42 $this->bbcodes['ul'] = '<UL>{CONTENT}</UL>';
@@ -51,8 +51,8 @@ class BBCode
51 $this->bbcodes2['bquote'] = '<P><DIV CLASS="autosize"><DIV CLASS="bubble"><DIV CLASS="bquote"><BLOCKQUOTE><DIV>{CONTENT}</DIV></BLOCKQUOTE></DIV><CITE><STRONG>{PARAM}</STRONG></CITE></DIV></DIV><DIV CLASS="cleardiv"></DIV>'; 51 $this->bbcodes2['bquote'] = '<P><DIV CLASS="autosize"><DIV CLASS="bubble"><DIV CLASS="bquote"><BLOCKQUOTE><DIV>{CONTENT}</DIV></BLOCKQUOTE></DIV><CITE><STRONG>{PARAM}</STRONG></CITE></DIV></DIV><DIV CLASS="cleardiv"></DIV>';
52 $this->bbcodes2['abbr'] = '<ABBR TITLE="{PARAM}">{CONTENT}</ABBR>'; 52 $this->bbcodes2['abbr'] = '<ABBR TITLE="{PARAM}">{CONTENT}</ABBR>';
53 $this->bbcodes['hidden'] = '<SPAN STYLE="display: none">{CONTENT}</SPAN>'; 53 $this->bbcodes['hidden'] = '<SPAN STYLE="display: none">{CONTENT}</SPAN>';
54 $this->bbcodes['thumb'] = '<A HREF="/images/{CONTENT}"><IMG SRC="http://fourisland.com/thumb.php?file=images/{CONTENT}&mode=scale&by=521&side=0" /></A>'; 54 $this->bbcodes['thumb'] = '<A HREF="/images/{CONTENT}"><IMG SRC="http://fourisland.com/thumb.php?file=images/{CONTENT}&mode=scale&by=521&side=0"></A>';
55 $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" /></A>'; 55 $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"></A>';
56 56
57 $this->init = true; 57 $this->init = true;
58 } 58 }
@@ -95,7 +95,7 @@ class BBCode
95 } 95 }
96 } 96 }
97 97
98 return str_replace('[br]','<BR />',$to_parse); 98 return str_replace('[br]','<BR>',$to_parse);
99 } 99 }
100} 100}
101 101