<%- $templates['doctype'] %> <%- $templates['headinclude'] %> <%- $templates['title'] %> - <%- T('Products and Versions') %> <%- $templates['nav'] %>
<%- T('Products and Versions') %>
<%- admin_flash() %>
<% foreach ($products as $product): %> <% foreach ($versions[$product['productid']] as $version): %> <% endforeach %> <% if (is_array($components[$product['productid']])): %> <% foreach ($components[$product['productid']] as $comp): %> <% if (is_array($versions[$comp['productid']])): %> <% foreach ($versions[$comp['productid']] as $version): %> <% endforeach %> <% endif %> <% endforeach %> <% endif %> <% endforeach %>
<%- T('Products / Versions') %>
<%- $product['title'] %> <%- construct_option_list(T('Product'), 'product', $product['productid'], 1, 1, 1, 1, $product['displayorder']) %>
-- <%- $version['version'] %> <%- construct_option_list(T('Version'), 'version', $version['versionid'], 1, 0, 0, 1, $version['displayorder']) %>
-- <%- $comp['title'] %> <%- construct_option_list(T('Component'), 'component', $comp['productid'], 1, 0, 1, 1, $comp['displayorder']) %>
---- <%- $version['version'] %> <%- construct_option_list(T('Version'), 'version', $version['versionid'], 1, 0, 0, 1, $version['displayorder']) %>
<%- T('Add New Product') %>
<%- admin_footer() %>