Completed
Pull Request — master (#26)
by Lars
14:13
created
src/Intraface/modules/cms/Controller/templates/page/pages.tpl.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
             </thead>
13 13
             <?php foreach ($pages as $p) :?>
14 14
                 <tr>
15
-                    <td><a href="<?php e(url($p['id'])); ?>"><?php e(str_repeat("- ", $p['level']) . $p['navigation_name']); ?></a></td>
15
+                    <td><a href="<?php e(url($p['id'])); ?>"><?php e(str_repeat("- ", $p['level']).$p['navigation_name']); ?></a></td>
16 16
                     <td><?php e($p['identifier']); ?></td>
17 17
                     <td>
18 18
                         <?php if ($p['status'] == 'published') {
Please login to merge, or discard this patch.
src/Intraface/modules/cms/Controller/templates/element/htmltext.tpl.php 1 patch
Spacing   +3 added lines, -3 removed lines patch added patch discarded remove patch
@@ -67,11 +67,11 @@
 block discarded – undo
67 67
     if (!isset($value['text'])) {
68 68
         $value['text'] = '';
69 69
     }
70
-    require_once dirname(__FILE__) . '/../../../CKEditor.php';
70
+    require_once dirname(__FILE__).'/../../../CKEditor.php';
71 71
     $config['language'] = 'da';
72 72
     $config['toolbar'] = array(
73
-         array( 'Source', '-', 'Cut','Copy','Paste','PasteText','PasteFromWord', '', 'Undo','Redo', '-', 'Format', 'Bold', 'Italic', 'Strike' ),
74
-         array( 'Image', 'Link', 'Unlink', 'NumberedList', 'BulletedList', 'Blockquote', 'Outdent', 'Indent', '-', 'Maximize' )
73
+         array('Source', '-', 'Cut', 'Copy', 'Paste', 'PasteText', 'PasteFromWord', '', 'Undo', 'Redo', '-', 'Format', 'Bold', 'Italic', 'Strike'),
74
+         array('Image', 'Link', 'Unlink', 'NumberedList', 'BulletedList', 'Blockquote', 'Outdent', 'Indent', '-', 'Maximize')
75 75
      );
76 76
     $config['filebrowserBrowseUrl'] = url('/restricted/module/filemanager/ckeditor', array('images' => 1));
77 77
     $CKEditor = new CKEditor();
Please login to merge, or discard this patch.
src/Intraface/modules/cms/Controller/templates/element/picture.tpl.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -9,7 +9,7 @@
 block discarded – undo
9 9
                 */
10 10
             if (!empty($value['pic_id'])) {
11 11
                 $filehandler = new Ilib_Filehandler($kernel, $value['pic_id']);
12
-                e('Filehandler id: ' . $filehandler->get('id'). ' chosen');
12
+                e('Filehandler id: '.$filehandler->get('id').' chosen');
13 13
             }
14 14
             ?>
15 15
      <input type="submit" value="<?php e(t('Choose picture')); ?>" name="choose_file" />
Please login to merge, or discard this patch.
Intraface/modules/cms/Controller/templates/element/randompicture.tpl.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
         $appender = $filemanager->getKeywordAppender();
13 13
         $keywords = $appender->getUsedKeywords();
14 14
     if (count($keywords) > 0) {
15
-        echo '<div>'. e(t('keywords', 'keyword')) . ': <ul style="display: inline;">';
15
+        echo '<div>'.e(t('keywords', 'keyword')).': <ul style="display: inline;">';
16 16
         foreach ($keywords as $keyword_value) {
17 17
             if (in_array($keyword_value['keyword'], $selected_keywords) === true) {
18 18
                 $checked = 'checked="checked"';
Please login to merge, or discard this patch.
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.