diff options
Diffstat (limited to 'src/Wallabag/CoreBundle/Helper/EntriesExport.php')
-rw-r--r-- | src/Wallabag/CoreBundle/Helper/EntriesExport.php | 8 |
1 files changed, 2 insertions, 6 deletions
diff --git a/src/Wallabag/CoreBundle/Helper/EntriesExport.php b/src/Wallabag/CoreBundle/Helper/EntriesExport.php index 3e1cd522..f43bc33d 100644 --- a/src/Wallabag/CoreBundle/Helper/EntriesExport.php +++ b/src/Wallabag/CoreBundle/Helper/EntriesExport.php | |||
@@ -23,20 +23,16 @@ class EntriesExport | |||
23 | private $entries = []; | 23 | private $entries = []; |
24 | private $author = 'wallabag'; | 24 | private $author = 'wallabag'; |
25 | private $language = ''; | 25 | private $language = ''; |
26 | private $footerTemplate = '<div style="text-align:center;"> | ||
27 | <p>Produced by wallabag with %EXPORT_METHOD%</p> | ||
28 | <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> | ||
29 | </div>'; | ||
30 | 26 | ||
31 | /** | 27 | /** |
32 | * @param string $wallabagUrl Wallabag instance url | 28 | * @param string $wallabagUrl Wallabag instance url |
33 | * @param string $logoPath Path to the logo FROM THE BUNDLE SCOPE | 29 | * @param string $logoPath Path to the logo FROM THE BUNDLE SCOPE |
34 | */ | 30 | */ |
35 | public function __construct($wallabagUrl, $logoPath, TranslatorInterface $translator) | 31 | public function __construct(TranslatorInterface $translator, $wallabagUrl, $logoPath) |
36 | { | 32 | { |
33 | $this->translator = $translator; | ||
37 | $this->wallabagUrl = $wallabagUrl; | 34 | $this->wallabagUrl = $wallabagUrl; |
38 | $this->logoPath = $logoPath; | 35 | $this->logoPath = $logoPath; |
39 | $this->translator = $translator; | ||
40 | } | 36 | } |
41 | 37 | ||
42 | /** | 38 | /** |