Changeset 41517 in spip-zone


Ignore:
Timestamp:
Oct 5, 2010, 3:33:07 PM (9 years ago)
Author:
webmaster@…
Message:

Prise en compte du numero d'instance lorsqu'il existe une preview

File:
1 edited

Legend:

Unmodified
Added
Removed
  • _plugins_/acs/wrap.html

    r41411 r41517  
    4141// Use preview if exist, or component itself if not.
    4242$p = find_in_path($_GET['c'].'_preview.html');
    43 if ($p) : ?><INCLURE{fond=#EVAL{$_GET['c'].'_preview'}}{c}>
    44 <?php else : ?><INCLURE{fond=#ENV{c}}{self=#SELF}{env=#ENV} {nic=#ENV{nic}}>
     43if ($p) : ?><INCLURE{fond=#EVAL{$_GET['c'].'_preview'}}{c}{nic=#ENV{nic}}>
     44<?php else : ?><INCLURE{fond=#ENV{c}}{self}{env} {nic=#ENV{nic}}>
    4545<?php endif; ?>
    4646</body>
Note: See TracChangeset for help on using the changeset viewer.