function wppa_exif($opt = '') { if (is_feed()) { if (wppa_switch('show_exif')) { wppa_dummy_bar(__('- - - EXIF box activated - - -', 'wp-photo-album-plus')); } return; } $do_it = false; if ($opt != 'optional') { $do_it = true; } if (!wppa('is_slideonly') && wppa_switch('show_exif') && !wppa_in_widget()) { $do_it = true; } if ($do_it) { wppa_out('<div' . ' id="exif-' . wppa('mocc') . '"' . ' class="wppa-box wppa-box-text wppa-exif"' . ' style="text-align: center; ' . __wcs('wppa-box') . __wcs('wppa-box-text') . __wcs('wppa-exif') . '"' . ' >' . '</div>'); } }
function wppa_exif($opt = '') { global $wppa; global $wppa_opt; if (is_feed()) { if (wppa_switch('wppa_show_exif')) { wppa_dummy_bar(__a('- - - EXIF box activated - - -', 'wppa_theme')); } return; } $do_it = false; if ($opt != 'optional') { $do_it = true; } if (!$wppa['is_slideonly'] && wppa_switch('wppa_show_exif')) { $do_it = true; } if ($do_it) { $wppa['out'] .= wppa_nltab('+') . '<div id="exif-' . $wppa['mocc'] . '" class="wppa-box wppa-box-text wppa-exif " style="text-align: center; ' . __wcs('wppa-box') . __wcs('wppa-box-text') . __wcs('wppa-exif') . '">'; $wppa['out'] .= wppa_nltab('-') . '</div><!-- #exif -->'; } }