Changeset 3155

Show
Ignore:
Timestamp:
08/19/08 23:03:38 (3 months ago)
Author:
steevanb
Message:

Ajout du nom du thème dans _resource et _resourcePath

Files:

Legend:

Unmodified
Added
Removed
Modified
Copied
Moved
  • trunk/utils/copix/utils/CopixThemeDescription.class.php

    r3134 r3155  
    105105        $this->_website = (isset ($xml->website)) ? (string)$xml->website : null; 
    106106        $this->_tpl = (isset ($xml->_tpl)) ? (string)$xml->_tpl : null; 
    107         if (isset ($xml->image) && file_exists (_resourcePath ((string)$xml->image))) { 
     107        if (isset ($xml->image) && file_exists (_resourcePath ((string)$xml->image, $pId))) { 
    108108            $this->_image = (string)$xml->image; 
    109             $this->_imageURL = _resource ((string)$xml->image); 
     109            $this->_imageURL = _resource ((string)$xml->image, $pId); 
    110110        } 
    111111        $this->_name = (isset ($xml->name)) ? (string)$xml->name : null;