Ignore:
Timestamp:
Apr 25, 2012, 9:11:00 PM (12 years ago)
Author:
gbo
Message:

LLGBO2 Beta for piwigo 2.4RC2

File:
1 edited

Legend:

Unmodified
Added
Removed
  • extensions/LLGBO2/admin/llgbo_admin.php

    r10453 r14421  
    122122        if (!isset($_POST['llgbo_tooltip_disp'])) {$_POST['llgbo_tooltip_disp'] = 'false';} 
    123123        if (!isset($_POST['llgbo_exifunderbt'])) {$_POST['llgbo_exifunderbt'] = 'false';} 
    124         if (!isset($_POST['llgbo_usemap'])) {$_POST['llgbo_usemap'] = 'false';}
     124        if (!isset($_POST['llgbo_jquery'])) {$_POST['llgbo_jquery'] = 'false';}
     125
    125126        if (!isset($_POST['llgbo_usemap_thumb'])) {$_POST['llgbo_usemap_thumb'] = 'false';}
    126127        if (!isset($_POST['llgbo_title_frame'])) {$_POST['llgbo_title_frame'] = 'false';}   
     
    128129        if (!isset($_POST['llgbo_maintain_header'])) {$_POST['llgbo_maintain_header'] = '';}
    129130        if (!isset($_POST['llgbo_allinfo'])) {$_POST['llgbo_allinfo'] = 'false';}
    130     if (!isset($_POST['llgbo_hdShadowbox'])) {$_POST['llgbo_hdShadowbox'] = 'false';}
    131         // compliance HD Shadowbox
    132           $shadowbowactive = 0;
    133           $query =" SELECT ID FROM  ".$prefixeTable."plugins where id ="."'HDShadowbox'"." and state ='active'" ;
    134       $result = pwg_query($query);
    135           while ($row = pwg_db_fetch_assoc($result))
    136                 { $shadowbowactive = 1;} 
    137         if ($shadowbowactive == 0)
    138                 { if ($_POST['llgbo_hdShadowbox'] != 'false')
    139                 {$lang['llgbo_hdShadowbox'] =  ' * * * * '.$lang['llgbo_hdShadowbox'].' * * * * '; }
    140                 $_POST['llgbo_hdShadowbox'] = 'false';
    141                 }
     131    if (!isset($_POST['llgbo_free'])) {$_POST['llgbo_free'] = 'false';}
    142132       
    143133        if (!isset($_POST['llgbo_always_displayexif'])) {$_POST['llgbo_always_displayexif'] = 'false';} //10   
    144134         $param_llgbo = array($_POST['llgbo_frame'],
    145135                                $_POST['llgbo_tooltip_disp'],             $_POST['llgbo_exifunderbt'],
    146                                 $_POST['llgbo_usemap'],                 $_POST['llgbo_usemap_thumb'],
     136                                $_POST['llgbo_jquery'],                 $_POST['llgbo_usemap_thumb'],
    147137                                $_POST['llgbo_title_frame'],                    $_POST['llgbo_header'],
    148138                                $_POST['llgbo_maintain_header'],                        $_POST['llgbo_allinfo'],
    149                                 $_POST['llgbo_hdShadowbox']     ,$_POST['llgbo_always_displayexif']
     139                                $_POST['llgbo_free']    ,$_POST['llgbo_always_displayexif']
    150140                        );               
    151141        $llgbo_new_value = implode ("," , $param_llgbo);
     
    170160          {$template->assign('LLGBO_EXIFUNDERBT' , 'true');}  else  {$template->assign( 'LLGBO_EXIFUNDERBT' , "false");}
    171161        if ($conf['LLGBO_SETTINGS'][3]  == 'true')
    172           {$template->assign( array( 'LLGBO_USEMAP' => 'true'));}  else  { $template->assign( array( 'LLGBO_USEMAP' => "false"));}
     162          {$template->assign( array( 'LLGBO_JQUERY' => 'true'));}  else  { $template->assign( array( 'LLGBO_JQUERY' => "false"));}
    173163        if ($conf['LLGBO_SETTINGS'][4]  == 'true')
    174164          {$template->assign( array( 'LLGBO_USEMAP_THUMB' => 'true'));}  else  { $template->assign( array( 'LLGBO_USEMAP_THUMB' => "false"));}
     
    181171          {$template->assign(array( 'LLGBO_ALLINFO' => 'true'));}  else {  $template->assign( array( 'LLGBO_ALLINFO' => "false"));}
    182172        if ($conf['LLGBO_SETTINGS'][9] == 'true')
    183           {$template->assign(array( 'LLGBO_HDShadowbox' => 'true'));}  else  { $template->assign(array( 'LLGBO_HDShadowbox' => "false"));}
     173          {$template->assign(array( 'LLGBO_FREE' => 'true'));}  else  { $template->assign(array( 'LLGBO_FREE' => "false"));}
    184174        if ($conf['LLGBO_SETTINGS'][10] == 'true')
    185175          {$template->assign(array( 'LLGBO_ALWAYS_DISPLAYEXIF' => 'true'));}  else  { $template->assign(array( 'LLGBO_ALWAYS_DISPLAYEXIF' => "false"));}
Note: See TracChangeset for help on using the changeset viewer.