Exemplo n.º 1
0
 /**
  * Constructor
  * 
  * @return void
  * @access public
  * @since 9/5/07
  */
 public function __construct()
 {
     $this->editors = array();
     $this->prefixes = array();
     $this->postfixes = array();
     parent::__construct();
     $this->editorChoice = new WSelectList();
     $this->editorChoice->addOnChange('submitWizard(this.form);');
     $this->addEditor('none', _('Plain-Text'), new WTextArea());
     $this->addEditor('fck', _('Rich-Text'), new FckTextarea());
     $this->chooseEditor('none');
 }
Exemplo n.º 2
0
 /**
  * Constructor
  * 
  * @return void
  * @access public
  * @since 9/5/07
  */
 public function __construct()
 {
     parent::__construct();
     $this->editor = new FCKeditor(null);
     $this->editor->BasePath = POLYPHONY_PATH . "/javascript/fckeditor/";
     // Set defaults
     $this->editor->Height = '400px';
     $this->editor->Config['EnterMode'] = "br";
     $this->editor->Config['ShiftEnterMode'] = "p";
     $this->editor->Config['ImageBrowser'] = "false";
     $this->editor->Config['LinkBrowser'] = 'false';
     $this->editor->Config['FlashBrowser'] = 'false';
     $this->editor->Config['ImageUpload'] = "false";
     $this->editor->Config['LinkUpload'] = 'false';
     $this->editor->Config['FlashUpload'] = 'false';
     $this->editor->Config['LinkDlgHideTarget'] = "false";
     $this->editor->Config['LinkDlgHideAdvanced'] = "false";
     $this->editor->Config['ImageDlgHideLink'] = "false";
     $this->editor->Config['ImageDlgHideAdvanced'] = "false";
     $this->editor->Config['FlashDlgHideAdvanced'] = "false";
 }