Development

Changeset 25593

You must first sign up to be able to contribute.

Changeset 25593

Show
Ignore:
Timestamp:
12/18/09 16:04:00 (4 years ago)
Author:
boutell
Message:

Blog events now benefit from HTML filtering just like blog posts

Files:

Legend:

Unmodified
Added
Removed
Modified
Copied
Moved
  • plugins/pkBlogPlugin/trunk/lib/form/doctrine/PluginpkBlogEventForm.class.php

    r24977 r25593  
    6767    $this->widgetSchema['tags'] = new sfWidgetFormInput(array('default' => implode(', ', $this->getObject()->getTags())), array('class' => 'tag-input', 'autocomplete' => 'off')); 
    6868    $this->validatorSchema['tags'] = new sfValidatorString(array('required' => false)); 
     69    $this->validatorSchema['body'] = new sfValidatorHtml(array('required' => false)); 
     70    $this->validatorSchema['excerpt'] = new sfValidatorHtml(array('required' => false)); 
    6971    sfContext::getInstance()->getConfiguration()->loadHelpers('jQuery'); 
    7072    $r = sfContext::getInstance()->getResponse(); 
  • plugins/pkBlogPlugin/trunk/lib/form/doctrine/PluginpkBlogPostForm.class.php

    r22953 r25593  
    3333 
    3434    $this->widgetSchema['excerpt']    = new sfWidgetFormRichTextarea(array('editor' => 'fck', 'height' => '200', 'width' => '600',  )); 
    35     $this->validatorSchema['excerpt'] = new sfValidatorHtml(array('max_length' => 2147483647, 'required' => false)); 
     35    $this->validatorSchema['excerpt'] = new sfValidatorHtml(array('required' => false)); 
    3636 
    3737    $this->widgetSchema['body']       = new sfWidgetFormRichTextarea(array('editor' => 'fck', 'height' => '400', 'width' => '600',  ));