diff options
author | Aleksey Lim <alsroot@member.fsf.org> | 2016-02-28 19:20:31 (GMT) |
---|---|---|
committer | Aleksey Lim <alsroot@member.fsf.org> | 2016-02-28 19:20:31 (GMT) |
commit | e658d924d5342394b1e7316c120cd95cfdcba3ef (patch) | |
tree | e9d7da32316d781d2bc5d6272f649ce634b60e8f /site/app/views/reviews/display.thtml | |
parent | fe1adeb6cfa6b7f8ef5cbd94f67bf69db0d4596e (diff) |
Fix PHP upgrade related issues
Diffstat (limited to 'site/app/views/reviews/display.thtml')
-rw-r--r-- | site/app/views/reviews/display.thtml | 12 |
1 files changed, 6 insertions, 6 deletions
diff --git a/site/app/views/reviews/display.thtml b/site/app/views/reviews/display.thtml index 0639c38..bf64b95 100644 --- a/site/app/views/reviews/display.thtml +++ b/site/app/views/reviews/display.thtml @@ -156,12 +156,12 @@ foreach ($reviews as $review): </div> - <? if ($other_count = @($reviews_others_counts[$review['Review']['id']])): ?> + <?php if ($other_count = @($reviews_others_counts[$review['Review']['id']])): ?> <div class="others-by-user-load" id="others-by-user-load-<?=$review['Review']['id']?>"> </div> - <? endif ?> + <?php endif ?> - <? // developer reply? + <?php // developer reply? if (!empty($review['Review']['reply'])): $reply = $review['Review']['reply']; $reply['Translation'] = (array_key_exists(LANG, $reply['Translation']) ? @@ -219,11 +219,11 @@ foreach ($reviews as $review): </div> <?=nl2br($reply['Translation']['body']['string'])?> </div> - <? endif; ?> -<? endforeach; ?> + <?php endif; ?> +<php? endforeach; ?> <?php if (!$bare): ?> -<? if (!empty($reviews)) echo $this->renderElement('amo2009/pagination');?> +<?php if (!empty($reviews)) echo $this->renderElement('amo2009/pagination');?> <div class="clearboth"> <hr /> </div> <ul> |