Ignore:
Timestamp:
Jun 10, 2011, 9:02:29 PM (13 years ago)
Author:
mistic100
Message:

parsing bug fixed, works with theme 'Simple'

File:
1 edited

Legend:

Unmodified
Added
Removed
  • extensions/SmiliesSupport/main.inc.php

    r10986 r11294  
    1818add_event_handler('loc_after_page_header', 'add_smiliessupport');
    1919
    20 function add_smiliessupport() {
     20function add_smiliessupport()
     21{
    2122  global $page, $pwg_loaded_plugins;
    2223 
    23   if (!isset($pwg_loaded_plugins['bbcode_bar'])
    24     AND isset($page['body_id']) AND $page['body_id'] == 'thePicturePage')
    25   {
     24  if (
     25    !isset($pwg_loaded_plugins['bbcode_bar'])
     26    AND isset($page['body_id']) AND $page['body_id'] == 'thePicturePage'
     27  ) {
    2628    set_smiliessupport();
    2729  }
     
    3537    array_push($menu, array(
    3638      'NAME' => 'Smilies Support',
    37       'URL' => get_root_url().'admin.php?page=plugin-' . SMILIES_DIR));
     39      'URL' => get_root_url().'admin.php?page=plugin-' . SMILIES_DIR
     40    ));
    3841    return $menu;
    3942  }
Note: See TracChangeset for help on using the changeset viewer.