{{
/**
* OpenReviewScript
*
* An Open Source Review Site Script
*
* @package OpenReviewScript
* @subpackage manager
* @author OpenReviewScript.org
* @copyright Copyright (c) 2011-2012, OpenReviewScript.org
* @license This file is part of OpenReviewScript - free software licensed under the GNU General Public License version 2 - http://OpenReviewScript.org/license
* @link http://OpenReviewScript.org
*/
// ------------------------------------------------------------------------
//
/** This file is part of OpenReviewScript.
*
* OpenReviewScript is free software: you can redistribute it and/or modify
* it under the terms of the GNU General Public License as published by
* the Free Software Foundation, either version 2 of the License, or
* (at your option) any later version.
*
* OpenReviewScript is distributed in the hope that it will be useful,
* but WITHOUT ANY WARRANTY; without even the implied warranty of
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
* GNU General Public License for more details.
*
* You should have received a copy of the GNU General Public License
* along with OpenReviewScript. If not, see <http://www.gnu.org/licenses/>.
*/
}}
<div id="content">
<div class="header_row">{{= lang('manager_categories_title') }}</div >
<p class="nav_links"><b>{{= anchor('manager/category/add', lang('manager_categories_add_category')) }}</b></p>
<div class="pagenav">{{= lang('manager_page') }}{{= $pagination }}</div>
<div class="break"></div>
{{ foreach ($allcategories as $result): }}
<div class="manager_row">
<p class="manager_left">
{{= character_limiter($result->name, 50) }}
</p>
<p class="manager_narrow">{{= anchor('manager/category/edit/'.$result->id, lang('manager_categories_list_edit')) }}</p>
{{ if (count($allcategories)>1): }}
<p class="manager_narrow">{{= anchor('manager/category/delete/'.$result->id, lang('manager_categories_list_delete'),' id="darkblue"') }}</p>
{{ endif }}
</div>
{{ endforeach }}
<div class="pagenav">{{= lang('manager_page') }}{{= $pagination }}</div>
</div>