function wppa_slide_desc_box($key = 'optional') { $do_it = false; if ($key != 'optional') { $do_it = true; } if (wppa('is_slideonly')) { if (wppa('desc_on')) { $do_it = true; } } else { if (wppa_switch('show_full_desc')) { $do_it = true; } } if ($do_it) { wppa_out('<div' . ' id="descbox-' . wppa('mocc') . '"' . ' class="wppa-box wppa-name-desc"' . ' style="' . __wcs('wppa-box') . __wcs('wppa-name-desc') . '"' . ' >'); wppa_slide_description($key); // The description of the photo wppa_out('</div>'); } }
function wppa_slide_desc_box($key = 'optional') { global $wppa; global $wppa_opt; $do_it = false; if ($key != 'optional') { $do_it = true; } if ($wppa['is_slideonly']) { if ($wppa['desc_on']) { $do_it = true; } } else { if (wppa_switch('wppa_show_full_desc')) { $do_it = true; } } if ($do_it) { $wppa['out'] .= wppa_nltab('+') . '<div id="descbox-' . $wppa['mocc'] . '" class="wppa-box wppa-name-desc" style="' . __wcs('wppa-box') . __wcs('wppa-name-desc') . '" >'; wppa_slide_description($key); // The description of the photo $wppa['out'] .= wppa_nltab('-') . '</div><!-- #namedesc -->'; } }