========================================================
Subject: hack of module.textsanitizer.php
Version: 2.0.13 JP + p1
Date:    2005-10-24
Author: Kenichi OHWADA
URL:    http://linux2.ohwada.net/
Email:  webmaster@ohwada.net
========================================================

* The contents of change *
Extension of BB code

1. Added image size parameter to [img] tag.

You can use three specification. 
(1) [img align="(left|center|right)"]url,width,height[/img]
(2) [img align="(left|center|right)"]url,width[/img]
(3) [img align="(left|center|right)"]url[/img]
(4) [img]url,width,height[/img] 
(5) [img]url,width[/img] 
(6) [img]url[/img] 

convert as follows. 
-----
<img src="url" width="width" height="height" align="xxx" alt="" />
-----

2. Added [siteimg] tag.

You can use three specification. 
(1) [siteimg align="(left|center|right)"]url,width,height[/siteimg]
(2) [siteimg align="(left|center|right)"]url,width[/siteimg]
(3) [siteimg align="(left|center|right)"]url[/siteimg]
(4) [siteimg]url,width,height[/siteimg]
(5) [siteimg]url,width[/siteimg]
(6) [siteimg]url[/siteimg]

convert as follows. 
-----
<img src="http://xxx/url" width="width" height="height" align="xxx" alt="" />
-----

3. Added [flash] tag. 
You can use FLASH in text. 

You can use three specification. 
(1) [flash]url,width,height[/flash] 
(2) [flash]url,width[/flash] 
(3) [flash]url[/flash] 

convert as follows. 
-----
<object classid="clsid:d27cdb6e-ae6d-11cf-96b8-444553540000" codebase="http://download.macromedia.com/pub/shockwave/cabs/flash/swflash.cab" width="width" height="height" >
<param name="movie" value="url">
<param name="quality" value="high">
<embed src="url" width="width" height="width" quality="high" type="application/x-shockwave-flash" pluginspage="http://www.macromedia.com/go/getflashplayer">
</object>
-----

* The enclosed file 
html/class/module.textsanitizer.php
