Completed
Branch master (6ed6e7)
by Lars
07:57
created
src/Intraface/modules/cms/Element.php 1 patch
Indentation   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -281,7 +281,7 @@
 block discarded – undo
281 281
         $this->save_element($var);
282 282
 
283 283
         return $this->id;
284
-  }
284
+    }
285 285
 
286 286
     /**
287 287
      * Deactivates an element
Please login to merge, or discard this patch.
src/Intraface/modules/cms/MainCms.php 1 patch
Indentation   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -43,7 +43,7 @@
 block discarded – undo
43 43
 
44 44
         $this->addPreloadFile('Section.php');
45 45
 
46
-         $this->includeSettingFile('settings.php');
46
+            $this->includeSettingFile('settings.php');
47 47
 
48 48
         $this->addSetting('status', array(
49 49
             1 => 'draft',
Please login to merge, or discard this patch.
src/Intraface/modules/cms/Controller/TemplateSections.php 1 patch
Indentation   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -4,7 +4,7 @@
 block discarded – undo
4 4
     function map($name)
5 5
     {
6 6
         if (is_numeric($name)) {
7
-             return 'Intraface_modules_cms_Controller_TemplateSectionEdit';
7
+                return 'Intraface_modules_cms_Controller_TemplateSectionEdit';
8 8
         } elseif ($name == 'create') {
9 9
             return 'Intraface_modules_cms_Controller_TemplateSectionEdit';
10 10
         }
Please login to merge, or discard this patch.
src/Intraface/modules/cms/Controller/Page.php 1 patch
Indentation   +3 added lines, -3 removed lines patch added patch discarded remove patch
@@ -109,9 +109,9 @@
 block discarded – undo
109 109
         $this->document->addScript('cms/parseUrlIdentifier.js');
110 110
 
111 111
         $data = array('value' => $value,
112
-        	'type' => $type,
113
-        	'cmspage' => $cmspage,
114
-        	'translation' => $this->getKernel()->getTranslation('cms'),
112
+            'type' => $type,
113
+            'cmspage' => $cmspage,
114
+            'translation' => $this->getKernel()->getTranslation('cms'),
115 115
             'templates' => $templates,
116 116
             'cmssite' => $cmssite,
117 117
             'kernel' => $this->getKernel(),
Please login to merge, or discard this patch.
src/Intraface/modules/cms/Controller/Element.php 1 patch
Indentation   +3 added lines, -3 removed lines patch added patch discarded remove patch
@@ -42,7 +42,7 @@  discard block
 block discarded – undo
42 42
         } elseif ($this->getElement()->get('type') == 'filelist') {
43 43
             return $append_file = new AppendFile($this->getKernel(), 'cms_element_filelist', $this->getElement()->get('id'));
44 44
         } elseif ($this->getElement()->get('type') == 'picture') {
45
-             return new AppendFile($this->getKernel(), 'cms_element_picture', $this->getElement()->get('id'));
45
+                return new AppendFile($this->getKernel(), 'cms_element_picture', $this->getElement()->get('id'));
46 46
         }
47 47
         throw new Exception('No valid fileappender present');
48 48
     }
@@ -121,9 +121,9 @@  discard block
 block discarded – undo
121 121
                 if ($element->get('type') == 'picture') {
122 122
                     return new k_SeeOther($this->url('filehandler/selectfile', array('images' => 1)));
123 123
                 } elseif ($element->get('type') == 'gallery') {
124
-                     return new k_SeeOther($this->url('filehandler/selectfile', array('images' => 1, 'multiple_choice' => 1)));
124
+                        return new k_SeeOther($this->url('filehandler/selectfile', array('images' => 1, 'multiple_choice' => 1)));
125 125
                 } elseif ($element->get('type') == 'filelist') {
126
-                     return new k_SeeOther($this->url('filehandler/selectfile', array('images' => 0, 'multiple_choice' => 1)));
126
+                        return new k_SeeOther($this->url('filehandler/selectfile', array('images' => 0, 'multiple_choice' => 1)));
127 127
                 } else {
128 128
                     throw new Exception("Det er ikke en gyldig elementtype til at lave redirect fra");
129 129
                 }
Please login to merge, or discard this patch.
src/Intraface/modules/cms/Controller/Sections.php 1 patch
Indentation   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -47,8 +47,8 @@
 block discarded – undo
47 47
         }
48 48
 
49 49
         $data = array(
50
-        	'cmspage' => $cmspage,
51
-        	'sections' => $sections,
50
+            'cmspage' => $cmspage,
51
+            'sections' => $sections,
52 52
             'kernel' => $this->getKernel(),
53 53
             'error' => $this->error
54 54
         );
Please login to merge, or discard this patch.
src/Intraface/modules/cms/Controller/Index.php 1 patch
Indentation   +3 added lines, -3 removed lines patch added patch discarded remove patch
@@ -14,9 +14,9 @@
 block discarded – undo
14 14
 
15 15
     function map($name)
16 16
     {
17
-         if (is_numeric($name)) {
18
-             return 'Intraface_modules_cms_Controller_Site';
19
-         }  elseif ($name == 'create') {
17
+            if (is_numeric($name)) {
18
+                return 'Intraface_modules_cms_Controller_Site';
19
+            }  elseif ($name == 'create') {
20 20
             return 'Intraface_modules_cms_Controller_SiteEdit';
21 21
         }
22 22
     }
Please login to merge, or discard this patch.
src/Intraface/modules/cms/Controller/Pages.php 1 patch
Indentation   +5 added lines, -5 removed lines patch added patch discarded remove patch
@@ -85,8 +85,8 @@  discard block
 block discarded – undo
85 85
         $news = $cmsnews->getList();
86 86
 
87 87
         $data = array(
88
-        	'type' => $type,
89
-        	'page_types_plural' => $page_types_plural,
88
+            'type' => $type,
89
+            'page_types_plural' => $page_types_plural,
90 90
             'cmssite' => $cmssite,
91 91
             'cmspage' => $cmspage,
92 92
             'pages' => $pages,
@@ -139,9 +139,9 @@  discard block
 block discarded – undo
139 139
         $this->document->addScript('cms/parseUrlIdentifier.js');
140 140
 
141 141
         $data = array('value' => $value,
142
-        	'type' => $type,
143
-        	'cmspage' => $cmspage,
144
-        	'template' => $template,
142
+            'type' => $type,
143
+            'cmspage' => $cmspage,
144
+            'template' => $template,
145 145
             'translation' => $this->getKernel()->getTranslation('cms'),
146 146
             'templates' => $templates,
147 147
             'cmssite' => $cmssite,
Please login to merge, or discard this patch.
src/Intraface/modules/cms/Controller/Templates.php 1 patch
Indentation   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -19,7 +19,7 @@
 block discarded – undo
19 19
 
20 20
     function getSiteId()
21 21
     {
22
-         return $this->context->name();
22
+            return $this->context->name();
23 23
     }
24 24
 
25 25
     function renderHtml()
Please login to merge, or discard this patch.