[Rt-commit] r14556 - in rt/branches/3.999-DANGEROUS: lib/RT share/html/Elements

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


Author: sunnavy
Date: Mon Jul 28 00:31:05 2008
New Revision: 14556

Modified:
   rt/branches/3.999-DANGEROUS/   (props changed)
   rt/branches/3.999-DANGEROUS/lib/RT/Config.pm
   rt/branches/3.999-DANGEROUS/lib/RT/Date.pm
   rt/branches/3.999-DANGEROUS/share/html/Elements/SelectNewTicketQueue

Log:
 r15035 at sunnavys-mb:  sunnavy | 2008-07-28 11:32:52 +0800
 consistent names


Modified: rt/branches/3.999-DANGEROUS/lib/RT/Config.pm
==============================================================================
--- rt/branches/3.999-DANGEROUS/lib/RT/Config.pm	(original)
+++ rt/branches/3.999-DANGEROUS/lib/RT/Config.pm	Mon Jul 28 00:31:05 2008
@@ -174,7 +174,7 @@
             hints       => "Use fixed-width font to display plaintext messages"
         },
     },
-    date_time_format => {
+    DateTimeFormat => {
         section         => 'Locale',                 #loc
         overridable     => 1,
         widget          => '/Widgets/Form/Select',
@@ -202,7 +202,7 @@
             },
         },
     },
-    default_queue => {
+    DefaultQueue => {
         section         => 'General',
         overridable     => 1,
         widget          => '/Widgets/Form/Select',

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:05 2008
@@ -189,7 +189,7 @@
         my $date = Time::ParseDate::parsedate(
             $args{'value'},
             GMT           => 1,
-            UK            => RT->config->get('date_day_before_month'),
+            UK            => RT->config->get('DateDayBeforeMonth'),
             PREFER_PAST   => RT->config->get('AmbiguousDayInPast'),
             PREFER_FUTURE => RT->config->get('AmbiguousDayInFuture'),
         );
@@ -349,7 +349,7 @@
 
 If the current user didn't choose prefered format then system wide setting is
 used or L</default_format> if the latter is not specified. See config option
-C<date_time_format>.
+C<DateTimeFormat>.
 
 =cut
 
@@ -359,7 +359,7 @@
 
     return _("Not set") unless $self->unix > 0;
 
-    my $format = RT->config->get( 'date_time_format', $self->current_user )
+    my $format = RT->config->get( 'DateTimeFormat', $self->current_user )
         || 'default_format';
     $format = { format => $format } unless ref $format;
     %args = ( %$format, %args );

Modified: rt/branches/3.999-DANGEROUS/share/html/Elements/SelectNewTicketQueue
==============================================================================
--- rt/branches/3.999-DANGEROUS/share/html/Elements/SelectNewTicketQueue	(original)
+++ rt/branches/3.999-DANGEROUS/share/html/Elements/SelectNewTicketQueue	Mon Jul 28 00:31:05 2008
@@ -46,5 +46,5 @@
 %# 
 %# END BPS TAGGED BLOCK }}}
 <label accesskey="9">
-  <& /Elements/SelectQueue, name => 'queue', default => RT->config->get("default_queue", Jifty->web->current_user), %ARGS, show_null_option => 0, show_all_queues => 0 &>
+  <& /Elements/SelectQueue, name => 'queue', default => RT->config->get("DefaultQueue", Jifty->web->current_user), %ARGS, show_null_option => 0, show_all_queues => 0 &>
 </label>


More information about the Rt-commit mailing list