administracja menu górnym w panelu admina
[watermeloncms.git] / wtrmln / modules / views / menuedit / topnew.php
blob5cbe78455a4693be68076d7df72e5c80a2211a20
1 <?php if(!defined('WTRMLN_IS')) exit;
2 /********************************************************************
4 Watermelon CMS
6 Copyright 2008-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> &gt; <a href="$/menuedit">Menu</a> &gt; <a href="$/menuedit/top">Górne</a> &gt; Nowe
26 <?php
27 Controller::addMeta(
28 '<style type="text/css">.newtopmenu_box label{float:left;width:220px;display:block}'.
29 '.newtopmenu_box #name, .newtopmenu_box #condition, .newtopmenu_box #link{width:60%}</style>');
32 <form action="$/menuedit/top_post/<$tkey>/<$tvalue>" method="POST">
33 <fieldset class="newtopmenu_box">
34 <legend>Nowe górne menu</legend>
36 <label for="name">Nazwa:</label>
37 <input type="text" name="name" id="name">
39 <br>
41 <label for="link">Link:</label>
42 <input type="text" name="link" id="link">
44 <br>
46 <label for="condition">Oznaczone jako aktualne gdy:</label>
47 <input type="text" name="condition" id="condition" value="false">
49 <br>
51 <input type="submit" id="submit" value="Wyślij!">
53 </fieldset>
54 </form>