@@ -23,7 +23,7 @@ discard block |
||
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 |
||
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 |
||
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(); |
@@ -43,7 +43,7 @@ |
||
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 |
@@ -41,7 +41,7 @@ |
||
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 |
@@ -95,7 +95,7 @@ |
||
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:'); |
@@ -29,7 +29,7 @@ |
||
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> |
@@ -36,13 +36,13 @@ |
||
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 |
@@ -10,7 +10,7 @@ |
||
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 |
@@ -35,7 +35,7 @@ |
||
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 |
@@ -22,7 +22,7 @@ |
||
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 |