Completed
Push — master ( d208aa...25518b )
by Lars
12:37
created
src/Intraface/modules/newsletter/Controller/Letter.php 1 patch
Spacing   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -21,7 +21,7 @@  discard block
 block discarded – undo
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
 block discarded – undo
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
 
Please login to merge, or discard this patch.
src/Intraface/modules/newsletter/Controller/Lists.php 1 patch
Spacing   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -19,13 +19,13 @@
 block discarded – undo
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
 
Please login to merge, or discard this patch.
src/Intraface/modules/newsletter/Controller/Log.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -10,7 +10,7 @@
 block discarded – undo
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
 
Please login to merge, or discard this patch.
src/Intraface/modules/newsletter/Controller/List.php 1 patch
Spacing   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -28,7 +28,7 @@  discard block
 block discarded – undo
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
 block discarded – undo
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
 
Please login to merge, or discard this patch.
src/Intraface/modules/newsletter/Controller/Index.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -20,7 +20,7 @@
 block discarded – undo
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
 
Please login to merge, or discard this patch.
src/Intraface/modules/newsletter/Controller/Letters.php 1 patch
Spacing   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -24,7 +24,7 @@  discard block
 block discarded – undo
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
 block discarded – undo
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
 
Please login to merge, or discard this patch.
src/Intraface/modules/accounting/Controller/Year/Show.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -45,7 +45,7 @@
 block discarded – undo
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
 
Please login to merge, or discard this patch.
src/Intraface/modules/accounting/Controller/Year/Index.php 1 patch
Spacing   +4 added lines, -4 removed lines patch added patch discarded remove patch
@@ -19,7 +19,7 @@  discard block
 block discarded – undo
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
 block discarded – undo
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
 block discarded – undo
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
 
Please login to merge, or discard this patch.
src/Intraface/modules/accounting/Controller/Year/Edit.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -10,7 +10,7 @@
 block discarded – undo
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
 
Please login to merge, or discard this patch.