[Rt-commit] r8988 - rt/branches/3.7-EXPERIMENTAL/html/Elements

ruz at bestpractical.com ruz at bestpractical.com
Mon Sep 10 17:28:40 EDT 2007


Author: ruz
Date: Mon Sep 10 17:28:40 2007
New Revision: 8988

Modified:
   rt/branches/3.7-EXPERIMENTAL/html/Elements/SelectKey

Log:
* add $Name argument to /Elements/SelectKey

Modified: rt/branches/3.7-EXPERIMENTAL/html/Elements/SelectKey
==============================================================================
--- rt/branches/3.7-EXPERIMENTAL/html/Elements/SelectKey	(original)
+++ rt/branches/3.7-EXPERIMENTAL/html/Elements/SelectKey	Mon Sep 10 17:28:40 2007
@@ -48,7 +48,7 @@
 % if (!@keys) {
 <% loc("No known keys.") %>
 % } else {
-<select name="PreferredKey">
+<select name="<% $Name %>">
 %     foreach my $key (@keys) {
 <option value="<% $key->{'Fingerprint'} %>"><% $key->{'Fingerprint'} %> <% loc("(trust: [_1])", $key->{'TrustTerse'}) %></option>
 %     }
@@ -74,7 +74,8 @@
 
 </%INIT>
 <%ARGS>
+$Name         => 'PreferredKey'
 $EmailAddress => undef
-$Default => undef
+$Default      => undef
 </%ARGS>
 


More information about the Rt-commit mailing list