Changeset 14421 for extensions/LLGBO2/admin/llgbo_admin.php
- Timestamp:
- Apr 25, 2012, 9:11:00 PM (12 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
extensions/LLGBO2/admin/llgbo_admin.php
r10453 r14421 122 122 if (!isset($_POST['llgbo_tooltip_disp'])) {$_POST['llgbo_tooltip_disp'] = 'false';} 123 123 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 125 126 if (!isset($_POST['llgbo_usemap_thumb'])) {$_POST['llgbo_usemap_thumb'] = 'false';} 126 127 if (!isset($_POST['llgbo_title_frame'])) {$_POST['llgbo_title_frame'] = 'false';} … … 128 129 if (!isset($_POST['llgbo_maintain_header'])) {$_POST['llgbo_maintain_header'] = '';} 129 130 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';} 142 132 143 133 if (!isset($_POST['llgbo_always_displayexif'])) {$_POST['llgbo_always_displayexif'] = 'false';} //10 144 134 $param_llgbo = array($_POST['llgbo_frame'], 145 135 $_POST['llgbo_tooltip_disp'], $_POST['llgbo_exifunderbt'], 146 $_POST['llgbo_ usemap'], $_POST['llgbo_usemap_thumb'],136 $_POST['llgbo_jquery'], $_POST['llgbo_usemap_thumb'], 147 137 $_POST['llgbo_title_frame'], $_POST['llgbo_header'], 148 138 $_POST['llgbo_maintain_header'], $_POST['llgbo_allinfo'], 149 $_POST['llgbo_ hdShadowbox'] ,$_POST['llgbo_always_displayexif']139 $_POST['llgbo_free'] ,$_POST['llgbo_always_displayexif'] 150 140 ); 151 141 $llgbo_new_value = implode ("," , $param_llgbo); … … 170 160 {$template->assign('LLGBO_EXIFUNDERBT' , 'true');} else {$template->assign( 'LLGBO_EXIFUNDERBT' , "false");} 171 161 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"));} 173 163 if ($conf['LLGBO_SETTINGS'][4] == 'true') 174 164 {$template->assign( array( 'LLGBO_USEMAP_THUMB' => 'true'));} else { $template->assign( array( 'LLGBO_USEMAP_THUMB' => "false"));} … … 181 171 {$template->assign(array( 'LLGBO_ALLINFO' => 'true'));} else { $template->assign( array( 'LLGBO_ALLINFO' => "false"));} 182 172 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"));} 184 174 if ($conf['LLGBO_SETTINGS'][10] == 'true') 185 175 {$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.