[Openfirst-cvscommit] www/htdocs/bugzilla/admin/keywords confirm-delete.html.tmpl,NONE,1.1 create.ht
Brought to you by:
xtimg
Update of /cvsroot/openfirst/www/htdocs/bugzilla/admin/keywords In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv32743/admin/keywords Added Files: confirm-delete.html.tmpl create.html.tmpl created.html.tmpl edit.html.tmpl list.html.tmpl rebuild-cache.html.tmpl Log Message: Bring templates up to date for Bugzilla 2.18.1 --- NEW FILE: confirm-delete.html.tmpl --- [%# 1....@bu... %] [%# 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 <te...@mo...> # Vlad Dascalu <jo...@so...> #%] [%# 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 %] --- NEW FILE: edit.html.tmpl --- [%# 1....@bu... %] [%# 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 <te...@mo...> # Vlad Dascalu <jo...@so...> #%] [%# 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 %] --- NEW FILE: rebuild-cache.html.tmpl --- [%# 1....@bu... %] [%# 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 <te...@mo...> # Vlad Dascalu <jo...@so...> #%] [%# 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 %] --- NEW FILE: create.html.tmpl --- [%# 1....@bu... %] [%# 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 <te...@mo...> # Vlad Dascalu <jo...@so...> #%] [%# 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 %] --- NEW FILE: list.html.tmpl --- [%# 1....@bu... %] [%# 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 <te...@mo...> # Vlad Dascalu <jo...@so...> #%] [%# INTERFACE: # max_table_size: number. Determines the maximum number of # rows in each keywords table. # keywords: array with keyword objects having the properties: # - 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 = "Select keyword" %] [% max_table_size = 50 %] [% BLOCK table_header %] <table border="1" cellpadding="4" cellspacing="0"> <tr bgcolor="#6666FF"> <th align="left">Edit keyword ...</th> <th align="left">Description</th> <th align="left">[% terms.Bugs %]</th> <th align="left">Action</th> </tr> [% END %] [% BLOCK table_footer %] </table> [% END %] [% PROCESS table_header %] [% FOREACH keyword = keywords %] [% IF !loop.first() && loop.count() % max_table_size == 1 %] [% PROCESS table_header %] [% END %] <tr> <th valign="top"> <a href="editkeywords.cgi?action=edit&id=[% keyword.id %]">[% keyword.name FILTER html %]</a> </th> <td valign="top"> [% IF keyword.description %] [% keyword.description FILTER html %] [% ELSE %] <font color="red">missing</font> [% END %] </td> <td valign="top" align="right"> [% IF keyword.bug_count %] [% keyword.bug_count %] [% ELSE %] none [% END %] </td> <th valign="top"> <a href="editkeywords.cgi?action=delete&id=[% keyword.id %]">Delete</a> </th> </tr> [% IF !loop.last() && loop.count() % max_table_size == 0 %] [% PROCESS table_footer %] [% END %] [% END %] <tr> <td valign="top" colspan="3">Add a new keyword</td> <td><a href="editkeywords.cgi?action=add">Add</a></td> </tr> [% PROCESS table_footer %] [% PROCESS global/footer.html.tmpl %] --- NEW FILE: created.html.tmpl --- [%# 1....@bu... %] [%# 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 <te...@mo...> # Vlad Dascalu <jo...@so...> #%] [%# 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 %] |