% if (!@$output_channels) {
<% $lang->maketext('Name') %> | <% $lang->maketext('Description') %> | <% $lang->maketext('Primary') %> | <% $lang->maketext('Delete') %> |
---|---|---|---|
<% $oc->get_name %> <& '/widgets/profile/hidden.mc', name => "oc_id", value => $oc_id &> | <% $oc->get_description %> | <& "/widgets/profile/radio.mc", disp => '', value => $oc_id, name => "primary_oc_id", js => '', req => 0, checked => ($oc_id == $primary_oc_id), &> | <& '/widgets/profile/button.mc', disp => $lang->maketext("Delete Output Channel"), name => 'delete_oc', value => $oc_id, button => 'delete_red', useTable => 0, js => ($oc_id == $primary_oc_id ? qq{style="display: none" } : '') . qq{onclick="ocListMan.remove(this.parentNode.parentNode); return false"} &> |