administracja menu górnym w panelu admina
[watermeloncms.git] / wtrmln / modules / acinfo / menu_menuedit.php
blob297fedfd0ab69440c91552f1292f02d5b33e74c1
1 <?php
2 /********************************************************************
4 Watermelon CMS
6 Copyright 2009 Radosław Pietruszewski
8 This program is free software; you can redistribute it and/or
9 modify it under the terms of the GNU General Public License
10 version 2 as published by the Free Software Foundation.
12 This program is distributed in the hope that it will be useful,
13 but WITHOUT ANY WARRANTY; without even the implied warranty of
14 MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
15 GNU General Public License for more details.
17 You should have received a copy of the GNU General Public License
18 along with this program; if not, write to the Free Software
19 Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
21 ********************************************************************/
23 class ACMenu_menuedit implements iACMenu
25 public function getMenu($class, $method, $segments)
27 $header = 'Menu';
29 if($class == 'menuedit')
31 $links[] = array('menuedit', 'lista');
32 $links[] = array('menuedit/new', 'nowe');
33 $links[] = array('menuedit/top', 'górne');
34 $links[] = array('menuedit/topnew', 'nowe górne');
35 $links[] = array('menuedit/pa', 'panel admina');
38 return array($header, $links);