Changeset 9607 for extensions/FCKEditor


Ignore:
Timestamp:
Mar 11, 2011, 10:29:28 AM (13 years ago)
Author:
patdenice
Message:

Compatible with PWG Stuffs 2.1.n

File:
1 edited

Legend:

Unmodified
Added
Removed
  • extensions/FCKEditor/fckeditor.php

    r9293 r9607  
    4949    // Additional pages
    5050    if ($section == 'AdditionalPages/admin/add_page.php'
    51       or ($section == 'AdditionalPages/admin/admin.php' and (@in_array($_GET['tab'], array('add_page', 'edit_page')))))
     51      or ($section == 'AdditionalPages/admin/admin.php' and (@in_array($_GET['tab'], array('add_page', 'edit_page'))))
     52    )
    5253    {
    5354      $areas[] = 'ap_content';
     
    5758    }
    5859    // PWG Stuffs
    59     elseif ($section == 'PWG_Stuffs/admin/add_module.php' and $_GET['type'] == 'Personal')
     60    elseif (($section == 'PWG_Stuffs/admin/add_module.php' and @$_GET['type'] == 'Personal')
     61      or ($section == 'PWG_Stuffs/admin/admin.php' and @in_array($_GET['tab'], array('edit_module', 'add_module')))
     62    )
    6063    {
    6164      $areas[] = 'personal_content';
    6265      $width = '99%';
    63       $height = '250px';
     66      $height = '400px';
    6467      $template->set_prefilter('module_options', 'add_remove_button_stuffs');
    6568    }
Note: See TracChangeset for help on using the changeset viewer.