Completed
Pull Request — master (#26)
by Lars
10:03
created
src/Intraface/Controller/templates/switchintranet.tpl.php 1 patch
Braces   +3 added lines, -1 removed lines patch added patch discarded remove patch
@@ -14,8 +14,10 @@
 block discarded – undo
14 14
     <div>
15 15
         <input type="submit" value="<?php e(t('Switch')); ?>" /> <a href="<?php if (isset($_SERVER['HTTP_REFERER'])) :
16 16
             e($_SERVER['HTTP_REFERER']);
17
-else :
17
+else {
18
+    :
18 19
     echo 'index.php';
20
+}
19 21
 endif; ?>"><?php e(t('Cancel')); ?></a>
20 22
     </div>
21 23
 
Please login to merge, or discard this patch.
src/Intraface/Fileimport/Controller/templates/index.tpl.php 1 patch
Braces   +5 added lines, -2 removed lines patch added patch discarded remove patch
@@ -34,9 +34,12 @@
 block discarded – undo
34 34
     <input type="submit" class="save" name="save" value="<?php e(t('select').'...'); ?>" />
35 35
     <a href="<?php url(null); ?>"><?php e(t('Cancel')); ?></a>
36 36
 
37
-<?php else : ?>
37
+<?php else {
38
+    : ?>
38 39
     <fieldset>
39
-        <legend><?php e(t('file')); ?></legend>
40
+        <legend><?php e(t('file'));
41
+}
42
+?></legend>
40 43
 
41 44
         <div><?php e(t('currently files in the CSV format are supported')); ?></div>
42 45
 
Please login to merge, or discard this patch.
install/Install.php 1 patch
Braces   +3 added lines, -2 removed lines patch added patch discarded remove patch
@@ -130,8 +130,9 @@
 block discarded – undo
130 130
     {
131 131
         if ( is_dir( $f ) ){
132 132
             foreach ( scandir( $f ) as $item ){
133
-                if ( !strcmp( $item, '.' ) || !strcmp( $item, '..' ) )
134
-                    continue;
133
+                if ( !strcmp( $item, '.' ) || !strcmp( $item, '..' ) ) {
134
+                                    continue;
135
+                }
135 136
                 $this->deleteUploadDirectory( $f . "/" . $item );
136 137
             }
137 138
             rmdir( $f );
Please login to merge, or discard this patch.
src/Intraface/modules/cms/Controller/templates/navigation.tpl.php 1 patch
Braces   +5 added lines, -2 removed lines patch added patch discarded remove patch
@@ -55,9 +55,12 @@
 block discarded – undo
55 55
 <?php if (isset($product_id)) : ?>
56 56
     <input type="hidden" name="product_id" value="<?php e($product_id); ?>" />
57 57
     <input type="submit" name="append_product" value="<?php e(t('Select')); ?>" />
58
-<?php else : ?>
58
+<?php else {
59
+    : ?>
59 60
     <select name="action">
60
-        <option value=""><?php e(t('Choose...')); ?></option>
61
+        <option value=""><?php e(t('Choose...'));
62
+}
63
+?></option>
61 64
         <option value="delete"><?php e(t('Delete selected')); ?></option>
62 65
     </select>
63 66
 
Please login to merge, or discard this patch.