@@ -12,7 +12,7 @@ |
||
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') { |
@@ -67,11 +67,11 @@ |
||
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(); |
@@ -9,7 +9,7 @@ |
||
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" /> |
@@ -12,7 +12,7 @@ |
||
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"'; |
@@ -117,7 +117,7 @@ |
||
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 |
@@ -19,7 +19,7 @@ |
||
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 |
@@ -71,7 +71,7 @@ |
||
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 |
@@ -34,7 +34,7 @@ |
||
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 |
@@ -51,7 +51,7 @@ discard block |
||
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 |
||
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 |