\n\n \n \n \n\n \n \n \n ";
$output .= $context->include('bug/create/user-message.html.tmpl');
$output .= "\n \n \n \n \n \n \n\n \n Reporter: \n ";
# FILTER
$output .= do {
my $output = '';
my $filter = $context->filter('html')
|| $context->throw($context->error);
$output .= $stash->get('reporter');
&$filter($output);
};
$output .= " \n \n Product: \n ";
# FILTER
$output .= do {
my $output = '';
my $filter = $context->filter('html')
|| $context->throw($context->error);
$output .= $stash->get('product');
&$filter($output);
};
$output .= " \n \n \n ";
$output .= "\n \n \n Version: \n \n \n ";
# FOREACH
do {
my ($value, $error, $oldloop);
my $list = $stash->get('version');
unless (UNIVERSAL::isa($list, 'Template::Iterator')) {
$list = Template::Config->iterator($list)
|| die $Template::Config::ERROR, "\n";
}
($value, $error) = $list->get_first();
eval { $oldloop = $stash->get('loop') };
$stash->set('loop', $list);
eval {
LOOP: while (! $error) {
$stash->{'v'} = $value;
$output .= "\n filter('html')
|| $context->throw($context->error);
$output .= $stash->get('v');
&$filter($output);
};
$output .= "\"";
if ($stash->get('v') eq $stash->get(['default', 0, 'version', 0])) {
$output .= ('' . " selected=\"selected\"");
}
$output .= ">";
# FILTER
$output .= do {
my $output = '';
my $filter = $context->filter('html')
|| $context->throw($context->error);
$output .= $stash->get('v');
&$filter($output);
};
$output .= " ";;
($value, $error) = $list->get_next();
}
};
$stash->set('loop', $oldloop);
die $@ if $@;
$error = 0 if $error && $error eq Template::Constants::STATUS_DONE;
die $error if $error;
};
$output .= "\n \n \n \n \n \n filter('url_quote')
|| $context->throw($context->error);
$output .= $stash->get('product');
&$filter($output);
};
$output .= "\">\n Component :\n \n \n \n ";
# FOREACH
do {
my ($value, $error, $oldloop);
my $list = $stash->get('component_');
unless (UNIVERSAL::isa($list, 'Template::Iterator')) {
$list = Template::Config->iterator($list)
|| die $Template::Config::ERROR, "\n";
}
($value, $error) = $list->get_first();
eval { $oldloop = $stash->get('loop') };
$stash->set('loop', $list);
eval {
LOOP: while (! $error) {
$stash->{'c'} = $value;
$output .= "\n filter('html')
|| $context->throw($context->error);
$output .= $stash->get(['c', 0, 'name', 0]);
&$filter($output);
};
$output .= "\"";
if ($stash->get(['c', 0, 'name', 0]) eq $stash->get(['default', 0, 'component_', 0])) {
$output .= ('' . " selected=\"selected\"");
}
$output .= ">";
# FILTER
$output .= do {
my $output = '';
my $filter = $context->filter('html')
|| $context->throw($context->error);
$output .= $stash->get(['c', 0, 'name', 0]);
&$filter($output);
};
$output .= " ";;
($value, $error) = $list->get_next();
}
};
$stash->set('loop', $oldloop);
die $@ if $@;
$error = 0 if $error && $error eq Template::Constants::STATUS_DONE;
die $error if $error;
};
$output .= "\n \n \n \n \n \n \n \n \n \n ";
$stash->set('sel', { 'description' => 'Platform', 'name' => 'rep_platform' });
$output .= $context->include('select');
$output .= "\n ";
$stash->set('sel', { 'description' => 'OS', 'name' => 'op_sys' });
$output .= $context->include('select');
$output .= "\n \n \n ";
if ($stash->get(['Param', [ 'letsubmitterchoosepriority' ]])) {
$stash->set('sel', { 'description' => 'Priority', 'name' => 'priority' });
$output .= $context->include('select');
}
else {
$output .= "\n filter('html')
|| $context->throw($context->error);
$output .= $stash->get(['default', 0, 'priority', 0]);
&$filter($output);
};
$output .= "\">";
}
$output .= "\n";
$stash->set('sel', { 'description' => 'Severity', 'name' => 'bug_severity' });
$output .= $context->include('select');
$output .= " \n \n \n \n \n \n \n";
if ($stash->get(['bug_status', 0, 'size', 0]) > 1) {
$output .= " \n ";
$stash->set('sel', { 'description' => 'Initial State', 'name' => 'bug_status' });
$output .= $context->include('select');
$output .= "\n \n \n ";
}
else {
$output .= "\n get(['default', 0, 'bug_status', 0]);
$output .= "\"> ";
}
$output .= "\n\n \n \n \n Assigned To :\n \n \n \n filter('html')
|| $context->throw($context->error);
$output .= $stash->get('assigned_to');
&$filter($output);
};
$output .= "\">\n (Leave blank to assign to default component owner)\n \n \n \n \n Cc: \n \n filter('html')
|| $context->throw($context->error);
$output .= $stash->get('cc');
&$filter($output);
};
$output .= "\">\n \n \n \n \n \n \n \n\n \n URL: \n \n filter('html')
|| $context->throw($context->error);
$output .= $stash->get('bug_file_loc');
&$filter($output);
};
$output .= "\">\n \n \n \n \n Summary: \n \n filter('html')
|| $context->throw($context->error);
$output .= $stash->get('short_desc');
&$filter($output);
};
$output .= "\">\n \n \n \n Description: \n \n \n \n \n \n \n \n \n ";
if ($stash->get(['group', 0, 'size', 0])) {
$output .= "\n \n \n Only users in all of the selected groups can view this bug:\n \n \n \n (Leave all boxes unchecked to make this a public bug.)\n \n \n \n\n ";
# FOREACH
do {
my ($value, $error, $oldloop);
my $list = $stash->get('group');
unless (UNIVERSAL::isa($list, 'Template::Iterator')) {
$list = Template::Config->iterator($list)
|| die $Template::Config::ERROR, "\n";
}
($value, $error) = $list->get_first();
eval { $oldloop = $stash->get('loop') };
$stash->set('loop', $list);
eval {
LOOP: while (! $error) {
$stash->{'g'} = $value;
$output .= "\n \n get(['g', 0, 'bit', 0]);
$output .= "\" value=\"1\"";
if ($stash->get(['g', 0, 'checked', 0])) {
$output .= ('' . " checked=\"checked\"");
}
$output .= ">";
$output .= $stash->get(['g', 0, 'description', 0]);
$output .= " ";;
($value, $error) = $list->get_next();
}
};
$stash->set('loop', $oldloop);
die $@ if $@;
$error = 0 if $error && $error eq Template::Constants::STATUS_DONE;
die $error if $error;
};
$output .= "\n ";
}
$output .= "\n \n \n \n \n \n \n \n \n \n \n \n";
if ($stash->get(['Param', [ 'usebrowserinfo' ]])) {
$output .= "\n \n \n \n \n We've made a guess at your operating system and platform. \n Please check them and, if we got it wrong, email ";
$output .= $stash->get(['Param', [ 'maintainer' ]]);
$output .= ".\n \n ";
}
$output .= "\n\n
\n