[Rt-commit] r2739 - in rt/branches/3.4-RELEASE: .
html/Admin/Elements html/Admin/Groups html/Admin/Queues
html/Admin/Users html/Elements html/Search html/SelfService
html/Ticket html/Ticket/Elements html/User/Elements html/User/Groups
jesse at bestpractical.com
jesse at bestpractical.com
Sun Apr 17 21:43:45 EDT 2005
Author: jesse
Date: Sun Apr 17 21:43:44 2005
New Revision: 2739
Modified:
rt/branches/3.4-RELEASE/ (props changed)
rt/branches/3.4-RELEASE/html/Admin/Elements/EditQueueWatchers
rt/branches/3.4-RELEASE/html/Admin/Elements/EditScrips
rt/branches/3.4-RELEASE/html/Admin/Elements/EditTemplates
rt/branches/3.4-RELEASE/html/Admin/Elements/PickCustomFields
rt/branches/3.4-RELEASE/html/Admin/Elements/PickObjects
rt/branches/3.4-RELEASE/html/Admin/Elements/QueueRightsForUser
rt/branches/3.4-RELEASE/html/Admin/Groups/Members.html
rt/branches/3.4-RELEASE/html/Admin/Groups/index.html
rt/branches/3.4-RELEASE/html/Admin/Queues/index.html
rt/branches/3.4-RELEASE/html/Admin/Users/index.html
rt/branches/3.4-RELEASE/html/Elements/Checkbox
rt/branches/3.4-RELEASE/html/Elements/EditLinks
rt/branches/3.4-RELEASE/html/Search/Bulk.html
rt/branches/3.4-RELEASE/html/SelfService/Update.html
rt/branches/3.4-RELEASE/html/Ticket/Create.html
rt/branches/3.4-RELEASE/html/Ticket/Elements/EditWatchers
rt/branches/3.4-RELEASE/html/Ticket/Update.html
rt/branches/3.4-RELEASE/html/User/Elements/DelegateRights
rt/branches/3.4-RELEASE/html/User/Groups/Members.html
Log:
r13188 at hualien: jesse | 2005-04-17 20:58:19 -0400
* Checkbox fields need a "value" or they are ignored
Modified: rt/branches/3.4-RELEASE/html/Admin/Elements/EditQueueWatchers
==============================================================================
--- rt/branches/3.4-RELEASE/html/Admin/Elements/EditQueueWatchers (original)
+++ rt/branches/3.4-RELEASE/html/Admin/Elements/EditQueueWatchers Sun Apr 17 21:43:44 2005
@@ -51,8 +51,7 @@
<ul>
% while (my $watcher=$Members->Next) {
<li>
-<INPUT TYPE=CHECKBOX
- NAME="Queue-<%$QueueObj->Id%>-DeleteWatcher-Type-<%$Watchers->Type%>-Principal-<%$watcher->MemberId%>"
+<INPUT TYPE=CHECKBOX NAME="Queue-<%$QueueObj->Id%>-DeleteWatcher-Type-<%$Watchers->Type%>-Principal-<%$watcher->MemberId%>" value="1"
UNCHECKED>
% if ($watcher->MemberObj->IsUser) {
<a href="<%$RT::WebPath%>/Admin/Users/Modify.html?id=<%$watcher->MemberObj->ObjectId%>">
Modified: rt/branches/3.4-RELEASE/html/Admin/Elements/EditScrips
==============================================================================
--- rt/branches/3.4-RELEASE/html/Admin/Elements/EditScrips (original)
+++ rt/branches/3.4-RELEASE/html/Admin/Elements/EditScrips Sun Apr 17 21:43:44 2005
@@ -58,7 +58,7 @@
% while (my $scrip = $Scrips->Next ) {
<TR>
<TD>
-<input type="checkbox" name="DeleteScrip-<%$scrip->Id%>">
+<input type="checkbox" name="DeleteScrip-<%$scrip->Id%>" value="1">
</TD>
<TD>
<a href="Scrip.html?id=<%$scrip->Id%>&Queue=<%$id%>"><% $scrip->Description || "<i>(".loc('no value').")</i>" |n %></a><br>
Modified: rt/branches/3.4-RELEASE/html/Admin/Elements/EditTemplates
==============================================================================
--- rt/branches/3.4-RELEASE/html/Admin/Elements/EditTemplates (original)
+++ rt/branches/3.4-RELEASE/html/Admin/Elements/EditTemplates Sun Apr 17 21:43:44 2005
@@ -63,7 +63,7 @@
% while (my $TemplateObj = $Templates->Next) {
<TR>
<TD>
-<input type="checkbox" name="DeleteTemplate-<%$TemplateObj->Id%>">
+<input type="checkbox" name="DeleteTemplate-<%$TemplateObj->Id%>" value="1">
</TD>
<TD>
<A HREF="Template.html?Queue=<%$id%>&Template=<%$TemplateObj->id()%>">
Modified: rt/branches/3.4-RELEASE/html/Admin/Elements/PickCustomFields
==============================================================================
--- rt/branches/3.4-RELEASE/html/Admin/Elements/PickCustomFields (original)
+++ rt/branches/3.4-RELEASE/html/Admin/Elements/PickCustomFields Sun Apr 17 21:43:44 2005
@@ -52,10 +52,7 @@
<TR>
% if (!$ReadOnly) {
<TD valign="TOP">
-<input type="checkbox"
-name="Object-<%$id%>-CF-<%$CustomFieldObj->Id%>"
-value="1"
-<% $Checked ? 'CHECKED' : '' %>
+<input type="checkbox" name="Object-<%$id%>-CF-<%$CustomFieldObj->Id%>" value="1" <% $Checked ? 'CHECKED' : '' %>
>
</TD>
% }
Modified: rt/branches/3.4-RELEASE/html/Admin/Elements/PickObjects
==============================================================================
--- rt/branches/3.4-RELEASE/html/Admin/Elements/PickObjects (original)
+++ rt/branches/3.4-RELEASE/html/Admin/Elements/PickObjects Sun Apr 17 21:43:44 2005
@@ -52,10 +52,7 @@
<TR>
% if (!$ReadOnly) {
<TD valign="TOP">
-<input type="checkbox"
-name="Object-<%$Object->id%>-CF-<%$id%>"
-value="1"
-<% $Checked && 'CHECKED' %>
+<input type="checkbox" name="Object-<%$Object->id%>-CF-<%$id%>" value="1" <% $Checked ? 'CHECKED' : ''%>
>
</TD>
% }
Modified: rt/branches/3.4-RELEASE/html/Admin/Elements/QueueRightsForUser
==============================================================================
--- rt/branches/3.4-RELEASE/html/Admin/Elements/QueueRightsForUser (original)
+++ rt/branches/3.4-RELEASE/html/Admin/Elements/QueueRightsForUser Sun Apr 17 21:43:44 2005
@@ -46,7 +46,7 @@
<UL>
%while(my $ACE = $ACL->Next) {
-<LI><checkbox name="delete_ace_<%$ACE->id%>"> <% loc($ACE->RightName) %> (<%$ACE->UserObj->RealName%>)
+<LI><checkbox name="delete_ace_<%$ACE->id%>" value="1"> <% loc($ACE->RightName) %> (<%$ACE->UserObj->RealName%>)
%}
</UL>
Modified: rt/branches/3.4-RELEASE/html/Admin/Groups/Members.html
==============================================================================
--- rt/branches/3.4-RELEASE/html/Admin/Groups/Members.html (original)
+++ rt/branches/3.4-RELEASE/html/Admin/Groups/Members.html Sun Apr 17 21:43:44 2005
@@ -78,7 +78,7 @@
% $UserMembers->LimitToUsers();
<UL>
% while (my $member = $UserMembers->Next()) {
-<LI><INPUT TYPE=CHECKBOX Name="DeleteMember-<%$member->MemberId%>">
+<LI><INPUT TYPE=CHECKBOX Name="DeleteMember-<%$member->MemberId%>" value="1">
<%$member->MemberObj->Object->Name%> (<%$member->MemberObj->Object->RealName%>)
% }
</ul>
@@ -87,7 +87,7 @@
% my $GroupMembers = $Group->MembersObj;
% $GroupMembers->LimitToGroups();
% while (my $member = $GroupMembers->Next()) {
-<LI><INPUT TYPE=CHECKBOX Name="DeleteMember-<%$member->MemberId%>">
+<LI><INPUT TYPE=CHECKBOX Name="DeleteMember-<%$member->MemberId%>" value="1">
<%$member->MemberObj->Object->Name%>
% }
% }
Modified: rt/branches/3.4-RELEASE/html/Admin/Groups/index.html
==============================================================================
--- rt/branches/3.4-RELEASE/html/Admin/Groups/index.html (original)
+++ rt/branches/3.4-RELEASE/html/Admin/Groups/index.html Sun Apr 17 21:43:44 2005
@@ -62,7 +62,7 @@
%}
<br><br>
<FORM METHOD=POST ACTION="<% $RT::WebPath %>/Admin/Groups/index.html">
-<input type="checkbox" name="FindDisabledGroups"> <&|/l&>Include disabled groups in listing.</&>
+<input type="checkbox" name="FindDisabledGroups" value="1"> <&|/l&>Include disabled groups in listing.</&>
<BR>
<div align=right><input type=submit value="<&|/l&>Go!</&>"></div>
</FORM>
Modified: rt/branches/3.4-RELEASE/html/Admin/Queues/index.html
==============================================================================
--- rt/branches/3.4-RELEASE/html/Admin/Queues/index.html (original)
+++ rt/branches/3.4-RELEASE/html/Admin/Queues/index.html Sun Apr 17 21:43:44 2005
@@ -62,7 +62,7 @@
</UL>
<BR>
<FORM METHOD=POST ACTION="<% $RT::WebPath %>/Admin/Queues/index.html">
-<input type="checkbox" name="FindDisabledQueues"> <&|/l&>Include disabled queues in listing.</&>
+<input type="checkbox" name="FindDisabledQueues" value="1"> <&|/l&>Include disabled queues in listing.</&>
<div align=right><input type=submit value="<&|/l&>Go!</&>"></div>
</FORM>
Modified: rt/branches/3.4-RELEASE/html/Admin/Users/index.html
==============================================================================
--- rt/branches/3.4-RELEASE/html/Admin/Users/index.html (original)
+++ rt/branches/3.4-RELEASE/html/Admin/Users/index.html Sun Apr 17 21:43:44 2005
@@ -68,7 +68,7 @@
<FORM METHOD=POST ACTION="<% $RT::WebPath %>/Admin/Users/index.html">
<&|/l&>Find people whose</&> <& /Elements/SelectUsers &><BR>
-<input type="checkbox" name="FindDisabledUsers"> <&|/l&>Include disabled users in search.</&>
+<input type="checkbox" name="FindDisabledUsers" value="1"> <&|/l&>Include disabled users in search.</&>
<BR>
<div align=right><input type=submit value="<&|/l&>Go!</&>"></div>
</FORM>
Modified: rt/branches/3.4-RELEASE/html/Elements/Checkbox
==============================================================================
--- rt/branches/3.4-RELEASE/html/Elements/Checkbox (original)
+++ rt/branches/3.4-RELEASE/html/Elements/Checkbox Sun Apr 17 21:43:44 2005
@@ -43,7 +43,7 @@
%# those contributions and any derivatives thereof.
%#
%# END BPS TAGGED BLOCK }}}
-<INPUT TYPE="Checkbox" NAME ="<%$Name%>" <%$IsChecked%>>
+<INPUT TYPE="Checkbox" NAME="<%$Name%>" value="1" <%$IsChecked%>>
<%ARGS>
$Name => undef
Modified: rt/branches/3.4-RELEASE/html/Elements/EditLinks
==============================================================================
--- rt/branches/3.4-RELEASE/html/Elements/EditLinks (original)
+++ rt/branches/3.4-RELEASE/html/Elements/EditLinks Sun Apr 17 21:43:44 2005
@@ -57,7 +57,7 @@
<td class="labeltop"><&|/l&>Depends on</&>:</td>
<td class="value">
% while (my $link = $Object->DependsOn->Next) {
- <INPUT TYPE=CHECKBOX NAME="DeleteLink--<%$link->Type%>-<%$link->Target%>">
+ <INPUT TYPE=CHECKBOX NAME="DeleteLink--<%$link->Type%>-<%$link->Target%>" value="1">
<& ShowLink, URI => $link->TargetURI &><br>
% }
</td>
@@ -67,7 +67,7 @@
<td class="value">
% while (my $link = $Object->DependedOnBy->Next) {
% my $member = $link->BaseObj;
- <INPUT TYPE=CHECKBOX NAME="DeleteLink-<%$link->Base%>-<%$link->Type%>-">
+ <INPUT TYPE=CHECKBOX NAME="DeleteLink-<%$link->Base%>-<%$link->Type%>-" value="1">
<& ShowLink, URI => $link->BaseURI &><br>
% }
</td>
@@ -76,7 +76,7 @@
<td class="labeltop"><&|/l&>Parents</&>:</td>
<td class="value">
% while (my $link = $Object->MemberOf->Next) {
- <INPUT TYPE=CHECKBOX NAME="DeleteLink--<%$link->Type%>-<%$link->Target%>">
+ <INPUT TYPE=CHECKBOX NAME="DeleteLink--<%$link->Type%>-<%$link->Target%>" value="1">
<& ShowLink, URI => $link->TargetURI &><br>
% }
</td>
@@ -85,7 +85,7 @@
<td class="labeltop"><&|/l&>Children</&>:</td>
<td class="value">
% while (my $link = $Object->Members->Next) {
- <INPUT TYPE=CHECKBOX NAME="DeleteLink-<%$link->Base%>-<%$link->Type%>-">
+ <INPUT TYPE=CHECKBOX NAME="DeleteLink-<%$link->Base%>-<%$link->Type%>-" value="1">
<& ShowLink, URI => $link->BaseURI &><br>
% }
</td>
@@ -94,7 +94,7 @@
<td class="labeltop"><&|/l&>Refers to</&>:</td>
<td class="value">
% while (my $link = $Object->RefersTo->Next) {
- <INPUT TYPE=CHECKBOX NAME="DeleteLink--<%$link->Type%>-<%$link->Target%>">
+ <INPUT TYPE=CHECKBOX NAME="DeleteLink--<%$link->Type%>-<%$link->Target%>" value="1">
<& ShowLink, URI => $link->TargetURI &><br>
%}
</td>
@@ -103,7 +103,7 @@
<td class="labeltop"><&|/l&>Referred to by</&>:</td>
<td class="value">
% while (my $link = $Object->ReferredToBy->Next) {
- <INPUT TYPE=CHECKBOX NAME="DeleteLink-<%$link->Base%>-<%$link->Type%>-">
+ <INPUT TYPE=CHECKBOX NAME="DeleteLink-<%$link->Base%>-<%$link->Type%>-" value="1">
<& ShowLink, URI => $link->BaseURI &><br>
% }
</td>
Modified: rt/branches/3.4-RELEASE/html/Search/Bulk.html
==============================================================================
--- rt/branches/3.4-RELEASE/html/Search/Bulk.html (original)
+++ rt/branches/3.4-RELEASE/html/Search/Bulk.html Sun Apr 17 21:43:44 2005
@@ -75,7 +75,7 @@
}
</%PERL>
<TR bgcolor="<%$bgcolor%>">
-<TD><input type=checkbox name="UpdateTicket<%$Ticket->Id%>" CHECKED></TD>
+<TD><input type=checkbox name="UpdateTicket<%$Ticket->Id%>" value="1" CHECKED></TD>
%foreach my $col (@cols) {
<TD>
% if ($col eq 'id') {
Modified: rt/branches/3.4-RELEASE/html/SelfService/Update.html
==============================================================================
--- rt/branches/3.4-RELEASE/html/SelfService/Update.html (original)
+++ rt/branches/3.4-RELEASE/html/SelfService/Update.html Sun Apr 17 21:43:44 2005
@@ -77,7 +77,7 @@
<TD COLSPAN=5 class="value">
<&|/l&>Check box to delete</&><BR>
% foreach my $attach_name (keys %{$session{'Attachments'}}) {
- <input type="checkbox" name="DeleteAttach-<%$attach_name%>"><%$attach_name%><BR>
+ <input type="checkbox" name="DeleteAttach-<%$attach_name%>" value="1"><%$attach_name%><BR>
% } # end of foreach
</TD>
</TR>
Modified: rt/branches/3.4-RELEASE/html/Ticket/Create.html
==============================================================================
--- rt/branches/3.4-RELEASE/html/Ticket/Create.html (original)
+++ rt/branches/3.4-RELEASE/html/Ticket/Create.html Sun Apr 17 21:43:44 2005
@@ -130,7 +130,7 @@
<TD COLSPAN=5>
<&|/l&>Check box to delete</&><BR>
% foreach my $attach_name (keys %{$session{'Attachments'}}) {
-<input type="checkbox" name="DeleteAttach-<%$attach_name%>"><%$attach_name%><BR>
+<input type="checkbox" name="DeleteAttach-<%$attach_name%>" value="1"><%$attach_name%><BR>
% } # end of foreach
</TD>
</TR>
Modified: rt/branches/3.4-RELEASE/html/Ticket/Elements/EditWatchers
==============================================================================
--- rt/branches/3.4-RELEASE/html/Ticket/Elements/EditWatchers (original)
+++ rt/branches/3.4-RELEASE/html/Ticket/Elements/EditWatchers Sun Apr 17 21:43:44 2005
@@ -52,7 +52,7 @@
%while (my $watcher=$Members->Next) {
<li>
-<INPUT TYPE=CHECKBOX NAME="Ticket-DeleteWatcher-Type-<%$Watchers->Type%>-Principal-<%$watcher->MemberId%>" UNCHECKED>
+<INPUT TYPE=CHECKBOX NAME="Ticket-DeleteWatcher-Type-<%$Watchers->Type%>-Principal-<%$watcher->MemberId%>" value="1" UNCHECKED>
%if ($watcher->MemberObj->IsUser) {
<a href="<%$RT::WebPath%>/Admin/Users/Modify.html?id=<%$watcher->MemberObj->Object->id%>">
<%$watcher->MemberObj->Object->Name%></a>
Modified: rt/branches/3.4-RELEASE/html/Ticket/Update.html
==============================================================================
--- rt/branches/3.4-RELEASE/html/Ticket/Update.html (original)
+++ rt/branches/3.4-RELEASE/html/Ticket/Update.html Sun Apr 17 21:43:44 2005
@@ -94,7 +94,7 @@
<TD COLSPAN=5>
<&|/l&>Check box to delete</&><BR>
% foreach my $attach_name (keys %{$session{'Attachments'}}) {
-<input type="checkbox" name="DeleteAttach-<%$attach_name%>"><%$attach_name%><BR>
+<input type="checkbox" name="DeleteAttach-<%$attach_name%>" value="1"><%$attach_name%><BR>
% } # end of foreach
</TD>
</TR>
Modified: rt/branches/3.4-RELEASE/html/User/Elements/DelegateRights
==============================================================================
--- rt/branches/3.4-RELEASE/html/User/Elements/DelegateRights (original)
+++ rt/branches/3.4-RELEASE/html/User/Elements/DelegateRights Sun Apr 17 21:43:44 2005
@@ -81,7 +81,7 @@
</td>
% while (my $pg = $personalgroups->Next) {
<td align=center>
- <input name="Delegate-ACE-<% $right->Id %>-to-<% $pg->PrincipalId%>" type=checkbox <%$ del_hash->{$pg->PrincipalId} && 'CHECKED' %>>
+ <input name="Delegate-ACE-<% $right->Id %>-to-<% $pg->PrincipalId%>" type=checkbox value="1" <%$ del_hash->{$pg->PrincipalId} && 'CHECKED' %>>
% if ( $del_hash->{$pg->PrincipalId}) {
<input type=hidden name="Delegate-Existing-ACE-<% $right->Id %>-to-<% $pg->PrincipalId%>-as-<%$del_hash->{$pg->PrincipalId}->Id%>">
% }
Modified: rt/branches/3.4-RELEASE/html/User/Groups/Members.html
==============================================================================
--- rt/branches/3.4-RELEASE/html/User/Groups/Members.html (original)
+++ rt/branches/3.4-RELEASE/html/User/Groups/Members.html Sun Apr 17 21:43:44 2005
@@ -81,7 +81,7 @@
% $UserMembers->LimitToUsers();
<UL>
% while (my $member = $UserMembers->Next()) {
-<LI><INPUT TYPE=CHECKBOX Name="DeleteMember-<%$member->MemberId%>">
+<LI><INPUT TYPE=CHECKBOX Name="DeleteMember-<%$member->MemberId%>" value="1">
<%$member->MemberObj->Object->Name%> (<%$member->MemberObj->Object->RealName%>)
% }
</ul>
@@ -90,7 +90,7 @@
% my $GroupMembers = $Group->MembersObj;
% $GroupMembers->LimitToGroups();
% while (my $member = $GroupMembers->Next()) {
-<LI><INPUT TYPE=CHECKBOX Name="DeleteMember-<%$member->MemberId%>">
+<LI><INPUT TYPE=CHECKBOX Name="DeleteMember-<%$member->MemberId%>" value="1">
<%$member->MemberObj->Object->Name%>
% }
% }
More information about the Rt-commit
mailing list