]> git.immae.eu Git - github/wallabag/wallabag.git/blobdiff - inc/poche/WallabagEBooks.class.php
merge epub with all the dev evolutions
[github/wallabag/wallabag.git] / inc / poche / WallabagEBooks.class.php
index 2ddece610daf11ea688239f49ad1d0fec51c6d31..bc40990b1e2cd90694e57ddd6b71df2412538c65 100644 (file)
@@ -124,7 +124,7 @@ class WallabagEpub extends WallabagEBooks
 
         $fullTitle = "<h1> " . $this->bookTitle . "</h1>\n";
 
-        $book->setCoverImage("Cover.png", file_get_contents("themes/baggy/img/apple-touch-icon-152.png"), "image/png", $fullTitle);
+        $book->setCoverImage("Cover.png", file_get_contents("themes/_global/img/appicon/apple-touch-icon-152.png"), "image/png", $fullTitle);
 
         $cover = $content_start . '<div style="text-align:center;"><p>' . _('Produced by wallabag with PHPePub') . '</p><p>'. _('Please open <a href="https://github.com/wallabag/wallabag/issues" >an issue</a> if you have trouble with the display of this E-Book on your device.') . '</p></div>' . $bookEnd;
 
@@ -182,7 +182,7 @@ class WallabagMobi extends WallabagEBooks
 
         # introduction
         $content->appendParagraph('<div style="text-align:center;" ><p>' . _('Produced by wallabag with PHPMobi') . '</p><p>'. _('Please open <a href="https://github.com/wallabag/wallabag/issues" >an issue</a> if you have trouble with the display of this E-Book on your device.') . '</p></div>');
-        $content->appendImage(imagecreatefrompng("themes/baggy/img/apple-touch-icon-152.png"));
+        $content->appendImage(imagecreatefrompng("themes/_global/img/appicon/apple-touch-icon-152.png"));
         $content->appendPageBreak();
 
         Tools::logm('Adding actual content...');
@@ -221,7 +221,7 @@ class WallabagPDF extends WallabagEbooks
         $intro = '<h1>' . $this->bookTitle . '</h1><div style="text-align:center;" >
         <p>' . _('Produced by wallabag with tcpdf') . '</p>
         <p>'. _('Please open <a href="https://github.com/wallabag/wallabag/issues" >an issue</a> if you have trouble with the display of this E-Book on your device.') . '</p>
-        <img src="themes/baggy/img/apple-touch-icon-152.png" /></div>';
+        <img src="themes/_global/img/appicon/apple-touch-icon-152.png" /></div>';
 
 
         $pdf->writeHTMLCell(0, 0, '', '', $intro, 0, 1, 0, true, '', true);
@@ -243,4 +243,4 @@ class WallabagPDF extends WallabagEbooks
         $pdf->Output($this->bookFileName . '.pdf', 'FD');
 
        }
-}
\ No newline at end of file
+}