diff options
Diffstat (limited to 'includes')
-rwxr-xr-x | includes/bbcode.php | 6 | ||||
-rwxr-xr-x | includes/footer.php | 2 | ||||
-rwxr-xr-x | includes/smilies.php | 1 |
3 files changed, 6 insertions, 3 deletions
diff --git a/includes/bbcode.php b/includes/bbcode.php index 5e29038..e586100 100755 --- a/includes/bbcode.php +++ b/includes/bbcode.php | |||
@@ -35,7 +35,7 @@ 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}" ALT="{CONTENT}">'; | 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['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>'; |
@@ -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" ALT="{CONTENT}"></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" ALT="Image"></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" ALT="{CONTENT}"></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" ALT="Image"></A>'; |
56 | 56 | ||
57 | $this->init = true; | 57 | $this->init = true; |
58 | } | 58 | } |
diff --git a/includes/footer.php b/includes/footer.php index b49559b..dadb6f5 100755 --- a/includes/footer.php +++ b/includes/footer.php | |||
@@ -244,6 +244,8 @@ if (!isset($noRightbar)) | |||
244 | } | 244 | } |
245 | } | 245 | } |
246 | 246 | ||
247 | $template->add('REVISION', exec('hg tip --template {rev}')); | ||
248 | |||
247 | $template->display(); | 249 | $template->display(); |
248 | 250 | ||
249 | ?> | 251 | ?> |
diff --git a/includes/smilies.php b/includes/smilies.php index 7001705..e7579a6 100755 --- a/includes/smilies.php +++ b/includes/smilies.php | |||
@@ -31,6 +31,7 @@ class Smilies | |||
31 | { | 31 | { |
32 | $this->smilies[':)'] = '001_smile.gif'; | 32 | $this->smilies[':)'] = '001_smile.gif'; |
33 | $this->smilies[':('] = 'sad.gif'; | 33 | $this->smilies[':('] = 'sad.gif'; |
34 | $this->smilies[':D'] = 'biggrin.gif'; | ||
34 | 35 | ||
35 | $this->init = true; | 36 | $this->init = true; |
36 | } | 37 | } |