[svn r18497] config global agenda buttons bar

skala
Juan Carlos Raña 17 years ago
parent b1f711247a
commit 900cdaac43
  1. 4
      main/admin/calendar.lib.php
  2. 8
      main/admin/calendar.php
  3. 12
      main/inc/lib/fckeditor/myconfig.js

@ -1563,9 +1563,9 @@ function show_add_form($id = '')
$oFCKeditor = new FCKeditor('content') ;
$oFCKeditor->ToolbarSet = 'Agenda';
$oFCKeditor->Height = '175';
$oFCKeditor->ToolbarSet = 'GlobalAgenda';
$oFCKeditor->Width = '100%';
$oFCKeditor->Height = '175';
$oFCKeditor->Value = $content;
$return = $oFCKeditor->CreateHtml();

@ -256,10 +256,10 @@ if (empty($_GET['origin']) or $_GET['origin']!='learnpath')
echo '<td width="20" background="../img/verticalruler.gif">&nbsp;</td>';
}
$fck_attribute['Width'] = '600';
$fck_attribute['Height'] = '400';
$fck_attribute['ToolbarSet'] = 'Middle';
//TODO: check for delete this code
//$fck_attribute['Width'] = '600';
//$fck_attribute['Height'] = '400';
//$fck_attribute['ToolbarSet'] = 'Middle';
// THE RIGHT PART

@ -76,6 +76,18 @@ FCKConfig.ToolbarSets["SystemAnnouncements"] = [
['Source']
] ;
//Global Agenda
FCKConfig.ToolbarSets["GlobalAgenda"] = [
['FitWindow','-','PasteWord','-','Undo','Redo','RemoveFormat'],
['Link','Unlink'],
['Image','flvPlayer','Flash','EmbedMovies','YouTube','MP3'],
['Table','Rule','SpecialChar','googlemaps'],
['FontName','FontSize'],
['Bold','Italic','Underline','StrikeThrough'],
['OrderedList','UnorderedList','-','TextColor','BGColor'],
['Source']
] ;
///// users tools /////
FCKConfig.ToolbarSets["Profil"] = [

Loading…
Cancel
Save