Ignore:
Timestamp:
05/31/10 13:00:07 (10 years ago)
Author:
EXFTB
Message:

compatibility theme simple

File:
1 edited

Legend:

Unmodified
Added
Removed
  • extensions/LLGBO2/main.inc.php

    r6283 r6428  
    99Add a border around  picture ...... 
    1010  2.1.a compliant 2.1 Piwigo 
    11   2.1.b fix minor bugs in administration  */ 
     11  2.1.b fix minor bugs in administration  
     12   2.1.c Bug with simple  */ 
    1213 
    1314if (!defined('PHPWG_ROOT_PATH')) die('Hacking attempt!'); 
     
    123124                        }       } 
    124125                        if  ( pwg_get_session_var('show_metadata') == 1 ) 
    125                         {       $lang['picture_show_metadata'] =  'EXIF Metadata'; 
    126                             if ($meta  != 1 ) {$lang['picture_show_metadata'] =  'No Metadata';}} 
     126                        {       $lang['Show file metadata'] =  'EXIF Metadata'; 
     127                            if ($meta  != 1 ) {$lang['Show file metadata'] =  'No Metadata';}} 
    127128                         
    128129                        $template->assign( 'U_METADATA', $u_metadata.'"'.$swt); 
     
    183184///// YOGA or SIMPLE /////////////////////       
    184185$tpl_name = ""; 
    185 $currenttheme = $template->get_template_vars('themes'); 
    186 $tpl_name =  $currenttheme[1]['id']; 
     186$tpl_name =   $user['theme'] ; 
    187187///////////////////////////////////////////// 
    188188// AN OTHER PLUGIN IS WORKING -> GO BACK 
Note: See TracChangeset for help on using the changeset viewer.