Action: Rtl
Current version: 4.3 svn | Contents |
{{Rtl}}
/actions/rtl.php
<?php // Evaggelos Balaskas 06.03.2009 if ( !isset( $_SESSION["rtl"] ) ) $_SESSION["rtl"] = "1"; else $_SESSION["rtl"] = 1; ?>
/handlers/page/show.php
line: 132 (wackowiki 5.1.0)
Before:
echo $data;
After:
if ( !isset( $_SESSION["rtl"] ) ) $_SESSION["rtl"] = "0"; if ( $_SESSION["rtl"] ) { echo "<div dir=\"rtl\">"; } echo $data; if ( $_SESSION["rtl"] ) { echo "</div>"; $_SESSION["rtl"] = "0";}
1. Documentation
Nothing here
2. How to
Just copy-paste
3. To Do
- find someone to test it with Right-to-left languages
There are no referring pages