[Rt-commit] r14557 - in rt/branches/3.999-DANGEROUS: . lib/RT lib/RT/Interface lib/RT/Model lib/RT/ScripAction lib/RT/URI sbin share/html/Admin/CustomFields share/html/Admin/Elements share/html/Admin/Queues share/html/Elements share/html/Elements/GnuPG share/html/Ticket/Elements

sunnavy at bestpractical.com sunnavy at bestpractical.com
Mon Jul 28 00:31:50 EDT 2008


Author: sunnavy
Date: Mon Jul 28 00:31:49 2008
New Revision: 14557

Modified:
   rt/branches/3.999-DANGEROUS/   (props changed)
   rt/branches/3.999-DANGEROUS/etc/RT_Config.pm
   rt/branches/3.999-DANGEROUS/lib/RT/Date.pm
   rt/branches/3.999-DANGEROUS/lib/RT/Interface/Email.pm
   rt/branches/3.999-DANGEROUS/lib/RT/Model/Attachment.pm
   rt/branches/3.999-DANGEROUS/lib/RT/Model/Ticket.pm
   rt/branches/3.999-DANGEROUS/lib/RT/Model/User.pm
   rt/branches/3.999-DANGEROUS/lib/RT/Record.pm
   rt/branches/3.999-DANGEROUS/lib/RT/ScripAction/Autoreply.pm
   rt/branches/3.999-DANGEROUS/lib/RT/ScripAction/Notify.pm
   rt/branches/3.999-DANGEROUS/lib/RT/ScripAction/SendEmail.pm
   rt/branches/3.999-DANGEROUS/lib/RT/URI/fsck_com_rt.pm
   rt/branches/3.999-DANGEROUS/sbin/rt-email-digest.in
   rt/branches/3.999-DANGEROUS/share/html/Admin/CustomFields/Modify.html
   rt/branches/3.999-DANGEROUS/share/html/Admin/Elements/EditCustomFieldValuesSource
   rt/branches/3.999-DANGEROUS/share/html/Admin/Elements/SelectStage
   rt/branches/3.999-DANGEROUS/share/html/Admin/Queues/Modify.html
   rt/branches/3.999-DANGEROUS/share/html/Elements/GnuPG/SignEncryptWidget
   rt/branches/3.999-DANGEROUS/share/html/Elements/MakeClicky
   rt/branches/3.999-DANGEROUS/share/html/Elements/MyReminders
   rt/branches/3.999-DANGEROUS/share/html/Ticket/Elements/Reminders
   rt/branches/3.999-DANGEROUS/share/html/Ticket/Elements/Tabs

Log:
 r15036 at sunnavys-mb:  sunnavy | 2008-07-28 11:45:02 +0800
 consistent config names


Modified: rt/branches/3.999-DANGEROUS/etc/RT_Config.pm
==============================================================================
--- rt/branches/3.999-DANGEROUS/etc/RT_Config.pm	(original)
+++ rt/branches/3.999-DANGEROUS/etc/RT_Config.pm	Mon Jul 28 00:31:49 2008
@@ -62,7 +62,7 @@
 
 
 
-=item C<$organization>
+=item C<$Organization>
 
 You should set this to your organization's DNS domain. For example,
 I<fsck.com> or I<asylum.arkham.ma.us>. It's used by the linking interface to
@@ -70,7 +70,7 @@
 
 =cut
 
-set($organization , "example.com");
+set($Organization , "example.com");
 
 =item C<$MinimumPasswordLength>
 
@@ -434,41 +434,41 @@
 
 set(@MailParams, ());
 
-=item C<$correspond_address>, C<$comment_address>
+=item C<$CorrespondAddress>, C<$CommentAddress>
 
 RT is designed such that any mail which already has a ticket-id associated
 with it will get to the right place automatically.
 
-C<$correspond_address> and C<$comment_address> are the default addresses
+C<$CorrespondAddress> and C<$CommentAddress> are the default addresses
 that will be listed in From: and Reply-To: headers of correspondence
 and comment mail tracked by RT, unless overridden by a queue-specific
 address.
 
 =cut
 
-set($correspond_address , '');
+set($CorrespondAddress , '');
 
-set($comment_address , '');
+set($CommentAddress , '');
 
 =item C<use_friendly_from_line>
 
 By default, RT sets the outgoing mail's "From:" header to
