1 <?php
if(!defined('WTRMLN_IS')) exit;
2 /********************************************************************
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
> >
; <a href
="$/pages">Strony
</a
> >
; Edycja
28 '<style type="text/css">.editpage_box label{float:left;width:100px;display:block}'.
29 '.editpage_box #title, .editpage_box #name{width:60%}'.
30 '.editpage_box #text{width: 100%; height:250px;}</style>');
33 <form action
="$/pages/editsubmit/<$tkey>/<$tvalue>/<$id>" method
="POST">
34 <fieldset
class="editpage_box">
35 <legend
>Edycja strony
</legend
>
37 <label
for="title">Temat
:</label
>
38 <input type
="text" name
="title" id
="title" value
="<$title>">
42 <label
for="name">Nazwa
:</label
>
43 <input type
="text" name
="name" id
="name" value
="<$name>">
47 <label
for="text">Treść
:</label
><br
>
49 <textarea name
="text" id
="text"><?
=htmlspecialchars($content)?
></textarea
>
53 <input type
="submit" id
="submit" value
="Wyślij!">