Changeset 57050 in spip-zone


Ignore:
Timestamp:
Jan 13, 2012, 2:19:00 PM (8 years ago)
Author:
cedric@…
Message:

la balise #SI_PAGE n'avait pas suivi le renommage de type en type-page

Location:
_plugins_/z-core
Files:
1 edited
1 copied

Legend:

Unmodified
Added
Removed
  • _plugins_/z-core/zcore_pipelines.php

    r51659 r57050  
    136136function balise_SI_PAGE_dist($p) {
    137137        $_page = interprete_argument_balise(1,$p);
    138         $p->code = "(((\$Pile[0][_SPIP_PAGE]==(\$zp=$_page)) OR (\$Pile[0]['type']==\$zp) OR (\$Pile[0]['composition']==\$zp AND \$Pile[0]['type']=='page'))?' ':'')";
     138        $p->code = "(((\$Pile[0][_SPIP_PAGE]==(\$zp=$_page)) OR (\$Pile[0]['type-page']==\$zp) OR (\$Pile[0]['composition']==\$zp AND \$Pile[0]['type-page']=='page'))?' ':'')";
    139139        $p->interdire_scripts = false;
    140140        return $p;
Note: See TracChangeset for help on using the changeset viewer.