- addoption: FontChooser
- align buttons left
This commit is contained in:
Cornelius Weiß 2005-11-11 20:52:58 +00:00
parent 599a4cdfdf
commit e11fe7cd81

View File

@ -492,7 +492,8 @@ class html
if(strpos($init_options,':') === false) if(strpos($init_options,':') === false)
{ {
$init = 'theme : "advanced",theme_advanced_toolbar_location : "top"'; $init = 'theme : "advanced", theme_advanced_toolbar_location : "top", theme_advanced_toolbar_align : "left"';
$tab1a = 'theme_advanced_buttons1_add : "';
$tab3a = 'theme_advanced_buttons3_add : "separator,fullscreen'; $tab3a = 'theme_advanced_buttons3_add : "separator,fullscreen';
$plugs = 'plugins : "paste,fullscreen,advimage,advlink'; $plugs = 'plugins : "paste,fullscreen,advimage,advlink';
$eve = 'extended_valid_elements : "a[name|href|target|title|onclick], img[class|src|border=0|alt|title|hspace|vspace|width|height|align|onmouseover|onmouseout|name]'; $eve = 'extended_valid_elements : "a[name|href|target|title|onclick], img[class|src|border=0|alt|title|hspace|vspace|width|height|align|onmouseover|onmouseout|name]';
@ -511,6 +512,11 @@ class html
break; break;
case 'ColorChooser' : case 'ColorChooser' :
$tab3a .= ',separator,forecolor,backcolor'; $tab3a .= ',separator,forecolor,backcolor';
break;
case 'FontChooser' :
$tab1a .= ',fontselect,fontsizeselect';
$init .= ',theme_advanced_disable : "styleselect"';
break;
default: default:
// echo $plugin .'<br>'; // echo $plugin .'<br>';
} }
@ -521,7 +527,7 @@ class html
$init .= ',document_base_url : "'. $base_href. '", relative_urls : true'; $init .= ',document_base_url : "'. $base_href. '", relative_urls : true';
} }
$init_options = $init. ','. $tab3a. '",'. $plugs. '",'. $eve. '"'; $init_options = $init. ','. $tab1a. '",'. $tab3a. '",'. $plugs. '",'. $eve. '"';
} }
/* do again and again */ /* do again and again */