various small fixes

This commit is contained in:
John Bintz 2009-07-01 22:02:03 -04:00
parent 99ab15273a
commit 7440bb9238

View File

@ -186,7 +186,7 @@ class PluginWonderful {
echo '</div>'; echo '</div>';
echo '</div>'; echo '</div>';
} else { } else {
var_dump($view); var_dump($view); // ignore var_dump
} }
} }
@ -365,6 +365,7 @@ class PluginWonderful {
echo '<p>'; echo '<p>';
echo 'Select an adbox:<br />'; echo 'Select an adbox:<br />';
foreach ($this->publisher_info->adboxes as $box) { foreach ($this->publisher_info->adboxes as $box) {
if (empty($instance['adboxid'])) { $instance['adboxid'] = $box->adboxid; }
echo '<label>'; echo '<label>';
echo '<input type="radio" name="' echo '<input type="radio" name="'
. $field_names['adboxid'] . $field_names['adboxid']