Changeset 26871 for extensions


Ignore:
Timestamp:
Jan 18, 2014, 10:35:44 PM (11 years ago)
Author:
ddtddt
Message:

Checked compatibility with Piwigo 2.6

Location:
extensions/nbc_ThemeChanger/admin
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • extensions/nbc_ThemeChanger/admin/nbc_ThemeChanger_admin.php

    r21654 r26871  
    5151 
    5252// Mise a jour des paramètres du plugin
    53 if (isset($_POST['submit']) and !is_adviser())
     53if (isset($_POST['submit']))
    5454        if ( isset($_POST['categorychoise']) and isset($_POST['template']))
    5555        {       
     
    143143
    144144//delete an association
    145 if ( isset($_GET['tab']) and ($_GET['tab']=='del_assoc') and isset($_GET['cat']) and is_numeric($_GET['cat']) and !is_adviser() )
     145if ( isset($_GET['tab']) and ($_GET['tab']=='del_assoc') and isset($_GET['cat']) and is_numeric($_GET['cat']))
    146146{
    147147
     
    232232  }
    233233}
    234 $template->assign('assoc',$assoc );
     234$template->assign('assoc2',$assoc );
    235235
    236236
  • extensions/nbc_ThemeChanger/admin/nbc_ThemeChanger_admin.tpl

    r10161 r26871  
    6060  <!-- BEGIN assoc -->
    6161  <tbody>
    62   {foreach from=$assoc item=assoc key=i} 
     62  {foreach from=$assoc2 item=assoc key=i} 
    6363 
    6464<tr>
Note: See TracChangeset for help on using the changeset viewer.