Zeile 6 | Zeile 6 |
---|
* Website: http://mybb.com * License: http://mybb.com/about/license *
|
* Website: http://mybb.com * License: http://mybb.com/about/license *
|
* $Id: class_page.php 5016 2010-06-12 00:24:02Z RyanGordon $
| * $Id: class_page.php 5364 2011-02-15 23:30:09Z MattR $
|
*/
/*
| */
/*
|
Zeile 769 | Zeile 769 |
---|
*/ function add_menu_items($items, $active) {
|
*/ function add_menu_items($items, $active) {
|
| global $run_module;
|
$this->_contents = "<ul class=\"menu\">"; foreach($items as $item) {
|
$this->_contents = "<ul class=\"menu\">"; foreach($items as $item) {
|
| if(!check_admin_permissions(array("module" => $run_module, "action" => $item['id']), false)) { continue; }
|
$class = ""; if($item['id'] == $active) {
| $class = ""; if($item['id'] == $active) {
|