-"SenderName via RT".  Setting C<$use_friendly_from_line> to 0 disables it.
+"SenderName via RT".  Setting C<$UseFriendlyFromLine> to 0 disables it.
 
 =cut
 
-set($use_friendly_from_line, 1);
+set($UseFriendlyFromLine, 1);
 
-=item C<$friendly_from_line_format>
+=item C<$FriendlyFromLineFormat>
 
 C<sprintf()> format of the friendly 'From:' header; its arguments
 are SenderName and SenderEmailAddress.
 
 =cut
 
-set($friendly_from_line_format, "\"%s via RT\" <%s>");
+set($FriendlyFromLineFormat, "\"%s via RT\" <%s>");
 
-=item C<$use_friendly_to_line>
+=item C<$UseFriendlyToLine>
 
 RT can optionally set a "Friendly" 'To:' header when sending messages to
 Ccs or AdminCcs (rather than having a blank 'To:' header.
@@ -479,16 +479,16 @@
 
 =cut
 
-set($use_friendly_to_line, 0);
+set($UseFriendlyToLine, 0);
 
-=item C<$friendly_to_line_format>
+=item C<$FriendlyToLineFormat>
 
 C<sprintf()> format of the friendly 'From:' header; its arguments
 are WatcherType and TicketId.
 
 =cut
 
-set($friendly_to_line_format, "\"%s of ". RT->config->get('rtname') ." Ticket #%s\":;");
+set($FriendlyToLineFormat, "\"%s of ". RT->config->get('rtname') ." Ticket #%s\":;");
 
 =item C<$NotifyActor>
 

Modified: rt/branches/3.999-DANGEROUS/lib/RT/Date.pm
==============================================================================
--- rt/branches/3.999-DANGEROUS/lib/RT/Date.pm	(original)
+++ rt/branches/3.999-DANGEROUS/lib/RT/Date.pm	Mon Jul 28 00:31:49 2008
@@ -876,11 +876,11 @@
     if ( $context eq 'user' ) {
         $tz = $self->current_user->user_object->timezone;
     } elsif ( $context eq 'server' ) {
-        $tz = RT->config->get('timezone');
+        $tz = RT->config->get('Timezone');
     } else {
         $tz = 'UTC';
     }
-    $tz ||= RT->config->get('timezone') || 'UTC';
+    $tz ||= RT->config->get('Timezone') || 'UTC';
     $tz = 'UTC' if lc $tz eq 'gmt';
     return $tz;
 }

Modified: rt/branches/3.999-DANGEROUS/lib/RT/Interface/Email.pm
==============================================================================
--- rt/branches/3.999-DANGEROUS/lib/RT/Interface/Email.pm	(original)
+++ rt/branches/3.999-DANGEROUS/lib/RT/Interface/Email.pm	Mon Jul 28 00:31:49 2008
@@ -221,7 +221,7 @@
     my %args = (
         To          => RT->config->get('OwnerEmail'),
         Bcc         => undef,
-        From        => RT->config->get('correspond_address'),
+        From        => RT->config->get('CorrespondAddress'),
         subject     => 'There has been an error',
         explanation => 'Unexplained error',
         mime_obj    => undef,
@@ -504,7 +504,7 @@
         to          => undef,
         cc          => undef,
         bcc         => undef,
-        from        => RT->config->get('correspond_address'),
+        from        => RT->config->get('CorrespondAddress'),
         in_reply_to => undef,
         @_
     );
@@ -625,7 +625,7 @@
         # XXX: what if want to forward txn of other object than ticket?
         $subject = add_subject_tag( $subject, $txn->object_id );
         $from = $txn->object->queue_obj->correspond_address
-            || RT->config->get('correspond_address');
+            || RT->config->get('CorrespondAddress');
     }
     $mail->head->set( subject => "Fwd: $subject" );
     $mail->head->set( From    => $from );
@@ -930,7 +930,7 @@
         scrip_action => undef,
         @_
     );
-    my $org = RT->config->get('organization');
+    my $org = RT->config->get('Organization');
     my $ticket_id = ( ref $args{'ticket'} ? $args{'ticket'}->id : $args{'ticket'} )
         || 0;
     my $scrip_id = ( ref $args{'Scrip'} ? $args{'Scrip'}->id : $args{'Scrip'} )
