This commit is contained in:
Laurent Destailleur 2011-08-17 13:15:10 +00:00
parent da8545430b
commit 33fd9c9bff

View File

@ -15,14 +15,14 @@
* You should have received a copy of the GNU General Public License
* along with this program. If not, see <http://www.gnu.org/licenses/>.
*
* $Id: fckeditor.php,v 1.32 2011/07/31 22:23:24 eldy Exp $
* $Id: fckeditor.php,v 1.33 2011/08/17 13:15:10 eldy Exp $
*/
/**
* \file htdocs/admin/fckeditor.php
* \ingroup fckeditor
* \brief Page d'activation du module FCKeditor dans les autres modules
* \version $Revision: 1.32 $
* \version $Revision: 1.33 $
*/
require("../main.inc.php");
@ -107,9 +107,6 @@ llxHeader();
$linkback='<a href="'.DOL_URL_ROOT.'/admin/modules.php">'.$langs->trans("BackToModuleList").'</a>';
print_fiche_titre($langs->trans("AdvancedEditor"),$linkback,'setup');
print '<br>';
/*
* Activation/desactivation de FCKeditor
*/
$var=true;
@ -163,7 +160,7 @@ print '<form name="formtest" method="POST" action="'.$_SERVER["PHP_SELF"].'">'."
$uselocalbrowser=true;
$editor=new DolEditor('formtestfield',isset($conf->global->FCKEDITOR_TEST)?$conf->global->FCKEDITOR_TEST:'Test','',200,'dolibarr_notes','In', true, $uselocalbrowser);
$editor->Create();
print '<center><input class="button" type="submit" name="save" value="'.$langs->trans("Save").'"></center>'."\n";
print '<center><br><input class="button" type="submit" name="save" value="'.$langs->trans("Save").'"></center>'."\n";
print '</form>'."\n";
/*
@ -175,5 +172,5 @@ print $conf->global->FCKEDITOR_TEST;
$db->close();
llxFooter('$Date: 2011/07/31 22:23:24 $ - $Revision: 1.32 $');
llxFooter('$Date: 2011/08/17 13:15:10 $ - $Revision: 1.33 $');
?>