UTF
This commit is contained in:
parent
466b306de7
commit
3edb1a954a
@ -1,6 +1,6 @@
|
||||
<?php
|
||||
/* Copyright (C) 2007 Rodolphe Quiedeville <rodolphe@quiedeville.org>
|
||||
* Copyright (C) 2007 Laurent Destailleur <eldy@users.sourceforge.net>
|
||||
/* Copyright (C) 2007 Rodolphe Quiedeville <rodolphe@quiedeville.org>
|
||||
* Copyright (C) 2007-2009 Laurent Destailleur <eldy@users.sourceforge.net>
|
||||
*
|
||||
* This program is free software; you can redistribute it and/or modify
|
||||
* it under the terms of the GNU General Public License as published by
|
||||
@ -15,15 +15,13 @@
|
||||
* You should have received a copy of the GNU General Public License
|
||||
* along with this program; if not, write to the Free Software
|
||||
* Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
|
||||
*
|
||||
* $Id$
|
||||
*/
|
||||
|
||||
/**
|
||||
\file htdocs/admin/editeur.php
|
||||
\ingroup editeur
|
||||
\brief Page d'administration/configuration du module Editeur
|
||||
\version $Revision$
|
||||
\version $Id$
|
||||
*/
|
||||
|
||||
require("./pre.inc.php");
|
||||
@ -46,7 +44,7 @@ if ($_POST["action"] == 'set')
|
||||
}
|
||||
}
|
||||
|
||||
// Action d<EFBFBD>sactivation d'un sous module du module adh<64>rent
|
||||
// Action desactivation d'un sous module
|
||||
if ($_GET["action"] == 'unset')
|
||||
{
|
||||
$sql = "DELETE FROM ".MAIN_DB_PREFIX."const WHERE name LIKE 'EDITEUR_LIVRE_FORMAT_%'";
|
||||
@ -59,14 +57,15 @@ if ($_GET["action"] == 'unset')
|
||||
}
|
||||
|
||||
|
||||
llxHeader();
|
||||
|
||||
/*
|
||||
* Interface de configuration de certaines variables de la partie editeur
|
||||
* View
|
||||
*/
|
||||
|
||||
llxHeader();
|
||||
|
||||
$linkback='<a href="'.DOL_URL_ROOT.'/admin/modules.php">'.$langs->trans("BackToModuleList").'</a>';
|
||||
print_fiche_titre($langs->trans("Configuration du module Editeur"),$linkback,'setup');
|
||||
print '<br>';
|
||||
|
||||
print '<form action="editeur.php" method="POST">';
|
||||
print '<table class="noborder" width="100%">';
|
||||
@ -84,7 +83,7 @@ print '<br>';
|
||||
|
||||
print '<table class="noborder" width="100%">';
|
||||
print '<tr class="liste_titre">';
|
||||
print '<td>Formats d<>finits</td>';
|
||||
print '<td>'.$langs->trans("Formats").'</td>';
|
||||
print '<td align="center" width="80">'.$langs->trans("Action").'</td>';
|
||||
print "</tr>\n";
|
||||
$var=true;
|
||||
@ -96,13 +95,13 @@ $result = $db->query($sql);
|
||||
while ($obj = $db->fetch_object($result) )
|
||||
{
|
||||
$var=!$var;
|
||||
|
||||
|
||||
print "<tr $bc[$var]><td>".nl2br($obj->value)."</td>\n";
|
||||
|
||||
|
||||
print '<td>';
|
||||
print '<a href="editeur.php?action=unset&id='.$obj->rowid.'">'.$langs->trans('Delete').'</a>';
|
||||
print '<a href="editeur.php?action=unset&id='.$obj->rowid.'">'.$langs->trans('Delete').'</a>';
|
||||
print "</td></tr>\n";
|
||||
}
|
||||
}
|
||||
|
||||
print '</table>';
|
||||
|
||||
|
||||
Loading…
Reference in New Issue
Block a user