ここの情報は古いです。ご理解頂いた上でお取り扱いください。

Changeset 12731


Ignore:
Timestamp:
Aug 21, 2009, 6:44:59 PM (10 years ago)
Author:
ShogoKawahara
Message:

#4241:added the opWidgetFormRichTextarea to render richtextarea that the switch is possible in textarea

Location:
OpenPNE3/trunk
Files:
1 added
3 edited

Legend:

Unmodified
Added
Removed
  • OpenPNE3/trunk/apps/pc_backend/i18n/messages.ja.xml

    r12490 r12731  
    3737        <target>公開しない</target>
    3838      </trans-unit>
     39      <trans-unit id="">
     40        <source>Text Mode</source>
     41        <target>テキストモード</target>
     42      </trans-unit>
     43      <trans-unit id="">
     44        <source>Preview Mode</source>
     45        <target>プレビューモード</target>
     46      </trans-unit>
    3947
    4048      <trans-unit id="">
  • OpenPNE3/trunk/apps/pc_frontend/i18n/messages.ja.xml

    r12708 r12731  
    611611        <target>選択してください</target>
    612612      </trans-unit>
     613      <trans-unit id="">
     614        <source>Text Mode</source>
     615        <target>テキストモード</target>
     616      </trans-unit>
     617      <trans-unit id="">
     618        <source>Preview Mode</source>
     619        <target>プレビューモード</target>
     620      </trans-unit>
    613621
    614622      <trans-unit id="">
  • OpenPNE3/trunk/lib/util/opFormItemGenerator.class.php

    r12714 r12731  
    101101        break;
    102102      case 'rich_textarea':
    103         $params['config'] = 'theme_advanced_buttons1: "bold, italic, underline, forecolor, hr", theme_advanced_buttons2:"", theme_advanced_buttons3:"", ';
    104         $params['width'] = '200px';
    105103        $jsPath = 'tiny_mce/tiny_mce';
    106104        sfContext::getInstance()->getResponse()->addJavascript($jsPath);
    107         $obj = new sfWidgetFormTextareaTinyMCE($params, array('class' => 'tinymce'));
     105        $obj = new opWidgetFormRichTextarea($params, array('style' => 'width:300px'));
    108106        break;
    109107      case 'password':
Note: See TracChangeset for help on using the changeset viewer.