Completed
Pull Request — dev (#76)
by Sarah
02:44
created
views/content/widgets/archiveLink.php 1 patch
Braces   +5 added lines, -2 removed lines patch added patch discarded remove patch
@@ -12,9 +12,12 @@
 block discarded – undo
12 12
         <a href="#" data-action-click="unarchive" data-action-url="<?= $unarchiveLink ?>">
13 13
             <i class="fa fa-archive"></i> <?= Yii::t('ContentModule.widgets_views_archiveLink', 'Unarchive'); ?>
14 14
         </a>
15
-    <?php else: ?>
15
+    <?php else {
16
+    : ?>
16 17
         <a href="#" data-action-click="archive" data-action-url="<?= $archiveLink ?>">
17
-            <i class="fa fa-archive"></i> <?= Yii::t('ContentModule.widgets_views_archiveLink', 'Move to archive'); ?>
18
+            <i class="fa fa-archive"></i> <?= Yii::t('ContentModule.widgets_views_archiveLink', 'Move to archive');
19
+}
20
+?>
18 21
         </a>
19 22
     <?php endif; ?>
20 23
 </li>
21 24
\ No newline at end of file
Please login to merge, or discard this patch.
views/content/widgets/pinLink.php 1 patch
Braces   +5 added lines, -2 removed lines patch added patch discarded remove patch
@@ -3,9 +3,12 @@
 block discarded – undo
3 3
         <a href="#" data-action-click="unpin" data-action-url="<?= $unpinUrl ?>">
4 4
             <i class="fa fa-arrow-up"></i> <?php echo Yii::t('ContentModule.widgets_views_pinLink', 'Unpin'); ?>
5 5
         </a>
6
-       <?php else: ?>
6
+       <?php else {
7
+    : ?>
7 8
         <a href="#" data-action-click="pin" data-action-url="<?= $pinUrl ?>">
8
-            <i class="fa fa-arrow-up"></i> <?php echo Yii::t('ContentModule.widgets_views_pinLink', 'Pin to top'); ?>
9
+            <i class="fa fa-arrow-up"></i> <?php echo Yii::t('ContentModule.widgets_views_pinLink', 'Pin to top');
10
+}
11
+?>
9 12
         </a>
10 13
     <?php endif; ?>
11 14
 </li>
12 15
\ No newline at end of file
Please login to merge, or discard this patch.
views/directory/directory/members.php 1 patch
Braces   +5 added lines, -2 removed lines patch added patch discarded remove patch
@@ -18,8 +18,11 @@
 block discarded – undo
18 18
     <div class="panel-heading">
19 19
         <?php if ($group === null) : ?>
20 20
             <?= Yii::t('DirectoryModule.base', '<strong>Member</strong> directory'); ?>
21
-        <?php else: ?>
22
-            <?= Yii::t('DirectoryModule.base', '<strong>Group</strong> members - {group}', ['{group}' => Html::encode($group->name)]); ?>
21
+        <?php else {
22
+    : ?>
23
+            <?= Yii::t('DirectoryModule.base', '<strong>Group</strong> members - {group}', ['{group}' => Html::encode($group->name)]);
24
+}
25
+?>
23 26
         <?php endif; ?>
24 27
     </div>
25 28
 
Please login to merge, or discard this patch.
views/admin/user-profile/editField.php 1 patch
Braces   +5 added lines, -2 removed lines patch added patch discarded remove patch
@@ -11,8 +11,11 @@
 block discarded – undo
11 11
 
12 12
     <?php if (!$field->isNewRecord) : ?>
13 13
         <h4><?= Yii::t('AdminModule.views_userprofile_editField', 'Edit profile field'); ?></h4>
14
-    <?php else: ?>
15
-        <h4><?= Yii::t('AdminModule.views_userprofile_editField', 'Create new profile field'); ?></h4>
14
+    <?php else {
15
+    : ?>
16
+        <h4><?= Yii::t('AdminModule.views_userprofile_editField', 'Create new profile field');
17
+}
18
+?></h4>
16 19
     <?php endif; ?>
17 20
 
18 21
     <br>
Please login to merge, or discard this patch.
views/admin/user-profile/editCategory.php 1 patch
Braces   +5 added lines, -2 removed lines patch added patch discarded remove patch
@@ -12,8 +12,11 @@
 block discarded – undo
12 12
 
13 13
     <?php if (!$category->isNewRecord) : ?>
14 14
         <h4><?= Yii::t('AdminModule.views_userprofile_editCategory', 'Edit profile category'); ?></h4>
15
-    <?php else: ?>
16
-        <h4><?= Yii::t('AdminModule.views_userprofile_editCategory', 'Create new profile category'); ?></h4>
15
+    <?php else {
16
+    : ?>
17
+        <h4><?= Yii::t('AdminModule.views_userprofile_editCategory', 'Create new profile category');
18
+}
19
+?></h4>
17 20
     <?php endif; ?>
18 21
     <br>
19 22
 
Please login to merge, or discard this patch.
views/admin/group/_manageLayout.php 1 patch
Braces   +5 added lines, -2 removed lines patch added patch discarded remove patch
@@ -9,8 +9,11 @@
 block discarded – undo
9 9
 
10 10
     <?php if (!$group->isNewRecord) : ?>
11 11
         <h4><?= Yii::t('AdminModule.user', 'Manage group: {groupName}', ['groupName' => $group->name]); ?></h4>
12
-    <?php else: ?>
13
-        <h4><?= Yii::t('AdminModule.user', 'Add new group'); ?></h4>
12
+    <?php else {
13
+    : ?>
14
+        <h4><?= Yii::t('AdminModule.user', 'Add new group');
15
+}
16
+?></h4>
14 17
     <?php endif; ?>
15 18
 </div>
16 19
 
Please login to merge, or discard this patch.
views/admin/widgets/prerequisitesList.php 1 patch
Braces   +5 added lines, -2 removed lines patch added patch discarded remove patch
@@ -8,9 +8,12 @@
 block discarded – undo
8 8
                         <i class="fa fa-check-circle check-ok animated bounceIn"></i>
9 9
                     <?php elseif ($check['state'] == 'WARNING') : ?>
10 10
                         <i class="fa fa-exclamation-triangle check-warning animated swing"></i>
11
-                    <?php else : ?>
11
+                    <?php else {
12
+    : ?>
12 13
                         <i class="fa fa-minus-circle check-error animated wobble"></i>
13
-                    <?php endif; ?>
14
+                    <?php endif;
15
+}
16
+?>
14 17
 
15 18
                     <strong><?= $check['title']; ?></strong>
16 19
 
Please login to merge, or discard this patch.
views/admin/setting/oembed.php 1 patch
Braces   +5 added lines, -2 removed lines patch added patch discarded remove patch
@@ -18,8 +18,11 @@
 block discarded – undo
18 18
             <li><?= Html::a($providerUrl, Url::to(['oembed-edit', 'prefix' => $providerUrl]), ['data-method' => 'POST']); ?></li>
19 19
         <?php endforeach; ?>
20 20
     </ul>
21
-<?php else: ?>
22
-    <p><strong><?= Yii::t('AdminModule.views_setting_oembed', 'Currently no provider active!'); ?></strong></p>
21
+<?php else {
22
+    : ?>
23
+    <p><strong><?= Yii::t('AdminModule.views_setting_oembed', 'Currently no provider active!');
24
+}
25
+?></strong></p>
23 26
 <?php endif; ?>
24 27
 
25 28
 <?php $this->endContent(); ?>
26 29
\ No newline at end of file
Please login to merge, or discard this patch.
views/admin/authentication/authentication_ldap.php 1 patch
Braces   +5 added lines, -2 removed lines patch added patch discarded remove patch
@@ -23,8 +23,11 @@
 block discarded – undo
23 23
     <?php if ($enabled): ?>
24 24
         <?php if ($errorMessage != ""): ?>
25 25
             <div class="alert alert-danger"><?= Yii::t('AdminModule.views_setting_authentication_ldap', 'Status: Error! (Message: {message})', ['{message}' => $errorMessage]); ?></div>
26
-            <?php else: ?>
27
-            <div class="alert alert-success"><?= Yii::t('AdminModule.views_setting_authentication_ldap', 'Status: OK! ({userCount} Users)', ['{userCount}' => $userCount]); ?></div>
26
+            <?php else {
27
+    : ?>
28
+            <div class="alert alert-success"><?= Yii::t('AdminModule.views_setting_authentication_ldap', 'Status: OK! ({userCount} Users)', ['{userCount}' => $userCount]);
29
+}
30
+?></div>
28 31
             <?php endif; ?>
29 32
         <?php endif; ?>
30 33
 
Please login to merge, or discard this patch.