Changeset 2703

Show
Ignore:
Timestamp:
06/26/08 11:44:53 (5 months ago)
Author:
steevanb
Message:

Ajout d'un paramètre title au tag popupinformation

Files:

Legend:

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

    r2183 r2703  
    3131       $wHandle    = $this->getParam ('handlerWindow'); 
    3232       $wHandle = ($wHandle != null) ? ( 'handle="'.$wHandle.'" ') : ''; 
     33       $title = $this->getParam ('title'); 
    3334        
    3435       $id  = uniqid ('popupInformation'); 
     
    7273       $toReturn .= $close; 
    7374       $toReturn .= '<div class="'.$divclass.'" id="'.$id.'" style="display:none;" rel='.$namespace.' >'; 
    74  
     75     
     76        if ($title !== null) { 
     77            $toReturn .= '<div class="' . $divclass . 'Title">' . $title . '</div>'; 
     78        } 
     79        
    7580       if (isset($pParams['zone'])) { 
    7681           $zone = $pParams['zone'];