Ignore:
Timestamp:
Sep 16, 2010, 5:33:30 PM (14 years ago)
Author:
flop25
Message:

change the location of the icon folder
fix bad display of choose.tpl
version 2.1.2

File:
1 edited

Legend:

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

    r6921 r6940  
    246246                $block = $menu->get_block( 'mbAdultContent' );
    247247                $block->set_title(l10n('ac_title_choose'));
    248                 $block->template = $this->plugin_path.'template/'.$user['template'].'/choose.tpl';
     248                $block->template = $this->get_template('choose.tpl');
    249249
    250250          }
     
    281281                $block = $menu->get_block( 'mbAdultContent' );
    282282                $block->set_title(l10n('ac_title_menu_statut'));
    283                 $block->template = $this->plugin_path.'template/'.$user['template'].'/choose.tpl';
     283                $block->template = $this->get_template('choose.tpl');
    284284
    285285          }
Note: See TracChangeset for help on using the changeset viewer.