summary refs log tree commit diff stats
path: root/includes
diff options
context:
space:
mode:
authorStarla Insigna <hatkirby@fourisland.com>2008-12-21 19:51:37 -0500
committerStarla Insigna <hatkirby@fourisland.com>2008-12-21 19:51:37 -0500
commit25ec7ee14626877b0e55f61b39fd7c41049de190 (patch)
tree3a98f606c2e1f642fa0b291b96f7361cad0e13b6 /includes
parent1c7e44811dde19488a870df68ff770a2f6def7f8 (diff)
downloadfourisland-25ec7ee14626877b0e55f61b39fd7c41049de190.tar.gz
fourisland-25ec7ee14626877b0e55f61b39fd7c41049de190.tar.bz2
fourisland-25ec7ee14626877b0e55f61b39fd7c41049de190.zip
Fixed many HTML validation errors
Diffstat (limited to 'includes')
-rwxr-xr-xincludes/bbcode.php10
-rwxr-xr-xincludes/smilies.php2
2 files changed, 6 insertions, 6 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
diff --git a/includes/smilies.php b/includes/smilies.php index c0a4297..7001705 100755 --- a/includes/smilies.php +++ b/includes/smilies.php
@@ -44,7 +44,7 @@ class Smilies
44 44
45 foreach ($this->smilies as $name => $value) 45 foreach ($this->smilies as $name => $value)
46 { 46 {
47 $text = str_replace($name, '<IMG SRC="http://fourisland.com/theme/images/smilies/' . $value . '" ALT="' . $name . '" />', $text); 47 $text = str_replace($name, '<IMG SRC="http://fourisland.com/theme/images/smilies/' . $value . '" ALT="' . $name . '">', $text);
48 } 48 }
49 49
50 return $text; 50 return $text;