cvs: bugtracker /template/generic/bug index.php
| From: | Barry Carlyon | Date: | Wed, 13 Aug 2008 14:57:33 +0000 |
| Subject: | cvs: bugtracker /template/generic/bug index.php | ||
| Groups: | php.webmaster | ||
| Request: | Send a blank email to php-webmaster+get-2393@lists.php.net to get a copy of this message | ||
bcarlyon Wed Aug 13 14:57:33 2008 UTC
Modified files:
/bugtracker/template/generic/bug index.php
Log:
Missing option in the select drop down added, for if the bug is not currently assigned
http://cvs.php.net/viewvc.cgi/bugtracker/template/generic/bug/index.php?r1=1.29&r2=1.30&diff_format=u
Index: bugtracker/template/generic/bug/index.php
diff -u bugtracker/template/generic/bug/index.php:1.29
bugtracker/template/generic/bug/index.php:1.30
--- bugtracker/template/generic/bug/index.php:1.29 Wed Aug 13 14:21:04 2008
+++ bugtracker/template/generic/bug/index.php Wed Aug 13 14:57:33 2008
@@ -187,7 +187,7 @@
$users_list = $cache->convert('users', 'selectvar',
$bug_row['assigned_to']);
if ($bug_row['UNIX_TIMESTAMP(assigned_on)'] == 0)
$code = $template->swap('dsp_assigned_on', 'Unassigned', $code);
- $code = $template->swap('DSP_ASSIGNED_TO', '<select
name="assign_to" id="assign_to">' . $users_list .
'</select><input type="button" value="Go!"
onclick="updateAssignTo();" />', $code);
+ $code = $template->swap('DSP_ASSIGNED_TO', '<select
name="assign_to" id="assign_to"><option value="">--Assign
to--</option>' . $users_list . '</select><input type="button"
value="Go!" onclick="updateAssignTo();" />', $code);
}
$html = $template->swap('DSP_ASSIGNED', $code, $html);
}