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