1 <?php
if(!defined('WTRMLN_IS')) exit;
2 /********************************************************************
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 ********************************************************************/
24 <a href
="$/">Panel Admina
</a
> >
; Menu
28 <a href
="$/menuedit/new/">Nowe menu
</a
>
34 <a href
="$/menuedit/top">Górnego
</a
> |
35 <a href
="$/menuedit/pa">Panelu Admina
</a
>
39 <th
>Pozycja
</th
> <th
>Nazwa
</th
> <th
>Treść
</th
> <th
>Warunek
</th
> <th
>Opcje
</th
>
44 <a href
="$/menuedit/setpos/<$id>/<? echo $position + 1 ?>" title
="w dół">&darr
;</a
>
46 <?
if($position > 0){ ?
><a href
="$/menuedit/setpos/<$id>/<? echo $position - 1 ?>" title
="w górę">&uarr
;</a
><?
}else{ ?
> 
;<?
} ?
>
53 $text = htmlspecialchars($content);
54 if(strlen($text) > 100)
56 echo nl2br(substr($text, 0, 100)) . '...';
65 <?
echo htmlspecialchars($condition) ?
>
68 <a href
="$/menuedit/edit/<$id>">[edytuj
]</a
>
69 <a href
="$/menuedit/delete/<$id>">[usuń
]</a
>
74 <th
>Pozycja
</th
> <th
>Nazwa
</th
> <th
>Treść
</th
> <th
>Warunek
</th
> <th
>Opcje
</th
>
80 <a href
="$/menuedit/new/">Nowe menu
</a
>
84 pozycja ostatniego menu
: <?php
echo Config
::getConf('max_menu'); ?
>