|
|
4c79b5 |
|
|
|
4c79b5 |
/***********************************************************************
|
|
|
4c79b5 |
|
|
|
4c79b5 |
Copyright (C) 2005-2007 Vincent Garnier and contributors. All rights
|
|
|
4c79b5 |
reserved.
|
|
|
4c79b5 |
|
|
|
4c79b5 |
This file is part of Puntal 2.
|
|
|
4c79b5 |
|
|
|
4c79b5 |
Puntal 2 is free software; you can redistribute it and/or modify it
|
|
|
4c79b5 |
under the terms of the GNU General Public License as published
|
|
|
4c79b5 |
by the Free Software Foundation; either version 2 of the License,
|
|
|
4c79b5 |
or (at your option) any later version.
|
|
|
4c79b5 |
|
|
|
4c79b5 |
Puntal 2 is distributed in the hope that it will be useful, but
|
|
|
4c79b5 |
WITHOUT ANY WARRANTY; without even the implied warranty of
|
|
|
4c79b5 |
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
|
|
4c79b5 |
GNU General Public License for more details.
|
|
|
4c79b5 |
|
|
|
4c79b5 |
You should have received a copy of the GNU General Public License
|
|
|
4c79b5 |
along with this program; if not, write to the Free Software
|
|
|
4c79b5 |
Foundation, Inc., 59 Temple Place, Suite 330, Boston,
|
|
|
4c79b5 |
MA 02111-1307 USA
|
|
|
4c79b5 |
|
|
|
4c79b5 |
************************************************************************/?>
|
|
|
4c79b5 |
|
|
|
4c79b5 |
|
|
|
4c79b5 |
|
|
|
4c79b5 |
|
|
|
4c79b5 |
|
|
|
4c79b5 |
%s', '%s', '%s') ?>
|
|
|
4c79b5 |
|
|
|
4c79b5 |
|
|
|
4c79b5 |
|
|
|
4c79b5 |
|
|
|
4c79b5 |
|
|
|
4c79b5 |
|
|
|
4c79b5 |
if (dir::hasErrors()) : ?>
|
|
|
4c79b5 |
|
|
|
4c79b5 |
|
|
|
4c79b5 |
|
|
|
4c79b5 |
|
|
|
4c79b5 |
|
|
|
4c79b5 |
|
|
|
4c79b5 |
|
|
|
4c79b5 |
|
|
|
4c79b5 |
|
|
|
4c79b5 |
|
|
|
4c79b5 |
?>
|
|
|
4c79b5 |
|
|
|
4c79b5 |
|
|
|
4c79b5 |
|
|
|
4c79b5 |
|
|
|
4c79b5 |
<form action="<?php dir::dirAddUrl(); ?>" method="post">
|
|
|
4c79b5 |
|
|
|
4c79b5 |
<fieldset><legend></legend>
|
|
|
4c79b5 |
|
|
|
4c79b5 |
|
|
|
4c79b5 |
<label for="l_cat"></label>
|
|
|
4c79b5 |
|
|
|
4c79b5 |
|
|
|
4c79b5 |
<label for="l_titre"></label>
|
|
|
4c79b5 |
<input type="text" class="longinput" size="80" maxlength="255" name="l_titre" id="l_titre" value="<?php dir::formValue('l_titre') ?>" />
|
|
|
4c79b5 |
|
|
|
4c79b5 |
<label for="l_href">URL') ?></label>
|
|
|
4c79b5 |
<input type="text" class="longinput" size="80" maxlength="70" name="l_href" id="l_href" value="<?php dir::formValue('l_href') ?>" />
|
|
|
4c79b5 |
|
|
|
4c79b5 |
<label for="l_desc"></label>
|
|
|
4c79b5 |
<textarea name="l_desc" id="l_desc" rows="5" cols="55" ></textarea>
|
|
|
4c79b5 |
|
|
|
4c79b5 |
require_once PT_INC_PATH.'libs/puntoolbar_smilies.php';
|
|
|
4c79b5 |
$ptb = new puntoolbarSmilies($puntal);
|
|
|
4c79b5 |
echo $ptb->generatePtb('l_desc');
|
|
|
4c79b5 |
?>
|
|
|
4c79b5 |
<label for="l_lang"></label>
|
|
|
4c79b5 |
<input type="text" size="5" name="l_lang" id="l_lang" maxlength="5" value="<?php dir::formValue('l_lang') ?>" />
|
|
|
4c79b5 |
|
|
|
4c79b5 |
|
|
|
4c79b5 |
</fieldset>
|
|
|
4c79b5 |
|
|
|
4c79b5 |
<input type="hidden" name="form_sent" value="1" />
|
|
|
4c79b5 |
<input type="hidden" name="ptkn" value="<?php echo tpl::pTkn(); ?>" />
|
|
|
4c79b5 |
<input type="submit" name="submit" class="submit" value="<?php tpl::lang('Submit') ?>" />
|
|
|
4c79b5 |
</form>
|
|
|
4c79b5 |
|
|
|
4c79b5 |
|