partia duużych zmian
[watermeloncms.git] / wtrmln / modules / views / news / new.php
blobd7128606b5e89d0ce68cd90489dcb5151e351f35
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="$/news">Newsy</a> &gt; Nowy
26 <?php
27 Controller::addMeta(
28 '<style type="text/css">.newnews_box label{float:left;width:100px;display:block}'.
29 '.newnews_box #title{width:60%}'.
30 '.newnews_box #text{width: 100%; height:250px;}</style>');
33 <form action="$/news/post/<$tkey>/<$tvalue>" method="POST">
34 <fieldset class="newnews_box">
35 <legend>Nowy news</legend>
37 <label for="title">Temat:</label>
38 <input type="text" name="title" id="title">
40 <br>
42 <label for="text">Treść:</label><br>
44 <textarea name="text" id="text"></textarea>
46 <br>
48 <input type="submit" id="submit" value="Wyślij!">
50 </fieldset>
51 </form>