Completed
Push — master ( 9d10c2...bf46e5 )
by Lars
05:14
created
src/Intraface/modules/cms/Controller/Page.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -117,7 +117,7 @@
 block discarded – undo
117 117
             'kernel' => $this->getKernel(),
118 118
             'cmspages' => $cmspages);
119 119
 
120
-        $tpl = $this->template->create(dirname(__FILE__) . '/templates/page-edit');
120
+        $tpl = $this->template->create(dirname(__FILE__).'/templates/page-edit');
121 121
         return $tpl->render($this, $data);
122 122
     }
123 123
 
Please login to merge, or discard this patch.
src/Intraface/modules/cms/Controller/Stylesheet.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -19,7 +19,7 @@
 block discarded – undo
19 19
             'cmssite' => $cmssite
20 20
         );
21 21
 
22
-        $tpl = $this->template->create(dirname(__FILE__) . '/templates/stylesheet-edit');
22
+        $tpl = $this->template->create(dirname(__FILE__).'/templates/stylesheet-edit');
23 23
         return $tpl->render($this, $data);
24 24
     }
25 25
 
Please login to merge, or discard this patch.
src/Intraface/modules/cms/Controller/Section.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -71,7 +71,7 @@
 block discarded – undo
71 71
             'element_types' => $element_types
72 72
         );
73 73
 
74
-        $tpl = $this->template->create(dirname(__FILE__) . '/templates/section-html');
74
+        $tpl = $this->template->create(dirname(__FILE__).'/templates/section-html');
75 75
         return $tpl->render($this, $data);
76 76
     }
77 77
 
Please login to merge, or discard this patch.
src/Intraface/modules/cms/Controller/TemplateSectionEdit.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -34,7 +34,7 @@
 block discarded – undo
34 34
             'kernel' => $this->getKernel()
35 35
         );
36 36
 
37
-        $tpl = $this->template->create(dirname(__FILE__) . '/templates/template-section-edit');
37
+        $tpl = $this->template->create(dirname(__FILE__).'/templates/template-section-edit');
38 38
         return $tpl->render($this, $data);
39 39
     }
40 40
     
Please login to merge, or discard this patch.
src/Intraface/modules/cms/Controller/Template.php 1 patch
Spacing   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -51,7 +51,7 @@  discard block
 block discarded – undo
51 51
             'sections' => $this->getModel()->getSections()
52 52
         );
53 53
 
54
-        $tpl = $this->template->create(dirname(__FILE__) . '/templates/template');
54
+        $tpl = $this->template->create(dirname(__FILE__).'/templates/template');
55 55
         return $tpl->render($this, $data);
56 56
     }
57 57
 
@@ -63,7 +63,7 @@  discard block
 block discarded – undo
63 63
             'translation' => $this->getKernel()->getTranslation()
64 64
         );
65 65
 
66
-        $tpl = $this->template->create(dirname(__FILE__) . '/templates/template-edit');
66
+        $tpl = $this->template->create(dirname(__FILE__).'/templates/template-edit');
67 67
         return $tpl->render($this, $data);
68 68
     }
69 69
 
Please login to merge, or discard this patch.
src/Intraface/modules/cms/Controller/Site.php 1 patch
Spacing   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -44,7 +44,7 @@  discard block
 block discarded – undo
44 44
             'kernel' => $this->getKernel()
45 45
         );
46 46
 
47
-        $tpl = $this->template->create(dirname(__FILE__) . '/templates/site');
47
+        $tpl = $this->template->create(dirname(__FILE__).'/templates/site');
48 48
         return $tpl->render($this, $data);
49 49
     }
50 50
 
@@ -64,7 +64,7 @@  discard block
 block discarded – undo
64 64
             'translation' => $this->getKernel()->getTranslation('cms')
65 65
         );
66 66
 
67
-        $tpl = $this->template->create(dirname(__FILE__) . '/templates/site-edit');
67
+        $tpl = $this->template->create(dirname(__FILE__).'/templates/site-edit');
68 68
         return $tpl->render($this, $data);
69 69
     }
70 70
 
Please login to merge, or discard this patch.
src/Intraface/modules/cms/Controller/Pages.php 1 patch
Spacing   +4 added lines, -4 removed lines patch added patch discarded remove patch
@@ -92,7 +92,7 @@  discard block
 block discarded – undo
92 92
             'news' => $news
93 93
         );
94 94
 
95
-        $tpl = $this->template->create(dirname(__FILE__) . '/templates/pages');
95
+        $tpl = $this->template->create(dirname(__FILE__).'/templates/pages');
96 96
         return $tpl->render($this, $data);
97 97
     }
98 98
 
@@ -146,7 +146,7 @@  discard block
 block discarded – undo
146 146
             'kernel' => $this->getKernel(),
147 147
             'cmspages' => $cmspages);
148 148
 
149
-        $tpl = $this->template->create(dirname(__FILE__) . '/templates/page-edit');
149
+        $tpl = $this->template->create(dirname(__FILE__).'/templates/page-edit');
150 150
         return $tpl->render($this, $data);
