Ignore:
Timestamp:
Mar 1, 2011, 1:00:44 PM (13 years ago)
Author:
patdenice
Message:

Optimizations.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • extensions/PWG_Stuffs/class.inc.php

    r9410 r9449  
    8181      {
    8282        $this->pos = 'end';
    83         if (!empty($module['datas'])
    84           and $datas = unserialize($module['datas'])
    85           and $datas['hide'])
     83        $show = unserialize($module['datas']);
     84        if (!$show)
    8685        {
    8786          add_event_handler('loc_end_index', 'hide_main_block');
     
    189188  {
    190189    $css = array(
    191       '<link rel="stylesheet" type="text/css" href="{$ROOT_URL}plugins/PWG_Stuffs/theme/stuffs_index.css">'
     190      '<link rel="stylesheet" type="text/css" href="{$ROOT_URL}plugins/'.STUFFS_DIR.'/theme/stuffs_index.css">'
    192191    );
    193192
     
    208207  {
    209208    $css = array(
    210       '<link rel="stylesheet" type="text/css" href="{$ROOT_URL}plugins/PWG_Stuffs/theme/stuffs_picture.css">'
     209      '<link rel="stylesheet" type="text/css" href="{$ROOT_URL}plugins/'.STUFFS_DIR.'/theme/stuffs_picture.css">'
    211210    );
    212211
Note: See TracChangeset for help on using the changeset viewer.