<%
    use obfui::cmn;
    my ($all) = @_;
%>

<%$ __('If you are frequently adding new files to your project, you do not have to go to <a href=settings.files>Settings&rArr;For Files</a> each time to register them in your project. ') %>
<%= __('Here you can specify patterns (either space-separated list of file extensions - like "cxx c cpp" or Perl regular expression that is matched against full pathname) and a mode to use for them. Files residing in Project\'s input directory but not yet listed in the project will be processed using that mode.') %>
<p>
<%$ __('Unsure what mode to select in drop down list? Use the one used for similar type of files <a href=settings.files>here</a>.') %>
<p>
<form method=post>
<input type=hidden name=havevals value=1>
<input type=hidden name=itemcount value=<%$ (0+@$all) %> >
<div class=stretchformfields>
<table>
<%
    foreach my $i (@$all)
    {
	my ($type_html,$pattern_html,$modenm_html) = @$i;
	my $s = "<select ";
	my $r = "$s  style='width: 18em;' ";
	$type_html =~ s/$s/$r/g;
	$r = "$s  style='width: 40em;' ";
	$modenm_html =~ s/$s/$r/g;
	# class=width-of-selec
%>
<tr><td><%$ $type_html %></td><td><input class=text type=text <%$ $pattern_html %> ></td>
<td><%$ $modenm_html %></td>
<%    }
%>
</table>
</div>



<p>

<% $forge->include('wgt-btns-ok-cancel') %>
</form>

