[svn r22243] FS#2867 - The online editor: Renaming toolbars - 'PlatformHomePage' --> 'PortalHomePage', 'SystemAnnouncements' --> 'PortalNews'.

skala
Ivan Tcholakov 17 years ago
parent b8545accd9
commit 676589c08e
  1. 6
      main/admin/configure_homepage.php
  2. 4
      main/admin/system_announcements.php
  3. 0
      main/inc/lib/fckeditor/toolbars/portal_home_page.php
  4. 0
      main/inc/lib/fckeditor/toolbars/portal_news.php
  5. 0
      main/inc/lib/fckeditor/toolbars_maxi/portal_home_page.php
  6. 0
      main/inc/lib/fckeditor/toolbars_maxi/portal_news.php

@ -1,4 +1,4 @@
<?php // $Id: configure_homepage.php 22099 2009-07-15 10:49:42Z ivantcholakov $
<?php // $Id: configure_homepage.php 22243 2009-07-20 15:08:31Z ivantcholakov $
/*
===== =========================================================================
Dokeos - elearning and course management software
@ -691,7 +691,7 @@ switch($action){
$form->addElement('html', WCAG_Rendering::create_xhtml(isset($_POST['link_html'])?$_POST['link_html']:$link_html));
} else {
$default['link_html'] = isset($_POST['link_html']) ? $_POST['link_html'] : $link_html;
$form->add_html_editor('link_html', '', true, false, array('ToolbarSet' => 'PlatformHomePage', 'Width' => '100%', 'Height' => '400'));
$form->add_html_editor('link_html', '', true, false, array('ToolbarSet' => 'PortalHomePage', 'Width' => '100%', 'Height' => '400'));
}
$form->addElement('html', '</td></tr><tr><td>');
$form->addElement('style_submit_button', null, get_lang('Save'), 'class="save"');
@ -755,7 +755,7 @@ switch($action){
$form->addElement('html', $html);
} else {
$default[$name] = str_replace('{rel_path}', api_get_path(REL_PATH), $open);
$form->add_html_editor($name, '', true, false, array('ToolbarSet' => 'PlatformHomePage', 'Width' => '100%', 'Height' => '400'));
$form->add_html_editor($name, '', true, false, array('ToolbarSet' => 'PortalHomePage', 'Width' => '100%', 'Height' => '400'));
}
$form->addElement('style_submit_button', null, get_lang('Save'), 'class="save"');
$form->setDefaults($default);

@ -1,4 +1,4 @@
<?php // $Id: system_announcements.php 22019 2009-07-13 06:16:38Z ivantcholakov $
<?php // $Id: system_announcements.php 22243 2009-07-20 15:08:31Z ivantcholakov $
/*
==============================================================================
Dokeos - elearning and course management software
@ -183,7 +183,7 @@ if ($action_todo)
if (api_get_setting('wcag_anysurfer_public_pages')=='true') {
$form->addElement('textarea', 'content', get_lang('Content'));
} else {
$form->add_html_editor('content', get_lang('Content'), true, false, array('ToolbarSet' => 'SystemAnnouncements', 'Width' => '100%', 'Height' => '300'));
$form->add_html_editor('content', get_lang('Content'), true, false, array('ToolbarSet' => 'PortalNews', 'Width' => '100%', 'Height' => '300'));
}
$form->add_timewindow('start','end',get_lang('StartTimeWindow'),get_lang('EndTimeWindow'));
$form->addElement('checkbox', 'visible_teacher', get_lang('Visible'), get_lang('Teacher'));

Loading…
Cancel
Save