Ignore:
Timestamp:
Mar 20, 2011, 7:05:17 PM (13 years ago)
Author:
rub
Message:

2.2 Adaptation

File:
1 edited

Legend:

Unmodified
Added
Removed
  • extensions/FacebookPlug/Plugin/include/header.inc.php

    r8667 r9795  
    121121        )
    122122    {
    123       $template->block_html_head('', '<link rel="stylesheet" type="text/css" href="'.FBP_PATH.'/css/fbp.css">', $smarty, $repeat);
     123      $template->func_combine_css(array('path' => FBP_PATH.'/css/fbp.css'), $smarty);
    124124    }
    125125  }
     
    149149        (script_basename() == 'admin')
    150150        and
    151         (isset($_GET['page']) and $_GET['page'] == 'plugin')
    152         and
    153         (isset($_GET['section']) and strtok($_GET['section'], '/') == 'FacebookPlug')
     151        (
     152          (isset($_GET['page']) and preg_match('/^plugin-FacebookPlug(?:-(.*))?$/', $_GET['page']))
     153          or
     154          (
     155            (isset($_GET['page']) and $_GET['page'] == 'plugin')
     156            and
     157            (isset($_GET['section']) and strtok($_GET['section'], '/') == 'FacebookPlug')
     158          )
     159        )
    154160      )
    155161    )
Note: See TracChangeset for help on using the changeset viewer.