Changeset 3416 for extensions


Ignore:
Timestamp:
Jun 12, 2009, 7:55:25 PM (15 years ago)
Author:
Eric
Message:

ConfirmMail.tpl : $U_HOME replaced by $GALLERY_URL only if $GALLERY_URL is empty.
ConfirmMail.php : $GALLERY_URL set.
main.inc.php : Plugin version (2.10.9b) and history update.

Location:
extensions/NBC_UserAdvManager
Files:
3 edited

Legend:

Unmodified
Added
Removed
  • extensions/NBC_UserAdvManager/ConfirmMail.php

    r3352 r3416  
    5959}
    6060
     61if ( isset($conf['gallery_url']) )
     62        {
     63        $template->assign(
     64                array(
     65                'GALLERY_URL' =>
     66                         isset($page['gallery_url']) ?
     67                              $page['gallery_url'] : $conf['gallery_url'],
     68                 )
     69         );
     70}
     71
     72
    6173$template->pparse('confirm_mail');
    6274include(PHPWG_ROOT_PATH.'include/page_tail.php');
  • extensions/NBC_UserAdvManager/ConfirmMail.tpl

    r3415 r3416  
    44    <ul class="categoryActions">
    55      <li>
     6      {if isset($GALLERY_URL) }
    67        <a href="{$GALLERY_URL}" title="{'return to homepage'|@translate}">
    78          <img src="{$themeconf.icon_dir}/home.png" class="button" alt="{'home'|@translate}"/>
    89        </a>
     10      {else}
     11        <a href="{$U_HOME}" title="{'return to homepage'|@translate}">
     12          <img src="{$themeconf.icon_dir}/home.png" class="button" alt="{'home'|@translate}"/>
     13        </a>
     14      {/if}
    915      </li>
    1016    </ul>
  • extensions/NBC_UserAdvManager/main.inc.php

    r3398 r3416  
    22/*
    33Plugin Name: NBC UserAdvManager
    4 Version: 2.10.9a
     4Version: 2.10.9b
    55Description: Permet de renforcer les possibilités de gestion des utilisateurs - Enforce users management
    66Plugin URI: http://fr.piwigo.org/ext/extension_view.php?eid=216
     
    3636
    3737-- 2.10.9a : Email provider exclusion is no longer case sensitive
     38
     39-- 2.10.9b : Bug fixed - Home icon wasn't linked to gallery url in ConfirmMail page. If GALLERY_URL is not set, Home icon gets the pwg root path.
    3840 
    3941
Note: See TracChangeset for help on using the changeset viewer.