<?PHP
/************************************************************************/
/* DUNE by NPDS                                                         */
/* ===========================                                          */
/*                                                                      */
/* Based on PhpNuke 4.x source code                                     */
/*                                                                      */
/* NPDS Copyright (c) 2002-2007 by Philippe Brunier                     */
/*                                                                      */
/* 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 */
/* the Free Software Foundation; either version 2 of the License.       */
/************************************************************************/
//full Theme
if ($tiny_mce_theme=="full") {
   $tmp.="plugins : \"preview,npds,table,advhr,advimage,advlink,searchreplace,contextmenu,paste,media\",\n";
   $tmp.="theme_advanced_buttons1 : \"bold,italic,underline,strikethrough,sub,sup,charmap,advhr,separator,justifyleft,justifycenter,justifyright,justifyfull,separator,formatselect,fontselect,fontsizeselect,separator,help\",\n";
   $tmp.="theme_advanced_buttons2 : \"bullist,numlist,outdent,indent,forecolor,backcolor,separator,undo,redo,separator,cut,copy,paste,pastetext,pasteword,removeformat,cleanup,preview,separator,search,replace,separator,link,unlink,anchor,code,separator,image,media\",\n";
   $tmp.="theme_advanced_buttons3 : \"tablecontrols,visualaid,separator,npds_img,npds_perso,npds_mns,npds_upl,npds_metal,npds_plug,npds_langue\",\n";
} else if ($tiny_mce_theme=="short") {
   //short Theme
   $tmp.="plugins : \"npds,advimage,advlink,paste,media\",\n";
   $tmp.="theme_advanced_buttons1 : \"bold,italic,underline,strikethrough,hr,separator,justifyleft,justifycenter,justifyright,justifyfull,separator,fontsizeselect,separator,bullist,numlist,outdent,indent,forecolor,backcolor,separator,pastetext,pasteword,separator,search,link,unlink,code,separator,image,media,npds_img,npds_perso,npds_upl,npds_plug\",\n";
}
$tmp.="button_tile_map : true,\n";
$tmp.="theme_advanced_toolbar_location  : \"top\",\n";
$tmp.="theme_advanced_toolbar_align     : \"left\",\n";
$tmp.="theme_advanced_path              : true,\n";
$tmp.="theme_advanced_path_location     : \"bottom\",\n";
$tmp.="theme_advanced_resize_horizontal : false,\n";
$tmp.="theme_advanced_resizing          : true,\n";

$tmp.="extended_valid_elements : \"hr[class|width|size|noshade],font[face|size|color|style],span[class|align|style]\",
       directionality          : 'ltr',
       auto_focus              : 'mce_editor_0',
       apply_source_formatting : true,
       force_br_newlines       : true,
       force_p_newlines        : false,
       convert_newlines_to_brs : false,
       remove_linebreaks       : false,
       relative_urls           : true,
       remove_script_host      : false\n";
?>