Hits : 2657


Action: Rtl

Current version: 4.3 svn
Credits: Evaggelos Balaskas
Description: Trying to resolve bug 267[link1]

{{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

There are no referring pages

Links
[link1] http://bugs.wackowiki.org/view.php?id=267