Author: frik85 Date: Thu Jul 26 22:15:55 2007 New Revision: 27870
URL: http://svn.reactos.org/svn/reactos?rev=27870&view=rev Log: ReactOS website - bugzilla:
* commit current template dir
Added: trunk/web/reactos.org/htdocs/bugzilla/template/en/default/admin/flag-type/ trunk/web/reactos.org/htdocs/bugzilla/template/en/default/admin/flag-type/confirm-delete.html.tmpl trunk/web/reactos.org/htdocs/bugzilla/template/en/default/admin/flag-type/edit.html.tmpl trunk/web/reactos.org/htdocs/bugzilla/template/en/default/admin/flag-type/list.html.tmpl trunk/web/reactos.org/htdocs/bugzilla/template/en/default/admin/groups/ trunk/web/reactos.org/htdocs/bugzilla/template/en/default/admin/groups/change.html.tmpl trunk/web/reactos.org/htdocs/bugzilla/template/en/default/admin/groups/create.html.tmpl trunk/web/reactos.org/htdocs/bugzilla/template/en/default/admin/groups/created.html.tmpl trunk/web/reactos.org/htdocs/bugzilla/template/en/default/admin/groups/delete.html.tmpl trunk/web/reactos.org/htdocs/bugzilla/template/en/default/admin/groups/deleted.html.tmpl trunk/web/reactos.org/htdocs/bugzilla/template/en/default/admin/groups/edit.html.tmpl trunk/web/reactos.org/htdocs/bugzilla/template/en/default/admin/groups/list.html.tmpl trunk/web/reactos.org/htdocs/bugzilla/template/en/default/admin/groups/remove.html.tmpl trunk/web/reactos.org/htdocs/bugzilla/template/en/default/admin/keywords/ trunk/web/reactos.org/htdocs/bugzilla/template/en/default/admin/keywords/confirm-delete.html.tmpl trunk/web/reactos.org/htdocs/bugzilla/template/en/default/admin/keywords/create.html.tmpl trunk/web/reactos.org/htdocs/bugzilla/template/en/default/admin/keywords/created.html.tmpl trunk/web/reactos.org/htdocs/bugzilla/template/en/default/admin/keywords/edit.html.tmpl trunk/web/reactos.org/htdocs/bugzilla/template/en/default/admin/keywords/list.html.tmpl trunk/web/reactos.org/htdocs/bugzilla/template/en/default/admin/keywords/rebuild-cache.html.tmpl trunk/web/reactos.org/htdocs/bugzilla/template/en/default/admin/milestones/ trunk/web/reactos.org/htdocs/bugzilla/template/en/default/admin/milestones/confirm-delete.html.tmpl trunk/web/reactos.org/htdocs/bugzilla/template/en/default/admin/milestones/create.html.tmpl trunk/web/reactos.org/htdocs/bugzilla/template/en/default/admin/milestones/created.html.tmpl trunk/web/reactos.org/htdocs/bugzilla/template/en/default/admin/milestones/deleted.html.tmpl trunk/web/reactos.org/htdocs/bugzilla/template/en/default/admin/milestones/edit.html.tmpl trunk/web/reactos.org/htdocs/bugzilla/template/en/default/admin/milestones/footer.html.tmpl trunk/web/reactos.org/htdocs/bugzilla/template/en/default/admin/milestones/list.html.tmpl trunk/web/reactos.org/htdocs/bugzilla/template/en/default/admin/milestones/select-product.html.tmpl trunk/web/reactos.org/htdocs/bugzilla/template/en/default/admin/milestones/updated.html.tmpl
Added: trunk/web/reactos.org/htdocs/bugzilla/template/en/default/admin/flag-type/confirm-delete.html.tmpl URL: http://svn.reactos.org/svn/reactos/trunk/web/reactos.org/htdocs/bugzilla/tem... ============================================================================== --- trunk/web/reactos.org/htdocs/bugzilla/template/en/default/admin/flag-type/confirm-delete.html.tmpl (added) +++ trunk/web/reactos.org/htdocs/bugzilla/template/en/default/admin/flag-type/confirm-delete.html.tmpl Thu Jul 26 22:15:55 2007 @@ -1,0 +1,60 @@ +[%# 1.0@bugzilla.org %] +[%# The contents of this file are subject to the Mozilla Public + # License Version 1.1 (the "License"); you may not use this file + # except in compliance with the License. You may obtain a copy of + # the License at http://www.mozilla.org/MPL/ + # + # Software distributed under the License is distributed on an "AS + # IS" basis, WITHOUT WARRANTY OF ANY KIND, either express or + # implied. See the License for the specific language governing + # rights and limitations under the License. + # + # The Original Code is the Bugzilla Bug Tracking System. + # + # The Initial Developer of the Original Code is Netscape Communications + # Corporation. Portions created by Netscape are + # Copyright (C) 1998 Netscape Communications Corporation. All + # Rights Reserved. + # + # Contributor(s): Myk Melez myk@mozilla.org + #%] + +[% PROCESS global/variables.none.tmpl %] + +[%# Filter off the name here to be used multiple times below %] +[% name = BLOCK %][% flag_type.name FILTER html %][% END %] + +[% PROCESS global/header.html.tmpl + title = "Confirm Deletion of Flag Type '$name'" +%] + +<p> + There are [% flag_count %] flags of type [% name FILTER html %]. + If you delete this type, those flags will also be deleted. Note that + instead of deleting the type you can + <a href="editflagtypes.cgi?action=deactivate&id=[% flag_type.id %]">deactivate it</a>, + in which case the type and its flags will remain in the database + but will not appear in the [% terms.Bugzilla %] UI. +</p> + +<table> + <tr> + <td colspan="2"> + Do you really want to delete this type? + </td> + </tr> + <tr> + <td> + <a href="editflagtypes.cgi?action=delete&id=[% flag_type.id %]"> + Yes, delete + </a> + </td> + <td align="right"> + <a href="editflagtypes.cgi"> + No, don't delete + </a> + </td> + </tr> +</table> + +[% PROCESS global/footer.html.tmpl %]
Added: trunk/web/reactos.org/htdocs/bugzilla/template/en/default/admin/flag-type/edit.html.tmpl URL: http://svn.reactos.org/svn/reactos/trunk/web/reactos.org/htdocs/bugzilla/tem... ============================================================================== --- trunk/web/reactos.org/htdocs/bugzilla/template/en/default/admin/flag-type/edit.html.tmpl (added) +++ trunk/web/reactos.org/htdocs/bugzilla/template/en/default/admin/flag-type/edit.html.tmpl Thu Jul 26 22:15:55 2007 @@ -1,0 +1,228 @@ +[%# 1.0@bugzilla.org %] +[%# The contents of this file are subject to the Mozilla Public + # License Version 1.1 (the "License"); you may not use this file + # except in compliance with the License. You may obtain a copy of + # the License at http://www.mozilla.org/MPL/ + # + # Software distributed under the License is distributed on an "AS + # IS" basis, WITHOUT WARRANTY OF ANY KIND, either express or + # implied. See the License for the specific language governing + # rights and limitations under the License. + # + # The Original Code is the Bugzilla Bug Tracking System. + # + # The Initial Developer of the Original Code is Netscape Communications + # Corporation. Portions created by Netscape are + # Copyright (C) 1998 Netscape Communications Corporation. All + # Rights Reserved. + # + # Contributor(s): Myk Melez myk@mozilla.org + # Mark Bickford markhb@maine.rr.com + #%] + +[% PROCESS global/variables.none.tmpl %] + +[%# The javascript block gets used in header.html.tmpl. %] +[% javascript = BLOCK %] + var usetms = 0; // do we have target milestone? + var first_load = 1; // is this the first time we load the page? + var last_sel = []; // caches last selection + var cpts = new Array(); + [% FOREACH p = products %] + cpts['[% p FILTER js %]'] = [ + [%- FOREACH item = components_by_product.$p %]'[% item FILTER js %]'[% ", " UNLESS loop.last %] [%- END -%] ]; + [% END %] +[% END %] + +[% IF type.target_type == "bug" %] + [% title = BLOCK %]Create Flag Type for [% terms.Bugs %][% END %] + [% typeLabelLowerPlural = BLOCK %][% terms.bugs %][% END %] + [% typeLabelLowerSingular = BLOCK %][% terms.bug %][% END %] +[% ELSE %] + [% title = "Create Flag Type for Attachments" %] + [% typeLabelLowerPlural = BLOCK %]attachments[% END %] + [% typeLabelLowerSingular = BLOCK %]attachment[% END %] +[% END %] + +[% IF last_action == "copy" %] + [% title = "Create Flag Type Based on $type.name" %] +[% ELSIF last_action == "edit" %] + [% title = "Edit Flag Type $type.name" %] +[% END %] + +[% PROCESS global/header.html.tmpl + title = title + style = " + table#form th { text-align: right; vertical-align: baseline; white-space: nowrap; } + table#form td { text-align: left; vertical-align: baseline; } + " + onload="selectProduct(document.forms[0], 'product', 'component', '__Any__');" + javascript_urls=["productmenu.js"] +%] + +<form method="post" action="editflagtypes.cgi"> + <input type="hidden" name="action" value="[% action %]"> + <input type="hidden" name="id" value="[% type.id %]"> + <input type="hidden" name="target_type" value="[% type.target_type %]"> + [% FOREACH category = type.inclusions %] + <input type="hidden" name="inclusions" value="[% category.value FILTER html %]"> + [% END %] + [% FOREACH category = type.exclusions %] + <input type="hidden" name="exclusions" value="[% category.value FILTER html %]"> + [% END %] + + <table id="form" cellspacing="0" cellpadding="4" border="0"> + <tr> + <th>Name:</th> + <td> + a short name identifying this type<br> + <input type="text" name="name" value="[% type.name FILTER html %]" + size="50" maxlength="50"> + </td> + </tr> + + <tr> + <th>Description:</th> + <td> + a comprehensive description of this type<br> + <textarea name="description" rows="4" cols="80">[% type.description FILTER html %]</textarea> + </td> + </tr> + + <tr> + <th>Category:</th> + + <td> + the products/components to which [% typeLabelLowerPlural %] must + (inclusions) or must not (exclusions) belong in order for users + to be able to set flags of this type for them + <table> + <tr> + <td style="vertical-align: top;"> + <b>Product/Component:</b><br> + <select name="product" onchange="selectProduct(this.form, 'product', 'component', '__Any__');"> + <option value="">__Any__</option> + [% FOREACH item = products %] + <option value="[% item FILTER html %]" + [% "selected" IF type.product.name == item %]> + [% item FILTER html %]</option> + [% END %] + </select><br> + <select name="component"> + <option value="">__Any__</option> + [% FOREACH item = components %] + <option value="[% item FILTER html %]" + [% "selected" IF type.component.name == item %]> + [% item FILTER html %]</option> + [% END %] + </select><br> + <input type="submit" name="categoryAction-include" value="Include"> + <input type="submit" name="categoryAction-exclude" value="Exclude"> + </td> + <td style="vertical-align: top;"> + <b>Inclusions:</b><br> + [% PROCESS "global/select-menu.html.tmpl" name="inclusion_to_remove" multiple="1" size="4" options=type.inclusions %]<br> + <input type="submit" name="categoryAction-removeInclusion" value="Remove Inclusion"> + </td> + <td style="vertical-align: top;"> + <b>Exclusions:</b><br> + [% PROCESS "global/select-menu.html.tmpl" name="exclusion_to_remove" multiple="1" size="4" options=type.exclusions %]<br> + <input type="submit" name="categoryAction-removeExclusion" value="Remove Exclusion"> + </td> + </tr> + </table> + </td> + </tr> + + <tr> + <th>Sort Key:</th> + <td> + a number between 1 and 32767 by which this type will be sorted + when displayed to users in a list; ignore if you don't care + what order the types appear in or if you want them to appear + in alphabetical order<br> + <input type="text" name="sortkey" value="[% type.sortkey || 1 %]" size="5" maxlength="5"> + </td> + </tr> + + <tr> + <th> </th> + <td> + <input type="checkbox" name="is_active" [% "checked" IF type.is_active || !type.is_active.defined %]> + active (flags of this type appear in the UI and can be set) + </td> + </tr> + + <tr> + <th> </th> + <td> + <input type="checkbox" name="is_requestable" [% "checked" IF type.is_requestable || !type.is_requestable.defined %]> + requestable (users can ask for flags of this type to be set) + </td> + </tr> + + <tr> + <th>CC List:</th> + <td> + if requestable, who should get carbon copied on email notification of requests. + This is a comma-separated list of full e-mail addresses which do not + need to be [% terms.Bugzilla %] logins. + [% IF Param('emailsuffix') %] + Note that the configured emailsuffix + <kbd>[% Param('emailsuffix') %]</kbd> will <em>not</em> be appended + to these addresses, so you should add it explicitly if so desired. + [% END %]<br> + <input type="text" name="cc_list" value="[% type.cc_list FILTER html %]" size="80" maxlength="200"> + </td> + </tr> + + <tr> + <th> </th> + <td> + <input type="checkbox" name="is_requesteeble" [% "checked" IF type.is_requesteeble || !type.is_requesteeble.defined %]> + specifically requestable (users can ask specific other users to set flags of this type as opposed to just asking the wind) + </td> + </tr> + + <tr> + <th> </th> + <td> + <input type="checkbox" name="is_multiplicable" [% "checked" IF type.is_multiplicable || !type.is_multiplicable.defined %]> + multiplicable (multiple flags of this type can be set on the same [% typeLabelLowerSingular %]) + </td> + </tr> + + <tr> + <th>Grant Group:</th> + <td> + the group allowed to grant/deny flags of this type + (to allow all users to grant/deny these flags, leave this empty)<br> + <input type="text" name="grant_gid" value="[% type.grant_gid FILTER html %]" size="50" maxlength="255"> + </td> + </tr> + + <tr> + <th>Request Group:</th> + <td> + if flags of this type are requestable, the group allowed to request them + (to allow all users to request these flags, leave this empty)<br> + Note that the request group alone has no effect if the grant group is not defined!<br> + <input type="text" name="request_gid" value="[% type.request_gid FILTER html %]" size="50" maxlength="255"> + </td> + </tr> + + <tr> + <th></th> + <td> + <input type="submit" value=" + [%- IF (last_action == "enter" || last_action == "copy") %]Create + [%- ELSE %]Save Changes + [%- END %]"> + </td> + </tr> + + </table> + +</form> + +[% PROCESS global/footer.html.tmpl %]
Added: trunk/web/reactos.org/htdocs/bugzilla/template/en/default/admin/flag-type/list.html.tmpl URL: http://svn.reactos.org/svn/reactos/trunk/web/reactos.org/htdocs/bugzilla/tem... ============================================================================== --- trunk/web/reactos.org/htdocs/bugzilla/template/en/default/admin/flag-type/list.html.tmpl (added) +++ trunk/web/reactos.org/htdocs/bugzilla/template/en/default/admin/flag-type/list.html.tmpl Thu Jul 26 22:15:55 2007 @@ -1,0 +1,109 @@ +[%# 1.0@bugzilla.org %] +[%# The contents of this file are subject to the Mozilla Public + # License Version 1.1 (the "License"); you may not use this file + # except in compliance with the License. You may obtain a copy of + # the License at http://www.mozilla.org/MPL/ + # + # Software distributed under the License is distributed on an "AS + # IS" basis, WITHOUT WARRANTY OF ANY KIND, either express or + # implied. See the License for the specific language governing + # rights and limitations under the License. + # + # The Original Code is the Bugzilla Bug Tracking System. + # + # The Initial Developer of the Original Code is Netscape Communications + # Corporation. Portions created by Netscape are + # Copyright (C) 1998 Netscape Communications Corporation. All + # Rights Reserved. + # + # Contributor(s): Myk Melez myk@mozilla.org + #%] + +[% PROCESS global/variables.none.tmpl %] + +[% PROCESS global/header.html.tmpl + title = 'Administer Flag Types' + style = " + table#flag_types tr th { text-align: left; } + .inactive { color: #787878; } + " +%] + +<p> + Flags are markers that identify whether [% terms.abug %] or attachment has been granted + or denied some status. Flags appear in the UI as a name and a status symbol + ("+" for granted, "-" for denied, and "?" for statuses requested by users). +</p> + +<p> + For example, you might define a "review" status for users to request review + for their patches. When a patch writer requests review, the string "review?" + will appear in the attachment. When a patch reviewer reviews the patch, + either the string "review+" or the string "review-" will appear in the patch, + depending on whether the patch passed or failed review. +</p> + +<h3>Flag Types for [% terms.Bugs %]</h3> + +[% PROCESS display_flag_types types=bug_types %] + +<p> + <a href="editflagtypes.cgi?action=enter&target_type=bug">Create Flag Type for [% terms.Bugs %]</a> +</p> + +<h3>Flag Types for Attachments</h3> + +[% PROCESS display_flag_types types=attachment_types %] + +<p> + <a href="editflagtypes.cgi?action=enter&target_type=attachment">Create Flag Type For Attachments</a> +</p> + +<script type="text/javascript"> + <!-- + function confirmDelete(id, name, count) + { + if (count > 0) { + var msg = 'There are ' + count + ' flags of type ' + name + '. ' + + 'If you delete this type, those flags will also be ' + + 'deleted.\n\nNote: to deactivate the type instead ' + + 'of deleting it, edit it and uncheck its "is active" ' + + 'flag.\n\nDo you really want to delete this flag type?'; + if (!confirm(msg)) return false; + } + location.href = "editflagtypes.cgi?action=delete&id=" + id; + return false; // prevent strict JavaScript warning that this function + // does not always return a value + } + //--> +</script> + +[% PROCESS global/footer.html.tmpl %] + + +[% BLOCK display_flag_types %] + <table id="flag_types" cellspacing="0" cellpadding="4" border="1"> + + <tr> + <th>Edit name ...</th> + <th>Description</th> + <th>Actions</th> + </tr> + + [% FOREACH type = types %] + + <tr class="[% IF type.is_active %]active[% ELSE %]inactive[% END %]"> + <td><a href="editflagtypes.cgi?action=edit&id=[% type.id %]">[% type.name FILTER html FILTER no_break %]</a></td> + <td>[% type.description FILTER html %]</td> + <td> + <a href="editflagtypes.cgi?action=copy&id=[% type.id %]">Copy</a> + | <a href="editflagtypes.cgi?action=confirmdelete&id=[% type.id %]" + onclick="return confirmDelete([% type.id %], '[% type.name FILTER js FILTER html %]', + [% type.flag_count %]);">Delete</a> + </td> + </tr> + + [% END %] + + </table> +[% END %]
Added: trunk/web/reactos.org/htdocs/bugzilla/template/en/default/admin/groups/change.html.tmpl URL: http://svn.reactos.org/svn/reactos/trunk/web/reactos.org/htdocs/bugzilla/tem... ============================================================================== --- trunk/web/reactos.org/htdocs/bugzilla/template/en/default/admin/groups/change.html.tmpl (added) +++ trunk/web/reactos.org/htdocs/bugzilla/template/en/default/admin/groups/change.html.tmpl Thu Jul 26 22:15:55 2007 @@ -1,0 +1,111 @@ +[%# 1.0@bugzilla.org %] +[%# The contents of this file are subject to the Mozilla Public + # License Version 1.1 (the "License"); you may not use this file + # except in compliance with the License. You may obtain a copy of + # the License at http://www.mozilla.org/MPL/ + # + # Software distributed under the License is distributed on an "AS + # IS" basis, WITHOUT WARRANTY OF ANY KIND, either express or + # implied. See the License for the specific language governing + # rights and limitations under the License. + # + # The Original Code is the Bugzilla Bug Tracking System. + # + # The Initial Developer of the Original Code is Netscape Communications + # Corporation. Portions created by Netscape are + # Copyright (C) 1998 Netscape Communications Corporation. All + # Rights Reserved. + # + # Contributor(s): Dave Miller justdave@syndicomm.com + # Joel Peshkin bugreport@peshkin.net + # Jacob Steenhagen jake@bugzilla.org + # Vlad Dascalu jocuri@softhome.net + #%] + +[%# INTERFACE: + # action: integer. Can be 1, 2 or 3, depending on the action + # performed: + # 1 - remove_explicit_members + # 2 - remove_explicit_members_regexp + # 3 - no conversion, just save the changes + # changes: boolean int. Is 1 if changes occured. + # gid: integer. The ID of the group. + # name: the name of the product where removal is performed. + # regexp: the regexp according to which the update is performed. + #%] + +[% IF (action == 1) %] + [% title = "Confirm: Remove All Explicit Members?" %] +[% ELSIF (action == 2) %] + [% title = "Confirm: Remove Explicit Members in the Regular Expression?" %] +[% ELSE %] + [% title = "Updating group hierarchy" %] +[% END %] + +[% PROCESS global/header.html.tmpl %] + +<p> + Checking.... + + [% IF changes %] + changed. + [% END %] +</p> + +[% IF (action == 1) || (action == 2) %] + [% IF changes %] + <p>Group updated, please confirm removal:</p> + [% END %] + + [% IF (action == 1) %] + <p>This option will remove all explicitly defined users + [% ELSIF regexp %] + <p>This option will remove all users included in the regular expression: + [% regexp FILTER html %] + [% ELSE %] + <p> + <b>There is no regular expression defined.</b> + No users will be removed. + </p> + [% END %] + + [% IF ((action == 1) || regexp) %] + from group [% name FILTER html %].</p> + + <p> + Generally, you will only need to do this when upgrading groups + created with [% terms.Bugzilla %] versions 2.16 and prior. Use + this option with <b>extreme care</b> and consult the documentation + for further information. + </p> + + <form method="post" action="editgroups.cgi"> + <input type="hidden" name="group" value="[% gid FILTER html %]"> + + [% IF (action == 2) %] + <input type="hidden" name="action" value="remove_all_regexp"> + [% ELSE %] + <input type="hidden" name="action" value="remove_all"> + [% END %] + + <input name="confirm" type="submit" value="Confirm"> + <p>Or <a href="editgroups.cgi">return to the Edit Groups page</a>.</p> + </form> + [% END %] +[% ELSE %] + [%# if we got this far, the admin doesn't want to convert, so just save + # their changes %] + + [% IF changes %] + <p>Done.</p> + [% ELSE %] + <p> + You didn't change anything! If you really meant it, hit the <b>Back</b> + button and try again. + </p> + [% END %] + + <p>Back to the <a href="editgroups.cgi">group list</a>.</p> +[% END %] + +[% PROCESS global/footer.html.tmpl %]
Added: trunk/web/reactos.org/htdocs/bugzilla/template/en/default/admin/groups/create.html.tmpl URL: http://svn.reactos.org/svn/reactos/trunk/web/reactos.org/htdocs/bugzilla/tem... ============================================================================== --- trunk/web/reactos.org/htdocs/bugzilla/template/en/default/admin/groups/create.html.tmpl (added) +++ trunk/web/reactos.org/htdocs/bugzilla/template/en/default/admin/groups/create.html.tmpl Thu Jul 26 22:15:55 2007 @@ -1,0 +1,85 @@ +[%# 1.0@bugzilla.org %] +[%# The contents of this file are subject to the Mozilla Public + # License Version 1.1 (the "License"); you may not use this file + # except in compliance with the License. You may obtain a copy of + # the License at http://www.mozilla.org/MPL/ + # + # Software distributed under the License is distributed on an "AS + # IS" basis, WITHOUT WARRANTY OF ANY KIND, either express or + # implied. See the License for the specific language governing + # rights and limitations under the License. + # + # The Original Code is the Bugzilla Bug Tracking System. + # + # The Initial Developer of the Original Code is Netscape Communications + # Corporation. Portions created by Netscape are + # Copyright (C) 1998 Netscape Communications Corporation. All + # Rights Reserved. + # + # Contributor(s): Dave Miller justdave@syndicomm.com + # Joel Peshkin bugreport@peshkin.net + # Jacob Steenhagen jake@bugzilla.org + # Vlad Dascalu jocuri@softhome.net + #%] + +[%# INTERFACE: + # none + #%] + +[% PROCESS global/header.html.tmpl + title = "Add group" + h2 = "This page allows you to define a new user group." +%] + +<form method="post" action="editgroups.cgi"> + <table border="1" cellpadding="4" cellspacing="0"><tr> + <th>New Name</th> + <th>New Description</th> + <th>New User RegExp</th> + <th>Use For [% terms.Bugs %]</th> + </tr><tr> + <td><input size="20" name="name"></td> + <td><input size="40" name="desc"></td> + <td><input size="30" name="regexp"></td> + <td><input type="checkbox" name="isactive" value="1" checked></td> + </tr></table><hr> + + <input type="checkbox" name="insertnew" value="1" + [% IF Param("makeproductgroups") %] checked[% END %]> + Insert new group into all existing products.<p> + <input type="submit" value="Add"> + <input type="hidden" name="action" value="new"> +</form> + +<p><b>Name</b> is what is used with the UserInGroup() function in any +customized cgi files you write that use a given group. It can also be used +by people submitting [% terms.bugs %] by email to limit [% terms.abug %] to +a certain set of groups. It may not contain any spaces.</p> + +<p><b>Description</b> is what will be shown in the [% terms.bug %] reports +to members of the group where they can choose whether +the [% terms.bug %] will be restricted to others in the same group.</p> + +<p>The <b>Use For [% terms.Bugs %]</b> flag determines whether or not the +group is eligible to be used for [% terms.bugs %]. If you clear this, it will +no longer be possible for users to add [% terms.bugs %] to this group, +although [% terms.bugs %] already in the group will remain in the group. +Doing so is a much less drastic way to stop a group from growing +than deleting the group would be. <b>Note: If you are creating +a group, you probably want it to be usable for [% terms.bugs %], in which +case you should leave this checked.</b></p> + +<p><b>User RegExp</b> is optional, and if filled in, will +automatically grant membership to this group to anyone with an +email address that matches this regular expression.</p> + +<p>By default, the new group will be associated with existing +products. Unchecking the "Insert new group into all existing +products" option will prevent this and make the group become +visible only when its controls have been added to a product.</p> + +<p>Back to the <a href="./">main [% terms.bugs %] page</a> + +or to the <a href="editgroups.cgi">group list</a>. + +[% PROCESS global/footer.html.tmpl %]
Added: trunk/web/reactos.org/htdocs/bugzilla/template/en/default/admin/groups/created.html.tmpl URL: http://svn.reactos.org/svn/reactos/trunk/web/reactos.org/htdocs/bugzilla/tem... ============================================================================== --- trunk/web/reactos.org/htdocs/bugzilla/template/en/default/admin/groups/created.html.tmpl (added) +++ trunk/web/reactos.org/htdocs/bugzilla/template/en/default/admin/groups/created.html.tmpl Thu Jul 26 22:15:55 2007 @@ -1,0 +1,38 @@ +[%# 1.0@bugzilla.org %] +[%# The contents of this file are subject to the Mozilla Public + # License Version 1.1 (the "License"); you may not use this file + # except in compliance with the License. You may obtain a copy of + # the License at http://www.mozilla.org/MPL/ + # + # Software distributed under the License is distributed on an "AS + # IS" basis, WITHOUT WARRANTY OF ANY KIND, either express or + # implied. See the License for the specific language governing + # rights and limitations under the License. + # + # The Original Code is the Bugzilla Bug Tracking System. + # + # The Initial Developer of the Original Code is Netscape Communications + # Corporation. Portions created by Netscape are + # Copyright (C) 1998 Netscape Communications Corporation. All + # Rights Reserved. + # + # Contributor(s): Dave Miller justdave@syndicomm.com + # Joel Peshkin bugreport@peshkin.net + # Jacob Steenhagen jake@bugzilla.org + # Vlad Dascalu jocuri@softhome.net + #%] + +[%# INTERFACE: + # none + #%] + +[% PROCESS global/header.html.tmpl + title = "Adding new group" +%] + +<p>OK, done.</p> + +<p><a href="editgroups.cgi?action=add">Add</a> another group or +go back to the <a href="editgroups.cgi">group list</a>.</p> + +[% PROCESS global/footer.html.tmpl %]
Added: trunk/web/reactos.org/htdocs/bugzilla/template/en/default/admin/groups/delete.html.tmpl URL: http://svn.reactos.org/svn/reactos/trunk/web/reactos.org/htdocs/bugzilla/tem... ============================================================================== --- trunk/web/reactos.org/htdocs/bugzilla/template/en/default/admin/groups/delete.html.tmpl (added) +++ trunk/web/reactos.org/htdocs/bugzilla/template/en/default/admin/groups/delete.html.tmpl Thu Jul 26 22:15:55 2007 @@ -1,0 +1,110 @@ +[%# 1.0@bugzilla.org %] +[%# The contents of this file are subject to the Mozilla Public + # License Version 1.1 (the "License"); you may not use this file + # except in compliance with the License. You may obtain a copy of + # the License at http://www.mozilla.org/MPL/ + # + # Software distributed under the License is distributed on an "AS + # IS" basis, WITHOUT WARRANTY OF ANY KIND, either express or + # implied. See the License for the specific language governing + # rights and limitations under the License. + # + # The Original Code is the Bugzilla Bug Tracking System. + # + # The Initial Developer of the Original Code is Netscape Communications + # Corporation. Portions created by Netscape are + # Copyright (C) 1998 Netscape Communications Corporation. All + # Rights Reserved. + # + # Contributor(s): Dave Miller justdave@syndicomm.com + # Joel Peshkin bugreport@peshkin.net + # Jacob Steenhagen jake@bugzilla.org + # Vlad Dascalu jocuri@softhome.net + #%] + +[%# INTERFACE: + # gid: number. The group ID. + # name: string. The name of the group. + # description: string. The description of the group. + # hasusers: boolean int. True if the group includes users in it. + # hasbugs: boolean int. True if the group includes bugs in it. + # hasproduct: boolean int. True if the group is binded to a product. + # hasflags: boolean int. True if the group is used by a flag type. + # buglist: string. The list of bugs included in this group. + #%] + + +[% PROCESS global/header.html.tmpl + title = "Delete group" +%] + +<table border="1"> + <tr> + <th>Id</th> + <th>Name</th> + <th>Description</th> + </tr> + <tr> + <td>[% gid FILTER html %]</td> + <td>[% name FILTER html %]</td> + <td>[% description FILTER html %]</td> + </tr> +</table> + +<form method="post" action="editgroups.cgi"> + [% IF hasusers %] + <p><b>One or more users belong to this group. You cannot delete + this group while there are users in it.</b> + + <br><a href="editusers.cgi?action=list&groupid=[% gid FILTER html %]&grouprestrict=1">Show + me which users</a> - <input type="checkbox" name="removeusers">Remove + all users from this group for me.</p> + [% END %] + + [% IF hasbugs %] + <p><b>One or more [% terms.bug %] reports are visible only to this group. + You cannot delete this group while any [% terms.bugs %] are using it.</b> + + <br><a href="buglist.cgi?bug_id=[% buglist FILTER html %]">Show me + which [% terms.bugs %]</a> - <input type="checkbox" name="removebugs">Remove + all [% terms.bugs %] from this group restriction for me.</p> + + <p><b>NOTE:</b> It's quite possible to make confidential [% terms.bugs %] + public by checking this box. It is <B>strongly</B> suggested + that you review the [% terms.bugs %] in this group before checking + the box.</p> + [% END %] + + [% IF hasproduct %] + <p><b>This group is tied to the <U>[% name FILTER html %]</U> product. + You cannot delete this group while it is tied to a product.</b> + + <br><input type="checkbox" name="unbind">Delete this group anyway, + and make the <U>[% name FILTER html %]</U> publicly visible.</p> + [% END %] + + [% IF hasflags %] + <p><b>This group restricts who can make changes to flags of certain types. + You cannot delete this group while there are flag types using it.</b> + + <br><a href="editflagtypes.cgi?action=list&group=[% gid FILTER html %]">Show + me which types</a> - <input type="checkbox" name="removeflags">Remove all + flag types from this group for me.</p> + [% END %] + + <h2>Confirmation</h2> + + <p>Do you really want to delete this group?</p> + [% IF (hasusers || hasbugs || hasproduct || hasflags) %] + <p><b>You must check all of the above boxes or correct the + indicated problems first before you can proceed.</b></p> + [% END %] + + <p><input type="submit" value="Yes, delete"> + <input type="hidden" name="action" value="delete"> + <input type="hidden" name="group" value="[% gid FILTER html %]"> +</form> + +Go back to the <a href="editgroups.cgi">group list</a>. + +[% PROCESS global/footer.html.tmpl %]
Added: trunk/web/reactos.org/htdocs/bugzilla/template/en/default/admin/groups/deleted.html.tmpl URL: http://svn.reactos.org/svn/reactos/trunk/web/reactos.org/htdocs/bugzilla/tem... ============================================================================== --- trunk/web/reactos.org/htdocs/bugzilla/template/en/default/admin/groups/deleted.html.tmpl (added) +++ trunk/web/reactos.org/htdocs/bugzilla/template/en/default/admin/groups/deleted.html.tmpl Thu Jul 26 22:15:55 2007 @@ -1,0 +1,54 @@ +[%# 1.0@bugzilla.org %] +[%# The contents of this file are subject to the Mozilla Public + # License Version 1.1 (the "License"); you may not use this file + # except in compliance with the License. You may obtain a copy of + # the License at http://www.mozilla.org/MPL/ + # + # Software distributed under the License is distributed on an "AS + # IS" basis, WITHOUT WARRANTY OF ANY KIND, either express or + # implied. See the License for the specific language governing + # rights and limitations under the License. + # + # The Original Code is the Bugzilla Bug Tracking System. + # + # The Initial Developer of the Original Code is Netscape Communications + # Corporation. Portions created by Netscape are + # Copyright (C) 1998 Netscape Communications Corporation. All + # Rights Reserved. + # + # Contributor(s): Dave Miller justdave@syndicomm.com + # Joel Peshkin bugreport@peshkin.net + # Jacob Steenhagen jake@bugzilla.org + # Vlad Dascalu jocuri@softhome.net + #%] + +[%# INTERFACE: + # gid: number. The group ID. + # name: string. The name of the group. + # cantdelete: boolean int. Is 1 if the group couldn't have been deleted. + #%] + + +[% PROCESS global/header.html.tmpl + title = "Deleting group" +%] + +[% IF cantdelete %] + <p> + This group cannot be deleted because there are records + in the database which refer to it. All such records + must be removed or altered to remove the reference to this + group before the group can be deleted. + </p> + + <p> + <a href="editgroups.cgi?action=del&group=[% gid FILTER url_quote %]">View</a> + the list of which records are affected. + </p> +[% ELSE %] + <p><b>The group [% name FILTER html %] has been deleted.</b></p> +[% END %] + +<p>Go back to the <a href="editgroups.cgi">group list</a>. + +[% PROCESS global/footer.html.tmpl %]
Added: trunk/web/reactos.org/htdocs/bugzilla/template/en/default/admin/groups/edit.html.tmpl URL: http://svn.reactos.org/svn/reactos/trunk/web/reactos.org/htdocs/bugzilla/tem... ============================================================================== --- trunk/web/reactos.org/htdocs/bugzilla/template/en/default/admin/groups/edit.html.tmpl (added) +++ trunk/web/reactos.org/htdocs/bugzilla/template/en/default/admin/groups/edit.html.tmpl Thu Jul 26 22:15:55 2007 @@ -1,0 +1,220 @@ +[%# 1.0@bugzilla.org %] +[%# The contents of this file are subject to the Mozilla Public + # License Version 1.1 (the "License"); you may not use this file + # except in compliance with the License. You may obtain a copy of + # the License at http://www.mozilla.org/MPL/ + # + # Software distributed under the License is distributed on an "AS + # IS" basis, WITHOUT WARRANTY OF ANY KIND, either express or + # implied. See the License for the specific language governing + # rights and limitations under the License. + # + # The Original Code is the Bugzilla Bug Tracking System. + # + # The Initial Developer of the Original Code is Netscape Communications + # Corporation. Portions created by Netscape are + # Copyright (C) 1998 Netscape Communications Corporation. All + # Rights Reserved. + # + # Contributor(s): Dave Miller justdave@syndicomm.com + # Joel Peshkin bugreport@peshkin.net + # Jacob Steenhagen jake@bugzilla.org + # Vlad Dascalu jocuri@softhome.net + #%] + +[%# INTERFACE: + # group_id: number. The group ID. + # name: string. The name of the group. [grantor] + # description: string. The description of the group. + # regexp: string. The regular expression for the users of the group. + # isactive: boolean int. Shows if the group is still active. + # isbuggroup: boolean int. Is 1 if this is a bug group. + # groups: array with group objects having the properties: + # - grpid: number. The ID of the group. + # - grpname: string. The name of the group. [member] + # - grpdesc: string. The description of the group. + # - grpmember: boolean int. Is 1 if members of the group are to inherit + # membership in the group being edited. + # - blessmember: boolean int. Is 1 if members of the group are to be able + # to bless users into the group being edited. + # - membercansee: boolean int. Is 1 if the members of the group are to + # be aware of the group being edited and its members. + #%] + + +[% PROCESS global/header.html.tmpl + title = "Change Group: $name" + style = "tr.odd_row { + background: #e9e9e9; + } + .permissions th { + background: #000000; + color: #ffffff; + } + " +%] + +<form method="post" action="editgroups.cgi"> + <table border="1" cellpadding="4"> + <tr> + <th>Group:</th> + <td> + [% IF isbuggroup %] + <input type="hidden" name="oldname" value="[% name FILTER html %]"> + <input type="text" name="name" size="60" value="[% name FILTER html %]"> + [% ELSE %] + [% name FILTER html %] + [% END %] + </td> + </tr> + + <tr> + <th>Description:</th> + <td> + [% IF isbuggroup %] + <input type="hidden" name="olddesc" value="[% description FILTER html %]"> + <input type="text" name="desc" size="70" value="[% description FILTER html %]"> + [% ELSE %] + [% description FILTER html %] + [% END %] + </td> + </tr> + + <tr> + <th>User Regexp:</th> + <td> + <input type="hidden" name="oldregexp" value="[% regexp FILTER html %]"> + <input type="text" name="regexp" size="40" value="[% regexp FILTER html %]"> + </td> + </tr> + + [% IF isbuggroup %] + <tr> + <th>Use For [% terms.Bugs %]:</th> + <td> + <input type="checkbox" name="isactive" value="1" [% (isactive == 1) ? "checked" : "" %]> + <input type="hidden" name="oldisactive" value="[% isactive FILTER html %]"> + </td> + </tr> + [% END %] + </table> + + <p> + Users become members of this group in one of three ways: + <ul> + <li> by being explicity included when the user is edited. + <li> by matching the user regexp above. + <li> by being a member of one of the groups included in this group + by checking the boxes below. + </ul> + + [% usevisibility = Param('usevisibilitygroups') %] + + <h4>Group Permissions</h4> + <table class="permissions" cellspacing="0" cellpadding="2"> + <tr> + [% IF usevisibility %] + <th> + Visible + </th> + [% END %] + <th> + Grant + </th> + <th> + Inherit + </th> + <th> + Group + </th> + <th> + Description + </th> + </tr> + [% row = 0 %] + [% FOREACH group = groups %] + [% row = row + 1 %] + <tr [% 'class="odd_row"' IF row % 2 %]> + [% IF usevisibility %] + <td align="center"> + <input type="checkbox" name="cansee-[% group.grpid FILTER none %]" + [% group.membercansee ? "checked " : "" %]value="1"> + <input type="hidden" name="oldcansee-[% group.grpid FILTER none %]" + value="[% group.membercansee FILTER none %]"> + </td> + [% END %] + [% IF group_id != group.grpid %] + <td align="center"> + <input type="checkbox" name="bless-[% group.grpid FILTER html %]" [% group.blessmember ? "checked " : "" %]value="1"> + <input type="hidden" name="oldbless-[% group.grpid FILTER html %]" value="[% group.blessmember FILTER html %]"> + </td> + <td align="center"> + <input type="checkbox" name="grp-[% group.grpid FILTER html %]" [% group.grpmember ? "checked " : "" %]value="1"> + <input type="hidden" name="oldgrp-[% group.grpid FILTER html %]" value="[% group.grpmember FILTER html %]"> + </td> + [% ELSE %] + <td> + <input type="hidden" name="oldbless-[% group.grpid FILTER html %]" value="0"> + </td> + <td> + <input type="hidden" name="oldgrp-[% group.grpid FILTER html %]" value="0"> + </td> + [% END %] + <td align="left" class="groupname"> + <a href="[% "editgroups.cgi?action=changeform&group=${group.grpid}" FILTER html %]"> + [% group.grpnam FILTER html %] + </a> + </td> + <td align="left" class="groupdesc">[% group.grpdesc FILTER html %]</td> + </tr> + [% END %] + </table> + + <input type="submit" value="Save Changes"> + <br> + <dl> + [% IF usevisibility %] + <dt>Visibility:</dt> + <dd> + Members of the selected groups can be aware of the + "[% name FILTER html %]" group + </dd> + [% END %] + <dt>Grant:</dt> + <dd> + Members of the selected groups can grant membership to the + "[% name FILTER html %]" group + </dd> + <dt>Inherit:</dt> + <dd> + Members of the selected groups are automatically members of the + "[% name FILTER html %]" group + </dd> + </dl> + <table width="76%" border="0"> + <tr> + <td> + <h4>Conversion of groups created with [% terms.Bugzilla %] + versions 2.16 and prior:</h4> + + <ul> + <li>Remove all explicit memberships from this group: + <input name="remove_explicit_members" type="submit" id="remove_explicit_members" value="Remove Memberships"> + </li> + + <li>Remove all explicit memberships that are included in the above + regular expression: + <input name="remove_explicit_members_regexp" type="submit" id="remove_explicit_members_regexp" value="Remove memberships included in regular expression"> + </li> + </ul> + </td> + </tr> + </table> + + <input type="hidden" name="action" value="postchanges"> + <input type="hidden" name="group" value="[% group_id FILTER html %]"> +</form> + +Back to the <a href="editgroups.cgi">group list</a>. + +[% PROCESS global/footer.html.tmpl %]
Added: trunk/web/reactos.org/htdocs/bugzilla/template/en/default/admin/groups/list.html.tmpl URL: http://svn.reactos.org/svn/reactos/trunk/web/reactos.org/htdocs/bugzilla/tem... ============================================================================== --- trunk/web/reactos.org/htdocs/bugzilla/template/en/default/admin/groups/list.html.tmpl (added) +++ trunk/web/reactos.org/htdocs/bugzilla/template/en/default/admin/groups/list.html.tmpl Thu Jul 26 22:15:55 2007 @@ -1,0 +1,123 @@ +[%# 1.0@bugzilla.org %] +[%# The contents of this file are subject to the Mozilla Public + # License Version 1.1 (the "License"); you may not use this file + # except in compliance with the License. You may obtain a copy of + # the License at http://www.mozilla.org/MPL/ + # + # Software distributed under the License is distributed on an "AS + # IS" basis, WITHOUT WARRANTY OF ANY KIND, either express or + # implied. See the License for the specific language governing + # rights and limitations under the License. + # + # The Original Code is the Bugzilla Bug Tracking System. + # + # The Initial Developer of the Original Code is Netscape Communications + # Corporation. Portions created by Netscape are + # Copyright (C) 1998 Netscape Communications Corporation. All + # Rights Reserved. + # + # Contributor(s): Dave Miller justdave@syndicomm.com + # Joel Peshkin bugreport@peshkin.net + # Jacob Steenhagen jake@bugzilla.org + # Vlad Dascalu jocuri@softhome.net + #%] + +[%# INTERFACE: + # groups: array with group objects having the properties: + # - id: number. The ID of the group. + # - name: string. The name of the group. + # - description: string. The description of the group. + # - regexp: string. The user regexp for the given group. + # - isactive: boolean int. Specifies if the group is active or not. + # - isbuggroup: boolean int. Specifies if it can be used for bugs. + #%] + +[% PROCESS global/header.html.tmpl + title = "Edit Groups" + h2 = "This lets you edit the groups available to put users in." +%] + + +<table border="1"> + <tr> + <th>Name</th> + <th>Description</th> + <th>User RegExp</th> + <th>Use For [% terms.Bugs %]</th> + <th>Type</th> + <th>Action</th> + </tr> + + [% FOREACH group = groups %] + <tr> + <td> + <a href="editgroups.cgi?action=changeform&group=[% group.id FILTER url_quote %]"> + [% group.name FILTER html %]</a> + </td> + <td>[% group.description FILTER html %]</td> + <td>[% group.regexp FILTER html %] </td> + + <td align="center"> + [% IF (group.isactive != 0) && (group.isbuggroup) %] + X + [% ELSE %] + + [% END %] + </td> + + <td align="center"> + [% (group.isbuggroup) ? "user" : "system" %] + </td> + + <td align="center" valign="middle"> + [% IF (group.isbuggroup) %] + <a href="editgroups.cgi?action=del&group=[% group.id FILTER url_quote %]">Delete</a> + [% ELSE %] + + [% END %] + </td> + </tr> + [% END %] + + <tr> + <td colspan="5"></td> + <td><a href="editgroups.cgi?action=add">Add Group</a></td> + </tr> +</table> + +<p> + <b>Name</b> is what is used with the UserInGroup() function in any +customized cgi files you write that use a given group. It can also be used +by people submitting [% terms.bugs %] by email to limit [% terms.abug %] +to a certain set of groups. +</p> + +<p> + <b>Description</b> is what will be shown in the [% terms.bug %] reports +to members of the group where they can choose whether the [% terms.bug %] +will be restricted to others in the same group. +</p> + +<p> + <b>User RegExp</b> is optional, and if filled in, will automatically +grant membership to this group to anyone with an email address +that matches this perl regular expression. Do not forget +the trailing '$'. Example '@mycompany.com$' +</p> + +<p> + The <b>Use For [% terms.Bugs %]</b> flag determines whether or not +the group is eligible to be used for [% terms.bugs %]. If you remove +this flag, it will no longer be possible for users to add [% terms.bugs %] +to this group, although [% terms.bugs %] already in the group will remain +in the group. Doing so is a much less drastic way to stop a group +from growing than deleting the group as well as a way to maintain +lists of users without cluttering the lists of groups used +for [% terms.bug %] restrictions. +</p> + +<p> + The <b>Type</b> field identifies system groups. +</p> + +[% PROCESS global/footer.html.tmpl %]
Added: trunk/web/reactos.org/htdocs/bugzilla/template/en/default/admin/groups/remove.html.tmpl URL: http://svn.reactos.org/svn/reactos/trunk/web/reactos.org/htdocs/bugzilla/tem... ============================================================================== --- trunk/web/reactos.org/htdocs/bugzilla/template/en/default/admin/groups/remove.html.tmpl (added) +++ trunk/web/reactos.org/htdocs/bugzilla/template/en/default/admin/groups/remove.html.tmpl Thu Jul 26 22:15:55 2007 @@ -1,0 +1,60 @@ +[%# 1.0@bugzilla.org %] +[%# The contents of this file are subject to the Mozilla Public + # License Version 1.1 (the "License"); you may not use this file + # except in compliance with the License. You may obtain a copy of + # the License at http://www.mozilla.org/MPL/ + # + # Software distributed under the License is distributed on an "AS + # IS" basis, WITHOUT WARRANTY OF ANY KIND, either express or + # implied. See the License for the specific language governing + # rights and limitations under the License. + # + # The Original Code is the Bugzilla Bug Tracking System. + # + # The Initial Developer of the Original Code is Netscape Communications + # Corporation. Portions created by Netscape are + # Copyright (C) 1998 Netscape Communications Corporation. All + # Rights Reserved. + # + # Contributor(s): Dave Miller justdave@syndicomm.com + # Joel Peshkin bugreport@peshkin.net + # Jacob Steenhagen jake@bugzilla.org + # Vlad Dascalu jocuri@softhome.net + #%] + +[%# INTERFACE: + # remove_all: boolean int. Is 1 if the action was remove_all, + # and 0 if the action was remove_all_regexp. + # name: string. The place where removal is performed. + # regexp: string. The regexp according to which the removal is performed. + # users: array with group objects having the properties: + # - login: string. The login which is removed. + #%] + + +[% IF remove_all %] + [% title = "Removing All Explicit Group Memberships from '" + _ name _ "'" %] +[% ELSE %] + [% title = "Removing All Explicit Group Memberships Matching " + _ "Group RegExp from '" _ name _ "'" %] +[% END %] + +[% PROCESS global/header.html.tmpl %] + +[% IF remove_all %] + <p><b>Removing explicit membership</b></p> +[% ELSE %] + <p><b>Removing explicit memberships of users matching + '[% regexp FILTER html %]'...</b></p> +[% END %] + +[% FOREACH user = users %] + [% user.login FILTER html %] removed<br> +[% END %] + +<p><b>Done</b>.</p> + +<p>Back to the <a href="editgroups.cgi">group list</a>.</p> + +[% PROCESS global/footer.html.tmpl %]
Added: trunk/web/reactos.org/htdocs/bugzilla/template/en/default/admin/keywords/confirm-delete.html.tmpl URL: http://svn.reactos.org/svn/reactos/trunk/web/reactos.org/htdocs/bugzilla/tem... ============================================================================== --- trunk/web/reactos.org/htdocs/bugzilla/template/en/default/admin/keywords/confirm-delete.html.tmpl (added) +++ trunk/web/reactos.org/htdocs/bugzilla/template/en/default/admin/keywords/confirm-delete.html.tmpl Thu Jul 26 22:15:55 2007 @@ -1,0 +1,54 @@ +[%# 1.0@bugzilla.org %] +[%# The contents of this file are subject to the Mozilla Public + # License Version 1.1 (the "License"); you may not use this file + # except in compliance with the License. You may obtain a copy of + # the License at http://www.mozilla.org/MPL/ + # + # Software distributed under the License is distributed on an "AS + # IS" basis, WITHOUT WARRANTY OF ANY KIND, either express or + # implied. See the License for the specific language governing + # rights and limitations under the License. + # + # The Original Code is the Bugzilla Bug Tracking System. + # + # The Initial Developer of the Original Code is Netscape Communications + # Corporation. Portions created by Netscape are + # Copyright (C) 1998 Netscape Communications Corporation. All + # Rights Reserved. + # + # Contributor(s): Terry Weissman terry@mozilla.org + # Vlad Dascalu jocuri@softhome.net + #%] + +[%# INTERFACE: + # name: string. The name of the keyword. + # keyword_id: number. The ID of the keyword. + # bug_count: number. The number of bugs with the keyword. + #%] + +[% PROCESS global/header.html.tmpl + title = "Delete Keyword" +%] + +<p> + [% IF bug_count == 1 %] + There is one [% terms.bug %] with this keyword set. + [% ELSE %] + There are [% bug_count %] [%+terms.bugs %] with + this keyword set. + [% END %] + + Are you <b>sure</b> you want to delete + the <code>[% name FILTER html %]</code> keyword? +</p> + +<form method="post" action="editkeywords.cgi"> + <input type="hidden" name="id" value="[% keyword_id %]"> + <input type="hidden" name="action" value="delete"> + <input type="hidden" name="reallydelete" value="1"> + <input type="submit" value="Yes, really delete the keyword"> +</form> + +<p><a href="editkeywords.cgi">Edit other keywords</a>.</p> + +[% PROCESS global/footer.html.tmpl %]
Added: trunk/web/reactos.org/htdocs/bugzilla/template/en/default/admin/keywords/create.html.tmpl URL: http://svn.reactos.org/svn/reactos/trunk/web/reactos.org/htdocs/bugzilla/tem... ============================================================================== --- trunk/web/reactos.org/htdocs/bugzilla/template/en/default/admin/keywords/create.html.tmpl (added) +++ trunk/web/reactos.org/htdocs/bugzilla/template/en/default/admin/keywords/create.html.tmpl Thu Jul 26 22:15:55 2007 @@ -1,0 +1,54 @@ +[%# 1.0@bugzilla.org %] +[%# The contents of this file are subject to the Mozilla Public + # License Version 1.1 (the "License"); you may not use this file + # except in compliance with the License. You may obtain a copy of + # the License at http://www.mozilla.org/MPL/ + # + # Software distributed under the License is distributed on an "AS + # IS" basis, WITHOUT WARRANTY OF ANY KIND, either express or + # implied. See the License for the specific language governing + # rights and limitations under the License. + # + # The Original Code is the Bugzilla Bug Tracking System. + # + # The Initial Developer of the Original Code is Netscape Communications + # Corporation. Portions created by Netscape are + # Copyright (C) 1998 Netscape Communications Corporation. All + # Rights Reserved. + # + # Contributor(s): Terry Weissman terry@mozilla.org + # Vlad Dascalu jocuri@softhome.net + #%] + +[%# INTERFACE: + # none + #%] + +[% PROCESS global/header.html.tmpl + title = "Add keyword" + h2 = "This page allows you to add a new keyword." +%] + +<form method="post" action="editkeywords.cgi"> + <table border="0" cellpadding="4" cellspacing="0"> + <tr> + <th align="right">Name:</th> + <td><input size="64" maxlength="64" name="name" value=""></td> + </tr> + <tr> + <th align="right">Description:</th> + <td> + <textarea rows="4" cols="64" wrap="virtual" + name="description"></textarea> + </td> + </tr> + </table> + <hr> + <input type="hidden" name="id" value="-1"> + <input type="submit" value="Add"> + <input type="hidden" name="action" value="new"> +</form> + +<p><a href="editkeywords.cgi">Edit other keywords</a>.</p> + +[% PROCESS global/footer.html.tmpl %]
Added: trunk/web/reactos.org/htdocs/bugzilla/template/en/default/admin/keywords/created.html.tmpl URL: http://svn.reactos.org/svn/reactos/trunk/web/reactos.org/htdocs/bugzilla/tem... ============================================================================== --- trunk/web/reactos.org/htdocs/bugzilla/template/en/default/admin/keywords/created.html.tmpl (added) +++ trunk/web/reactos.org/htdocs/bugzilla/template/en/default/admin/keywords/created.html.tmpl Thu Jul 26 22:15:55 2007 @@ -1,0 +1,36 @@ +[%# 1.0@bugzilla.org %] +[%# The contents of this file are subject to the Mozilla Public + # License Version 1.1 (the "License"); you may not use this file + # except in compliance with the License. You may obtain a copy of + # the License at http://www.mozilla.org/MPL/ + # + # Software distributed under the License is distributed on an "AS + # IS" basis, WITHOUT WARRANTY OF ANY KIND, either express or + # implied. See the License for the specific language governing + # rights and limitations under the License. + # + # The Original Code is the Bugzilla Bug Tracking System. + # + # The Initial Developer of the Original Code is Netscape Communications + # Corporation. Portions created by Netscape are + # Copyright (C) 1998 Netscape Communications Corporation. All + # Rights Reserved. + # + # Contributor(s): Terry Weissman terry@mozilla.org + # Vlad Dascalu jocuri@softhome.net + #%] + +[%# INTERFACE: + # name: string; the name of the current keyword. + #%] + +[% PROCESS global/header.html.tmpl + title = "Adding new keyword" +%] + +<p>The keyword [% name FILTER html %] has been added.</p> + +<p><a href="editkeywords.cgi">Edit existing keywords</a> or +<a href="editkeywords.cgi?action=add">add another keyword</a>.</p> + +[% PROCESS global/footer.html.tmpl %]
Added: trunk/web/reactos.org/htdocs/bugzilla/template/en/default/admin/keywords/edit.html.tmpl URL: http://svn.reactos.org/svn/reactos/trunk/web/reactos.org/htdocs/bugzilla/tem... ============================================================================== --- trunk/web/reactos.org/htdocs/bugzilla/template/en/default/admin/keywords/edit.html.tmpl (added) +++ trunk/web/reactos.org/htdocs/bugzilla/template/en/default/admin/keywords/edit.html.tmpl Thu Jul 26 22:15:55 2007 @@ -1,0 +1,68 @@ +[%# 1.0@bugzilla.org %] +[%# The contents of this file are subject to the Mozilla Public + # License Version 1.1 (the "License"); you may not use this file + # except in compliance with the License. You may obtain a copy of + # the License at http://www.mozilla.org/MPL/ + # + # Software distributed under the License is distributed on an "AS + # IS" basis, WITHOUT WARRANTY OF ANY KIND, either express or + # implied. See the License for the specific language governing + # rights and limitations under the License. + # + # The Original Code is the Bugzilla Bug Tracking System. + # + # The Initial Developer of the Original Code is Netscape Communications + # Corporation. Portions created by Netscape are + # Copyright (C) 1998 Netscape Communications Corporation. All + # Rights Reserved. + # + # Contributor(s): Terry Weissman terry@mozilla.org + # Vlad Dascalu jocuri@softhome.net + #%] + +[%# INTERFACE: + # keyword_id: number. The ID of the keyword. + # name: string. The name of the keyword. + # description: string. The description of the keyword. + # bug_count: number. The number of bugs with the keyword. + #%] + +[% PROCESS global/variables.none.tmpl %] + +[% PROCESS global/header.html.tmpl + title = "Edit keyword" +%] + +<form method="post" action="editkeywords.cgi"> + <table border="0" cellpadding="4" cellspacing="0"> + <tr> + <th align="right">Name:</th> + <td><input size="64" maxlength="64" name="name" value="[% name FILTER html %]"></td> + </tr> + <tr> + <th align="right">Description:</th> + <td> + <textarea rows="4" cols="64" wrap="virtual" + name="description">[% description FILTER html %]</textarea> + </td> + </tr> + <tr> + <th align="right">[% terms.Bugs %]:</th> + <td> + [% IF bug_count %] + [% bug_count %] + [% ELSE %] + none + [% END %] + </td> + </tr> + </table> + + <input type="submit" value="Update"> + <input type="hidden" name="action" value="update"> + <input type="hidden" name="id" value="[% keyword_id %]"> +</form> + +<p><a href="editkeywords.cgi">Edit other keywords</a>.</p> + +[% PROCESS global/footer.html.tmpl %]
Added: trunk/web/reactos.org/htdocs/bugzilla/template/en/default/admin/keywords/list.html.tmpl URL: http://svn.reactos.org/svn/reactos/trunk/web/reactos.org/htdocs/bugzilla/tem... ============================================================================== --- trunk/web/reactos.org/htdocs/bugzilla/template/en/default/admin/keywords/list.html.tmpl (added) +++ trunk/web/reactos.org/htdocs/bugzilla/template/en/default/admin/keywords/list.html.tmpl Thu Jul 26 22:15:55 2007 @@ -1,0 +1,69 @@ +[%# 1.0@bugzilla.org %] +[%# The contents of this file are subject to the Mozilla Public + # License Version 1.1 (the "License"); you may not use this file + # except in compliance with the License. You may obtain a copy of + # the License at http://www.mozilla.org/MPL/ + # + # Software distributed under the License is distributed on an "AS + # IS" basis, WITHOUT WARRANTY OF ANY KIND, either express or + # implied. See the License for the specific language governing + # rights and limitations under the License. + # + # The Original Code is the Bugzilla Bug Tracking System. + # + # The Initial Developer of the Original Code is Netscape Communications + # Corporation. Portions created by Netscape are + # Copyright (C) 1998 Netscape Communications Corporation. All + # Rights Reserved. + # + # Contributor(s): Terry Weissman terry@mozilla.org + # Vlad Dascalu jocuri@softhome.net + # Jouni Heikniemi jouni@heikniemi.net + #%] + +[%# INTERFACE: + # keywords: array of hashes having the properties: + # - id: number. The ID of the keyword. + # - name: string. The name of the keyword. + # - description: string. The description of the keyword. + # - bug_count: number. The number of bugs with the keyword. + #%] + +[% PROCESS global/variables.none.tmpl %] + +[% PROCESS global/header.html.tmpl + title = "Select keyword" +%] + +[% columns = [ + { + name => "name" + heading => "Edit keyword..." + contentlink => "editkeywords.cgi?action=edit&id=%%id%%" + }, + { + name => "description" + heading => "Description" + }, + { + name => "bug_count" + heading => "Bugs" + align => "right" + }, + { + heading => "Action" + content => "Delete" + contentlink => "editkeywords.cgi?action=delete&id=%%id%%" + } + ] +%] + +[% PROCESS admin/table.html.tmpl + columns = columns + data = keywords + footer = footer_row +%] + +<p><a href="editkeywords.cgi?action=add">Add a new keyword</a></p> + +[% PROCESS global/footer.html.tmpl %]
Added: trunk/web/reactos.org/htdocs/bugzilla/template/en/default/admin/keywords/rebuild-cache.html.tmpl URL: http://svn.reactos.org/svn/reactos/trunk/web/reactos.org/htdocs/bugzilla/tem... ============================================================================== --- trunk/web/reactos.org/htdocs/bugzilla/template/en/default/admin/keywords/rebuild-cache.html.tmpl (added) +++ trunk/web/reactos.org/htdocs/bugzilla/template/en/default/admin/keywords/rebuild-cache.html.tmpl Thu Jul 26 22:15:55 2007 @@ -1,0 +1,55 @@ +[%# 1.0@bugzilla.org %] +[%# The contents of this file are subject to the Mozilla Public + # License Version 1.1 (the "License"); you may not use this file + # except in compliance with the License. You may obtain a copy of + # the License at http://www.mozilla.org/MPL/ + # + # Software distributed under the License is distributed on an "AS + # IS" basis, WITHOUT WARRANTY OF ANY KIND, either express or + # implied. See the License for the specific language governing + # rights and limitations under the License. + # + # The Original Code is the Bugzilla Bug Tracking System. + # + # The Initial Developer of the Original Code is Netscape Communications + # Corporation. Portions created by Netscape are + # Copyright (C) 1998 Netscape Communications Corporation. All + # Rights Reserved. + # + # Contributor(s): Terry Weissman terry@mozilla.org + # Vlad Dascalu jocuri@softhome.net + #%] + +[%# INTERFACE: + # action: string; the current action (either "update" or "delete"). + # name: string; the name of the current keyword. + #%] + +[% IF action == "update" %] + [% title = "Update keyword"%] + [% status = "updated" %] +[% ELSIF action == "delete" %] + [% title = "Delete keyword" %] + [% status = "deleted" %] +[% END %] + +[% PROCESS global/header.html.tmpl %] + +Keyword [% name FILTER html %] [%+status FILTER html %]. + +<p> + <b>After you have finished deleting or modifying keywords, + you need to rebuild the keyword cache.</b><br> + + Warning: on a very large installation of [% terms.Bugzilla %], + this can take several minutes. +</p> + +<p> + <b><a href="sanitycheck.cgi?rebuildkeywordcache=1">Rebuild + keyword cache</a></b> +</p> + +<p><a href="editkeywords.cgi">Edit more keywords</a>.</p> + +[% PROCESS global/footer.html.tmpl %]
Added: trunk/web/reactos.org/htdocs/bugzilla/template/en/default/admin/milestones/confirm-delete.html.tmpl URL: http://svn.reactos.org/svn/reactos/trunk/web/reactos.org/htdocs/bugzilla/tem... ============================================================================== --- trunk/web/reactos.org/htdocs/bugzilla/template/en/default/admin/milestones/confirm-delete.html.tmpl (added) +++ trunk/web/reactos.org/htdocs/bugzilla/template/en/default/admin/milestones/confirm-delete.html.tmpl Thu Jul 26 22:15:55 2007 @@ -1,0 +1,100 @@ +[%# 1.0@bugzilla.org %] +[%# The contents of this file are subject to the Mozilla Public + # License Version 1.1 (the "License"); you may not use this file + # except in compliance with the License. You may obtain a copy of + # the License at http://www.mozilla.org/MPL/ + # + # Software distributed under the License is distributed on an "AS + # IS" basis, WITHOUT WARRANTY OF ANY KIND, either express or + # implied. See the License for the specific language governing + # rights and limitations under the License. + # + # The Original Code is the Bugzilla Bug Tracking System. + # + # The Initial Developer of the Original Code is Netscape Communications + # Corporation. Portions created by Netscape are + # Copyright (C) 1998 Netscape Communications Corporation. All + # Rights Reserved. + # + # Contributor(s): Gavin Shelley bugzilla@chimpychompy.org + # Frédéric Buclin LpSolit@gmail.com + #%] + +[%# INTERFACE: + # name: string; The name of the milestone + # + # default_milestone: string; The default milestone for the product + # + # bug_count: number; The number of bugs targetted at the milestone + # + # product: string; The name of the product + # + #%] + +[% title = BLOCK %]Delete Milestone of Product '[% product FILTER html %]' + [% END %] + +[% PROCESS global/header.html.tmpl + title = title +%] + +<table border="1" cellpadding="4" cellspacing="0"> +<tr bgcolor="#6666FF"> + <th valign="top" align="left">Field</th> + <th valign="top" align="left">Value</th> +</tr> +<tr> + <td valign="top">Milestone:</td> + <td valign="top">[% name FILTER html %]</td> +</tr> +<tr> + <td valign="top">Milestone of Product:</td> + <td valign="top">[% product FILTER html %]</td> +</tr> +<tr> + <td valign="top">[% terms.Bugs %]:</td> + <td valign="top"> +[% IF bug_count %] + <a title="List of [% terms.bugs %] targetted at milestone ' + [% name FILTER html %]'" + href="buglist.cgi?target_milestone=[% name FILTER url_quote %]&product= + [%- product FILTER url_quote %]">[% bug_count %]</a> +[% ELSE %] + None +[% END %] + </td> +</tr> +</table> + +<h2>Confirmation</h2> + +[% IF bug_count %] + + <table border="0" cellpadding="20" width="70%" bgcolor="red"> + <tr><td> + There + [% IF bug_count > 1 %] + are [% bug_count %] [%+ terms.bugs %] + [% ELSE %] + is 1 [% terms.bug %] + [% END %] + entered for this milestone! When you delete this milestone, + <b><blink>ALL</blink></b> stored [% terms.bugs %] will be reassigned to + the default milestone of this product. + </td></tr> + </table> + +[% END %] + +<p>Do you really want to delete this milestone?<p> + +<form method="post" action="editmilestones.cgi"> + <input type="submit" value="Yes, delete"> + <input type="hidden" name="action" value="delete"> + <input type="hidden" name="product" value="[% product FILTER html %]"> + <input type="hidden" name="milestone" value="[% name FILTER html %]"> +</form> + +[% PROCESS admin/milestones/footer.html.tmpl %] + +[% PROCESS global/footer.html.tmpl %]
Added: trunk/web/reactos.org/htdocs/bugzilla/template/en/default/admin/milestones/create.html.tmpl URL: http://svn.reactos.org/svn/reactos/trunk/web/reactos.org/htdocs/bugzilla/tem... ============================================================================== --- trunk/web/reactos.org/htdocs/bugzilla/template/en/default/admin/milestones/create.html.tmpl (added) +++ trunk/web/reactos.org/htdocs/bugzilla/template/en/default/admin/milestones/create.html.tmpl Thu Jul 26 22:15:55 2007 @@ -1,0 +1,59 @@ +[%# 1.0@bugzilla.org %] +[%# The contents of this file are subject to the Mozilla Public + # License Version 1.1 (the "License"); you may not use this file + # except in compliance with the License. You may obtain a copy of + # the License at http://www.mozilla.org/MPL/ + # + # Software distributed under the License is distributed on an "AS + # IS" basis, WITHOUT WARRANTY OF ANY KIND, either express or + # implied. See the License for the specific language governing + # rights and limitations under the License. + # + # The Original Code is the Bugzilla Bug Tracking System. + # + # The Initial Developer of the Original Code is Netscape Communications + # Corporation. Portions created by Netscape are + # Copyright (C) 1998 Netscape Communications Corporation. All + # Rights Reserved. + # + # Contributor(s): Gavin Shelley bugzilla@chimpychompy.org + #%] + +[%# INTERFACE: + # product: string; name of the product the milestone is being created for + #%] + +[% title = BLOCK %]Add Milestone to Product '[% product FILTER html %]'[% END %] +[% h2 = BLOCK %]This page allows you to add a new milestone to product + '[% product FILTER html %]'.[% END %] +[% PROCESS global/header.html.tmpl + title = title + h2 = h2 +%] + +<form method="post" action="editmilestones.cgi"> + <table border="0" cellpadding="4" cellspacing="0"> + <tr> + <th align="right"><label for="milestone">Milestone:</label></th> + <td><input id="milestone" size="20" maxlength="20" name="milestone" + value=""></td> + </tr> + <tr> + <th align="right"><label for="sortkey">Sortkey:</label></th> + <td><input id="sortkey" size="20" maxlength="20" name="sortkey" + value=""></td> + </tr> + </table> + <input type="submit" value="Add"> + <input type="hidden" name="action" value="new"> + <input type="hidden" name='product' value="[% product FILTER html %]"> + +</form> + +<p> + +[% PROCESS admin/milestones/footer.html.tmpl + no_add_milestone_link = 1 + %] + +[% PROCESS global/footer.html.tmpl %]
Added: trunk/web/reactos.org/htdocs/bugzilla/template/en/default/admin/milestones/created.html.tmpl URL: http://svn.reactos.org/svn/reactos/trunk/web/reactos.org/htdocs/bugzilla/tem... ============================================================================== --- trunk/web/reactos.org/htdocs/bugzilla/template/en/default/admin/milestones/created.html.tmpl (added) +++ trunk/web/reactos.org/htdocs/bugzilla/template/en/default/admin/milestones/created.html.tmpl Thu Jul 26 22:15:55 2007 @@ -1,0 +1,44 @@ +[%# 1.0@bugzilla.org %] +[%# The contents of this file are subject to the Mozilla Public + # License Version 1.1 (the "License"); you may not use this file + # except in compliance with the License. You may obtain a copy of + # the License at http://www.mozilla.org/MPL/ + # + # Software distributed under the License is distributed on an "AS + # IS" basis, WITHOUT WARRANTY OF ANY KIND, either express or + # implied. See the License for the specific language governing + # rights and limitations under the License. + # + # The Original Code is the Bugzilla Bug Tracking System. + # + # The Initial Developer of the Original Code is Netscape Communications + # Corporation. Portions created by Netscape are + # Copyright (C) 1998 Netscape Communications Corporation. All + # Rights Reserved. + # + # Contributor(s): Gavin Shelley bugzilla@chimpychompy.org + #%] + +[%# INTERFACE: + # name: string; the name of the newly created milestone + # + # product: string; the name of the product the milestone belongs to + #%] + +[% title = BLOCK %]Adding new Milestone of Product + '[% product FILTER html %]'[% END %] +[% PROCESS global/header.html.tmpl + title = title +%] + +<p>The milestone '<a title="Edit milestone '[% name FILTER html %]' of + product '[% product FILTER html %]'" + href="editmilestones.cgi?action=edit&product= + [%- product FILTER url_quote %]&milestone=[% name FILTER url_quote %]"> + [%- name FILTER html %]</a>' has been created.</p> + +<p> + +[% PROCESS admin/milestones/footer.html.tmpl %] + +[% PROCESS global/footer.html.tmpl %]
Added: trunk/web/reactos.org/htdocs/bugzilla/template/en/default/admin/milestones/deleted.html.tmpl URL: http://svn.reactos.org/svn/reactos/trunk/web/reactos.org/htdocs/bugzilla/tem... ============================================================================== --- trunk/web/reactos.org/htdocs/bugzilla/template/en/default/admin/milestones/deleted.html.tmpl (added) +++ trunk/web/reactos.org/htdocs/bugzilla/template/en/default/admin/milestones/deleted.html.tmpl Thu Jul 26 22:15:55 2007 @@ -1,0 +1,62 @@ +[%# 1.0@bugzilla.org %] +[%# The contents of this file are subject to the Mozilla Public + # License Version 1.1 (the "License"); you may not use this file + # except in compliance with the License. You may obtain a copy of + # the License at http://www.mozilla.org/MPL/ + # + # Software distributed under the License is distributed on an "AS + # IS" basis, WITHOUT WARRANTY OF ANY KIND, either express or + # implied. See the License for the specific language governing + # rights and limitations under the License. + # + # The Original Code is the Bugzilla Bug Tracking System. + # + # The Initial Developer of the Original Code is Netscape Communications + # Corporation. Portions created by Netscape are + # Copyright (C) 1998 Netscape Communications Corporation. All + # Rights Reserved. + # + # Contributor(s): Gavin Shelley bugzilla@chimpychompy.org + # Frédéric Buclin LpSolit@gmail.com + #%] + +[%# INTERFACE: + # name: string; the name of the deleted milestone. + # + # product: string; the name of the product the milestone belonged to + # + # bug_count: number; the number of bugs which were reassigned to + # the default milestone. + #%] + +[% title = BLOCK %]Deleted Milestone '[% name FILTER html %]' of Product + '[% product FILTER html %]'[% END %] +[% PROCESS global/header.html.tmpl + title = title +%] + +<p> +[% IF bug_count %] + + [% bug_count %] + [% IF bug_count > 1 %] + [%+ terms.bugs %] + [% ELSE %] + [%+ terms.bug %] + [% END %] + reassigned to the default milestone. + +[% ELSE %] + No [% terms.bugs %] were targetted at the milestone. +[% END %] +</p> + +<p>Milestone '[% name FILTER html %]' deleted.</p> + +<p> + +[% PROCESS admin/milestones/footer.html.tmpl + no_edit_milestone_link = 1 + %] + +[% PROCESS global/footer.html.tmpl %]
Added: trunk/web/reactos.org/htdocs/bugzilla/template/en/default/admin/milestones/edit.html.tmpl URL: http://svn.reactos.org/svn/reactos/trunk/web/reactos.org/htdocs/bugzilla/tem... ============================================================================== --- trunk/web/reactos.org/htdocs/bugzilla/template/en/default/admin/milestones/edit.html.tmpl (added) +++ trunk/web/reactos.org/htdocs/bugzilla/template/en/default/admin/milestones/edit.html.tmpl Thu Jul 26 22:15:55 2007 @@ -1,0 +1,67 @@ +[%# 1.0@bugzilla.org %] +[%# The contents of this file are subject to the Mozilla Public + # License Version 1.1 (the "License"); you may not use this file + # except in compliance with the License. You may obtain a copy of + # the License at http://www.mozilla.org/MPL/ + # + # Software distributed under the License is distributed on an "AS + # IS" basis, WITHOUT WARRANTY OF ANY KIND, either express or + # implied. See the License for the specific language governing + # rights and limitations under the License. + # + # The Original Code is the Bugzilla Bug Tracking System. + # + # The Initial Developer of the Original Code is Netscape Communications + # Corporation. Portions created by Netscape are + # Copyright (C) 1998 Netscape Communications Corporation. All + # Rights Reserved. + # + # Contributor(s): Gavin Shelley bugzilla@chimpychompy.org + #%] + +[%# INTERFACE: + # name: string; The name of the milestone + # + # sortkey: number; milestone sortkey + # + # product: string; The product the milestone belongs to + #%] + +[% PROCESS global/variables.none.tmpl %] + +[% title = BLOCK %]Edit Milestone '[% name FILTER html %]' of product ' + [%- product FILTER html %]'[% END %] +[% PROCESS global/header.html.tmpl + title = title +%] + +<form method="post" action="editmilestones.cgi"> + <table border="0" cellpadding="4" cellspacing="0"> + + <tr> + <th valign="top"><label for="milestone">Milestone:</label></th> + <td><input id="milestone" size="20" maxlength="20" name="milestone" value=" + [%- name FILTER html %]"></td> + </tr> + <tr> + <th align="right"><label for="sortkey">Sortkey:</label></th> + <td><input id="sortkey" size="20" maxlength="20" name="sortkey" value=" + [%- sortkey FILTER html %]"></td> + </tr> + + </table> + + <input type="hidden" name="milestoneold" value="[% name FILTER html %]"> + <input type="hidden" name="sortkeyold" value="[% sortkey FILTER html %]"> + <input type="hidden" name="action" value="update"> + <input type="hidden" name="product" value="[% product FILTER html %]"> + <input type="submit" value="Update"> + +</form> + +<p> + +[% PROCESS admin/milestones/footer.html.tmpl + no_edit_milestone_link = 1 %] + +[% PROCESS global/footer.html.tmpl %]
Added: trunk/web/reactos.org/htdocs/bugzilla/template/en/default/admin/milestones/footer.html.tmpl URL: http://svn.reactos.org/svn/reactos/trunk/web/reactos.org/htdocs/bugzilla/tem... ============================================================================== --- trunk/web/reactos.org/htdocs/bugzilla/template/en/default/admin/milestones/footer.html.tmpl (added) +++ trunk/web/reactos.org/htdocs/bugzilla/template/en/default/admin/milestones/footer.html.tmpl Thu Jul 26 22:15:55 2007 @@ -1,0 +1,66 @@ +[%# 1.0@bugzilla.org %] +[%# The contents of this file are subject to the Mozilla Public + # License Version 1.1 (the "License"); you may not use this file + # except in compliance with the License. You may obtain a copy of + # the License at http://www.mozilla.org/MPL/ + # + # Software distributed under the License is distributed on an "AS + # IS" basis, WITHOUT WARRANTY OF ANY KIND, either express or + # implied. See the License for the specific language governing + # rights and limitations under the License. + # + # The Original Code is the Bugzilla Bug Tracking System. + # + # The Initial Developer of the Original Code is Netscape Communications + # Corporation. Portions created by Netscape are + # Copyright (C) 1998 Netscape Communications Corporation. All + # Rights Reserved. + # + # Contributor(s): Gavin Shelley bugzilla@chimpychompy.org + #%] + +[%# INTERFACE: + # name: string; the name of the milestone + # + # product: string; the name of the product which the milestone + # belongs/belonged to + # + # no_XXX_link: boolean; if defined, then don't show the corresponding + # link. Supported parameters are: + # + # no_edit_milestone_link + # no_edit_other_milestones_link + # no_add_milestone_link + #%] + +<p> + +<hr> + +[% UNLESS no_add_milestone_link %] + <a title="Add a milestone to product '[% product FILTER html %]'" + href="editmilestones.cgi?action=add&product= + [%- product FILTER url_quote %]">Add</a> a milestone. +[% END %] + +[% IF name && !no_edit_milestone_link %] + Edit milestone <a + title="Edit Milestone '[% name FILTER html %]' of product ' + [%- product FILTER html %]'" + href="editmilestones.cgi?action=edit&product= + [%- product FILTER url_quote %]&milestone=[% name FILTER url_quote %]"> + '[% name FILTER html %]'</a>. +[% END %] + +[% UNLESS no_edit_other_milestones_link %] + Edit other milestones of product <a + href="editmilestones.cgi?product= + [%- product FILTER url_quote %]">'[% product FILTER html %]'</a>. + +[% END %] + + Edit product <a + href="editproducts.cgi?action=edit&product= + [%- product FILTER url_quote %]">'[% product FILTER html %]'</a>. + +</p>
Added: trunk/web/reactos.org/htdocs/bugzilla/template/en/default/admin/milestones/list.html.tmpl URL: http://svn.reactos.org/svn/reactos/trunk/web/reactos.org/htdocs/bugzilla/tem... ============================================================================== --- trunk/web/reactos.org/htdocs/bugzilla/template/en/default/admin/milestones/list.html.tmpl (added) +++ trunk/web/reactos.org/htdocs/bugzilla/template/en/default/admin/milestones/list.html.tmpl Thu Jul 26 22:15:55 2007 @@ -1,0 +1,77 @@ +[%# 1.0@bugzilla.org %] +[%# The contents of this file are subject to the Mozilla Public + # License Version 1.1 (the "License"); you may not use this file + # except in compliance with the License. You may obtain a copy of + # the License at http://www.mozilla.org/MPL/ + # + # Software distributed under the License is distributed on an "AS + # IS" basis, WITHOUT WARRANTY OF ANY KIND, either express or + # implied. See the License for the specific language governing + # rights and limitations under the License. + # + # The Original Code is the Bugzilla Bug Tracking System. + # + # The Initial Developer of the Original Code is Netscape Communications + # Corporation. Portions created by Netscape are + # Copyright (C) 1998 Netscape Communications Corporation. All + # Rights Reserved. + # + # Contributor(s): Gavin Shelley bugzilla@chimpychompy.org + #%] + +[%# INTERFACE: + # milestones: array of hashes having the following properties: + # - name: string; The name of the milestone. + # - sortkey: number; The sortkey used to order the milestone. + # + # product: string; the name of the product we are editing milestones for + #%] + +[% USE Bugzilla %] +[% cgi = Bugzilla.cgi %] + +[% PROCESS global/variables.none.tmpl %] + +[% title = BLOCK %]Select milestone of product + '[% product FILTER html %]'[% END %] +[% PROCESS global/header.html.tmpl + title = title +%] + +[% edit_contentlink = BLOCK %]editmilestones.cgi?action=edit&product= + [%- product FILTER url_quote %]&milestone=%%name%%[% END %] +[% delete_contentlink = BLOCK %]editmilestones.cgi?action=del&product= + [%- product FILTER url_quote %]&milestone=%%name%%[% END %] + + +[% columns = [ + { + name => "name" + heading => "Edit milestone..." + contentlink => edit_contentlink + }, + { + name => "sortkey" + heading => "Sortkey" + }, + ] +%] + +[% columns.push({ + heading => "Action" + content => "Delete" + contentlink => delete_contentlink + }) %] + +[% PROCESS admin/table.html.tmpl + columns = columns + data = milestones +%] + +<p> + +[% PROCESS admin/milestones/footer.html.tmpl + no_edit_other_milestones_link = 1 + %] + +[% PROCESS global/footer.html.tmpl %]
Added: trunk/web/reactos.org/htdocs/bugzilla/template/en/default/admin/milestones/select-product.html.tmpl URL: http://svn.reactos.org/svn/reactos/trunk/web/reactos.org/htdocs/bugzilla/tem... ============================================================================== --- trunk/web/reactos.org/htdocs/bugzilla/template/en/default/admin/milestones/select-product.html.tmpl (added) +++ trunk/web/reactos.org/htdocs/bugzilla/template/en/default/admin/milestones/select-product.html.tmpl Thu Jul 26 22:15:55 2007 @@ -1,0 +1,62 @@ +[%# 1.0@bugzilla.org %] +[%# The contents of this file are subject to the Mozilla Public + # License Version 1.1 (the "License"); you may not use this file + # except in compliance with the License. You may obtain a copy of + # the License at http://www.mozilla.org/MPL/ + # + # Software distributed under the License is distributed on an "AS + # IS" basis, WITHOUT WARRANTY OF ANY KIND, either express or + # implied. See the License for the specific language governing + # rights and limitations under the License. + # + # The Original Code is the Bugzilla Bug Tracking System. + # + # The Initial Developer of the Original Code is Netscape Communications + # Corporation. Portions created by Netscape are + # Copyright (C) 1998 Netscape Communications Corporation. All + # Rights Reserved. + # + # Contributor(s): Gavin Shelley (bugzilla@chimpychompy.org) + # + #%] + +[%# INTERFACE: + # products: array of hashes having the following properties: + # - name: string; The name of the product. + # - description: string; The description of the product. + #%] + +[% USE Bugzilla %] +[% cgi = Bugzilla.cgi %] + +[% PROCESS global/variables.none.tmpl %] + +[% PROCESS global/header.html.tmpl + title = "Edit milestones for which product?" +%] + +[% bug_count_contentlink = BLOCK %]buglist.cgi?target_milestone=%%name%%&product= + [%- product FILTER url_quote %][% END %] + +[% columns = [ + { + name => "name" + heading => "Edit milestones of..." + contentlink => "editmilestones.cgi?product=%%name%%" + }, + { + name => "description" + heading => "Description" + allow_html_content => 1 + } + ] +%] + +[% PROCESS admin/table.html.tmpl + columns = columns + data = products +%] + +<p> + +[% PROCESS global/footer.html.tmpl %]
Added: trunk/web/reactos.org/htdocs/bugzilla/template/en/default/admin/milestones/updated.html.tmpl URL: http://svn.reactos.org/svn/reactos/trunk/web/reactos.org/htdocs/bugzilla/tem... ============================================================================== --- trunk/web/reactos.org/htdocs/bugzilla/template/en/default/admin/milestones/updated.html.tmpl (added) +++ trunk/web/reactos.org/htdocs/bugzilla/template/en/default/admin/milestones/updated.html.tmpl Thu Jul 26 22:15:55 2007 @@ -1,0 +1,58 @@ +[%# 1.0@bugzilla.org %] +[%# The contents of this file are subject to the Mozilla Public + # License Version 1.1 (the "License"); you may not use this file + # except in compliance with the License. You may obtain a copy of + # the License at http://www.mozilla.org/MPL/ + # + # Software distributed under the License is distributed on an "AS + # IS" basis, WITHOUT WARRANTY OF ANY KIND, either express or + # implied. See the License for the specific language governing + # rights and limitations under the License. + # + # The Original Code is the Bugzilla Bug Tracking System. + # + # The Initial Developer of the Original Code is Netscape Communications + # Corporation. Portions created by Netscape are + # Copyright (C) 1998 Netscape Communications Corporation. All + # Rights Reserved. + # + # Contributor(s): Gavin Shelley bugzilla@chimpychompy.org + #%] + +[%# INTERFACE: + # + # 'updated_XXX' variables are booleans, and are defined if the + # 'XXX' field was updated during the edit just being handled. + # Variables called just 'XXX' are strings, and are the _new_ contents + # of the fields. + # + # name & updated_name: the name of the milestone + # + # sortkey & updated_sortkey: the milestone sortkey + # + # product: string; the name of the product the milestone belongs to + #%] + +[% title = BLOCK %]Updating Milestone '[% name FILTER html %]' of Product + '[% product FILTER html %]'[% END %] +[% PROCESS global/header.html.tmpl + title = title +%] + +[% IF updated_name %] + <p>Updated Milestone name to: '[% name FILTER html %]'.</p> +[% END %] + +[% IF updated_sortkey %] + <p>Updated Milestone sortkey to: '[% sortkey FILTER html %]'.</p> +[% END %] + +[% UNLESS updated_sortkey || updated_name %] + <p>Nothing changed for milestone '[% name FILTER html %]'. +[% END %] + +<p> + +[% PROCESS admin/milestones/footer.html.tmpl %] + +[% PROCESS global/footer.html.tmpl %]