<?xml version="1.0"?>
<!--
/**
 * Magento
 *
 * NOTICE OF LICENSE
 *
 * This source file is subject to the Academic Free License (AFL 3.0)
 * that is bundled with this package in the file LICENSE_AFL.txt.
 * It is also available through the world-wide-web at this URL:
 * http://opensource.org/licenses/afl-3.0.php
 * If you did not receive a copy of the license and are unable to
 * obtain it through the world-wide-web, please send an email
 * to license@magento.com so we can send you a copy immediately.
 *
 * DISCLAIMER
 *
 * Do not edit or add to this file if you wish to upgrade Magento to newer
 * versions in the future. If you wish to customize Magento for your
 * needs please refer to http://www.magento.com for more information.
 *
 * @category    Mage
 * @package     Mage_Review
 * @copyright   Copyright (c) 2006-2014 X.commerce, Inc. (http://www.magento.com)
 * @license     http://opensource.org/licenses/afl-3.0.php  Academic Free License (AFL 3.0)
 */
-->
<config>
    <menu>
        <catalog>
            <children>
                <reviews_ratings translate="title" module="review">
                    <title>Reviews and Ratings</title>
                    <children>
                        <reviews translate="title" module="review">
                            <title>Customer Reviews</title>
                            <children>
                                <pending translate="title" module="review">
                                    <title>Pending Reviews</title>
                                    <action>adminhtml/catalog_product_review/pending/</action>
                                </pending>
                                <all translate="title" module="review">
                                    <title>All Reviews</title>
                                    <action>adminhtml/catalog_product_review/</action>
                                </all>
                            </children>
                        </reviews>
                        <ratings translate="title" module="review">
                            <title>Manage Ratings</title>
                            <action>adminhtml/rating/</action>
                        </ratings>
                    </children>
                    <sort_order>50</sort_order>
                </reviews_ratings>
            </children>
         </catalog>
        <report>
            <children>
                <review translate="title" module="reports">
                    <title>Reviews</title>
                    <sort_order>55</sort_order>
                    <children>
                        <customer translate="title" module="review">
                            <title>Customers Reviews</title>
                            <action>adminhtml/report_review/customer</action>
                        </customer>
                        <product translate="title" module="review">
                            <title>Products Reviews</title>
                            <action>adminhtml/report_review/product</action>
                        </product>
                    </children>
                </review>
            </children>
        </report>
    </menu>
    <acl>
        <resources>
            <admin>
                <children>
                    <catalog>
                        <children>
                            <reviews_ratings translate="title" module="review">
                                <title>Reviews and Ratings</title>
                                <children>
                                    <reviews translate="title">
                                        <title>Customer Reviews</title>
                                        <children>
                                            <all translate="title">
                                                <title>All Reviews</title>
                                            </all>
                                            <pending translate="title">
                                                <title>Pending Reviews</title>
                                            </pending>
                                        </children>
                                    </reviews>
                                 </children>
                            </reviews_ratings>
                        </children>
                    </catalog>
                </children>
            </admin>
        </resources>
    </acl>
</config>