@@ -968,7 +968,7 @@
     }
     push @references, @id, @rtid;
     if ( $args{'ticket'} ) {
-        my $pseudo_ref = '<RT-Ticket-' . $args{'ticket'}->id . '@' . RT->config->get('organization') . '>';
+        my $pseudo_ref = '<RT-Ticket-' . $args{'ticket'}->id . '@' . RT->config->get('Organization') . '>';
         push @references, $pseudo_ref
             unless grep $_ eq $pseudo_ref, @references;
     }
@@ -1159,7 +1159,7 @@
     my $errors_to = parse_errors_to_address_from_head($head);
 
     my $message_id = $head->get('Message-ID')
-        || "<no-message-id-" . time . rand(2000) . '@' . RT->config->get('organization') . '>';
+        || "<no-message-id-" . time . rand(2000) . '@' . RT->config->get('Organization') . '>';
 
     #Pull apart the subject line
     my $subject = $head->get('subject') || '';

Modified: rt/branches/3.999-DANGEROUS/lib/RT/Model/Attachment.pm
==============================================================================
--- rt/branches/3.999-DANGEROUS/lib/RT/Model/Attachment.pm	(original)
+++ rt/branches/3.999-DANGEROUS/lib/RT/Model/Attachment.pm	Mon Jul 28 00:31:49 2008
@@ -630,7 +630,7 @@
 
     my $queue = $txn->ticket_obj->queue_obj;
     my $encrypt_for;
