Changeset 48624 in spip-zone


Ignore:
Timestamp:
Jun 9, 2011, 8:54:33 AM (10 years ago)
Author:
cedric@…
Message:

#SI_PAGE{sommaire} doit repondre oui sur la home, meme si l'url est vide (url du site)

File:
1 edited

Legend:

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

    r47365 r48624  
    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]['composition']==\$zp AND \$Pile[0]['type']=='page'))?' ':'')";
     138        $p->code = "(((\$Pile[0][_SPIP_PAGE]==(\$zp=$_page)) OR (\$Pile[0]['type']==\$zp) OR (\$Pile[0]['composition']==\$zp AND \$Pile[0]['type']=='page'))?' ':'')";
    139139        $p->interdire_scripts = false;
    140140        return $p;
Note: See TracChangeset for help on using the changeset viewer.