@@ -21,7 +21,7 @@ discard block |
||
21 | 21 | { |
22 | 22 | $module = $this->getKernel()->module("newsletter"); |
23 | 23 | |
24 | - $smarty = $this->template->create(dirname(__FILE__) . '/templates/letter'); |
|
24 | + $smarty = $this->template->create(dirname(__FILE__).'/templates/letter'); |
|
25 | 25 | return $smarty->render($this); |
26 | 26 | } |
27 | 27 | |
@@ -66,7 +66,7 @@ discard block |
||
66 | 66 | { |
67 | 67 | $module = $this->getKernel()->module("newsletter"); |
68 | 68 | |
69 | - $smarty = $this->template->create(dirname(__FILE__) . '/templates/letter-edit'); |
|
69 | + $smarty = $this->template->create(dirname(__FILE__).'/templates/letter-edit'); |
|
70 | 70 | return $smarty->render($this); |
71 | 71 | } |
72 | 72 |
@@ -19,13 +19,13 @@ |
||
19 | 19 | { |
20 | 20 | $module = $this->getKernel()->module("newsletter"); |
21 | 21 | |
22 | - $smarty = $this->template->create(dirname(__FILE__) . '/templates/lists'); |
|
22 | + $smarty = $this->template->create(dirname(__FILE__).'/templates/lists'); |
|
23 | 23 | return $smarty->render($this); |
24 | 24 | } |
25 | 25 | |
26 | 26 | function renderHtmlCreate() |
27 | 27 | { |
28 | - $smarty = $this->template->create(dirname(__FILE__) . '/templates/list-edit'); |
|
28 | + $smarty = $this->template->create(dirname(__FILE__).'/templates/list-edit'); |
|
29 | 29 | return $smarty->render($this); |
30 | 30 | } |
31 | 31 |
@@ -10,7 +10,7 @@ |
||
10 | 10 | |
11 | 11 | function renderHtml() |
12 | 12 | { |
13 | - $smarty = $this->template->create(dirname(__FILE__) . '/templates/log'); |
|
13 | + $smarty = $this->template->create(dirname(__FILE__).'/templates/log'); |
|
14 | 14 | return $smarty->render($this); |
15 | 15 | } |
16 | 16 |
@@ -28,7 +28,7 @@ discard block |
||
28 | 28 | $letter = new Newsletter($list); |
29 | 29 | $letters = $letter->getList(); |
30 | 30 | |
31 | - $smarty = $this->template->create(dirname(__FILE__) . '/templates/list'); |
|
31 | + $smarty = $this->template->create(dirname(__FILE__).'/templates/list'); |
|
32 | 32 | return $smarty->render($this); |
33 | 33 | } |
34 | 34 | |
@@ -48,7 +48,7 @@ discard block |
||
48 | 48 | |
49 | 49 | function renderHtmlEdit() |
50 | 50 | { |
51 | - $smarty = $this->template->create(dirname(__FILE__) . '/templates/list-edit'); |
|
51 | + $smarty = $this->template->create(dirname(__FILE__).'/templates/list-edit'); |
|
52 | 52 | return $smarty->render($this); |
53 | 53 | } |
54 | 54 |
@@ -20,7 +20,7 @@ |
||
20 | 20 | if ($this->query('contact_id')) { |
21 | 21 | $gateway = new Intraface_modules_newsletter_ListGateway($this->getKernel()); |
22 | 22 | $lists = $gateway->findByContactId($this->query('contact_id')); |
23 | - $tpl = $this->template->create(dirname(__FILE__) . '/templates/contact-lists'); |
|
23 | + $tpl = $this->template->create(dirname(__FILE__).'/templates/contact-lists'); |
|
24 | 24 | return $tpl->render($this, array('lists' => $lists)); |
25 | 25 | } |
26 | 26 |
@@ -24,7 +24,7 @@ discard block |
||
24 | 24 | { |
25 | 25 | $module = $this->getKernel()->module("newsletter"); |
26 | 26 | |
27 | - $smarty = $this->template->create(dirname(__FILE__) . '/templates/letters'); |
|
27 | + $smarty = $this->template->create(dirname(__FILE__).'/templates/letters'); |
|
28 | 28 | return $smarty->render($this); |
29 | 29 | } |
30 | 30 | |
@@ -32,7 +32,7 @@ discard block |
||
32 | 32 | { |
33 | 33 | $module = $this->getKernel()->module("newsletter"); |
34 | 34 | |
35 | - $smarty = $this->template->create(dirname(__FILE__) . '/templates/letter-edit'); |
|
35 | + $smarty = $this->template->create(dirname(__FILE__).'/templates/letter-edit'); |
|
36 | 36 | return $smarty->render($this); |
37 | 37 | } |
38 | 38 |
@@ -45,7 +45,7 @@ |
||
45 | 45 | |
46 | 46 | function renderHtml() |
47 | 47 | { |
48 | - $smarty = $this->template->create(dirname(__FILE__) . '/../templates/year/show'); |
|
48 | + $smarty = $this->template->create(dirname(__FILE__).'/../templates/year/show'); |
|
49 | 49 | return $smarty->render($this); |
50 | 50 | } |
51 | 51 |
@@ -19,7 +19,7 @@ discard block |
||
19 | 19 | |
20 | 20 | function renderHtml() |
21 | 21 | { |
22 | - $smarty = $this->template->create(dirname(__FILE__) . '/../templates/year/index'); |
|
22 | + $smarty = $this->template->create(dirname(__FILE__).'/../templates/year/index'); |
|
23 | 23 | return $smarty->render($this); |
24 | 24 | } |
25 | 25 | |
@@ -47,7 +47,7 @@ discard block |
||
47 | 47 | |
48 | 48 | function renderHtmlCreate() |
49 | 49 | { |
50 | - $smarty = $this->template->create(dirname(__FILE__) . '/../templates/year/edit'); |
|
50 | + $smarty = $this->template->create(dirname(__FILE__).'/../templates/year/edit'); |
|
51 | 51 | return $smarty->render($this); |
52 | 52 | } |
53 | 53 | |
@@ -64,8 +64,8 @@ discard block |
||
64 | 64 | |
65 | 65 | function getValues() |
66 | 66 | { |
67 | - $values['from_date_dk'] = '01-01-' . date('Y'); |
|
68 | - $values['to_date_dk'] = '31-12-' . date('Y'); |
|
67 | + $values['from_date_dk'] = '01-01-'.date('Y'); |
|
68 | + $values['to_date_dk'] = '31-12-'.date('Y'); |
|
69 | 69 | return $values; |
70 | 70 | } |
71 | 71 |
@@ -10,7 +10,7 @@ |
||
10 | 10 | |
11 | 11 | function renderHtml() |
12 | 12 | { |
13 | - $smarty = $this->template->create(dirname(__FILE__) . '/../templates/year/edit'); |
|
13 | + $smarty = $this->template->create(dirname(__FILE__).'/../templates/year/edit'); |
|
14 | 14 | return $smarty->render($this); |
15 | 15 | } |
16 | 16 |