Passed
Pull Request — master (#14)
by Sarah
02:08 queued 24s
created
views/layouts/main.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -41,7 +41,7 @@
 block discarded – undo
41 41
 
42 42
     <body>
43 43
 	
44
-	<script src="<?= $this->theme->getBaseUrl() . '/js/lightbox-plus-jquery.min.js'; ?>"></script>
44
+	<script src="<?= $this->theme->getBaseUrl().'/js/lightbox-plus-jquery.min.js'; ?>"></script>
45 45
 	
46 46
     <?php $this->beginBody() ?>
47 47
 	
Please login to merge, or discard this patch.
views/comment/widgets/link.php 1 patch
Spacing   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -18,8 +18,8 @@
 block discarded – undo
18 18
     <a href="#" data-action-click="ui.modal.load" data-action-url="<?= $url ?>">
19 19
         <?= Yii::t('CommentModule.widgets_views_link', "Comment").'('.$this->context->getCommentsCount().')' ?>
20 20
     </a>
21
-<?php elseif(Yii::$app->user->isGuest): ?>
21
+<?php elseif (Yii::$app->user->isGuest): ?>
22 22
     <?= Html::a(Yii::t('CommentModule.widgets_views_link', "Comment").$commentCountSpan, Yii::$app->user->loginUrl, ['data-target' => '#globalModal']) ?>
23 23
 <?php else : ?>
24
-    <?= Html::a(Yii::t('CommentModule.widgets_views_link', "Comment").$commentCountSpan, "#",['onClick' => "$('#comment_" . $id . "').slideToggle('fast');$('#newCommentForm_" . $id . "').focus();return false;"]); ?>
24
+    <?= Html::a(Yii::t('CommentModule.widgets_views_link', "Comment").$commentCountSpan, "#", ['onClick' => "$('#comment_".$id."').slideToggle('fast');$('#newCommentForm_".$id."').focus();return false;"]); ?>
25 25
 <?php endif; ?>
Please login to merge, or discard this patch.