-    foreach my $address ( grep $_, $queue->correspond_address, $queue->comment_address, RT->config->get('correspond_address'), RT->config->get('comment_address'), ) {
+    foreach my $address ( grep $_, $queue->correspond_address, $queue->comment_address, RT->config->get('CorrespondAddress'), RT->config->get('CommentAddress'), ) {
         my %res = RT::Crypt::GnuPG::get_keys_info( $address, 'private' );
         next if $res{'exit_code'} || !$res{'info'};
         %res = RT::Crypt::GnuPG::get_keys_for_encryption($address);

Modified: rt/branches/3.999-DANGEROUS/lib/RT/Model/Ticket.pm
==============================================================================
--- rt/branches/3.999-DANGEROUS/lib/RT/Model/Ticket.pm	(original)
+++ rt/branches/3.999-DANGEROUS/lib/RT/Model/Ticket.pm	Mon Jul 28 00:31:49 2008
@@ -209,7 +209,7 @@
     # thing. be careful to cache all the interim tickets we try so we don't loop forever.
 
     # FIXME: there is no ticket_base_uri option in config
-    my $base_uri = RT->config->get('ticket_base_uri') || '';
+    my $base_uri = RT->config->get('TicketBaseUri') || '';
 
     #If it's a local URI, turn it into a ticket id
     if ( $base_uri && $id =~ /^$base_uri(\d+)$/ ) {
@@ -1754,7 +1754,7 @@
     # If this is from an external source, we need to come up with its
     # internal Message-ID now, so all emails sent because of this
     # message have a common Message-ID
-    my $org   = RT->config->get('organization');
+    my $org   = RT->config->get('Organization');
     my $msgid = $args{'mime_obj'}->head->get('Message-ID');
     unless ( defined $msgid
         && $msgid =~ /<(rt-.*?-\d+-\d+)\.(\d+-0-0)\@\Q$org\E>/ )

Modified: rt/branches/3.999-DANGEROUS/lib/RT/Model/User.pm
==============================================================================
--- rt/branches/3.999-DANGEROUS/lib/RT/Model/User.pm	(original)
+++ rt/branches/3.999-DANGEROUS/lib/RT/Model/User.pm	Mon Jul 28 00:31:49 2008
@@ -632,8 +632,8 @@
     # Example: the following rule would treat all email
     # coming from a subdomain as coming from second level domain
     # foo.com
-    if (    my $match = RT->config->get('canonicalize_emailMatch')
-        and my $replace = RT->config->get('canonicalize_emailReplace') )
+    if (    my $match = RT->config->get('CanonicalizeEmailMatch')
+        and my $replace = RT->config->get('CanonicalizeEmailReplace') )
     {
         $email =~ s/$match/$replace/gi;
     }

Modified: rt/branches/3.999-DANGEROUS/lib/RT/Record.pm
==============================================================================
--- rt/branches/3.999-DANGEROUS/lib/RT/Record.pm	(original)
+++ rt/branches/3.999-DANGEROUS/lib/RT/Record.pm	Mon Jul 28 00:31:49 2008
@@ -1319,7 +1319,7 @@
     if ( defined $args{'time_taken'} and $self->can('_update_time_taken') ) {
         $self->_update_time_taken( $args{'time_taken'} );
     }
-    if ( RT->config->get('use_transaction_batch') and $transaction ) {
+    if ( RT->config->get('UseTransactionBatch') and $transaction ) {
         push @{ $self->{_transaction_batch} }, $trans
             if $args{'commit_scrips'};
     }

Modified: rt/branches/3.999-DANGEROUS/lib/RT/ScripAction/Autoreply.pm
==============================================================================
--- rt/branches/3.999-DANGEROUS/lib/RT/ScripAction/Autoreply.pm	(original)
+++ rt/branches/3.999-DANGEROUS/lib/RT/ScripAction/Autoreply.pm	Mon Jul 28 00:31:49 2008
@@ -99,18 +99,18 @@
     my $replyto;
     if ( $args{'is_comment'} ) {
         $replyto = $self->ticket_obj->queue_obj->comment_address
-            || RT->config->get('comment_address');
+            || RT->config->get('CommentAddress');
     } else {
         $replyto = $self->ticket_obj->queue_obj->correspond_address
-            || RT->config->get('correspond_address');
+            || RT->config->get('CorrespondAddress');
     }
 
     unless ( $self->template_obj->mime_obj->head->get('From') ) {
-        if ( RT->config->get('use_friendly_from_line') ) {
+        if ( RT->config->get('UseFriendlyFromLine') ) {
             my $friendly_name = $self->ticket_obj->queue_obj->description
                 || $self->ticket_obj->queue_obj->name;
             $friendly_name =~ s/"/\\"/g;
-            $self->set_header( 'From', sprintf( RT->config->get('friendly_from_line_format'), $self->mime_encode_string( $friendly_name, RT->config->get('EmailOutputEncoding') ), $replyto ), );
+            $self->set_header( 'From', sprintf( RT->config->get('FriendlyFromLineFormat'), $self->mime_encode_string( $friendly_name, RT->config->get('EmailOutputEncoding') ), $replyto ), );
         } else {
             $self->set_header( 'From', $replyto );
         }

Modified: rt/branches/3.999-DANGEROUS/lib/RT/ScripAction/Notify.pm
==============================================================================
--- rt/branches/3.999-DANGEROUS/lib/RT/ScripAction/Notify.pm	(original)
+++ rt/branches/3.999-DANGEROUS/lib/RT/ScripAction/Notify.pm	Mon Jul 28 00:31:49 2008
@@ -123,9 +123,9 @@
         push( @Bcc, $ticket->queue_obj->role_group("admin_cc")->member_emails );
     }
 
-    if ( RT->config->get('use_friendly_to_line') ) {
+    if ( RT->config->get('UseFriendlyToLine') ) {
         unless (@To) {
-            push @PseudoTo, sprintf RT->config->get('friendly_to_line_format'), $arg, $ticket->id;
+            push @PseudoTo, sprintf RT->config->get('FriendlyToLineFormat'), $arg, $ticket->id;
         }
     }
 

Modified: rt/branches/3.999-DANGEROUS/lib/RT/ScripAction/SendEmail.pm
==============================================================================
--- rt/branches/3.999-DANGEROUS/lib/RT/ScripAction/SendEmail.pm	(original)
+++ rt/branches/3.999-DANGEROUS/lib/RT/ScripAction/SendEmail.pm	Mon Jul 28 00:31:49 2008
@@ -559,11 +559,11 @@
 
         # If there is one, and we can parse it, then base our Message-ID on it
         if (    $msgid
-            and $msgid =~ s/<(rt-.*?-\d+-\d+)\.(\d+)-\d+-\d+\@\QRT->config->get('organization')\E>$/
+            and $msgid =~ s/<(rt-.*?-\d+-\d+)\.(\d+)-\d+-\d+\@\QRT->config->get('Organization')\E>$/
                          "<$1." . $self->ticket_obj->id
                           . "-" . $self->scrip_obj->id
                           . "-" . $self->scrip_action_obj->{_Message_ID}
-                          . "@" . RT->config->get('organization') . ">"/eg
+                          . "@" . RT->config->get('Organization') . ">"/eg
             and $2 == $self->ticket_obj->id
             )
         {
@@ -715,21 +715,21 @@
 
     if ( $args{'is_comment'} ) {
         $replyto = $self->ticket_obj->queue_obj->comment_address
-            || RT->config->get('comment_address');
+            || RT->config->get('CommentAddress');
     } else {
         $replyto = $self->ticket_obj->queue_obj->correspond_address
-            || RT->config->get('correspond_address');
+            || RT->config->get('CorrespondAddress');
     }
 
     unless ( $self->template_obj->mime_obj->head->get('From') ) {
-        if ( RT->config->get('use_friendly_from_line') ) {
+        if ( RT->config->get('UseFriendlyFromLine') ) {
             my $friendly_name = $self->transaction_obj->creator_obj->friendly_name;
             if ( $friendly_name =~ /^"(.*)"$/ ) {    # a quoted string
                 $friendly_name = $1;
             }
 
             $friendly_name =~ s/"/\\"/g;
-            $self->set_header( 'From', sprintf( RT->config->get('friendly_from_line_format'), $self->mime_encode_string( $friendly_name, RT->config->get('EmailOutputEncoding') ), $replyto ), );
+            $self->set_header( 'From', sprintf( RT->config->get('FriendlyFromLineFormat'), $self->mime_encode_string( $friendly_name, RT->config->get('EmailOutputEncoding') ), $replyto ), );
         } else {
             $self->set_header( 'From', $replyto );
         }
@@ -827,7 +827,7 @@
     # the RT Web UI, and hence we want to *not* append its Message-ID
     # to the References and In-Reply-To.  OR it came from an outside
     # source, and we should treat it as per the RFC
-    my $org = RT->config->get('organization');
+    my $org = RT->config->get('Organization');
     if ( "@msgid" =~ /<(rt-.*?-\d+-\d+)\.(\d+)-0-0\@\Q$org\E>/ ) {
 
         # Make all references which are internal be to version which we
@@ -884,7 +884,7 @@
 sub pseudo_reference {
 
     my $self       = shift;
-    my $pseudo_ref = '<RT-Ticket-' . $self->ticket_obj->id . '@' . RT->config->get('organization') . '>';
+    my $pseudo_ref = '<RT-Ticket-' . $self->ticket_obj->id . '@' . RT->config->get('Organization') . '>';
     return $pseudo_ref;
 }
 

Modified: rt/branches/3.999-DANGEROUS/lib/RT/URI/fsck_com_rt.pm
==============================================================================
--- rt/branches/3.999-DANGEROUS/lib/RT/URI/fsck_com_rt.pm	(original)
+++ rt/branches/3.999-DANGEROUS/lib/RT/URI/fsck_com_rt.pm	Mon Jul 28 00:31:49 2008
@@ -65,7 +65,7 @@
 sub local_uri_prefix {
     my $self = shift;
 
-    my $prefix = $self->scheme . "://" . RT->config->get('organization');
+    my $prefix = $self->scheme . "://" . RT->config->get('Organization');
 
     return ($prefix);
 }

Modified: rt/branches/3.999-DANGEROUS/sbin/rt-email-digest.in
==============================================================================
--- rt/branches/3.999-DANGEROUS/sbin/rt-email-digest.in	(original)
+++ rt/branches/3.999-DANGEROUS/sbin/rt-email-digest.in	Mon Jul 28 00:31:49 2008
@@ -177,7 +177,7 @@
     }
 
     # Set our sender and recipient.
-    $digest_template->MIMEObj->head->replace( 'From', RT->config->get('correspond_address') );
+    $digest_template->MIMEObj->head->replace( 'From', RT->config->get('CorrespondAddress') );
     $digest_template->MIMEObj->head->replace( 'To',   $to );
 
     if ($print) {

Modified: rt/branches/3.999-DANGEROUS/share/html/Admin/CustomFields/Modify.html
==============================================================================
--- rt/branches/3.999-DANGEROUS/share/html/Admin/CustomFields/Modify.html	(original)
+++ rt/branches/3.999-DANGEROUS/share/html/Admin/CustomFields/Modify.html	Mon Jul 28 00:31:49 2008
@@ -70,7 +70,7 @@
         default => $CustomFieldObj->type_composite, &>
 </td></tr>
 
-% if ( $CustomFieldObj->id and $CustomFieldObj->is_selection_type and RT->config->get('custom_field_valuesSources') ) {
+% if ( $CustomFieldObj->id and $CustomFieldObj->is_selection_type and RT->config->get('CustomFieldValuesSources') ) {
 <tr><td class="label"><&|/l&>Field values source:</&></td><td>
 <& /Admin/Elements/EditCustomFieldValuesSource, custom_field => $CustomFieldObj &>
 </td></tr>

Modified: rt/branches/3.999-DANGEROUS/share/html/Admin/Elements/EditCustomFieldValuesSource
==============================================================================
--- rt/branches/3.999-DANGEROUS/share/html/Admin/Elements/EditCustomFieldValuesSource	(original)
+++ rt/branches/3.999-DANGEROUS/share/html/Admin/Elements/EditCustomFieldValuesSource	Mon Jul 28 00:31:49 2008
@@ -57,7 +57,7 @@
 return unless $custom_field->is_selection_type;
 
 my @sources;
-foreach my $class( 'RT::Model::CustomFieldValueCollection', RT->config->get('custom_field_valuesSources') ) {
+foreach my $class( 'RT::Model::CustomFieldValueCollection', RT->config->get('CustomFieldValuesSources') ) {
     next unless $class;
 
     local $@;

Modified: rt/branches/3.999-DANGEROUS/share/html/Admin/Elements/SelectStage
==============================================================================
--- rt/branches/3.999-DANGEROUS/share/html/Admin/Elements/SelectStage	(original)
+++ rt/branches/3.999-DANGEROUS/share/html/Admin/Elements/SelectStage	Mon Jul 28 00:31:49 2008
@@ -63,7 +63,7 @@
     $default = 'transaction_create';
 }
 my @stages = 'transaction_create';
-push @stages, RT->config->get('use_transaction_batch')
+push @stages, RT->config->get('UseTransactionBatch')
             ? 'transaction_batch'
             : ['transaction_batch', 'transaction_batch (DISABLED)'];
 

Modified: rt/branches/3.999-DANGEROUS/share/html/Admin/Queues/Modify.html
==============================================================================
--- rt/branches/3.999-DANGEROUS/share/html/Admin/Queues/Modify.html	(original)
+++ rt/branches/3.999-DANGEROUS/share/html/Admin/Queues/Modify.html	Mon Jul 28 00:31:49 2008
@@ -73,10 +73,10 @@
 
 <tr><td align="right"><&|/l&>Reply Address</&>:</td>
 <td><input name="correspond_address" value="<% ($create) ? "" : $queue_obj->correspond_address %>" />
-<br /><span><em><&|/l , RT->config->get('correspond_address')&>(If left blank, will default to %1)</&></em></span></td>
+<br /><span><em><&|/l , RT->config->get('CorrespondAddress')&>(If left blank, will default to %1)</&></em></span></td>
 <td align="right"><&|/l&>comment Address</&>:</td>
 <td><input name="comment_address" value="<% ($create) ? "" : $queue_obj->comment_address %>" />
-<br /><span><em><&|/l , RT->config->get('comment_address')&>(If left blank, will default to %1)</&></em></span></td>
+<br /><span><em><&|/l , RT->config->get('CommentAddress')&>(If left blank, will default to %1)</&></em></span></td>
 </tr>
 
 <tr><td align="right"><&|/l&>Priority starts at</&>:</td>
@@ -116,10 +116,10 @@
 </td></tr>
 
 % if ( RT->config->get('GnuPG')->{'enable'} ) {
-% if ( my $email = $queue_obj->correspond_address || RT->config->get('correspond_address') ) {
+% if ( my $email = $queue_obj->correspond_address || RT->config->get('CorrespondAddress') ) {
 <tr><td colspan="4"><& /Admin/Elements/ShowKeyInfo, type => 'private', email => $email &></td></tr>
 % }
-% if ( my $email = $queue_obj->comment_address || RT->config->get('comment_address') ) {
+% if ( my $email = $queue_obj->comment_address || RT->config->get('CommentAddress') ) {
 <tr><td colspan="4"><& /Admin/Elements/ShowKeyInfo, type => 'private', email => $email &></td></tr>
 % }
 % }

Modified: rt/branches/3.999-DANGEROUS/share/html/Elements/GnuPG/SignEncryptWidget
==============================================================================
--- rt/branches/3.999-DANGEROUS/share/html/Elements/GnuPG/SignEncryptWidget	(original)
+++ rt/branches/3.999-DANGEROUS/share/html/Elements/GnuPG/SignEncryptWidget	Mon Jul 28 00:31:49 2008
@@ -127,8 +127,8 @@
 
     my $address = $self->{'sign_using'};
     $address ||= ($self->{'update_type'} && $self->{'update_type'} eq "private")
-        ? ( $queue_obj->comment_address || RT->config->get('comment_address') )
-        : ( $queue_obj->correspond_address || RT->config->get('correspond_address') );
+        ? ( $queue_obj->comment_address || RT->config->get('CommentAddress') )
+        : ( $queue_obj->correspond_address || RT->config->get('CorrespondAddress') );
 
     unless ( RT::Crypt::GnuPG::dry_sign( $address ) ) {
         push @{ $self->{'GnuPGCanNotSignAs'} ||= [] }, $address;

Modified: rt/branches/3.999-DANGEROUS/share/html/Elements/MakeClicky
==============================================================================
--- rt/branches/3.999-DANGEROUS/share/html/Elements/MakeClicky	(original)
+++ rt/branches/3.999-DANGEROUS/share/html/Elements/MakeClicky	Mon Jul 28 00:31:49 2008
@@ -107,7 +107,7 @@
 
 # Filter
 my %active;
-$active{$_}++ for RT->config->get('Active_MakeClicky');
+$active{$_}++ for RT->config->get('ActiveMakeClicky');
 @types = grep $active{$_->{name}}, @types;
 
 # Build up the whole match

Modified: rt/branches/3.999-DANGEROUS/share/html/Elements/MyReminders
==============================================================================
--- rt/branches/3.999-DANGEROUS/share/html/Elements/MyReminders	(original)
+++ rt/branches/3.999-DANGEROUS/share/html/Elements/MyReminders	Mon Jul 28 00:31:49 2008
@@ -66,7 +66,7 @@
 </&>
 
 <%init>
-return unless RT->config->get('enableReminders');
+return unless RT->config->get('EnableReminders');
 my $reminders = RT::Model::TicketCollection->new();
 $reminders->from_sql('(Owner = "Nobody" OR Owner = "'.Jifty->web->current_user->name.'")' .
     ' AND type = "reminder" AND (Status = "new" OR Status = "open")'); 

Modified: rt/branches/3.999-DANGEROUS/share/html/Ticket/Elements/Reminders
==============================================================================
--- rt/branches/3.999-DANGEROUS/share/html/Ticket/Elements/Reminders	(original)
+++ rt/branches/3.999-DANGEROUS/share/html/Ticket/Elements/Reminders	Mon Jul 28 00:31:49 2008
@@ -86,7 +86,7 @@
     my $due_obj = RT::Date->new();
     my $date    = Time::ParseDate::parsedate(
         $request_args->{'NewReminder-Due'},
-        UK            => RT->config->get('date_day_before_month'),
+        UK            => RT->config->get('DateDayBeforeMonth'),
         PREFER_PAST   => 0,
         PREFER_FUTURE => 1
     );

Modified: rt/branches/3.999-DANGEROUS/share/html/Ticket/Elements/Tabs
==============================================================================
--- rt/branches/3.999-DANGEROUS/share/html/Ticket/Elements/Tabs	(original)
+++ rt/branches/3.999-DANGEROUS/share/html/Ticket/Elements/Tabs	Mon Jul 28 00:31:49 2008
@@ -146,7 +146,7 @@
 
     };
 
-    if ( RT->config->get('enableReminders') ) {
+    if ( RT->config->get('EnableReminders') ) {
         $ticket_page_tabs->{_F} = {
             title     => _('Reminders'),
             path      => "Ticket/Reminders.html?id=" . $id,


More information about the Rt-commit mailing list