change storyline selector to be radio buttons

This commit is contained in:
John Bintz 2009-08-27 22:41:53 -04:00
parent 0de7f02ed1
commit 3b681859f6

View File

@ -869,7 +869,7 @@ function cpm_display_storyline_checkboxes($category_tree, $post_categories, $pre
?>
<div style="margin-left: <?php echo (count($parts) - 2) * 20 ?>px; white-space: nowrap">
<label>
<input type="checkbox"
<input type="radio"
name="<?php echo $name ?>[]"
value="<?php echo $category_id ?>" id="<?php echo $name ?>-<?php echo $category_id ?>"
<?php echo in_array($category_id, $post_categories) ? "checked" : "" ?> />