summary refs log tree commit diff stats
path: root/includes/bbcode.php
diff options
context:
space:
mode:
authorStarla Insigna <hatkirby@fourisland.com>2008-12-14 09:39:10 -0500
committerStarla Insigna <hatkirby@fourisland.com>2008-12-14 09:39:10 -0500
commit9cb1fcba82027daa21eb457f1b2912ee02e5c7eb (patch)
treeb9ad822ca0f186f42da00e1a2c882ede77d2ee14 /includes/bbcode.php
parentf037e1d6baa069b324b7a0fd6eaffbdfb5c6f4dc (diff)
downloadfourisland-9cb1fcba82027daa21eb457f1b2912ee02e5c7eb.tar.gz
fourisland-9cb1fcba82027daa21eb457f1b2912ee02e5c7eb.tar.bz2
fourisland-9cb1fcba82027daa21eb457f1b2912ee02e5c7eb.zip
Major design and code overhaul
I don't know, a lot of stuffses happened that I don't quite remember anymore. Goodness, that's not good.
Diffstat (limited to 'includes/bbcode.php')
-rwxr-xr-xincludes/bbcode.php5
1 files changed, 3 insertions, 2 deletions
diff --git a/includes/bbcode.php b/includes/bbcode.php index 40533a3..42ff8d0 100755 --- a/includes/bbcode.php +++ b/includes/bbcode.php
@@ -32,6 +32,7 @@ class BBCode
32 { 32 {
33 $this->bbcodes['b'] = '<B>{CONTENT}</B>'; 33 $this->bbcodes['b'] = '<B>{CONTENT}</B>';
34 $this->bbcodes['i'] = '<I>{CONTENT}</I>'; 34 $this->bbcodes['i'] = '<I>{CONTENT}</I>';
35 $this->bbcodes['u'] = '<U>{CONTENT}</U>';
35 $this->bbcodes['url'] = '<A HREF="{CONTENT}">{CONTENT}</A>'; 36 $this->bbcodes['url'] = '<A HREF="{CONTENT}">{CONTENT}</A>';
36 $this->bbcodes2['url'] = '<A HREF="{PARAM}">{CONTENT}</A>'; 37 $this->bbcodes2['url'] = '<A HREF="{PARAM}">{CONTENT}</A>';
37 $this->bbcodes['img'] = '<IMG SRC="{CONTENT}" />'; 38 $this->bbcodes['img'] = '<IMG SRC="{CONTENT}" />';
@@ -46,8 +47,8 @@ class BBCode
46 $this->bbcodes2['blog'] = '<A HREF="/blog/{PARAM}/">{CONTENT}</A>'; 47 $this->bbcodes2['blog'] = '<A HREF="/blog/{PARAM}/">{CONTENT}</A>';
47 $this->bbcodes['ins'] = '<INS>{CONTENT}</INS>'; 48 $this->bbcodes['ins'] = '<INS>{CONTENT}</INS>';
48 $this->bbcodes['del'] = '<DEL>{CONTENT}</DEL>'; 49 $this->bbcodes['del'] = '<DEL>{CONTENT}</DEL>';
49 $this->bbcodes['bquote'] = '<P><DIV CLASS="autosize"><DIV CLASS="bubble"><DIV CLASS="bquote"><BLOCKQUOTE><DIV><NOBR>{CONTENT}</NOBR></DIV></BLOCKQUOTE></DIV><CITE><STRONG>Anonymous</STRONG></CITE></DIV></DIV><DIV CLASS="cleardiv"></DIV>'; 50 $this->bbcodes['bquote'] = '<P><DIV CLASS="autosize"><DIV CLASS="bubble"><DIV CLASS="bquote"><BLOCKQUOTE><DIV>{CONTENT}</DIV></BLOCKQUOTE></DIV><CITE><STRONG>Anonymous</STRONG></CITE></DIV></DIV><DIV CLASS="cleardiv"></DIV>';
50 $this->bbcodes2['bquote'] = '<P><DIV CLASS="autosize"><DIV CLASS="bubble"><DIV CLASS="bquote"><BLOCKQUOTE><DIV><NOBR>{CONTENT}</NOBR></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>';
51 $this->bbcodes2['abbr'] = '<ABBR TITLE="{PARAM}">{CONTENT}</ABBR>'; 52 $this->bbcodes2['abbr'] = '<ABBR TITLE="{PARAM}">{CONTENT}</ABBR>';
52 $this->bbcodes['hidden'] = '<DIV STYLE="display: none">{CONTENT}</DIV>'; 53 $this->bbcodes['hidden'] = '<DIV STYLE="display: none">{CONTENT}</DIV>';
53 54