Changeset 6940


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

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

Location:
extensions/adult_content
Files:
7 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          }
  • extensions/adult_content/main.inc.php

    r6923 r6940  
    22/*
    33Plugin Name: adult_content
    4 Version: 2.1.1
     4Version: 2.1.2
    55Description: manage adult content / Gerer du contenu adulte
    66Plugin URI: http://phpwebgallery.net/ext/extension_view.php?eid=141
  • extensions/adult_content/template/OS_default/choose.tpl

    r6938 r6940  
    1 <dt><img class="button" alt="{$AC_MSG}" src="{$pwg_root}template/yoga/icon/lost_password.png" />{'ac_title_menu_statut'|@translate}</dt>
     1<dt><img class="button" alt="{$AC_MSG}" src="{$ROOT_URL}{$themeconf.icon_dir}/lost_password.png" />{'ac_title_menu_statut'|@translate}</dt>
    22<dd>
    33  <ul>
  • extensions/adult_content/template/Pure_default/choose.tpl

    r6938 r6940  
    1 <dt><img class="button" alt="{$AC_MSG}" src="{$pwg_root}template/yoga/icon/lost_password.png" />{'ac_title_menu_statut'|@translate}</dt>
     1<dt><img class="button" alt="{$AC_MSG}" src="{$ROOT_URL}{$themeconf.icon_dir}/lost_password.png" />{'ac_title_menu_statut'|@translate}</dt>
    22<dd>
    33  <ul>
  • extensions/adult_content/template/default/choose.tpl

    r6937 r6940  
    1 <dt><img class="button" alt="{$AC_MSG}" src="{$pwg_root}template/yoga/icon/lost_password.png" />{'ac_title_menu_statut'|@translate}</dt>
     1<dt><img class="button" alt="{$AC_MSG}" src="{$ROOT_URL}{$themeconf.icon_dir}/lost_password.png" />{'ac_title_menu_statut'|@translate}</dt>
    22<dd>
    33  <ul>
  • extensions/adult_content/template/flop_mauve/choose.tpl

    r6921 r6940  
    1 <dt><img class="button" alt="{$AC_MSG}" src="{$pwg_root}template/yoga/icon/lost_password.png" />{'ac_title_menu_statut'|@translate}</dt>
     1<dt><img class="button" alt="{$AC_MSG}" src="{$ROOT_URL}{$themeconf.icon_dir}/lost_password.png" />{'ac_title_menu_statut'|@translate}</dt>
    22<dd>
    33  <ul>
  • extensions/adult_content/template/gally-default/choose.tpl

    r6938 r6940  
    1 <dt><img class="button" alt="{$AC_MSG}" src="{$pwg_root}template/yoga/icon/lost_password.png" />{'ac_title_menu_statut'|@translate}</dt>
     1<dt><img class="button" alt="{$AC_MSG}" src="{$ROOT_URL}{$themeconf.icon_dir}/lost_password.png" />{'ac_title_menu_statut'|@translate}</dt>
    22<dd>
    33  <ul>
Note: See TracChangeset for help on using the changeset viewer.