As stated in my previous post, the function zen_draw_radio_field that ends with ", true" is defaulted to selected. So, this is the original where the copy_metatags_yes flag is auto-checked as "yes":
Code:
//only ask about metatags if defined
if ($metatags_defined) {
$contents[] = array(
'text' => '<h6>' . TEXT_COPY_METATAGS . '</h6>' .
'<div class="radio"><label>' . zen_draw_radio_field('copy_metatags', 'copy_metatags_yes', true) . TEXT_YES . '</label></div>' .
'<div class="radio"><label>' . zen_draw_radio_field('copy_metatags', 'copy_metatags_no') . TEXT_NO . '</label></div>'
Here it is with the no auto-checked:
Code:
//only ask about metatags if defined
if ($metatags_defined) {
$contents[] = array(
'text' => '<h6>' . TEXT_COPY_METATAGS . '</h6>' .
'<div class="radio"><label>' . zen_draw_radio_field('copy_metatags', 'copy_metatags_yes') . TEXT_YES . '</label></div>' .
'<div class="radio"><label>' . zen_draw_radio_field('copy_metatags', 'copy_metatags_no', true) . TEXT_NO . '</label></div>'
Bookmarks