diff options
Diffstat (limited to 'site/app/views/reviews/add.thtml')
-rw-r--r-- | site/app/views/reviews/add.thtml | 38 |
1 files changed, 26 insertions, 12 deletions
diff --git a/site/app/views/reviews/add.thtml b/site/app/views/reviews/add.thtml index 1e20e47..c97731a 100644 --- a/site/app/views/reviews/add.thtml +++ b/site/app/views/reviews/add.thtml @@ -35,22 +35,36 @@ * the terms of any one of the MPL, the GPL or the LGPL. * * ***** END LICENSE BLOCK ***** */ - -$this->viewVars['bodyclass'] = 'review_add'; -$this->layout = 'amo2009'; ?> -<div class="secondary" role="complementary"> - <?=$this->renderElement('amo2009/categories')?> -</div> - -<div class="primary prose" role="main"> - <?=$this->renderElement('amo2009/search')?> +<div id="content"> + <?=$this->renderElement('search')?> + <?=$this->renderElement('sidebar', array('pitch' => true))?> + <?=$this->renderElement('app_chooser')?> <div id="content-main"> -<h2><?=sprintf((@$this->data['Review']['id'] > 0) ? _('addon_review_edit_title') : _('addon_review_add_title'), $addon['Translation']['name']['string']); ?></h2> -<? $reviewRating = @$this->data['Review']['rating']; ?> -<?php echo sprintf(___('review_guidelines_short'), $html->url("/addon/{$addon['Addon']['id']}#support"), $html->url('/pages/review_guide')); ?> +<h1><?=sprintf((@$this->data['Review']['id'] > 0) ? _('addon_review_edit_title') : _('addon_review_add_title'), $addon['Translation']['name']['string']); ?></h1> + +<?php echo sprintf(___('review_guidelines_short', <<<EOT +<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> +EOT +), $html->url("/addon/{$addon['Addon']['id']}#support"), + $html->url('/pages/review_guide')); /* @partial, 6/22/08 */ ?> <? // if this is a developer reply, show the original review if (!empty($reply_to)) { |