Pastebin launched a little side project called VERYVIRAL.com, check it out ;-) Want more features on Pastebin? Sign Up, it's FREE!
Guest

_form.php

By: a guest on Jun 2nd, 2013  |  syntax: PHP  |  size: 0.84 KB  |  views: 31  |  expires: Never
download  |  raw  |  embed  |  report abuse  |  print
Text below is selected. Please press Ctrl+C to copy to your clipboard. (⌘+C on Mac)
  1. <?php  
  2.         echo $form->redactorRow($model, 'summary_swa', array('options' => array('lang'=>'it', 'minHeight' => 200,
  3.                 'plugins' => array('templateGenerator','imageListing'),
  4.                 'buttons' => array(
  5.                    'html', 'formatting', '|', 'bold', 'italic', 'deleted',
  6.                    'underline', 'alignleft', 'aligncenter', 'alignright', 'justify', '|',
  7.                    'unorderedlist', 'orderedlist', 'outdent', 'indent', '|',
  8.                    'image', 'video', 'file', 'table', 'link', '|',
  9.                    'fontcolor', 'backcolor', '|', 'alignment', '|', 'horizontalrule', '|', 'tplGenerator'
  10.                 ),
  11.                 'imageUpload' => Yii::app()->createUrl('site/imageUpload'),
  12.                 'imageGetJson' => Yii::app()->createUrl('site/listImages'),
  13.              
  14.         )));