Like @@center text@@, I propose new wiki tags for left and right alignment:
@L@Left text@L@ and @R@Right text@R@
Comme @@center text@@, voici une proposition de nouveaux tags wiki:
@L@Left text@L@ et @R@Right text@R@

 

Modifications needed in wakka.php:
wakka.php (line 67)
  1. static $trigger_right = 0;
  2. static $trigger_left = 0;
  3. static $trigger_l = array(-1, 0, 0, 0, 0, 0, 0, 0); // added 2 elements in tabs

wakka.php (line 97)
  1. $trigger_l = array(-1, 0, 0, 0, 0, 0, 0, 0);

wakka.php (line 386)
  1.         else if ($thing == "@L@")   // EMERALDISLAND
  2.         {
  3.             return (++$trigger_left % 2 ? "<div class=\"left\">\n" : "\n</div>\n");
  4.         }
  5.   else if ($thing == "@R@")   // EMERALDISLAND
  6.         {
  7.             return (++$trigger_right % 2 ? "<div class=\"right\">\n" : "\n</div>\n");
  8.         }

wakka.php (line 736)
  1.     "\*\*|\'\'|\#\#|\#\%|@@|@L@|@R@|
  2. ::c::|\>\>|\<\<|&pound;&pound;|&yen;&yen;|\+\+|__|<|>|\/\/|".   # Wiki markup



CategoryWikka - CategoryResource
Some rights reserved
Except where otherwise noted, content on this site is licensed
under a Creative Commons Attribution - Noncommercial - No Derivative Works 3.0 License.