Changeset 2948

Show
Ignore:
Timestamp:
07/23/08 18:15:29 (1 month ago)
Author:
steevanb
Message:

Merge depuis la branche : Ajout d'un paramètre zoneajax pour indiquer si on veut que la zone soit chargée en ajax ou non

Files:

Legend:

Unmodified
Added
Removed
Modified
Copied
Moved
  • trunk/utils/copix/taglib/popupinformation.templatetag.php

    r2928 r2948  
    4242        $width = $this->getParam ('width'); 
    4343        $id = uniqid ('popupInformation'); 
     44        $zoneajax = ($this->getParam ('zoneajax', 'true') == 'true'); 
    4445        $template = $this->getParam ('template', 'generictools|popupinformation.tpl'); 
    4546        $templateParams = array ( 
     
    5455            'popuptitle' => $title, 
    5556            'id' => $id, 
    56             'width' => $width 
     57            'width' => $width, 
     58            'zoneajax' => $zoneajax 
    5759        ); 
    5860         
     
    98100            $zone = $pParams['zone']; 
    99101            unset ($pParams['zone']); 
    100             $content = _tag ('copixzone', array_merge ($this->getExtraParams (), array ('onComplete'=>'$(\'div'.$id.'\').fireEvent(\'sync\');','process'=>$zone,'ajax'=>true, 'id'=>'zone_'.$id))); 
     102            $content = _tag ('copixzone', array_merge ($this->getExtraParams (), array ('onComplete'=>'$(\'div'.$id.'\').fireEvent(\'sync\');','process'=>$zone,'ajax'=>$zoneajax, 'id'=>'zone_'.$id))); 
    101103        } else { 
    102104            $content = $pContent;