diff options
Diffstat (limited to 'site/app/views/reviews/review_added.thtml')
-rw-r--r-- | site/app/views/reviews/review_added.thtml | 23 |
1 files changed, 10 insertions, 13 deletions
diff --git a/site/app/views/reviews/review_added.thtml b/site/app/views/reviews/review_added.thtml index 5b2e608..81214bf 100644 --- a/site/app/views/reviews/review_added.thtml +++ b/site/app/views/reviews/review_added.thtml @@ -21,7 +21,6 @@ * * Contributor(s): * Frederic Wenzel <fwenzel@mozilla.com> (Original Author) - * Wil Clouser <clouserw@mozilla.com> * * Alternatively, the contents of this file may be used under the terms of * either the GNU General Public License Version 2 or later (the "GPL"), or @@ -36,25 +35,23 @@ * the terms of any one of the MPL, the GPL or the LGPL. * * ***** END LICENSE BLOCK ***** */ - -$this->layout = 'amo2009'; ?> -<div class="secondary" role="complementary"> - <?=$this->renderElement('amo2009/categories')?> -</div> - -<div class="primary" 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(_('reviews_header'), $addon['Translation']['name']['string']);?></h2> - <?=$this->renderElement('notification', array('type' => 'success', 'msg' => _('addon_review_saved_successfully')));?> - <? if (isset($moderated) && $moderated) - $this->renderElement('notification', array('type' => 'notification', 'msg' => _('addon_review_in_moderation'))); ?> +<h1><?=sprintf(_('reviews_header'), $addon['Translation']['name']['string']);?></h1> +<p><?=_('addon_review_saved_successfully')?></p> +<p><? if (isset($moderated) && $moderated) echo _('addon_review_in_moderation'); ?></p> <ul> <li><?= $html->link(sprintf(_('addon_review_a_back_to_reviews'), $addon['Translation']['name']['string']), '/reviews/display/'.$addon['Addon']['id']); ?></li> <li><?=$html->link(sprintf(_('addon_review_a_back_to_addon_x'), $addon['Translation']['name']['string']), '/addon/'.$addon['Addon']['id']); ?></li> </ul> + </div> </div> |