<%# requirements: url, project, selection_fields, text_fields, bugs, size, max, offset, params %> <%# Copyright (C) 2002 Yoshinori K. Okuji This file is part of BugCommunicator. BugCommunicator is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation; either version 2 of the License, or (at your option) any later version. BugCommunicator is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for more details. You should have received a copy of the GNU General Public License along with BugCommunicator; if not, write to the Free Software Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA %> <% require 'cgi' def h(s) CGI.escapeHTML(s) end module_function :h def u(s) CGI.escape(s) end module_function :u %> Search results for <%= h(@@project) %>

Search results for <%= h(@@project) %>

[ Search bugs | Browse a bug | Submit a bug | Configure the project | Top ]


<% @@selection_fields.each do |f| %> <% end @@text_fields.each do |f| unless f.multiple_lines? %> <% end end %> <% @@bugs.each do |b| %> <% @@selection_fields.each do |f| %> <% end @@text_fields.each do |f| unless f.multiple_lines? %> <% end end %> <% end %>
ID<%= h(f.display_name) %><%= h(f.display_name) %>
<%= h(b.bug_id.to_s) %> <%= h(b[f.name]) %><%= h(b[f.name]) %>
<% prev_exists = (@@offset != 0) next_exists = (@@offset + @@max < @@size) if prev_exists or next_exists %> <% end if prev_exists new_offset = if @@offset < @@max 0 else @@offset - @@max end num = if new_offset + @@max > @@size @@size - new_offset else @@max end %> <% end if next_exists new_offset = @@offset + @@max num = if new_offset + @@max > @@size @@size - new_offset else @@max end %> <% end if prev_exists or next_exists %>
<% @@params.each do |name, vals| case name when 'keywords', 'search-text-fields', 'search-followups', 'max', 'mode', 'project', /\Asf-[a-zA-Z0-9_]{1,32}\z/ vals.each do |val| %> <% end end end %>
<% @@params.each do |name, vals| case name when 'keywords', 'search-text-fields', 'search-followups', 'max', 'mode', 'project', /\Asf-[a-zA-Z0-9_]{1,32}\z/ vals.each do |val| %> <% end end end %>
<% end %>

Powered by BugCommunicator