echo $redirect_type_selector === 'flow' ? 'on' : 'off'; ?> "> <td class="radio-cell"> <input type="radio" name="redirect-type-selector" value="flow" <?php echo $redirect_type_selector === 'flow' ? 'checked="checked"' : ''; ?> /> </td> <td class="content-cell"> <div style="float: left;"><h4>Redirect to a call flow</h4></div> <div style="float: right;"> <select name="gotoflow" class="medium"> <?php foreach (OpenVBX::GetFlows() as $flow) { ?> <option value="<?php echo $flow->values['id']; ?> " <?php echo $gotoflow == $flow->values['id'] ? 'selected="selected"' : ''; ?> ><?php echo $flow->values['name']; ?> </option> <?php } ?> </select>