151 151
     }
152 152
 
@@ -158,12 +158,12 @@  discard block
 block discarded – undo
158 158
 
159 159
         if ($cmspage->save($_POST)) {
160 160
             if (!empty($_POST['choose_file']) && $this->getKernel()->user->hasModuleAccess('filemanager')) {
161
-                return new k_SeeOther($this->url($cmspage->get('id') . '/filehandler/selectfile', array('images' => 1)));
161
+                return new k_SeeOther($this->url($cmspage->get('id').'/filehandler/selectfile', array('images' => 1)));
162 162
             } elseif (!empty($_POST['close'])) {
163 163
                 return new k_SeeOther($this->url($cmspage->get('id')));
164 164
             } elseif (!empty($_POST['add_keywords'])) {
165 165
                 $keyword_shared = $this->getKernel()->useShared('keyword');
166
-                return new k_SeeOther($this->url($cmspage->get('id') . '/keyword/connect'));
166
+                return new k_SeeOther($this->url($cmspage->get('id').'/keyword/connect'));
167 167
             } else {
168 168
                 return new k_SeeOther($this->url(null, array('type' => $cmspage->get('type'))));
169 169
             }
Please login to merge, or discard this patch.
src/Intraface/modules/cms/HTML/Editor.php 1 patch
Spacing   +3 added lines, -3 removed lines patch added patch discarded remove patch
@@ -24,7 +24,7 @@  discard block
 block discarded – undo
24 24
     function setEditor($editor)
25 25
     {
26 26
         if (!in_array($editor, $this->implemented_editors)) {
27
-            throw new Exception($editor . 'editor not implemented');
27
+            throw new Exception($editor.'editor not implemented');
28 28
         }
29 29
 
30 30
         $this->editor = $editor;
@@ -87,8 +87,8 @@  discard block
 block discarded – undo
87 87
                     }
88 88
 
89 89
                     if (in_array('a', $this->allowed_tags)) {
90
-                        $button[]= 'link';
91
-                        $button[]= 'unlink';
90
+                        $button[] = 'link';
91
+                        $button[] = 'unlink';
92 92
                     }
93 93
 
94 94
                     if (in_array('ul', $this->allowed_tags)) {
Please login to merge, or discard this patch.
src/Intraface/modules/cms/element/Map.php 1 patch
Spacing   +3 added lines, -3 removed lines patch added patch discarded remove patch
@@ -35,7 +35,7 @@  discard block
 block discarded – undo
35 35
                 $api = $this->get('api_key');
36 36
             }
37 37
 
38
-                $this->value['map']  = '<script type="text/javascript" src="http://api.maps.yahoo.com/ajaxymap?'.htmlentities('v=2.0&appid=' . $api) .'"></script>';
38
+                $this->value['map'] = '<script type="text/javascript" src="http://api.maps.yahoo.com/ajaxymap?'.htmlentities('v=2.0&appid='.$api).'"></script>';
39 39
                 /* flash version
40 40
                 $this->value['map'] .= '<script type="text/javascript">';
41 41
                 $this->value['map'] .= '    var latlon = new LatLon(' .$a['ResultSet']['Result']['Latitude'] . ', '. $a['ResultSet']['Result']['Longitude'].');';
@@ -51,7 +51,7 @@  discard block
 block discarded – undo
51 51
                 $this->value['map'] .= '		var words = "title";';
52 52
                 $this->value['map'] .= '		marker.openSmartWindow(words);';
53 53
                 $this->value['map'] .= '	} ';
54
-                $this->value['map'] .= '	var latlon = new YGeoPoint(' .$this->get('latitude') . ', '. $this->get('longitude').');';
54
+                $this->value['map'] .= '	var latlon = new YGeoPoint('.$this->get('latitude').', '.$this->get('longitude').');';
55 55
                 $this->value['map'] .= '	var mymap = new  YMap(document.getElementById("mapContainer"));';
56 56
                 $this->value['map'] .= '	var marker = new YMarker(latlon);';
57 57
                 $this->value['map'] .= '	marker.addLabel("<b>A</b>"); ';
@@ -84,7 +84,7 @@  discard block
 block discarded – undo
84 84
                 $this->value['map'] .= '    }';
85 85
                 $this->value['map'] .= '}';
86 86
                 $this->value['map'] .= 'load();';
87
-                $this->value['map'] .= '    var latlon = new YGeoPoint(' .$this->get('latitude') . ', '. $this->get('longitude').');';
87
+                $this->value['map'] .= '    var latlon = new YGeoPoint('.$this->get('latitude').', '.$this->get('longitude').');';
88 88
                 $this->value['map'] .= '    var mymap = new  YMap(document.getElementById("mapContainer"));';
89 89
                 $this->value['map'] .= '    var marker = new YMarker(latlon);';
90 90
                 $this->value['map'] .= '    marker.addLabel("<b>A</b>"); ';
Please login to merge, or discard this patch.