[ros-diffs] [frik85] 27869: ReactOS website - bugzilla: * commit current template dir

frik85 at svn.reactos.org frik85 at svn.reactos.org
Thu Jul 26 20:14:57 CEST 2007


Author: frik85
Date: Thu Jul 26 22:14:57 2007
New Revision: 27869

URL: http://svn.reactos.org/svn/reactos?rev=27869&view=rev
Log:
ReactOS website - bugzilla:

* commit current template dir

Added:
    trunk/web/reactos.org/htdocs/bugzilla/template/en/default/admin/components/
    trunk/web/reactos.org/htdocs/bugzilla/template/en/default/admin/components/confirm-delete.html.tmpl
    trunk/web/reactos.org/htdocs/bugzilla/template/en/default/admin/components/create.html.tmpl
    trunk/web/reactos.org/htdocs/bugzilla/template/en/default/admin/components/created.html.tmpl
    trunk/web/reactos.org/htdocs/bugzilla/template/en/default/admin/components/deleted.html.tmpl
    trunk/web/reactos.org/htdocs/bugzilla/template/en/default/admin/components/edit.html.tmpl
    trunk/web/reactos.org/htdocs/bugzilla/template/en/default/admin/components/footer.html.tmpl
    trunk/web/reactos.org/htdocs/bugzilla/template/en/default/admin/components/list.html.tmpl
    trunk/web/reactos.org/htdocs/bugzilla/template/en/default/admin/components/select-product.html.tmpl
    trunk/web/reactos.org/htdocs/bugzilla/template/en/default/admin/components/updated.html.tmpl
    trunk/web/reactos.org/htdocs/bugzilla/template/en/default/admin/fieldvalues/
    trunk/web/reactos.org/htdocs/bugzilla/template/en/default/admin/fieldvalues/confirm-delete.html.tmpl
    trunk/web/reactos.org/htdocs/bugzilla/template/en/default/admin/fieldvalues/create.html.tmpl
    trunk/web/reactos.org/htdocs/bugzilla/template/en/default/admin/fieldvalues/created.html.tmpl
    trunk/web/reactos.org/htdocs/bugzilla/template/en/default/admin/fieldvalues/deleted.html.tmpl
    trunk/web/reactos.org/htdocs/bugzilla/template/en/default/admin/fieldvalues/edit.html.tmpl
    trunk/web/reactos.org/htdocs/bugzilla/template/en/default/admin/fieldvalues/footer.html.tmpl
    trunk/web/reactos.org/htdocs/bugzilla/template/en/default/admin/fieldvalues/list.html.tmpl
    trunk/web/reactos.org/htdocs/bugzilla/template/en/default/admin/fieldvalues/select-field.html.tmpl
    trunk/web/reactos.org/htdocs/bugzilla/template/en/default/admin/fieldvalues/updated.html.tmpl

