Web   ·   Wiki   ·   Activities   ·   Blog   ·   Lists   ·   Chat   ·   Meeting   ·   Bugs   ·   Git   ·   Translate   ·   Archive   ·   People   ·   Donate
summaryrefslogtreecommitdiffstats
path: root/site/app/views/reviews/add.thtml
diff options
context:
space:
mode:
Diffstat (limited to 'site/app/views/reviews/add.thtml')
-rw-r--r--site/app/views/reviews/add.thtml14
1 files changed, 7 insertions, 7 deletions
diff --git a/site/app/views/reviews/add.thtml b/site/app/views/reviews/add.thtml
index f2a094b..ebdb90e 100644
--- a/site/app/views/reviews/add.thtml
+++ b/site/app/views/reviews/add.thtml
@@ -49,10 +49,10 @@ $this->layout = 'amo2009';
<div id="content-main">
<h2><?=sprintf((@$this->data['Review']['id'] > 0) ? ___('Edit Review for %s') : ___('Add a review for %s'), $addon['Translation']['name']['string']); ?></h2>
-<? $reviewRating = @$this->data['Review']['rating']; ?>
+<?php $reviewRating = @$this->data['Review']['rating']; ?>
<?php echo sprintf(___('<p>Keep these tips in mind:</p><ul><li>Write like you\'re telling a friend about your experience with the add-on. Give specifics and helpful details, such as what features you liked and/or disliked, how easy to use it is, and any disadvantages it has. Avoid generic language such as calling it "Great" or "Bad" unless you can give reasons why you believe this is so.</li><li>Please do not post bug reports in reviews. We do not make your email address available to add-on developers and they may need to contact you to help resolve your issue. See the <a href="%1$s">support section</a> to find out where to get assistance for this add-on.</li><li>Please keep reviews clean, avoid the use of improper language and do not post any personal information.</li></ul><p>Please read the <a href="%2$s">Review Guidelines</a> for more detail about user add-on reviews.</p>'), $html->url("/addon/{$addon['Addon']['id']}#support"), $html->url('/pages/review_guide')); ?>
-<? // if this is a developer reply, show the original review
+<?php // if this is a developer reply, show the original review
if (!empty($reply_to)) {
echo "<p>".___('Developer reply to:')."</p>";
?>
@@ -64,12 +64,12 @@ if (!empty($reply_to)) {
</div>
<?=nl2br($reply_to['Translation']['body']['string'])?>
</div>
-<? } ?>
+<?php } ?>
-<? if (isset($errorMessage)):?>
+<?php if (isset($errorMessage)):?>
<div class="amo-form-error"><?= ___('There are errors in this form. Please correct them and resubmit.')?></div>
<p></p>
-<? endif;?>
+<?php endif;?>
<form action="<?=$html->entities($html->url())?>" method="post" class="amo-form corner-box" id="long-review">
<?=$html->hiddenSession() ?>
@@ -77,11 +77,11 @@ if (!empty($reply_to)) {
<div>
<?=$html->tagErrorMsg('Review/title', ___('This field must not be empty.'))?>
</div>
- <? if (empty($reply_to)): ?>
+ <?php if (empty($reply_to)): ?>
<div>
<?=$html->tagErrorMsg('Review/rating', ___('You must select a rating.'))?>
</div>
- <? endif; ?>
+ <?php endif; ?>
</form>
</div>