Web   ·   Wiki   ·   Activities   ·   Blog   ·   Lists   ·   Chat   ·   Meeting   ·   Bugs   ·   Git   ·   Translate   ·   Archive   ·   People   ·   Donate
summaryrefslogtreecommitdiffstats
path: root/site/app/views/reviews/flag.thtml
diff options
context:
space:
mode:
Diffstat (limited to 'site/app/views/reviews/flag.thtml')
-rw-r--r--site/app/views/reviews/flag.thtml20
1 files changed, 9 insertions, 11 deletions
diff --git a/site/app/views/reviews/flag.thtml b/site/app/views/reviews/flag.thtml
index 3106ac3..e19665b 100644
--- a/site/app/views/reviews/flag.thtml
+++ b/site/app/views/reviews/flag.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
@@ -40,21 +39,20 @@
if (!empty($ajaxreply)):
echo "<strong>{$msg}</strong>";
else:
- $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">
<?php if (empty($addon)): ?>
- <?=$this->renderElement('notification', array('msg' => $msg));?>
+ <h1><?=$msg?></h1>
<p><?=$html->link(_('link_return_to_front_page'), '/')?></p>
<?php else: ?>
- <h2><?=sprintf(_('reviews_header'), $addon['Translation']['name']['string']);?></h2>
- <?=$this->renderElement('notification', array('msg' => $msg));?>
+ <h1><?=sprintf(_('reviews_header'), $addon['Translation']['name']['string']);?></h1>
+ <p><?=$msg?></p>
<ul>
<li><?= $html->link(sprintf(_('addon_review_a_back_to_reviews'), $addon['Translation']['name']['string']), '/reviews/display/'.$addon['Addon']['id']); ?></li>