MailTemplateList.php
[Pman.Core] / MailTemplateList.php
index 3677b90..55cf50e 100644 (file)
@@ -11,9 +11,8 @@ class Pman_Core_MailTemplateList extends Pman_Core_ConvertStyle
         
         $templateDir = explode(PATH_SEPARATOR, $fopts['templateDir']);
         
-        $base = 'http://' . $fopts['host'] . $this->rootURL . '/';
+        $base = 'http://' . $fopts['host'] . $this->rootURL;
         
-        print_r($base);exit;
         $ret = array();
         
         foreach ($templateDir as $dir){
@@ -32,7 +31,7 @@ class Pman_Core_MailTemplateList extends Pman_Core_ConvertStyle
                     
                     $ret[] = array(
                         'file' => $entry,
-                        'content' => $this->convertStyle()
+                        'content' => $this->convertStyle($base, $path, false)
                     );
                 }