Completed
Pull Request — master (#26)
by Lars
10:03
created
src/Intraface/modules/debtor/Controller/Index.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -28,7 +28,7 @@
 block discarded – undo
28 28
             return new k_SeeOther($this->url('quotation/list', array('type' => 'quotation')));
29 29
         }
30 30
 
31
-        $smarty = $this->template->create(dirname(__FILE__) . '/templates/index');
31
+        $smarty = $this->template->create(dirname(__FILE__).'/templates/index');
32 32
         return $smarty->render($this);
33 33
     }
34 34
 
Please login to merge, or discard this patch.
src/Intraface/modules/email/Controller/Index.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -62,7 +62,7 @@
 block discarded – undo
62 62
             'email_shared' => $email_shared
63 63
         );
64 64
 
65
-        $tpl = $this->template->create(dirname(__FILE__) . '/templates/index');
65
+        $tpl = $this->template->create(dirname(__FILE__).'/templates/index');
66 66
         return $tpl->render($this, $data);
67 67
     }
68 68
 
Please login to merge, or discard this patch.
src/Intraface/modules/administration/Controller/Index.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/index');
13
+        $smarty = $this->template->create(dirname(__FILE__).'/templates/index');
14 14
         return $smarty->render($this);
15 15
     }
16 16
 
Please login to merge, or discard this patch.
src/Intraface/modules/accounting/Controller/State/Procurement.php 1 patch
Spacing   +3 added lines, -3 removed lines patch added patch discarded remove patch
@@ -25,7 +25,7 @@  discard block
 block discarded – undo
25 25
             return new k_SeeOther($this->url('selectyear'));
26 26
         }
27 27
 
28
-        $this->document->setTitle('State procurement #' . $this->getProcurement()->get('id'));
28
+        $this->document->setTitle('State procurement #'.$this->getProcurement()->get('id'));
29 29
 
30 30
         $data = array(
31 31
             'procurement' => $this->getProcurement(),
@@ -36,7 +36,7 @@  discard block
 block discarded – undo
36 36
             'value' => $this->getValues(),
37 37
             'vat_account' => new Account($this->getYear(), $this->getYear()->getSetting('vat_in_account_id')));
38 38
 
39
-        $smarty = $this->template->create(dirname(__FILE__) . '/../templates/state/procurement');
39
+        $smarty = $this->template->create(dirname(__FILE__).'/../templates/state/procurement');
40 40
         return $smarty->render($this, $data);
41 41
     }
42 42
 
@@ -118,7 +118,7 @@  discard block
 block discarded – undo
118 118
     function getProposeButton()
119 119
     {
120 120
         if ($this->add_propose_button === true) {
121
-            return '<input type="submit" name="propose_changes" value="' . $this->t('Propose changes') . '" />';
121
+            return '<input type="submit" name="propose_changes" value="'.$this->t('Propose changes').'" />';
122 122
         }
123 123
     }
124 124
 }
Please login to merge, or discard this patch.
src/Intraface/modules/accounting/Controller/Year/End.php 1 patch
Spacing   +6 added lines, -6 removed lines patch added patch discarded remove patch
@@ -10,7 +10,7 @@  discard block
 block discarded – undo
10 10
 
11 11
     function renderHtml()
12 12
     {
13
-        $smarty = $this->template->create(dirname(__FILE__) . '/../templates/year/end');
13
+        $smarty = $this->template->create(dirname(__FILE__).'/../templates/year/end');
14 14
         return $smarty->render($this);
15 15
     }
16 16
 
@@ -29,21 +29,21 @@  discard block
 block discarded – undo
29 29
         $workbook->setVersion(8);
30 30
 
31 31
         // sending HTTP headers
32
-        $workbook->send($kernel->intranet->get('name') . ' - konti ' . $year->get('label') . '.xls');
32
+        $workbook->send($kernel->intranet->get('name').' - konti '.$year->get('label').'.xls');
33 33
 
34 34
         // Creating a worksheet
35
-        $worksheet =& $workbook->addWorksheet('Konti ' . $year->get('label'));
35
+        $worksheet = & $workbook->addWorksheet('Konti '.$year->get('label'));
36 36
         $worksheet->setInputEncoding('UTF-8');
37 37
 
38
-        $format_bold =& $workbook->addFormat();
38
+        $format_bold = & $workbook->addFormat();
39 39
         $format_bold->setBold();
40 40
         $format_bold->setSize(8);
41 41
 
42
-        $format_italic =& $workbook->addFormat();
42
+        $format_italic = & $workbook->addFormat();
43 43
         $format_italic->setItalic();
44 44
         $format_italic->setSize(8);
45 45
 
46
-        $format =& $workbook->addFormat();
46
+        $format = & $workbook->addFormat();
47 47
         $format->setSize(8);
48 48
         $i = 0;
49 49
         $worksheet->write($i, 0, $kernel->intranet->get('name'), $format_bold);
Please login to merge, or discard this patch.
src/Intraface/modules/intranetmaintenance/Controller/User/Show.php 1 patch
Spacing   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -71,7 +71,7 @@  discard block
 block discarded – undo
71 71
             'intranet' => $intranet,
72 72
             'user' => $user);
73 73
 
74
-        $smarty = $this->template->create(dirname(__FILE__) . '/../templates/user/show');
74
+        $smarty = $this->template->create(dirname(__FILE__).'/../templates/user/show');
75 75
         return $smarty->render($this, $data);
76 76
     }
77 77
 
@@ -104,7 +104,7 @@  discard block
 block discarded – undo
104 104
 
105 105
     function renderHtmlEdit()
106 106
     {
107
-        $smarty = $this->template->create(dirname(__FILE__) . '/../templates/user/edit');
107
+        $smarty = $this->template->create(dirname(__FILE__).'/../templates/user/edit');
108 108
         return $smarty->render($this);
109 109
     }
110 110
 
Please login to merge, or discard this patch.
src/Intraface/modules/intranetmaintenance/Controller/Index.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/index');
13
+        $smarty = $this->template->create(dirname(__FILE__).'/templates/index');
14 14
         return $smarty->render($this);
15 15
     }
16 16
 
Please login to merge, or discard this patch.
src/Intraface/modules/shop/Controller/tpl/categories-edit.tpl.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -32,7 +32,7 @@
 block discarded – undo
32 32
             # If there is subcategories to the category
33 33
             if (is_array($category['categories']) && count($category['categories']) > 0) {
34 34
                 # We make the items for the next level the sub categories of this category
35
-                $level_categories[$level+1] = $category['categories'];
35
+                $level_categories[$level + 1] = $category['categories'];
36 36
 
37 37
                 # We move to next level
38 38
                 $level++;
Please login to merge, or discard this patch.
src/Intraface/modules/cms/TemplateGateway.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -12,7 +12,7 @@
 block discarded – undo
12 12
 
13 13
     function findById($id)
14 14
     {
15
-                $this->db->query("SELECT site_id, id FROM cms_template WHERE id = " . $id . " AND intranet_id = " . $this->kernel->intranet->get('id'));
15
+                $this->db->query("SELECT site_id, id FROM cms_template WHERE id = ".$id." AND intranet_id = ".$this->kernel->intranet->get('id'));
16 16
         if (!$this->db->nextRecord()) {
17 17
             return false;
18 18
         }
Please login to merge, or discard this patch.