Changeset 934

Show
Ignore:
Timestamp:
05/15/08 18:25:05 (2 months ago)
Author:
laurentj
Message:

update wikirenderer to its lastest trunk version

Files:

Legend:

Unmodified
Added
Removed
Modified
Copied
Moved
  • trunk/build/manifests/jelix-lib.mn

    r932 r934  
    679679  CREDITS 
    680680  LICENCE 
     681  VERSION 
    681682! WikiRenderer.lib.php 
    682683 
     
    687688! classicwr_to_wr3.php 
    688689! wr3_to_text.php 
     690! wr3_to_docbook.php 
    689691 
    690692cd lib/tcpdf 
  • trunk/build/manifests/jelix-lib.mn

    r932 r934  
    679679  CREDITS 
    680680  LICENCE 
     681  VERSION 
    681682! WikiRenderer.lib.php 
    682683 
     
    687688! classicwr_to_wr3.php 
    688689! wr3_to_text.php 
     690! wr3_to_docbook.php 
    689691 
    690692cd lib/tcpdf 
  • trunk/build/manifests/jelix-lib.mn

    r932 r934  
    679679  CREDITS 
    680680  LICENCE 
     681  VERSION 
    681682! WikiRenderer.lib.php 
    682683 
     
    687688! classicwr_to_wr3.php 
    688689! wr3_to_text.php 
     690! wr3_to_docbook.php 
    689691 
    690692cd lib/tcpdf 
  • trunk/build/manifests/jelix-lib.mn

    r932 r934  
    679679  CREDITS 
    680680  LICENCE 
     681  VERSION 
    681682! WikiRenderer.lib.php 
    682683 
     
    687688! classicwr_to_wr3.php 
    688689! wr3_to_text.php 
     690! wr3_to_docbook.php 
    689691 
    690692cd lib/tcpdf 
  • trunk/lib/wikirenderer/CHANGELOG

    r933 r934  
    1 Changelog de WikiRenderer version 3.x 
     1Changelog of WikiRenderer 
    22 
    33Version 3.1 
    44 
     5- fixed bug: / was not allowed in patterns for inline tags 
     6- new property WikiTagXhtml::additionnalAttributes, so we can specify static attributes to add on an xhtml element 
     7- new property WikiTagXhtml::ignoreAttribute 
     8- escape char is now configurable 
     9- inline parser now takes care about attribute which don't allow wiki tags in them 
     10- renamed WikiRendererConfig::$textLineContainer to WikiRendererConfig::$defaultTextLineContainer 
     11- new property WikiRendererConfig::$availabledTextLineContainers 
     12- renamed WikiTag::$separator to WikiTag::$currentSeparator 
     13- WikiTag::addContent and WikiTag::addSeparator are no more final methods 
     14- WikiTag::addSeparator receive now the separator as  argument 
     15- renamed WikiTag::getCurrentSeparator() to WikiTag::isCurrentSeparator($token) 
    516 
    617Version 3.0 
    718 
    8 - fix php5 syntax and deprecated properties 
    9 - fix bug : error when default rule is used (wrong class name) 
    10 - fix bug : callback function for CamelCase word was never called 
     19- fixed php5 syntax and deprecated properties 
     20- fixed bug : error when default rule is used (wrong class name) 
     21- fixed bug : callback function for CamelCase word was never called 
    1122 
    1223Version 3.0 RC1 
  • trunk/lib/wikirenderer/CHANGELOG

    r933 r934  
    1 Changelog de WikiRenderer version 3.x 
     1Changelog of WikiRenderer 
    22 
    33Version 3.1 
    44 
     5- fixed bug: / was not allowed in patterns for inline tags 
     6- new property WikiTagXhtml::additionnalAttributes, so we can specify static attributes to add on an xhtml element 
     7- new property WikiTagXhtml::ignoreAttribute 
     8- escape char is now configurable 
     9- inline parser now takes care about attribute which don't allow wiki tags in them 
     10- renamed WikiRendererConfig::$textLineContainer to WikiRendererConfig::$defaultTextLineContainer 
     11- new property WikiRendererConfig::$availabledTextLineContainers 
     12- renamed WikiTag::$separator to WikiTag::$currentSeparator 
     13- WikiTag::addContent and WikiTag::addSeparator are no more final methods 
     14- WikiTag::addSeparator receive now the separator as  argument 
     15- renamed WikiTag::getCurrentSeparator() to WikiTag::isCurrentSeparator($token) 
    516 
    617Version 3.0 
    718 
    8 - fix php5 syntax and deprecated properties 
    9 - fix bug : error when default rule is used (wrong class name) 
    10 - fix bug : callback function for CamelCase word was never called 
     19- fixed php5 syntax and deprecated properties 
     20- fixed bug : error when default rule is used (wrong class name) 
     21- fixed bug : callback function for CamelCase word was never called 
    1122 
    1223Version 3.0 RC1 
  • trunk/lib/wikirenderer/CHANGELOG

    r933 r934  
    1 Changelog de WikiRenderer version 3.x 
     1Changelog of WikiRenderer 
    22 
    33Version 3.1 
    44 
     5- fixed bug: / was not allowed in patterns for inline tags 
     6- new property WikiTagXhtml::additionnalAttributes, so we can specify static attributes to add on an xhtml element 
     7- new property WikiTagXhtml::ignoreAttribute 
     8- escape char is now configurable 
     9- inline parser now takes care about attribute which don't allow wiki tags in them 
     10- renamed WikiRendererConfig::$textLineContainer to WikiRendererConfig::$defaultTextLineContainer 
     11- new property WikiRendererConfig::$availabledTextLineContainers 
     12- renamed WikiTag::$separator to WikiTag::$currentSeparator 
     13- WikiTag::addContent and WikiTag::addSeparator are no more final methods 
     14- WikiTag::addSeparator receive now the separator as  argument 
     15- renamed WikiTag::getCurrentSeparator() to WikiTag::isCurrentSeparator($token) 
    516 
    617Version 3.0 
    718 
    8 - fix php5 syntax and deprecated properties 
    9 - fix bug : error when default rule is used (wrong class name) 
    10 - fix bug : callback function for CamelCase word was never called 
     19- fixed php5 syntax and deprecated properties 
     20- fixed bug : error when default rule is used (wrong class name) 
     21- fixed bug : callback function for CamelCase word was never called 
    1122 
    1223Version 3.0 RC1 
  • trunk/lib/wikirenderer/CHANGELOG

    r933 r934  
    1 Changelog de WikiRenderer version 3.x 
     1Changelog of WikiRenderer 
    22 
    33Version 3.1 
    44 
     5- fixed bug: / was not allowed in patterns for inline tags 
     6- new property WikiTagXhtml::additionnalAttributes, so we can specify static attributes to add on an xhtml element 
     7- new property WikiTagXhtml::ignoreAttribute 
     8- escape char is now configurable 
     9- inline parser now takes care about attribute which don't allow wiki tags in them 
     10- renamed WikiRendererConfig::$textLineContainer to WikiRendererConfig::$defaultTextLineContainer 
     11- new property WikiRendererConfig::$availabledTextLineContainers 
     12- renamed WikiTag::$separator to WikiTag::$currentSeparator 
     13- WikiTag::addContent and WikiTag::addSeparator are no more final methods 
     14- WikiTag::addSeparator receive now the separator as  argument 
     15- renamed WikiTag::getCurrentSeparator() to WikiTag::isCurrentSeparator($token) 
    516 
    617Version 3.0 
    718 
    8 - fix php5 syntax and deprecated properties 
    9 - fix bug : error when default rule is used (wrong class name) 
    10 - fix bug : callback function for CamelCase word was never called 
     19- fixed php5 syntax and deprecated properties 
     20- fixed bug : error when default rule is used (wrong class name) 
     21- fixed bug : callback function for CamelCase word was never called 
    1122 
    1223Version 3.0 RC1 
  • trunk/lib/wikirenderer/rules/classicwr_to_text.php

    r933 r934  
    3131    'cwrtext_cite','cwrtext_acronym','cwrtext_link', 'cwrtext_image', 'cwrtext_anchor'); 
    3232 
    33    public $textLineContainer = 'WikiTextLine'; 
     33   public $defaultTextLineContainer = 'WikiTextLine'; 
     34 
     35   public $availabledTextLineContainers = array('WikiTextLine'); 
    3436 
    3537   /** 
     
    4547} 
    4648 
    47 // ===================================== d�arations des tags inlines 
     49// ===================================== d�clarations des tags inlines 
    4850 
    4951class cwrtext_strong extends WikiTag { 
     
    140142 
    141143 
    142 // ===================================== d�aration des diff�nts bloc wiki 
     144// ===================================== d�claration des diff�rents bloc wiki 
    143145 
    144146/** 
     
    279281 
    280282/** 
    281  * traite les signes de type d�nitions 
     283 * traite les signes de type d�finitions 
    282284 */ 
    283285class cwrtext_definition extends WikiRendererBloc { 
  • trunk/lib/wikirenderer/rules/classicwr_to_text.php

    r933 r934  
    3131    'cwrtext_cite','cwrtext_acronym','cwrtext_link', 'cwrtext_image', 'cwrtext_anchor'); 
    3232 
    33    public $textLineContainer = 'WikiTextLine'; 
     33   public $defaultTextLineContainer = 'WikiTextLine'; 
     34 
     35   public $availabledTextLineContainers = array('WikiTextLine'); 
    3436 
    3537   /** 
     
    4547} 
    4648 
    47 // ===================================== d�arations des tags inlines 
     49// ===================================== d�clarations des tags inlines 
    4850 
    4951class cwrtext_strong extends WikiTag { 
     
    140142 
    141143 
    142 // ===================================== d�aration des diff�nts bloc wiki 
     144// ===================================== d�claration des diff�rents bloc wiki 
    143145 
    144146/** 
     
    279281 
    280282/** 
    281  * traite les signes de type d�nitions 
     283 * traite les signes de type d�finitions 
    282284 */ 
    283285class cwrtext_definition extends WikiRendererBloc { 
  • trunk/lib/wikirenderer/rules/classicwr_to_text.php

    r933 r934  
    3131    'cwrtext_cite','cwrtext_acronym','cwrtext_link', 'cwrtext_image', 'cwrtext_anchor'); 
    3232 
    33    public $textLineContainer = 'WikiTextLine'; 
     33   public $defaultTextLineContainer = 'WikiTextLine'; 
     34 
     35   public $availabledTextLineContainers = array('WikiTextLine'); 
    3436 
    3537   /** 
     
    4547} 
    4648 
    47 // ===================================== d�arations des tags inlines 
     49// ===================================== d�clarations des tags inlines 
    4850 
    4951class cwrtext_strong extends WikiTag { 
     
    140142 
    141143 
    142 // ===================================== d�aration des diff�nts bloc wiki 
     144// ===================================== d�claration des diff�rents bloc wiki 
    143145 
    144146/** 
     
    279281 
    280282/** 
    281  * traite les signes de type d�nitions 
     283 * traite les signes de type d�finitions 
    282284 */ 
    283285class cwrtext_definition extends WikiRendererBloc { 
  • trunk/lib/wikirenderer/rules/classicwr_to_text.php

    r933 r934  
    3131    'cwrtext_cite','cwrtext_acronym','cwrtext_link', 'cwrtext_image', 'cwrtext_anchor'); 
    3232 
    33    public $textLineContainer = 'WikiTextLine'; 
     33   public $defaultTextLineContainer = 'WikiTextLine'; 
     34 
     35   public $availabledTextLineContainers = array('WikiTextLine'); 
    3436 
    3537   /** 
     
    4547} 
    4648 
    47 // ===================================== d�arations des tags inlines 
     49// ===================================== d�clarations des tags inlines 
    4850 
    4951class cwrtext_strong extends WikiTag { 
     
    140142 
    141143 
    142 // ===================================== d�aration des diff�nts bloc wiki 
     144// ===================================== d�claration des diff�rents bloc wiki 
    143145 
    144146/** 
     
    279281 
    280282/** 
    281  * traite les signes de type d�nitions 
     283 * traite les signes de type d�finitions 
    282284 */ 
    283285class cwrtext_definition extends WikiRendererBloc { 
  • trunk/lib/wikirenderer/rules/classicwr_to_wr3.php

    r933 r934  
    3131    'cwrwr3_cite','cwrwr3_acronym','cwrwr3_link', 'cwrwr3_image', 'cwrwr3_anchor'); 
    3232 
    33    public $textLineContainer = 'WikiTextLine'; 
     33   public $defaultTextLineContainer = 'WikiTextLine'; 
     34 
     35   public $availabledTextLineContainers = array('WikiHtmlTextLine'); 
    3436 
    3537   /** 
     
    4446} 
    4547 
    46 // ===================================== d�arations des tags inlines 
     48// ===================================== d�clarations des tags inlines 
    4749 
    4850class cwrwr3_strong extends WikiTag { 
     
    156158 
    157159 
    158 // ===================================== d�aration des diff�nts bloc wiki 
     160// ===================================== d�claration des diff�rents bloc wiki 
    159161 
    160162class WrWr3Bloc extends WikiRendererBloc { 
     
    240242 
    241243/** 
    242  * traite les signes de type d�nitions 
     244 * traite les signes de type d�finitions 
    243245 */ 
    244246class cwrwr3_definition extends WrWr3Bloc { 
  • trunk/lib/wikirenderer/rules/classicwr_to_wr3.php

    r933 r934  
    3131    'cwrwr3_cite','cwrwr3_acronym','cwrwr3_link', 'cwrwr3_image', 'cwrwr3_anchor'); 
    3232 
    33    public $textLineContainer = 'WikiTextLine'; 
     33   public $defaultTextLineContainer = 'WikiTextLine'; 
     34 
     35   public $availabledTextLineContainers = array('WikiHtmlTextLine'); 
    3436 
    3537   /** 
     
    4446} 
    4547 
    46 // ===================================== d�arations des tags inlines 
     48// ===================================== d�clarations des tags inlines 
    4749 
    4850class cwrwr3_strong extends WikiTag { 
     
    156158 
    157159 
    158 // ===================================== d�aration des diff�nts bloc wiki 
     160// ===================================== d�claration des diff�rents bloc wiki 
    159161 
    160162class WrWr3Bloc extends WikiRendererBloc { 
     
    240242 
    241243/** 
    242  * traite les signes de type d�nitions 
     244 * traite les signes de type d�finitions 
    243245 */ 
    244246class cwrwr3_definition extends WrWr3Bloc { 
  • trunk/lib/wikirenderer/rules/classicwr_to_wr3.php

    r933 r934  
    3131    'cwrwr3_cite','cwrwr3_acronym','cwrwr3_link', 'cwrwr3_image', 'cwrwr3_anchor'); 
    3232 
    33    public $textLineContainer = 'WikiTextLine'; 
     33   public $defaultTextLineContainer = 'WikiTextLine'; 
     34 
     35   public $availabledTextLineContainers = array('WikiHtmlTextLine'); 
    3436 
    3537   /** 
     
    4446} 
    4547 
    46 // ===================================== d�arations des tags inlines 
     48// ===================================== d�clarations des tags inlines 
    4749 
    4850class cwrwr3_strong extends WikiTag { 
     
    156158 
    157159 
    158 // ===================================== d�aration des diff�nts bloc wiki 
     160// ===================================== d�claration des diff�rents bloc wiki 
    159161 
    160162class WrWr3Bloc extends WikiRendererBloc { 
     
    240242 
    241243/** 
    242  * traite les signes de type d�nitions 
     244 * traite les signes de type d�finitions 
    243245 */ 
    244246class cwrwr3_definition extends WrWr3Bloc { 
  • trunk/lib/wikirenderer/rules/classicwr_to_wr3.php

    r933 r934  
    3131    'cwrwr3_cite','cwrwr3_acronym','cwrwr3_link', 'cwrwr3_image', 'cwrwr3_anchor'); 
    3232 
    33    public $textLineContainer = 'WikiTextLine'; 
     33   public $defaultTextLineContainer = 'WikiTextLine'; 
     34 
     35   public $availabledTextLineContainers = array('WikiHtmlTextLine'); 
    3436 
    3537   /** 
     
    4446} 
    4547 
    46 // ===================================== d�arations des tags inlines 
     48// ===================================== d�clarations des tags inlines 
    4749 
    4850class cwrwr3_strong extends WikiTag { 
     
    156158 
    157159 
    158 // ===================================== d�aration des diff�nts bloc wiki 
     160// ===================================== d�claration des diff�rents bloc wiki 
    159161 
    160162class WrWr3Bloc extends WikiRendererBloc { 
     
    240242 
    241243/** 
    242  * traite les signes de type d�nitions 
     244 * traite les signes de type d�finitions 
    243245 */ 
    244246class cwrwr3_definition extends WrWr3Bloc { 
  • trunk/lib/wikirenderer/rules/classicwr_to_xhtml.php

    r933 r934  
    3131    'cwrxhtml_cite','cwrxhtml_acronym','cwrxhtml_link', 'cwrxhtml_image', 'cwrxhtml_anchor'); 
    3232 
    33    public $textLineContainer = 'WikiHtmlTextLine'; 
     33   public $defaultTextLineContainer = 'WikiHtmlTextLine'; 
     34 
     35   public $availabledTextLineContainers = array('WikiHtmlTextLine'); 
    3436 
    3537   /** 
     
    4446} 
    4547 
    46 // ===================================== d�arations des tags inlines 
     48// ===================================== d�clarations des tags inlines 
    4749 
    4850class cwrxhtml_strong extends WikiTagXhtml { 
     
    160162 
    161163 
    162 // ===================================== d�aration des diff�nts bloc wiki 
     164// ===================================== d�claration des diff�rents bloc wiki 
    163165 
    164166/** 
     
    204206         } 
    205207         $str.="</li>\n<li>"; 
    206          $this->_previousTag=substr($this->_previousTag,0,-$d); // pour �e sur... 
     208         $this->_previousTag=substr($this->_previousTag,0,-$d); // pour �tre sur... 
    207209 
    208210      }elseif( $d < 0 ){ // un niveau de plus 
     
    380382 
    381383/** 
    382  * traite les signes de type d�nitions 
     384 * traite les signes de type d�finitions 
    383385 */ 
    384386class cwrxhtml_definition extends WikiRendererBloc { 
  • trunk/lib/wikirenderer/rules/classicwr_to_xhtml.php

    r933 r934  
    3131    'cwrxhtml_cite','cwrxhtml_acronym','cwrxhtml_link', 'cwrxhtml_image', 'cwrxhtml_anchor'); 
    3232 
    33    public $textLineContainer = 'WikiHtmlTextLine'; 
     33   public $defaultTextLineContainer = 'WikiHtmlTextLine'; 
     34 
     35   public $availabledTextLineContainers = array('WikiHtmlTextLine'); 
    3436 
    3537   /** 
     
    4446} 
    4547 
    46 // ===================================== d�arations des tags inlines 
     48// ===================================== d�clarations des tags inlines 
    4749 
    4850class cwrxhtml_strong extends WikiTagXhtml { 
     
    160162 
    161163 
    162 // ===================================== d�aration des diff�nts bloc wiki 
     164// ===================================== d�claration des diff�rents bloc wiki 
    163165 
    164166/** 
     
    204206         } 
    205207         $str.="</li>\n<li>"; 
    206          $this->_previousTag=substr($this->_previousTag,0,-$d); // pour �e sur... 
     208         $this->_previousTag=substr($this->_previousTag,0,-$d); // pour �tre sur... 
    207209 
    208210      }elseif( $d < 0 ){ // un niveau de plus 
     
    380382 
    381383/** 
    382  * traite les signes de type d�nitions 
     384 * traite les signes de type d�finitions 
    383385 */ 
    384386class cwrxhtml_definition extends WikiRendererBloc { 
  • trunk/lib/wikirenderer/rules/classicwr_to_xhtml.php

    r933 r934  
    3131    'cwrxhtml_cite','cwrxhtml_acronym','cwrxhtml_link', 'cwrxhtml_image', 'cwrxhtml_anchor'); 
    3232 
    33    public $textLineContainer = 'WikiHtmlTextLine'; 
     33   public $defaultTextLineContainer = 'WikiHtmlTextLine'; 
     34 
     35   public $availabledTextLineContainers = array('WikiHtmlTextLine'); 
    3436 
    3537   /** 
     
    4446} 
    4547 
    46 // ===================================== d�arations des tags inlines 
     48// ===================================== d�clarations des tags inlines 
    4749 
    4850class cwrxhtml_strong extends WikiTagXhtml { 
     
    160162 
    161163 
    162 // ===================================== d�aration des diff�nts bloc wiki 
     164// ===================================== d�claration des diff�rents bloc wiki 
    163165 
    164166/** 
     
    204206         } 
    205207         $str.="</li>\n<li>"; 
    206          $this->_previousTag=substr($this->_previousTag,0,-$d); // pour �e sur... 
     208         $this->_previousTag=substr($this->_previousTag,0,-$d); // pour �tre sur... 
    207209 
    208210      }elseif( $d < 0 ){ // un niveau de plus 
     
    380382 
    381383/** 
    382  * traite les signes de type d�nitions 
     384 * traite les signes de type d�finitions 
    383385 */ 
    384386class cwrxhtml_definition extends WikiRendererBloc { 
  • trunk/lib/wikirenderer/rules/classicwr_to_xhtml.php

    r933 r934  
    3131    'cwrxhtml_cite','cwrxhtml_acronym','cwrxhtml_link', 'cwrxhtml_image', 'cwrxhtml_anchor'); 
    3232 
    33    public $textLineContainer = 'WikiHtmlTextLine'; 
     33   public $defaultTextLineContainer = 'WikiHtmlTextLine'; 
     34 
     35   public $availabledTextLineContainers = array('WikiHtmlTextLine'); 
    3436 
    3537   /** 
     
    4446} 
    4547 
    46 // ===================================== d�arations des tags inlines 
     48// ===================================== d�clarations des tags inlines 
    4749 
    4850class cwrxhtml_strong extends WikiTagXhtml { 
     
    160162 
    161163 
    162 // ===================================== d�aration des diff�nts bloc wiki 
     164// ===================================== d�claration des diff�rents bloc wiki 
    163165 
    164166/** 
     
    204206         } 
    205207         $str.="</li>\n<li>"; 
    206          $this->_previousTag=substr($this->_previousTag,0,-$d); // pour �e sur... 
     208         $this->_previousTag=substr($this->_previousTag,0,-$d); // pour �tre sur... 
    207209 
    208210      }elseif( $d < 0 ){ // un niveau de plus 
     
    380382 
    381383/** 
    382  * traite les signes de type d�nitions 
     384 * traite les signes de type d�finitions 
    383385 */ 
    384386class cwrxhtml_definition extends WikiRendererBloc { 
  • trunk/lib/wikirenderer/rules/wr3_to_docbook.php

    r933 r934  
    3232    'wr3dbk_anchor', 'wr3dbk_footnote'); 
    3333 
    34    public $textLineContainer = 'WikiHtmlTextLine'; 
     34   public $defaultTextLineContainer = 'WikiHtmlTextLine'; 
     35 
     36   public $availabledTextLineContainers = array('WikiHtmlTextLine'); 
    3537 
    3638   /** 
  • trunk/lib/wikirenderer/rules/wr3_to_docbook.php

    r933 r934  
    3232    'wr3dbk_anchor', 'wr3dbk_footnote'); 
    3333 
    34    public $textLineContainer = 'WikiHtmlTextLine'; 
     34   public $defaultTextLineContainer = 'WikiHtmlTextLine'; 
     35 
     36   public $availabledTextLineContainers = array('WikiHtmlTextLine'); 
    3537 
    3638   /** 
  • trunk/lib/wikirenderer/rules/wr3_to_docbook.php

    r933 r934  
    3232    'wr3dbk_anchor', 'wr3dbk_footnote'); 
    3333 
    34    public $textLineContainer = 'WikiHtmlTextLine'; 
     34   public $defaultTextLineContainer = 'WikiHtmlTextLine'; 
     35 
     36   public $availabledTextLineContainers = array('WikiHtmlTextLine'); 
    3537 
    3638   /** 
  • trunk/lib/wikirenderer/rules/wr3_to_docbook.php

    r933 r934  
    3232    'wr3dbk_anchor', 'wr3dbk_footnote'); 
    3333 
    34    public $textLineContainer = 'WikiHtmlTextLine'; 
     34   public $defaultTextLineContainer = 'WikiHtmlTextLine'; 
     35 
     36   public $availabledTextLineContainers = array('WikiHtmlTextLine'); 
    3537 
    3638   /** 
  • trunk/lib/wikirenderer/rules/wr3_to_text.php

    r933 r934  
    3232    'wr3text_footnote'); 
    3333 
    34    public $textLineContainer = 'WikiTextLine'; 
     34   public $defaultTextLineContainer = 'WikiTextLine'; 
     35 
     36   public $availabledTextLineContainers = array('WikiTextLine'); 
    3537 
    3638   /** 
     
    4648} 
    4749 
    48 // ===================================== d�arations des tags inlines 
     50// ===================================== d�clarations des tags inlines 
    4951 
    5052class wr3text_strong extends WikiTag { 
     
    148150} 
    149151 
    150 // ===================================== d�aration des diff�nts bloc wiki 
     152// ===================================== d�claration des diff�rents bloc wiki 
    151153 
    152154/** 
     
    301303 
    302304/** 
    303  * traite les signes de type d�nitions 
     305 * traite les signes de type d�finitions 
    304306 */ 
    305307class wr3text_definition extends WikiRendererBloc { 
  • trunk/lib/wikirenderer/rules/wr3_to_text.php

    r933 r934  
    3232    'wr3text_footnote'); 
    3333 
    34    public $textLineContainer = 'WikiTextLine'; 
     34   public $defaultTextLineContainer = 'WikiTextLine'; 
     35 
     36   public $availabledTextLineContainers = array('WikiTextLine'); 
    3537 
    3638   /** 
     
    4648} 
    4749 
    48 // ===================================== d�arations des tags inlines 
     50// ===================================== d�clarations des tags inlines 
    4951 
    5052class wr3text_strong extends WikiTag { 
     
    148150} 
    149151 
    150 // ===================================== d�aration des diff�nts bloc wiki 
     152// ===================================== d�claration des diff�rents bloc wiki 
    151153 
    152154/** 
     
    301303 
    302304/** 
    303  * traite les signes de type d�nitions 
     305 * traite les signes de type d�finitions 
    304306 */ 
    305307class wr3text_definition extends WikiRendererBloc { 
  • trunk/lib/wikirenderer/rules/wr3_to_text.php

    r933 r934  
    3232    'wr3text_footnote'); 
    3333 
    34    public $textLineContainer = 'WikiTextLine'; 
     34   public $defaultTextLineContainer = 'WikiTextLine'; 
     35 
     36   public $availabledTextLineContainers = array('WikiTextLine'); 
    3537 
    3638   /** 
     
    4648} 
    4749 
    48 // ===================================== d�arations des tags inlines 
     50// ===================================== d�clarations des tags inlines 
    4951 
    5052class wr3text_strong extends WikiTag { 
     
    148150} 
    149151 
    150 // ===================================== d�aration des diff�nts bloc wiki 
     152// ===================================== d�claration des diff�rents bloc wiki 
    151153 
    152154/** 
     
    301303 
    302304/** 
    303  * traite les signes de type d�nitions 
     305 * traite les signes de type d�finitions 
    304306 */ 
    305307class wr3text_definition extends WikiRendererBloc { 
  • trunk/lib/wikirenderer/rules/wr3_to_text.php

    r933 r934  
    3232    'wr3text_footnote'); 
    3333 
    34    public $textLineContainer = 'WikiTextLine'; 
     34   public $defaultTextLineContainer = 'WikiTextLine'; 
     35 
     36   public $availabledTextLineContainers = array('WikiTextLine'); 
    3537 
    3638   /** 
     
    4648} 
    4749 
    48 // ===================================== d�arations des tags inlines 
     50// ===================================== d�clarations des tags inlines 
    4951 
    5052class wr3text_strong extends WikiTag { 
     
    148150} 
    149151 
    150 // ===================================== d�aration des diff�nts bloc wiki 
     152// ===================================== d�claration des diff�rents bloc wiki 
    151153 
    152154/** 
     
    301303 
    302304/** 
    303  * traite les signes de type d�nitions 
     305 * traite les signes de type d�finitions 
    304306 */ 
    305307class wr3text_definition extends WikiRendererBloc { 
  • trunk/lib/wikirenderer/rules/wr3_to_xhtml.php

    r933 r934  
    3232    'wr3xhtml_anchor', 'wr3xhtml_footnote'); 
    3333 
    34    public $textLineContainer = 'WikiHtmlTextLine'; 
     34   public $defaultTextLineContainer = 'WikiHtmlTextLine'; 
     35 
     36   public $availabledTextLineContainers = array('WikiHtmlTextLine'); 
    3537 
    3638   /** 
     
    4446 
    4547 
    46    // la syntaxe wr3 contient la possibilit�e mettre des notes de bas de page 
    47    // celles-ci seront stock� ici, avant leur incorporation �a fin du texte. 
     48   // la syntaxe wr3 contient la possibilit� de mettre des notes de bas de page 
     49   // celles-ci seront stock�es ici, avant leur incorporation � la fin du texte. 
    4850   public $footnotes = array(); 
    4951   public $footnotesId=''; 
     
    5153 
    5254    /** 
    53     * methode invoqu�avant le parsing 
     55    * methode invoqu�e avant le parsing 
    5456    */ 
    5557   public function onStart($texte){ 
    5658        $this->footnotesId = rand(0,30000); 
    57         $this->footnotes = array(); // on remet �ero les footnotes 
     59        $this->footnotes = array(); // on remet � zero les footnotes 
    5860        return $texte; 
    5961    } 
    6062 
    6163   /** 
    62     * methode invoqu�apr�le parsing 
     64    * methode invoqu�e apr�s le parsing 
    6365    */ 
    6466    public function onParse($finalTexte){ 
     
    7274} 
    7375 
    74 // ===================================== d�arations des tags inlines 
     76// ===================================== d�clarations des tags inlines 
    7577 
    7678class wr3xhtml_strong extends WikiTagXhtml { 
     
    201203} 
    202204 
    203 // ===================================== d�aration des diff�nts bloc wiki 
     205// ===================================== d�claration des diff�rents bloc wiki 
    204206 
    205207/** 
     
    245247         } 
    246248         $str.="</li>\n<li>"; 
    247          $this->_previousTag=substr($this->_previousTag,0,-$d); // pour �e sur... 
     249         $this->_previousTag=substr($this->_previousTag,0,-$d); // pour �tre sur... 
    248250 
    249251      }elseif( $d < 0 ){ // un niveau de plus 
     
    445447 
    446448/** 
    447  * traite les signes de type d�nitions 
     449 * traite les signes de type d�finitions 
    448450 */ 
    449451class wr3xhtml_definition extends WikiRendererBloc { 
  • trunk/lib/wikirenderer/rules/wr3_to_xhtml.php

    r933 r934  
    3232    'wr3xhtml_anchor', 'wr3xhtml_footnote'); 
    3333 
    34    public $textLineContainer = 'WikiHtmlTextLine'; 
     34   public $defaultTextLineContainer = 'WikiHtmlTextLine'; 
     35 
     36   public $availabledTextLineContainers = array('WikiHtmlTextLine'); 
    3537 
    3638   /** 
     
    4446 
    4547 
    46    // la syntaxe wr3 contient la possibilit�e mettre des notes de bas de page 
    47    // celles-ci seront stock� ici, avant leur incorporation �a fin du texte. 
     48   // la syntaxe wr3 contient la possibilit� de mettre des notes de bas de page 
     49   // celles-ci seront stock�es ici, avant leur incorporation � la fin du texte. 
    4850   public $footnotes = array(); 
    4951   public $footnotesId=''; 
     
    5153 
    5254    /** 
    53     * methode invoqu�avant le parsing 
     55    * methode invoqu�e avant le parsing 
    5456    */ 
    5557   public function onStart($texte){ 
    5658        $this->footnotesId = rand(0,30000); 
    57         $this->footnotes = array(); // on remet �ero les footnotes