Added: trunk/web/reactos.org/htdocs/bugzilla/template/en/default/admin/components/confirm-delete.html.tmpl
URL: http://svn.reactos.org/svn/reactos/trunk/web/reactos.org/htdocs/bugzilla/template/en/default/admin/components/confirm-delete.html.tmpl?rev=27869&view=auto
==============================================================================
--- trunk/web/reactos.org/htdocs/bugzilla/template/en/default/admin/components/confirm-delete.html.tmpl (added)
+++ trunk/web/reactos.org/htdocs/bugzilla/template/en/default/admin/components/confirm-delete.html.tmpl Thu Jul 26 22:14:57 2007
@@ -1,0 +1,171 @@
+[%# 1.0 at 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 at chimpychompy.org>
+  #%]
+
+[%# INTERFACE:
+  # name: string; The name of the component
+  #
+  # description: string; Component description, may be empty
+  #
+  # bug_count: number; The number of bugs belonging to the component
+  #
+  # initialowner: string; default assignee, may be empty
+  #
+  # initialqacontact: string; if system parameter is set to use the default
+  #                           qa contact field, then this will be it, 
+  #                           may be empty
+  #
+  # milestoneurl: string; milestone url, if milestones are in use, 
+  #                       may be empty
+  #
+  # product: string; The name of the product
+  #
+  # disallownew: boolean; Are new bugs allowed for the product flag
+  #
+  # product_description: string; Description of product
+  #%]
+
+[% title = BLOCK %]Delete Component 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">Component:</td>
+  <td valign="top">[% name FILTER html %]</td>
+</tr>
+<tr>
+  <td valign="top">Component Description:</td>
+  <td valign="top">[% description FILTER html %]</td>
+</tr>
+<tr>
+  <td valign="top">Default assignee:</td>
+  <td valign="top">[% initialowner FILTER html %]</td>
+  
+[% IF Param('useqacontact') %]
+</tr>
+<tr>
+  <td valign="top">Default QA contact:</td>
+  <td valign="top">[% initialqacontact FILTER html %]</td>
+[% END %]
+  
+</tr>
+<tr>
+  <td valign="top">Component of Product:</td>
+  <td valign="top">[% product FILTER html %]</td>
+
+[% IF product_description %]  
+</tr>
+<tr>
+  <td valign="top">Product Description:</td>
+  <td valign="top">[% product_description FILTER html %]</td>
+[% END %]
+
+[% IF Param('usetargetmilestone') %]
+</tr>
+<tr>
+  <td valign="top">Product Milestone URL:</td>
+  <td valign="top"><a href="[% milestoneurl FILTER uri %]">[% milestoneurl FILTER html %]</a></td>
+[% END %]
+
+</tr>
+<tr>
+  <TD VALIGN="top">Closed for [% terms.bugs %]:</TD>
+  <TD VALIGN="top">[% IF $disallownew %]Yes[% ELSE %]No[% END %]</td>
+</tr>
+<tr>
+  <td valign="top">[% terms.Bugs %]:</td>
+  <td valign="top">
+[% IF bug_count %]
+  <a title="List of [% terms.bugs %] for component '[% name FILTER html %]'"
+     href="buglist.cgi?component=[% name FILTER url_quote %]&amp;product=
+          [%- product FILTER url_quote %]">[% bug_count %]</a>
+[% ELSE %]
+  None
+[% END %]
+  </td>
+</tr>
+</table>
+
+<h2>Confirmation</h2>
+  
+[% IF bug_count %]
+
+  [% IF !Param("allowbugdeletion") %]
+
+    Sorry, there
+
+    [% IF bug_count > 1 %] 
+      are [% bug_count %] [%+ terms.bugs %] 
+    [% ELSE %]
+      is [% bug_count %] [%+ terms.bug %] 
+    [% END %]
+
+    outstanding for this component.  You must reassign 
+
+    [% IF bug_count > 1 %]
+       those [% terms.bugs %] 
+    [% ELSE %]
+       that [% terms.bug %]
+    [% END %]
+
+    to another component before you can delete this one.
+
+  [% ELSE %]
+
+    <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 component!  When you delete this
+      component, <b><blink>ALL</blink></b> stored [% terms.bugs %] and
+      their history will be deleted too.
+      </td></tr></table>
+
+  [% END %]
+
+[% END %]
+
+[% IF bug_count == 0 || Param('allowbugdeletion') %]
+
+  <p>Do you really want to delete this component?<p>
+  
+  <form method="post" action="editcomponents.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="component" value="[% name FILTER html %]">
+  </form>
+
+[% END %]
+
+[% PROCESS admin/components/footer.html.tmpl %]
+
+[% PROCESS global/footer.html.tmpl %] 

Added: trunk/web/reactos.org/htdocs/bugzilla/template/en/default/admin/components/create.html.tmpl
URL: http://svn.reactos.org/svn/reactos/trunk/web/reactos.org/htdocs/bugzilla/template/en/default/admin/components/create.html.tmpl?rev=27869&view=auto
==============================================================================
--- trunk/web/reactos.org/htdocs/bugzilla/template/en/default/admin/components/create.html.tmpl (added)
+++ trunk/web/reactos.org/htdocs/bugzilla/template/en/default/admin/components/create.html.tmpl Thu Jul 26 22:14:57 2007
@@ -1,0 +1,86 @@
+[%# 1.0 at 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 at chimpychompy.org>
+  #%]
+
+[%# INTERFACE:
+  # product: string; name of product
+  #%]
+  
+[% title = BLOCK %]Add component to Product '[% product FILTER html %]'[% END %]
+[% h2 = BLOCK %]This page allows you to add a new component to product
+                '[% product FILTER html %]'.[% END %]
+[% PROCESS global/header.html.tmpl
+  title = title
+  h2 = h2
+%]
+
+<form method="post" action="editcomponents.cgi">
+  <table border="0" cellpadding="4" cellspacing="0">
+    <tr>
+      <th align="right">Component:</th>
+      <td><input size="64" maxlength="64" name="component" value=""></td>
+    </tr>
+    <tr>
+      <th align="right">Description:</th>
+      <td>
+        <textarea rows="4" cols="64" wrap="virtual"
+                  name="description"></textarea>
+      </td>
+    </tr>
+    <tr>
+      <th align="right"><label for="initialowner">Default Assignee:</label></th>
+      <td>
+        [% INCLUDE global/userselect.html.tmpl
+           name => "initialowner"
+           id => "initialowner"
+           value => ""
+           size => 64
+           emptyok => 1
+         %]
+      </td>
+    </tr>
+[% IF Param('useqacontact') %]
+    <tr>
+      <th align="right">
+        <label for="initialqacontact">Default QA Contact:</label></th>
+      <td>
+        [% INCLUDE global/userselect.html.tmpl
+           name => "initialqacontact"
+           id => "initialqacontact"
+           value => ""
+           size => 64
+           emptyok => 1
+         %]
+      </td>
+    </tr>
+[% END %]
+  </table>
+  <hr>
+  <input type="submit" value="Add">
+  <input type="hidden" name="action" value="new">
+  <input type="hidden" name='open_name' value='All Open'>
+  <input type="hidden" name='nonopen_name' value='All Closed'>
+  <input type="hidden" name='product' value="[% product FILTER html %]">
+
+</form>
+
+[% PROCESS admin/components/footer.html.tmpl %]
+
+[% PROCESS global/footer.html.tmpl %]

Added: trunk/web/reactos.org/htdocs/bugzilla/template/en/default/admin/components/created.html.tmpl
URL: http://svn.reactos.org/svn/reactos/trunk/web/reactos.org/htdocs/bugzilla/template/en/default/admin/components/created.html.tmpl?rev=27869&view=auto
==============================================================================
--- trunk/web/reactos.org/htdocs/bugzilla/template/en/default/admin/components/created.html.tmpl (added)
+++ trunk/web/reactos.org/htdocs/bugzilla/template/en/default/admin/components/created.html.tmpl Thu Jul 26 22:14:57 2007
@@ -1,0 +1,40 @@
+[%# 1.0 at 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 at chimpychompy.org>
+  #%]
+
+[%# INTERFACE:
+  # name: string; the name of the newly created component
+  #
+  # product: string; the name of the product the component belongs to
+  #%]
+  
+[% title = BLOCK %]Adding new Component of Product
+                   '[% product FILTER html %]'[% END %]
+[% PROCESS global/header.html.tmpl
+  title = title
+%]
+
+<p>The component '<a href="editcomponents.cgi?action=edit&amp;product=
+   [%- product FILTER url_quote %]&amp;component=[% name FILTER url_quote %]">
+   [%- name FILTER html %]</a>' has been created.</p>
+
+[% PROCESS admin/components/footer.html.tmpl %]
+
+[% PROCESS global/footer.html.tmpl %]

Added: trunk/web/reactos.org/htdocs/bugzilla/template/en/default/admin/components/deleted.html.tmpl
URL: http://svn.reactos.org/svn/reactos/trunk/web/reactos.org/htdocs/bugzilla/template/en/default/admin/components/deleted.html.tmpl?rev=27869&view=auto
==============================================================================
--- trunk/web/reactos.org/htdocs/bugzilla/template/en/default/admin/components/deleted.html.tmpl (added)
+++ trunk/web/reactos.org/htdocs/bugzilla/template/en/default/admin/components/deleted.html.tmpl Thu Jul 26 22:14:57 2007
@@ -1,0 +1,61 @@
+[%# 1.0 at 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 at chimpychompy.org>
+  #%]
+
+[%# INTERFACE:
+  # name: string; the name of the deleted component.
+  #
+  # product: string; the name of the product the component belonged to
+  #
+  # deleted_bug_count: number; the number of bugs which were deleted
+  #                            (if bug deletion is allowed)
+  #%]
+  
+[% title = BLOCK %]Deleted Component '[% name FILTER html %]' from Product
+                   '[% product FILTER html %]'[% END %]
+[% PROCESS global/header.html.tmpl
+  title = title
+%]
+
+<p>
+[% IF deleted_bug_count %]
+  [% deleted_bug_count %]
+  [%- IF deleted_bug_count > 1 %] 
+    [% terms.bugs %]
+  [% ELSE %]
+    [% terms.bug %]
+  [% END %]
+  deleted.
+  </p><p>
+  All references to those deleted [% terms.bugs %] have been removed.
+[% ELSE %]
+  No [% terms.bugs %] existed for the component.
+[% END %]
+</p>
+
+<p>Flag inclusions and exclusions deleted.</p>
+
+<p>Component '[% name FILTER html %]' deleted.</p>
+
+[% PROCESS admin/components/footer.html.tmpl
+  no_edit_component_link = 1
+ %]
+
+[% PROCESS global/footer.html.tmpl %]

Added: trunk/web/reactos.org/htdocs/bugzilla/template/en/default/admin/components/edit.html.tmpl
URL: http://svn.reactos.org/svn/reactos/trunk/web/reactos.org/htdocs/bugzilla/template/en/default/admin/components/edit.html.tmpl?rev=27869&view=auto
==============================================================================
--- trunk/web/reactos.org/htdocs/bugzilla/template/en/default/admin/components/edit.html.tmpl (added)
+++ trunk/web/reactos.org/htdocs/bugzilla/template/en/default/admin/components/edit.html.tmpl Thu Jul 26 22:14:57 2007
@@ -1,0 +1,123 @@
+[%# 1.0 at 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 at chimpychompy.org>
+  #%]
+
+[%# INTERFACE:
+  # name: string; The name of the component.
+  #
+  # description: string; Component description, may be empty
+  #
+  # initialowner: string; default assignee, may be empty
+  #
+  # initialqacontact: string; default qa contact, may be empty
+  #
+  # product: string; The product the component belongs to
+  #
+  # bug_count: number; number of bugs belonging to the component
+  #%]
+
+[% PROCESS global/variables.none.tmpl %]
+
+[% title = BLOCK %]Edit Component '[% name FILTER html %]'[% END %]
+[% PROCESS global/header.html.tmpl
+  title = title
+%]
+
+<form method="post" action="editcomponents.cgi">
+  <table border="0" cellpadding="4" cellspacing="0">
+
+    <tr>
+      <td valign="top">Component:</td>
+      <td><input size="64" maxlength="64" name="component" value="
+      [%- name FILTER html %]"></td>
+    </tr>
+    <tr>
+      <td valign="top">Component Description:</td>
+      <td><textarea rows="4" cols="64" wrap="virtual"
+        name="description">[% description FILTER html %]</textarea>
+      </td>
+    </tr>
+    <tr>
+      <td valign="top"><label for="initialowner">Default Assignee:</label></td>
+      <td>
+        [% INCLUDE global/userselect.html.tmpl
+           name => "initialowner"
+           id => "initialowner"
+           value => initialowner
+           size => 64
+           emptyok => 1
+         %]
+      </td>
+  
+[% IF Param('useqacontact') %]
+    </tr>
+    <tr>
+      <td valign="top"><label for="initialqacontact">Default QA contact:</label></td>
+      <td>
+        [% INCLUDE global/userselect.html.tmpl
+           name => "initialqacontact"
+           id => "initialqacontact"
+           value => initialqacontact
+           size => 64
+           emptyok => 1
+         %]
+      </td>
+[% END %]
+  
+    </tr>
+    <tr>
+      <td>[% terms.Bugs %]:</td>
+      <td>
+[% IF bug_count > 0 %]
+        <a title="Bugs in component '[% name FILTER html %]'"
+           href="buglist.cgi?component=
+                [%- name FILTER url_quote %]&amp;product=
+                [%- product FILTER url_quote %]">[% bug_count %]</a>
+[% ELSE %]
+        None
+[% END %]
+      </td>
+    </tr>
+
+  </table>
+
+
+   <input type="hidden" name="componentold" value="
+        [%- name FILTER html %]">
+   <input type="hidden" name="descriptionold" value="
+        [%- description FILTER html %]">
+   <input type="hidden" name="initialownerold" value="
+        [%- initialowner FILTER html %]">
+   <input type="hidden" name="initialqacontactold" value="
+        [%- initialqacontact FILTER html %]">
+   <input type="hidden" name="action" value="update">
+   <input type="hidden" name="product" value="[% product FILTER html %]">
+   <input type="submit" value="Update"> or <a 
+        href="editcomponents.cgi?action=del&amp;product=
+        [%- product FILTER url_quote %]&amp;component=
+        [%- name FILTER url_quote %]">Delete</a> this component.
+
+
+</form>
+
+[% PROCESS admin/components/footer.html.tmpl
+  no_edit_component_link = 1 %]
+
+[% PROCESS global/footer.html.tmpl %]

Added: trunk/web/reactos.org/htdocs/bugzilla/template/en/default/admin/components/footer.html.tmpl
URL: http://svn.reactos.org/svn/reactos/trunk/web/reactos.org/htdocs/bugzilla/template/en/default/admin/components/footer.html.tmpl?rev=27869&view=auto
==============================================================================
--- trunk/web/reactos.org/htdocs/bugzilla/template/en/default/admin/components/footer.html.tmpl (added)
+++ trunk/web/reactos.org/htdocs/bugzilla/template/en/default/admin/components/footer.html.tmpl Thu Jul 26 22:14:57 2007
@@ -1,0 +1,56 @@
+[%# 1.0 at 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 at chimpychompy.org>
+  #%]
+
+[%# INTERFACE:
+  # name: string; the name of the component
+  #
+  # product: string; the name of the product which the component
+  #                  belongs/belonged to
+  #%]
+  
+<p>
+
+<hr>
+Edit 
+
+[% IF name && !no_edit_component_link %]
+  component <a 
+  title="Edit Component '[% name FILTER html %]'"
+  href="editcomponents.cgi?action=edit&amp;product=
+  [%- product FILTER url_quote %]&amp;component=[% name FILTER url_quote %]">
+   '[% name FILTER html %]'</a> 
+  or edit
+[% END %]
+
+[% IF !no_edit_other_components_link %]
+other components of product <a 
+  title="Choose a component from product '[% product FILTER html %]' to edit"
+  href="editcomponents.cgi?product=
+  [%- product FILTER url_quote %]">'[% product FILTER html %]'</a>, 
+  or edit 
+[% END %]
+
+product <a 
+  title="Edit Product '[% product FILTER html %]'"
+  href="editproducts.cgi?action=edit&amp;product=
+  [%- product FILTER url_quote %]">'[% product FILTER html %]'</a>.
+
+</p>

Added: trunk/web/reactos.org/htdocs/bugzilla/template/en/default/admin/components/list.html.tmpl
URL: http://svn.reactos.org/svn/reactos/trunk/web/reactos.org/htdocs/bugzilla/template/en/default/admin/components/list.html.tmpl?rev=27869&view=auto
==============================================================================
--- trunk/web/reactos.org/htdocs/bugzilla/template/en/default/admin/components/list.html.tmpl (added)
+++ trunk/web/reactos.org/htdocs/bugzilla/template/en/default/admin/components/list.html.tmpl Thu Jul 26 22:14:57 2007
@@ -1,0 +1,119 @@
+[%# 1.0 at 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 at chimpychompy.org>
+  #%]
+
+[%# INTERFACE:
+  # components: array of hashes having the properties:
+  #   - name: string; The name of the component.
+  #   - description: string; The description of the component.
+  #   - initialowner: string; The default assignee of the component.
+  #   - initialqacontact: string; The qa_contact of the component.
+  #   - bug_count: number; The number of bugs in the component
+  #                        (if showbugcounts defined).
+  #
+  # showbugcounts: if defined, then bug counts should be included in the table
+  #
+  # product: string; the name of the product we are editing components for
+  #%]
+
+[% USE Bugzilla %]
+[% cgi = Bugzilla.cgi %]
+
+[% PROCESS global/variables.none.tmpl %]
+
+[% title = BLOCK %]Select component of product
+                   '[% product FILTER html %]'[% END %]
+[% PROCESS global/header.html.tmpl
+  title = title
+%]
+
+[% edit_contentlink = BLOCK %]editcomponents.cgi?action=edit&amp;product=
+  [%- product FILTER url_quote %]&amp;component=%%name%%[% END %]
+[% delete_contentlink = BLOCK %]editcomponents.cgi?action=del&amp;product=
+  [%- product FILTER url_quote %]&amp;component=%%name%%[% END %]
+[% bug_count_contentlink = BLOCK %]buglist.cgi?component=%%name%%&amp;product=
+  [%- product FILTER url_quote %][% END %]
+
+
+[% columns = [
+     { 
+       name => "name"
+       heading => "Edit component..."
+       contentlink => edit_contentlink
+     },
+     { 
+       name => "description"
+       heading => "Description" 
+       allow_html_content => 1
+     },
+     { 
+       name => "initialowner"
+       heading => "Default Assignee"
+     },
+   ]
+%]
+
+[% IF Param('useqacontact') %]
+
+  [% columns.push({
+       name => 'initialqacontact'
+       heading => 'QA Contact'
+     }) %]
+
+[% END %]
+
+[% IF showbugcounts %]
+
+  [% columns.push({
+       name => 'bug_count'
+       heading => "$terms.Bugs"
+       align => "right"
+       contentlink => bug_count_contentlink
+     }) %]
+
+[% END %]
+
+[% columns.push({
+     heading => "Action"
+     content => "Delete"
+     contentlink => delete_contentlink
+   }) %]
+
+[% PROCESS admin/table.html.tmpl
+     columns = columns
+     data = components
+     footer = footer_row
+%]
+
+<p><a href="editcomponents.cgi?action=add&amp;product=[% product FILTER url_quote %]">Add</a>
+    a new component to product '[% product FILTER html %]'</p>
+
+[% IF ! showbugcounts %]
+
+<p><a href="editcomponents.cgi?showbugcounts=1&amp;[% cgi.query_string %]">
+    Redisplay table with [% terms.bug %] counts (slower)</a></p>
+
+[% END %]
+
+[% PROCESS admin/components/footer.html.tmpl
+  no_edit_other_components_link = 1
+ %]
+
+[% PROCESS global/footer.html.tmpl %]

Added: trunk/web/reactos.org/htdocs/bugzilla/template/en/default/admin/components/select-product.html.tmpl
URL: http://svn.reactos.org/svn/reactos/trunk/web/reactos.org/htdocs/bugzilla/template/en/default/admin/components/select-product.html.tmpl?rev=27869&view=auto
==============================================================================
--- trunk/web/reactos.org/htdocs/bugzilla/template/en/default/admin/components/select-product.html.tmpl (added)
+++ trunk/web/reactos.org/htdocs/bugzilla/template/en/default/admin/components/select-product.html.tmpl Thu Jul 26 22:14:57 2007
@@ -1,0 +1,82 @@
+[%# 1.0 at 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 at chimpychompy.org)
+  #
+  #%]
+
+[%# INTERFACE:
+  # products: array of hashes having the properties:
+  #   - name: string; The name of the product.
+  #   - description: string; The description of the product.
+  #   - bug_count: number; The number of bugs for the product (if 
+  #                showbugcounts defined).
+  #
+  # showbugcounts: if defined, then bug counts should be included in the table
+  #%]
+
+[% USE Bugzilla %]
+[% cgi = Bugzilla.cgi %]
+
+[% PROCESS global/variables.none.tmpl %]
+
+[% PROCESS global/header.html.tmpl
+  title = "Edit components for which product?"
+%]
+
+[% columns = [
+     { 
+       name => "name"
+       heading => "Edit components of..."
+       contentlink => "editcomponents.cgi?product=%%name%%" 
+     },
+     { 
+       name => "description"
+       heading => "Description" 
+       allow_html_content => 1
+     }
+   ]
+%]
+
+[% IF showbugcounts %]
+
+[%  columns.push({
+      name => 'bug_count'
+      heading => "$terms.Bugs"
+      align => "right"
+      contentlink => "buglist.cgi?product=%%name%%"
+    }) %]
+
+[% END %]
+
+[% PROCESS admin/table.html.tmpl
+     columns = columns
+     data = products
+     footer = footer_row
+%]
+
+[% IF ! showbugcounts %]
+
+<p><a href="editcomponents.cgi?showbugcounts=1&amp;[% cgi.query_string %]">
+    Redisplay table with [% terms.bug %] counts (slower)</a></p>
+
+[% END %]
+
+<p>
+
+[% PROCESS global/footer.html.tmpl %]

Added: trunk/web/reactos.org/htdocs/bugzilla/template/en/default/admin/components/updated.html.tmpl
URL: http://svn.reactos.org/svn/reactos/trunk/web/reactos.org/htdocs/bugzilla/template/en/default/admin/components/updated.html.tmpl?rev=27869&view=auto
==============================================================================
--- trunk/web/reactos.org/htdocs/bugzilla/template/en/default/admin/components/updated.html.tmpl (added)
+++ trunk/web/reactos.org/htdocs/bugzilla/template/en/default/admin/components/updated.html.tmpl Thu Jul 26 22:14:57 2007
@@ -1,0 +1,82 @@
+[%# 1.0 at 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 at 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 component
+  #
+  # description & updated_description: the component description
+  #
+  # initialowner & updated_initialowner: the default assignee
+  #
+  # initialqacontact & updated_initialqacontact: the default qa contact
+  #
+  # product: string; the name of the product the component belongs to
+  #%]
+  
+[% title = BLOCK %]Updating Component '[% name FILTER html %]' of Product
+                   '[% product FILTER html %]'[% END %]
+[% PROCESS global/header.html.tmpl
+  title = title
+%]
+
+[% IF updated_description %]
+  <p>
+  <table>
+    <tr>
+      <td>Updated description to:</td>
+      <td>'[% description FILTER html %]'</td>
+    </tr>
+  </table>
+[% END %]
+
+[% IF updated_initialowner %]
+  <p>Updated Default Assignee to: '[% initialowner FILTER html %]'.</p>
+[% END %]
+
+[% IF updated_initialqacontact %]
+  <p>
+  [% IF initialqacontact %]
+    Updated Default QA Contact to '[% initialqacontact FILTER html %]'.
+  [% ELSE %]
+    Removed Default QA Contact.
+  [% END %]
+  </p>
+[% END %]
+
+[% IF updated_name %]
+  <p>Updated Component name to: '[% name FILTER html %]'.</p>
+[% END %]
+
+[% UNLESS updated_description || updated_initialowner || 
+          updated_initialqacontact || updated_name %]
+  <p>Nothing changed for component '[% name FILTER html %]'.
+[% END %]
+   
+
+[% PROCESS admin/components/footer.html.tmpl %]
+
+[% PROCESS global/footer.html.tmpl %]

Added: trunk/web/reactos.org/htdocs/bugzilla/template/en/default/admin/fieldvalues/confirm-delete.html.tmpl
URL: http://svn.reactos.org/svn/reactos/trunk/web/reactos.org/htdocs/bugzilla/template/en/default/admin/fieldvalues/confirm-delete.html.tmpl?rev=27869&view=auto
==============================================================================
--- trunk/web/reactos.org/htdocs/bugzilla/template/en/default/admin/fieldvalues/confirm-delete.html.tmpl (added)
+++ trunk/web/reactos.org/htdocs/bugzilla/template/en/default/admin/fieldvalues/confirm-delete.html.tmpl Thu Jul 26 22:14:57 2007
@@ -1,0 +1,110 @@
+[%# 1.0 at 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.
+  #
+  # Contributor(s): Max Kanat-Alexander <mkanat at bugzilla.org>
+  #%]
+
+[%# INTERFACE:
+  # value: string; The field value being deleted.
+  # bug_count: number; The number of bugs that have this field value.
+  # value_count: number; The number of values left for this field, including
+  #              this value.
+  # field: string; The name of the field.
+  #%]
+
+[% title = BLOCK %]Delete Value '[% value FILTER html %]' from the 
+  '[% field FILTER html %]' field[% 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">Field Name:</td>
+  <td valign="top">[% field FILTER html %]</td>
+</tr>
+<tr>
+  <td valign="top">Field Value:</td>
+  <td valign="top">[% value FILTER html %]</td>
+</tr>
+<tr>
+  <td valign="top">[% terms.Bugs %]:</td>
+  <td valign="top">
+[% IF bug_count %]
+  <a title="List of [% terms.bugs %] where '[% field FILTER html %]' is '
+            [% value FILTER html %]'"
+     href="buglist.cgi?[% field FILTER url_quote %]=[%- value FILTER url_quote %]">[% bug_count FILTER html %]</a>
+[% ELSE %]
+  None
+[% END %]
+  </td>
+</tr>
+</table>
+
+<h2>Confirmation</h2>
+  
+[% IF bug_count %]
+
+    Sorry, there
+
+    [% IF bug_count > 1 %] 
+      are [% bug_count FILTER html %] [%+ terms.bugs %] 
+    [% ELSE %]
+      is [% bug_count FILTER html %] [%+ terms.bug %] 
+    [% END %]
+
+    that still have this field value. You must change the field value on
+    <a title="List of [% terms.bugs %] where '[% field FILTER html %]' is '[% value FILTER html %]'"
+       href="buglist.cgi?[% field FILTER url_quote %]=[%- value FILTER url_quote %]">
+    [% IF bug_count > 1 %]
+       those [% terms.bugs %] 
+    [% ELSE %]
+       that [% terms.bug %]
+    [% END %]
+    </a>
+    to another value before you can delete this value.
+
+[% END %]
+
+[% IF value_count == 1 %]
+
+    <p>Sorry, but '[% value FILTER html %]' is the last value for
+    '[%- field FILTER html %]', and so it can not be deleted.</p>
+
+  [% ELSE %]
+
+    [% IF bug_count == 0 %]
+
+      <p>Do you really want to delete this value?<p>
+  
+      <form method="post" action="editvalues.cgi">
+        <input type="submit" value="Yes, delete">
+        <input type="hidden" name="action" value="delete">
+        <input type="hidden" name="field" value="[% field FILTER html %]">
+        <input type="hidden" name="value" value="[% value FILTER html %]">
+      </form>
+
+  [% END %]
+
+[% END %]
+
+[% PROCESS admin/fieldvalues/footer.html.tmpl
+  no_edit_link = 1
+ +%]
+
+[% PROCESS global/footer.html.tmpl %] 

Added: trunk/web/reactos.org/htdocs/bugzilla/template/en/default/admin/fieldvalues/create.html.tmpl
URL: http://svn.reactos.org/svn/reactos/trunk/web/reactos.org/htdocs/bugzilla/template/en/default/admin/fieldvalues/create.html.tmpl?rev=27869&view=auto
==============================================================================
--- trunk/web/reactos.org/htdocs/bugzilla/template/en/default/admin/fieldvalues/create.html.tmpl (added)
+++ trunk/web/reactos.org/htdocs/bugzilla/template/en/default/admin/fieldvalues/create.html.tmpl Thu Jul 26 22:14:57 2007
@@ -1,0 +1,54 @@
+[%# 1.0 at 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.
+  #
+  # Contributor(s): Max Kanat-Alexander <mkanat at bugzilla.org>
+  #%]
+
+[%# INTERFACE:
+  # field: string; name of the field the value is being created for
+  #%]
+  
+[% title = BLOCK %]Add Value for the '[% field FILTER html %]' field[% END %]
+[% h2 = BLOCK %]This page allows you to add a new value for the
+                '[% field FILTER html %]' field.[% END %]
+[% PROCESS global/header.html.tmpl
+  title = title
+  h2 = h2
+%]
+
+<form method="post" action="editvalues.cgi">
+  <table border="0" cellpadding="4" cellspacing="0">
+    <tr>
+      <th align="right"><label for="value">Value:</label></th>
+      <td><input id="value" size="30" maxlength="60" name="value"
+                 value=""></td>
+    </tr>
+    <tr>
+      <th align="right"><label for="sortkey">Sortkey:</label></th>
+      <td><input id="sortkey" size="10" maxlength="20" name="sortkey"
+                 value=""></td>
+    </tr>
+  </table>
+  <input type="submit" value="Add">
+  <input type="hidden" name="action" value="new">
+  <input type="hidden" name='field' value="[% field FILTER html %]">
+
+</form>
+
+<p>
+
+[% PROCESS admin/fieldvalues/footer.html.tmpl
+    no_add_link = 1
+ %]
+
+[% PROCESS global/footer.html.tmpl %]

Added: trunk/web/reactos.org/htdocs/bugzilla/template/en/default/admin/fieldvalues/created.html.tmpl
URL: http://svn.reactos.org/svn/reactos/trunk/web/reactos.org/htdocs/bugzilla/template/en/default/admin/fieldvalues/created.html.tmpl?rev=27869&view=auto
==============================================================================
--- trunk/web/reactos.org/htdocs/bugzilla/template/en/default/admin/fieldvalues/created.html.tmpl (added)
+++ trunk/web/reactos.org/htdocs/bugzilla/template/en/default/admin/fieldvalues/created.html.tmpl Thu Jul 26 22:14:57 2007
@@ -1,0 +1,39 @@
+[%# 1.0 at 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.
+  #
+  # Contributor(s): Max Kanat-Alexander <mkanat at bugzilla.org>
+  #%]
+
+[%# INTERFACE:
+  # value: string; the name of the newly created field value
+  # field: string; the name of the field the value belongs to
+  #%]
+  
+[% title = BLOCK %]New Value '[% value FILTER html %]' added to 
+  '[% field FILTER html %]' field[% END %]
+[% PROCESS global/header.html.tmpl
+  title = title
+%]
+
+<p>The value '<a title="Edit value '[% value FILTER html %]' of 
+   for the '[% field FILTER html %]' field"
+   href="editvalues.cgi?action=edit&amp;field=
+   [%- field FILTER url_quote %]&amp;value=[% value FILTER url_quote %]">
+   [%- value FILTER html %]</a>' has been added as a valid choice for
+   the '[% field FILTER html %]' field.</p>
+
+<p>
+
+[% PROCESS admin/fieldvalues/footer.html.tmpl %]
+
+[% PROCESS global/footer.html.tmpl %]

Added: trunk/web/reactos.org/htdocs/bugzilla/template/en/default/admin/fieldvalues/deleted.html.tmpl
URL: http://svn.reactos.org/svn/reactos/trunk/web/reactos.org/htdocs/bugzilla/template/en/default/admin/fieldvalues/deleted.html.tmpl?rev=27869&view=auto
==============================================================================
--- trunk/web/reactos.org/htdocs/bugzilla/template/en/default/admin/fieldvalues/deleted.html.tmpl (added)
+++ trunk/web/reactos.org/htdocs/bugzilla/template/en/default/admin/fieldvalues/deleted.html.tmpl Thu Jul 26 22:14:57 2007
@@ -1,0 +1,38 @@
+[%# 1.0 at 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.
+  #
+  # Contributor(s): Max Kanat-Alexander <mkanat at bugzilla.org>
+  #%]
+
+[%# INTERFACE:
+  # value: string; the field value that was deleted.
+  #
+  # field: string; the field the value was deleted from.
+  #
+  #%]
+  
+[% title = BLOCK %]Deleted Value '[% value FILTER html %]' for the
+                   '[% field FILTER html %]' Field[% END %]
+[% PROCESS global/header.html.tmpl
+  title = title
+%]
+
+<p>Field Value '[% value FILTER html %]' deleted.</p>
+
+<p>
+
+[% PROCESS admin/fieldvalues/footer.html.tmpl
+  no_edit_link = 1
+ %]
+
+[% PROCESS global/footer.html.tmpl %]

Added: trunk/web/reactos.org/htdocs/bugzilla/template/en/default/admin/fieldvalues/edit.html.tmpl
URL: http://svn.reactos.org/svn/reactos/trunk/web/reactos.org/htdocs/bugzilla/template/en/default/admin/fieldvalues/edit.html.tmpl?rev=27869&view=auto
==============================================================================
--- trunk/web/reactos.org/htdocs/bugzilla/template/en/default/admin/fieldvalues/edit.html.tmpl (added)
+++ trunk/web/reactos.org/htdocs/bugzilla/template/en/default/admin/fieldvalues/edit.html.tmpl Thu Jul 26 22:14:57 2007
@@ -1,0 +1,60 @@
+[%# 1.0 at 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.
+  #
+  # Contributor(s): Max Kanat-Alexander <mkanat at bugzilla.org>
+  #%]
+
+[%# INTERFACE:
+  # value: string; The field value we are editing.
+  # sortkey: number; Sortkey of the field value we are editing.
+  # field: string; The field this value belongs to.
+  #%]
+
+[% PROCESS global/variables.none.tmpl %]
+
+[% title = BLOCK %]Edit Value '[% value FILTER html %]'  '
+                   [%- field FILTER html %]'[% END %]
+[% PROCESS global/header.html.tmpl
+  title = title
+%]
+
+<form method="post" action="editvalues.cgi">
+  <table border="0" cellpadding="4" cellspacing="0">
+
+    <tr>
+      <th valign="top"><label for="value">Field Value:</label></th>
+      <td><input id="value" size="20" maxlength="60" name="value" value="
+      [%- value 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="valueold" value="[% value FILTER html %]">
+  <input type="hidden" name="sortkeyold" value="[% sortkey FILTER html %]">
+  <input type="hidden" name="action" value="update">
+  <input type="hidden" name="field" value="[% field FILTER html %]">
+  <input type="submit" value="Update">
+
+</form>
+
+<p>
+
+[% PROCESS admin/fieldvalues/footer.html.tmpl
+  no_edit_link = 1 %]
+
+[% PROCESS global/footer.html.tmpl %]

Added: trunk/web/reactos.org/htdocs/bugzilla/template/en/default/admin/fieldvalues/footer.html.tmpl
URL: http://svn.reactos.org/svn/reactos/trunk/web/reactos.org/htdocs/bugzilla/template/en/default/admin/fieldvalues/footer.html.tmpl?rev=27869&view=auto
==============================================================================
--- trunk/web/reactos.org/htdocs/bugzilla/template/en/default/admin/fieldvalues/footer.html.tmpl (added)
+++ trunk/web/reactos.org/htdocs/bugzilla/template/en/default/admin/fieldvalues/footer.html.tmpl Thu Jul 26 22:14:57 2007
@@ -1,0 +1,56 @@
+[%# 1.0 at 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.
+  #
+  # Contributor(s): Max Kanat-Alexander <mkanat at bugzilla.org>
+  #%]
+
+[%# INTERFACE:
+  # value: string; the value being inserted/edited.
+  # field: string; the name of the field which the value
+  #                  belongs/belonged to
+  #
+  # no_XXX_link: boolean; if defined, then don't show the corresponding
+  #                       link. Supported parameters are:
+  #
+  # no_edit_link
+  # no_edit_other_link
+  # no_add_link
+  #%]
+  
+<p>
+
+<hr>
+
+[% UNLESS no_add_link %]
+  <a title="Add a value for the '[% field FILTER html %]' field."
+     href="editvalues.cgi?action=add&amp;field=
+          [%- field FILTER url_quote %]">Add</a> a value.
+[% END %]
+
+[% IF value && !no_edit_link %]
+  Edit value <a 
+  title="Edit value '[% value FILTER html %]' for the '
+         [%- field FILTER html %]' field"
+  href="editvalues.cgi?action=edit&amp;field=
+        [%- field FILTER url_quote %]&amp;value=[% value FILTER url_quote %]">
+        '[% value FILTER html %]'</a>.
+[% END %]
+
+[% UNLESS no_edit_other_link %]
+  Edit other values for the <a 
+  href="editvalues.cgi?field=
+        [%- field FILTER url_quote %]">'[% field FILTER html %]'</a> field.
+   
+[% END %]
+
+</p>

Added: trunk/web/reactos.org/htdocs/bugzilla/template/en/default/admin/fieldvalues/list.html.tmpl
URL: http://svn.reactos.org/svn/reactos/trunk/web/reactos.org/htdocs/bugzilla/template/en/default/admin/fieldvalues/list.html.tmpl?rev=27869&view=auto
==============================================================================
--- trunk/web/reactos.org/htdocs/bugzilla/template/en/default/admin/fieldvalues/list.html.tmpl (added)
+++ trunk/web/reactos.org/htdocs/bugzilla/template/en/default/admin/fieldvalues/list.html.tmpl Thu Jul 26 22:14:57 2007
@@ -1,0 +1,73 @@
+[%# 1.0 at 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.
+  #
+  # Contributor(s): Max Kanat-Alexander <mkanat at bugzilla.org>
+  #%]
+
+[%# INTERFACE:
+  # values: array of hashes having the following properties:
+  #   - name: string; The value.
+  #   - sortkey: number; The sortkey used to order the value when 
+  #              displayed to the user in a list.
+  #
+  # field: string; the name of the field we are editing values for.
+  #%]
+
+[% USE Bugzilla %]
+[% cgi = Bugzilla.cgi %]
+
+[% PROCESS global/variables.none.tmpl %]
+
+[% title = BLOCK %]Select value for the
+                   '[% field FILTER html %]' field[% END %]
+[% PROCESS global/header.html.tmpl
+  title = title
+%]
+
+[% edit_contentlink = BLOCK %]editvalues.cgi?action=edit&amp;field=
+  [%- field FILTER url_quote %]&amp;value=%%name%%[% END %]
+[% delete_contentlink = BLOCK %]editvalues.cgi?action=del&amp;field=
+  [%- field FILTER url_quote %]&amp;value=%%name%%[% END %]
+
+
+[% columns = [
+     { 
+       name => "name"
+       heading => "Edit field value..."
+       contentlink => edit_contentlink
+     },
+     { 
+       name => "sortkey"
+       heading => "Sortkey"
+     },
+   ]
+%]
+
+[% columns.push({
+     heading => "Action"
+     content => "Delete"
+     contentlink => delete_contentlink
+   }) %]
+
+[% PROCESS admin/table.html.tmpl
+     columns = columns
+     data = values
+%]
+
+<p>
+
+[% PROCESS admin/fieldvalues/footer.html.tmpl
+  no_edit_other_link = 1
+ %]
+
+[% PROCESS global/footer.html.tmpl %]

Added: trunk/web/reactos.org/htdocs/bugzilla/template/en/default/admin/fieldvalues/select-field.html.tmpl
URL: http://svn.reactos.org/svn/reactos/trunk/web/reactos.org/htdocs/bugzilla/template/en/default/admin/fieldvalues/select-field.html.tmpl?rev=27869&view=auto
==============================================================================
--- trunk/web/reactos.org/htdocs/bugzilla/template/en/default/admin/fieldvalues/select-field.html.tmpl (added)
+++ trunk/web/reactos.org/htdocs/bugzilla/template/en/default/admin/fieldvalues/select-field.html.tmpl Thu Jul 26 22:14:57 2007
@@ -1,0 +1,50 @@
+[%# 1.0 at 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.
+  #
+  # Contributor(s): Max Kanat-Alexander <mkanat at bugzilla.org>
+  #
+  #%]
+
+[%# INTERFACE:
+  #    fields: Array of hashes. Each hash contains only one key, "name."
+  #            The names are the same as the keys from field_descs 
+  #            (see global/field-descs.html.tmpl).
+  #%]
+
+[% USE Bugzilla %]
+[% cgi = Bugzilla.cgi %]
+
+[% PROCESS global/variables.none.tmpl %]
+
+[% PROCESS global/header.html.tmpl
+  title = "Edit values for which field?"
+%]
+
+[% columns = [
+     { 
+       name => "name"
+       heading => "Edit field values for..."
+       content_use_field = 1
+       contentlink => "editvalues.cgi?field=%%name%%"
+     }
+   ]
+%]
+
+[% PROCESS admin/table.html.tmpl
+     columns = columns
+     data = fields
+%]
+
+<p>
+
+[% PROCESS global/footer.html.tmpl %]

Added: trunk/web/reactos.org/htdocs/bugzilla/template/en/default/admin/fieldvalues/updated.html.tmpl
URL: http://svn.reactos.org/svn/reactos/trunk/web/reactos.org/htdocs/bugzilla/template/en/default/admin/fieldvalues/updated.html.tmpl?rev=27869&view=auto
==============================================================================
--- trunk/web/reactos.org/htdocs/bugzilla/template/en/default/admin/fieldvalues/updated.html.tmpl (added)
+++ trunk/web/reactos.org/htdocs/bugzilla/template/en/default/admin/fieldvalues/updated.html.tmpl Thu Jul 26 22:14:57 2007
@@ -1,0 +1,51 @@
+[%# 1.0 at 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.
+  #
+  # Contributor(s): Max Kanat-Alexander <mkanat at bugzilla.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.
+  #
+  # value & updated_value: the name of the field value
+  # sortkey & updated_sortkey: the field value sortkey
+  # field: string; the field that the value belongs to
+  #%]
+  
+[% title = BLOCK %]Updating Value '[% value FILTER html %]' of the
+                   '[% field FILTER html %]' Field[% END %]
+[% PROCESS global/header.html.tmpl
+  title = title
+%]
+
+[% IF updated_value %]
+  <p>Updated field value to: '[% value FILTER html %]'.</p>
+[% END %]
+
+[% IF updated_sortkey %]
+  <p>Updated field value sortkey to: '[% sortkey FILTER html %]'.</p>
+[% END %]
+
+[% UNLESS (updated_sortkey || updated_value) %]
+  <p>Nothing changed for field value '[% value FILTER html %]'.
+[% END %]
+   
+<p>
+
+[% PROCESS admin/fieldvalues/footer.html.tmpl %]
+
+[% PROCESS global/footer.html.tmpl %]




More information about the Ros-diffs mailing list