]> git.donarmstrong.com Git - debbugs.git/blobdiff - templates/en_US/cgi/pkgreport_options_include_exclude.tmpl
* Completely reformat pkgreport.cgi output
[debbugs.git] / templates / en_US / cgi / pkgreport_options_include_exclude.tmpl
diff --git a/templates/en_US/cgi/pkgreport_options_include_exclude.tmpl b/templates/en_US/cgi/pkgreport_options_include_exclude.tmpl
new file mode 100644 (file)
index 0000000..c0f8acd
--- /dev/null
@@ -0,0 +1,16 @@
+<input type="hidden" name="_fo_concatenate_into_{$incexc}_fo_{$incexc}key_fo_{$incexc}value" value="1">
+{ my $output = '';
+  our $value_index = 0;
+  our $key1 = '';
+  our $key2 = '';
+  for my $field (make_list($param{$incexc})) {
+    ($key1,$key2) = $field =~ m/^([^:]+)\:(.+)/;
+    next unless defined $key2;
+    $output .= include('cgi/pkgreport_options_include_exclude_key');
+  }
+  $key1 = '';
+  $key2 = '';
+  $output .= include('cgi/pkgreport_options_include_exclude_key');
+  $output;
+}
+