Completed
Push — master ( 9d10c2...bf46e5 )
by Lars
05:14
created
src/Intraface/modules/accounting/Controller/Voucher/Index.php 1 patch
Spacing   +4 added lines, -4 removed lines patch added patch discarded remove patch
@@ -23,7 +23,7 @@  discard block
 block discarded – undo
23 23
 
24 24
     function renderHtml()
25 25
     {
26
-        $smarty = $this->template->create(dirname(__FILE__) . '/../templates/voucher/index');
26
+        $smarty = $this->template->create(dirname(__FILE__).'/../templates/voucher/index');
27 27
         return $smarty->render($this);
28 28
     }
29 29
 
@@ -31,7 +31,7 @@  discard block
 block discarded – undo
31 31
     {
32 32
         $year = $this->getYear();
33 33
 
34
-        $this->db_sql->query("SELECT * FROM accounting_voucher WHERE intranet_id = " . $year->kernel->intranet->get('id') . " AND year_id = " . $year->get('id') . " ORDER BY number ASC");
34
+        $this->db_sql->query("SELECT * FROM accounting_voucher WHERE intranet_id = ".$year->kernel->intranet->get('id')." AND year_id = ".$year->get('id')." ORDER BY number ASC");
35 35
         //$i++;
36 36
         $posts = array();
37 37
         while ($this->db_sql->nextRecord()) {
@@ -44,10 +44,10 @@  discard block
 block discarded – undo
44 44
         $workbook->setVersion(8);
45 45
 
46 46
         // sending HTTP headers
47
-        $workbook->send($this->getKernel()->intranet->get('name') . ' - poster ' . $year->get('label'));
47
+        $workbook->send($this->getKernel()->intranet->get('name').' - poster '.$year->get('label'));
48 48
 
49 49
         // Creating a worksheet
50
-        $worksheet = $workbook->addWorksheet('Konti ' . $year->get('label'));
50
+        $worksheet = $workbook->addWorksheet('Konti '.$year->get('label'));
51 51
         $worksheet->setInputEncoding('UTF-8');
52 52
 
53 53
         $format_bold = $workbook->addFormat();
Please login to merge, or discard this patch.
src/Intraface/modules/accounting/Controller/Vat/Show.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -43,7 +43,7 @@
 block discarded – undo
43 43
             'saldo_total' => $saldo_total
44 44
         );
45 45
 
46
-        $smarty = $this->template->create(dirname(__FILE__) . '/../templates/vat/show');
46
+        $smarty = $this->template->create(dirname(__FILE__).'/../templates/vat/show');
47 47
         return $smarty->render($this, $data);
48 48
     }
49 49
 
Please login to merge, or discard this patch.
src/Intraface/modules/accounting/Controller/Vat/Index.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -41,7 +41,7 @@
 block discarded – undo
41 41
         $periods = $vat_period->getList();
42 42
         $post = new Post(new Voucher($year));
43 43
 
44
-        $smarty = $this->template->create(dirname(__FILE__) . '/../templates/vat/period');
44
+        $smarty = $this->template->create(dirname(__FILE__).'/../templates/vat/period');
45 45
         return $smarty->render($this);
46 46
     }
47 47
 
Please login to merge, or discard this patch.
src/Intraface/modules/filemanager/FileViewer.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -95,7 +95,7 @@
 block discarded – undo
95 95
         $last_modified = filemtime($this->file_path);
96 96
 
97 97
         header('Content-Type: '.$this->mime_type);
98
-        header('Last-Modified: ' . gmdate('D, d M Y H:i:s', $last_modified).' GMT');
98
+        header('Last-Modified: '.gmdate('D, d M Y H:i:s', $last_modified).' GMT');
99 99
         header('Cache-Control:');
100 100
         header('Content-Disposition: inline; filename='.$this->file_name);
101 101
         header('Pragma:');
Please login to merge, or discard this patch.
src/Intraface/modules/controlpanel/Controller/templates/index.tpl.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -29,7 +29,7 @@
 block discarded – undo
29 29
         </h2>
30 30
         <ul>
31 31
         <?php foreach ($files as $file) : ?>
32
-            <li><a href="<?php e(url('../../../../' . $file['url'])); ?>"><?php e(t($file['title'])); ?></a></li>
32
+            <li><a href="<?php e(url('../../../../'.$file['url'])); ?>"><?php e(t($file['title'])); ?></a></li>
33 33
         <?php endforeach; ?>
34 34
         </ul>
35 35
         </div>
Please login to merge, or discard this patch.
src/Intraface/modules/controlpanel/Controller/User.php 1 patch
Spacing   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -36,13 +36,13 @@
 block discarded – undo
36 36
 
37 37
     function renderHtml()
38 38
     {
39
-        $smarty = $this->template->create(dirname(__FILE__) . '/templates/user');
39
+        $smarty = $this->template->create(dirname(__FILE__).'/templates/user');
40 40
         return $smarty->render($this, $this->getValues());
41 41
     }
42 42
 
43 43
     function renderHtmlEdit()
44 44
     {
45
-        $smarty = $this->template->create(dirname(__FILE__) . '/templates/useredit');
45
+        $smarty = $this->template->create(dirname(__FILE__).'/templates/useredit');
46 46
         return $smarty->render($this, $this->getValues());
47 47
     }
48 48
 
Please login to merge, or discard this patch.
src/Intraface/modules/controlpanel/Controller/ChangePassword.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/changepassword');
13
+        $smarty = $this->template->create(dirname(__FILE__).'/templates/changepassword');
14 14
         return $smarty->render($this);
15 15
     }
16 16
 
Please login to merge, or discard this patch.
src/Intraface/modules/controlpanel/Controller/UserPreferences.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -35,7 +35,7 @@
 block discarded – undo
35 35
 
36 36
     function renderHtml()
37 37
     {
38
-        $smarty = $this->template->create(dirname(__FILE__) . '/templates/userpreferences');
38
+        $smarty = $this->template->create(dirname(__FILE__).'/templates/userpreferences');
39 39
         return $smarty->render($this);
40 40
     }
41 41
 
Please login to merge, or discard this patch.
src/Intraface/modules/controlpanel/Controller/Index.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -22,7 +22,7 @@
 block discarded – undo
22 22
 
23 23
     function renderHtml()
24 24
     {
25
-        $smarty = $this->template->create(dirname(__FILE__) . '/templates/index');
25
+        $smarty = $this->template->create(dirname(__FILE__).'/templates/index');
26 26
         return $smarty->render($this);
27 27
     }
28 28
 
Please login to merge, or discard this patch.