|
From: Ken T. <ke...@us...> - 2003-07-24 04:50:58
|
Update of /cvsroot/phpbt/phpbt/templates/default/admin
In directory sc8-pr-cvs1:/tmp/cvs-serv1772/templates/default/admin
Modified Files:
status-edit.html statuslist.html
Log Message:
Multiple statuses can now be set as 'open' or 'closed' -- no longer will
just BUG_CLOSED show up in most-recently-closed-bugs, etc.
Admin ui allow reassigning open/closed bit to statuses. mysql DB
touched, rolling to version 4.
Fixed install.php DB_VERSIONing problem.
Index: status-edit.html
===================================================================
RCS file: /cvsroot/phpbt/phpbt/templates/default/admin/status-edit.html,v
retrieving revision 1.5
retrieving revision 1.6
diff -u -r1.5 -r1.6
--- status-edit.html 5 Nov 2002 20:58:19 -0000 1.5
+++ status-edit.html 24 Jul 2003 04:47:13 -0000 1.6
@@ -41,7 +41,10 @@
<td align="right" valign="top">Sort Order:</td>
<td><input type="text" size="3" maxlength="3" name="sort_order" value="{$sort_order}"></td>
</tr>
-
+<tr>
+ <td align="right" valign="top">Bugs Are:{$bug_open}</td>
+ <td><input type="radio" name="bug_open" value="1"{if $bug_open neq 0} checked="checked"{/if}/>Open <input type="radio" name="bug_open" value="0"{if $bug_open eq 0} checked="checked"{/if}/>Closed</td>
+</tr>
</table>
<br>
<input type='submit' name='submit' value='Submit'>
Index: statuslist.html
===================================================================
RCS file: /cvsroot/phpbt/phpbt/templates/default/admin/statuslist.html,v
retrieving revision 1.10
retrieving revision 1.11
diff -u -r1.10 -r1.11
--- statuslist.html 21 Jun 2003 13:42:57 -0000 1.10
+++ statuslist.html 24 Jul 2003 04:47:13 -0000 1.11
@@ -19,6 +19,7 @@
<th class="{$headers.name.class}"><a href="{$headers.name.url}">Name</a></th>
<th class="{$headers.description.class}"><a href="{$headers.description.url}">Description</a></th>
<th class="{$headers.sortorder.class}"><a href="{$headers.sortorder.url}">Sort Order</a></th>
+ <th>Bugs are</th>
<th>Delete</th>
</tr>
{section name=status loop=$statuses}
@@ -26,6 +27,13 @@
<td><a href="{$smarty.server.PHP_SELF}?op=edit&status_id={$statuses[status].status_id}" onClick="popupStatus({$statuses[status].status_id}); return false;">{$statuses[status].status_name|stripslashes}</a></td>
<td> {$statuses[status].status_desc}</td>
<td align="center">{$statuses[status].sort_order}</td>
+ <td align="center">
+ {if $statuses[status].bug_open eq 1}
+ Open
+ {else}
+ Closed
+ {/if}
+ </td>
<td align="center">
{if not $statuses[status].bug_count and $statuses[status].status_id neq BUG_UNCONFIRMED}
<a href="{$smarty.server.PHP_SELF}?op=del&status_id={$statuses[status].status_id}" onClick="return confirm('Are you sure you want to delete this status?')">Delete</a>
|