Changeset 680

Show
Ignore:
Timestamp:
2008-07-18 14:59:11 (7 weeks ago)
Author:
mikelietz
Message:

JWYSIWYG: fix so interface appears on publish page.

Files:
1 modified

Legend:

Unmodified
Added
Removed
  • plugins/jwysiwyg/trunk/jwysiwyg.plugin.php

    r50 r680  
    1313      'author' => 'Habari Community', 
    1414      'authorurl' => 'http://habariproject.org/', 
    15       'version' => '0.1', 
     15      'version' => '0.2', 
    1616      'description' => 'Publish posts using the JWYSIWYG editor.', 
    1717      'copyright' => '2008' 
     
    2020 
    2121  public function action_admin_header($theme) { 
    22     if ( $theme->admin_page == 'publish' ) { 
     22    if ( $theme->page == 'publish' ) { 
    2323      Stack::add('admin_header_javascript', $this->get_url() . '/jwysiwyg/jquery.wysiwyg.js'); 
    2424      Stack::add('admin_stylesheet', array($this->get_url() . '/jwysiwyg/jquery.wysiwyg.css', 'screen')); 
     
    2727 
    2828  public function action_admin_footer($theme) { 
    29     if ( $theme->admin_page == 'publish' ) { 
     29    if ( $theme->page == 'publish' ) { 
    3030      echo <<<JWYSIWYG 
    3131      <script type="text/javascript">