Dotclear


Ignore:
Timestamp:
10/02/09 16:13:38 (14 years ago)
Author:
kwon
Message:

Newsletter 3.6.0rc4 :

  • corrige le choix du template pour la newsletter
  • corrige la selection des abonnes lors de l'envoi de la newsletter
File:
1 edited

Legend:

Unmodified
Added
Removed
  • plugins/newsletter/trunk/inc/class.newsletter.tools.php

    r1532 r1538  
    7979     } 
    8080      
     81     // recherche si le template existe dans le theme 
     82     public static function requestTemplate(dcCore $core, $filename)  
     83     {     
     84          if (file_exists(path::real($core->blog->themes_path.'/'.$core->blog->settings->theme).'/tpl/'.$filename)) 
     85               $folder = path::real($core->blog->themes_path.'/'.$core->blog->settings->theme).'/tpl/'; 
     86          else 
     87               $folder =  path::real(newsletterPlugin::folder().'..').'/default-templates/'; 
     88          return $folder; 
     89     } 
    8190} 
    8291 
Note: See TracChangeset for help on using the changeset viewer.

Sites map