TWG version 1.8.3.3

Here you find a small history of small bugfixes where I don't release a new release.
If you want to update I recommend to overwrite all files except your settings in
my_config.php, my_style.css and admin/_config/.htusers.php and your pictures dir of course.
Check the history for a full list of changes: http://www.tinywebgallery.com/history.htm

If you need an urgent fix of something - There is always a way to speed things up ;)

1.8.3.3
New: TFU 2.12.1 is included.
Fix: twg_offset was limited to 3 - I increased it to 4 for people with more than 1000 images in one directory.

1.8.3.2
Fix: Self registration was not working because of too tight security settings.
Fix: Notification of e-mails was not working because of a typo in the php code.

1.8.3.1
New: $use_js_call_external_thumb_flash is available. This is for the external thumbnail flash. You can specify if a Javascript function is called or if TWG is called. Check the addons page for details.
Fix: An warning about "already sent headers" was shown in the debug file. This was because I have added a session check on the info.php, the info page and the login page. This warning is o.k. and now supressed.
Fix: PHP_SELF is now used again because SCRIPT_NAME is not available on all systems (bug in php). I do now check the PHP_SELF variable as any other parameter which is as save ;).

1.8.3
New: IPad Support - If an iPad is detected the flash thumbnail trip is replaced with the AJAX navigation.
New: For ratings are now the ip and the user name stored. You now get a message that you have already voted. See $rating_reload_time 
New: New parameter $video_flv_stretching. It defines how flv videos are streched. Possible values: uniform(default), fill, exactfit, none 
New: config.php for the pictures folder only! This one is not recursive
New: config.php files in sub directores are now recusive! You don't have to specify them in all subfolders. 
New: New user rolle. It's now possible top have a "login frontend only" user. He is able to log into a user based protected gallery but not to modiy anything. If you use the admininstration in French, Danish or Dutch please update the language files as well. 
New: TFU 2.12 is included.
New: The current user is stored in $_SESSION['TFU_USER'] for the flash. So the log plugin can now track users in TWG as well.
New: Better session check on the info.php and on the info page. Additionally a session check is done on the login page.
Security fix: Additional parameters where not checked against attacks. Now they are. 
Security fix: Additionally I have extended the black list, added lengh checks to all parameters where this is possible and all input parameters are converted with htmlspecialchars before output.
Security fix: I replaced all usages of PHP_SELF with SCRIPT_NAME because it cannot be used for XSS attacks. 
Security fix: All i_frames do now check if this function is enabled and the user is authorized to do it.
Fix: I removed the flickering in the big thumbnailstrip
Fix: The new slideshows do now support background images with IE as well - before a white box was shown.
Fix: The assumed dimension for images was changed from 4:3 to 16:9 in the slideshow because there are more and more cameras supporting this format.
Fix: \r in a caption is now replaced as well because this caused a JS error in the slideshow
Fix: In the my_session.php was some debug code which was in the iframes shown when you where logged in.
Fix: When the slideshow is started $album_tree_default_open is set to false;
Fix: a <center> was removed by changing the order of some html - Thanks to Christian.
Fix: Support for my_style_ie.css - hopefully with IE9 everything gets better.
Fix: Better UTF-8 support in the encoding of parameters. Lot of parameters where using htmlentities without a charset. this is not important for 99,999% of the users. But now it's clean as well.
Fix: The sorting prefix is first removed now and than the number of chars from $remove_x_chars_from_filename. Before it was done the other way around.