change storyline selector to be radio buttons
This commit is contained in:
parent
0de7f02ed1
commit
3b681859f6
|
@ -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">
|
<div style="margin-left: <?php echo (count($parts) - 2) * 20 ?>px; white-space: nowrap">
|
||||||
<label>
|
<label>
|
||||||
<input type="checkbox"
|
<input type="radio"
|
||||||
name="<?php echo $name ?>[]"
|
name="<?php echo $name ?>[]"
|
||||||
value="<?php echo $category_id ?>" id="<?php echo $name ?>-<?php echo $category_id ?>"
|
value="<?php echo $category_id ?>" id="<?php echo $name ?>-<?php echo $category_id ?>"
|
||||||
<?php echo in_array($category_id, $post_categories) ? "checked" : "" ?> />
|
<?php echo in_array($category_id, $post_categories) ? "checked" : "" ?> />
|
||||||
|
|
Loading…
Reference in New Issue