[Rt-commit] r14061 - in rt/branches/3.999-DANGEROUS: . lib/RT lib/RT/Crypt lib/RT/Interface/Web/Standalone lib/RT/ScripAction sbin share/html/Dashboards share/html/Elements share/html/Elements/GnuPG share/html/Install share/html/NoAuth/css/web2 share/html/NoAuth/iCal share/html/Ticket/Elements share/html/Ticket/Graphs share/html/Ticket/Graphs/Elements

sunnavy at bestpractical.com sunnavy at bestpractical.com
Mon Jul 14 08:39:21 EDT 2008


Author: sunnavy
Date: Mon Jul 14 08:39:20 2008
New Revision: 14061

Modified:
   rt/branches/3.999-DANGEROUS/   (props changed)
   rt/branches/3.999-DANGEROUS/lib/RT/Crypt/GnuPG.pm
   rt/branches/3.999-DANGEROUS/lib/RT/Installer.pm
   rt/branches/3.999-DANGEROUS/lib/RT/Interface/Web/Standalone/PreFork.pm
   rt/branches/3.999-DANGEROUS/lib/RT/ScripAction/ExtractSubjectTag.pm
   rt/branches/3.999-DANGEROUS/sbin/rt-email-dashboards.in
   rt/branches/3.999-DANGEROUS/sbin/rt-server.in
   rt/branches/3.999-DANGEROUS/share/html/Dashboards/Elements/ShowDashboards
   rt/branches/3.999-DANGEROUS/share/html/Dashboards/Elements/ShowSubscription
   rt/branches/3.999-DANGEROUS/share/html/Dashboards/Modify.html
   rt/branches/3.999-DANGEROUS/share/html/Dashboards/Queries.html
   rt/branches/3.999-DANGEROUS/share/html/Dashboards/Subscription.html
   rt/branches/3.999-DANGEROUS/share/html/Elements/Dashboards
   rt/branches/3.999-DANGEROUS/share/html/Elements/GnuPG/KeyIssues
   rt/branches/3.999-DANGEROUS/share/html/Elements/ListMenu
   rt/branches/3.999-DANGEROUS/share/html/Install/Basics.html
   rt/branches/3.999-DANGEROUS/share/html/Install/DatabaseDetails.html
   rt/branches/3.999-DANGEROUS/share/html/Install/DatabaseType.html
   rt/branches/3.999-DANGEROUS/share/html/Install/Finish.html
   rt/branches/3.999-DANGEROUS/share/html/Install/Global.html
   rt/branches/3.999-DANGEROUS/share/html/Install/Initialize.html
   rt/branches/3.999-DANGEROUS/share/html/Install/Sendmail.html
   rt/branches/3.999-DANGEROUS/share/html/Install/autohandler
   rt/branches/3.999-DANGEROUS/share/html/Install/index.html
   rt/branches/3.999-DANGEROUS/share/html/NoAuth/css/web2/InHeader
   rt/branches/3.999-DANGEROUS/share/html/NoAuth/css/web2/boxes.css
   rt/branches/3.999-DANGEROUS/share/html/NoAuth/css/web2/layout.css
   rt/branches/3.999-DANGEROUS/share/html/NoAuth/iCal/dhandler
   rt/branches/3.999-DANGEROUS/share/html/Ticket/Elements/Bookmark
   rt/branches/3.999-DANGEROUS/share/html/Ticket/Graphs/Elements/ShowGraph
   rt/branches/3.999-DANGEROUS/share/html/Ticket/Graphs/index.html

Log:
 r14418 at sunnavys-mb:  sunnavy | 2008-07-14 20:38:55 +0800
 replace RT->Config->Get with RT->config->get


Modified: rt/branches/3.999-DANGEROUS/lib/RT/Crypt/GnuPG.pm
==============================================================================
--- rt/branches/3.999-DANGEROUS/lib/RT/Crypt/GnuPG.pm	(original)
+++ rt/branches/3.999-DANGEROUS/lib/RT/Crypt/GnuPG.pm	Mon Jul 14 08:39:20 2008
@@ -1223,7 +1223,7 @@
         @_
     );
     my $gnupg = new GnuPG::Interface;
-    my %opt = RT->Config->Get('GnuPGOptions');
+    my %opt = RT->config->get('GnuPGOptions');
     $opt{'digest-algo'} ||= 'SHA1';
     $gnupg->options->hash_init(
         _PrepareGnuPGOptions( %opt ),

Modified: rt/branches/3.999-DANGEROUS/lib/RT/Installer.pm
==============================================================================
--- rt/branches/3.999-DANGEROUS/lib/RT/Installer.pm	(original)
+++ rt/branches/3.999-DANGEROUS/lib/RT/Installer.pm	Mon Jul 14 08:39:20 2008
@@ -268,7 +268,7 @@
     return $RT::Installer
       && exists $RT::Installer->{InstallConfig}{$type}
       ? $RT::Installer->{InstallConfig}{$type}
-      : scalar RT->Config->Get($type);
+      : scalar RT->config->get($type);
 }
 
 sub CurrentValues {

Modified: rt/branches/3.999-DANGEROUS/lib/RT/Interface/Web/Standalone/PreFork.pm
==============================================================================
--- rt/branches/3.999-DANGEROUS/lib/RT/Interface/Web/Standalone/PreFork.pm	(original)
+++ rt/branches/3.999-DANGEROUS/lib/RT/Interface/Web/Standalone/PreFork.pm	Mon Jul 14 08:39:20 2008
@@ -69,15 +69,15 @@
 
 sub default_values {
     my %forking = (
-        map { $_ => RT->Config->Get( $option_map{$_} ) }
-          grep { defined( RT->Config->Get( $option_map{$_} ) ) }
+        map { $_ => RT->config->get( $option_map{$_} ) }
+          grep { defined( RT->config->get( $option_map{$_} ) ) }
           keys %option_map,
     );
 
     return {
         %forking,
         log_level => 1,
-        RT->Config->Get('NetServerOptions')
+        RT->config->get('NetServerOptions')
     };
 }
 

Modified: rt/branches/3.999-DANGEROUS/lib/RT/ScripAction/ExtractSubjectTag.pm
==============================================================================
--- rt/branches/3.999-DANGEROUS/lib/RT/ScripAction/ExtractSubjectTag.pm	(original)
+++ rt/branches/3.999-DANGEROUS/lib/RT/ScripAction/ExtractSubjectTag.pm	Mon Jul 14 08:39:20 2008
@@ -71,8 +71,8 @@
     my $origTicketSubject  = $TicketSubject;
     my $TransactionSubject = $FirstAttachment->Subject;
 
-    my $match   = RT->Config->Get('ExtractSubjectTagMatch');
-    my $nomatch = RT->Config->Get('ExtractSubjectTagNoMatch');
+    my $match   = RT->config->get('ExtractSubjectTagMatch');
+    my $nomatch = RT->config->get('ExtractSubjectTagNoMatch');
     while ( $TransactionSubject =~ /($match)/g ) {
         my $tag = $1;
         next if $tag =~ /$nomatch/;

Modified: rt/branches/3.999-DANGEROUS/sbin/rt-email-dashboards.in
==============================================================================
--- rt/branches/3.999-DANGEROUS/sbin/rt-email-dashboards.in	(original)
+++ rt/branches/3.999-DANGEROUS/sbin/rt-email-dashboards.in	Mon Jul 14 08:39:20 2008
@@ -144,7 +144,7 @@
         next;
     }
 
-    my ($hour, $dow, $dom) = hour_dow_dom_in($user->Timezone || RT->Config->Get('Timezone'));
+    my ($hour, $dow, $dom) = hour_dow_dom_in($user->Timezone || RT->config->get('Timezone'));
     $hour .= ':00';
     debug "Checking [_1]'s subscriptions: hour [_2], dow [_3], dom [_4]",
           $user->Name, $hour, $dow, $dom;
@@ -242,7 +242,7 @@
         Preview => 0,
     );
 
-    for (@{ RT->Config->Get('EmailDashboardRemove') || [] }) {
+    for (@{ RT->config->get('EmailDashboardRemove') || [] }) {
         $contents =~ s/$_//g;
     }
 
@@ -250,7 +250,7 @@
 
     $contents = HTML::RewriteAttributes::Links->rewrite(
         $contents,
-        RT->Config->Get('WebURL') . '/Dashboards/Render.html',
+        RT->config->get('WebURL') . '/Dashboards/Render.html',
     );
 
     email_dashboard($currentuser, $dashboard, $subscription, $contents);
@@ -264,8 +264,8 @@
             $currentuser->Name,
             email_of($currentuser);
 
-    my $subject = sprintf '[%s] ' .  RT->Config->Get('DashboardSubject'),
-        RT->Config->Get('rtname'),
+    my $subject = sprintf '[%s] ' .  RT->config->get('DashboardSubject'),
+        RT->config->get('rtname'),
         ucfirst($subscription->SubValue('Frequency')),
         $dashboard->Name;
 
@@ -347,7 +347,7 @@
 }
 
 sub get_from {
-    RT->Config->Get('DashboardAddress') || RT->Config->Get('OwnerEmail')
+    RT->config->get('DashboardAddress') || RT->config->get('OwnerEmail')
 }
 
 {
@@ -408,7 +408,7 @@
 
     # strip out the equivalent of WebURL, so we start at the correct /
     my $path = $uri->path;
-    my $webpath = RT->Config->Get('WebPath');
+    my $webpath = RT->config->get('WebPath');
     $path =~ s/^\Q$webpath//;
 
     # add a leading / if needed

Modified: rt/branches/3.999-DANGEROUS/sbin/rt-server.in
==============================================================================
--- rt/branches/3.999-DANGEROUS/sbin/rt-server.in	(original)
+++ rt/branches/3.999-DANGEROUS/sbin/rt-server.in	Mon Jul 14 08:39:20 2008
@@ -77,11 +77,11 @@
 use RT;
 RT::LoadConfig();
 RT->InitLogging();
-if (RT->Config->Get('DevelMode')) { require Module::Refresh; }
+if (RT->config->get('DevelMode')) { require Module::Refresh; }
 
 RT::CheckPerlRequirements();
 
-my $port = shift @ARGV || RT->Config->Get('WebPort') || '8080';
+my $port = shift @ARGV || RT->config->get('WebPort') || '8080';
 
 
 require RT::Handle;

Modified: rt/branches/3.999-DANGEROUS/share/html/Dashboards/Elements/ShowDashboards
==============================================================================
--- rt/branches/3.999-DANGEROUS/share/html/Dashboards/Elements/ShowDashboards	(original)
+++ rt/branches/3.999-DANGEROUS/share/html/Dashboards/Elements/ShowDashboards	Mon Jul 14 08:39:20 2008
@@ -83,7 +83,7 @@
 %   my $i = 0;
 %   for my $dashboard (@$Dashboards) {
 %       my $url = sprintf '%s/Dashboards/%d/%s',
-%                 RT->Config->Get('WebPath'),
+%                 RT->config->get('WebPath'),
 %                 $dashboard->Id,
 %                 $dashboard->Name;
 

Modified: rt/branches/3.999-DANGEROUS/share/html/Dashboards/Elements/ShowSubscription
==============================================================================
--- rt/branches/3.999-DANGEROUS/share/html/Dashboards/Elements/ShowSubscription	(original)
+++ rt/branches/3.999-DANGEROUS/share/html/Dashboards/Elements/ShowSubscription	Mon Jul 14 08:39:20 2008
@@ -52,7 +52,7 @@
 </%ARGS>
 <%INIT>
 my $url = sprintf '%s/Dashboards/Subscription.html?DashboardId=%d',
-          RT->Config->Get('WebPath'),
+          RT->config->get('WebPath'),
           $Dashboard->Id,;
 
 my $frequency = loc("None");

Modified: rt/branches/3.999-DANGEROUS/share/html/Dashboards/Modify.html
==============================================================================
--- rt/branches/3.999-DANGEROUS/share/html/Dashboards/Modify.html	(original)
+++ rt/branches/3.999-DANGEROUS/share/html/Dashboards/Modify.html	Mon Jul 14 08:39:20 2008
@@ -53,7 +53,7 @@
 &>
 <& /Elements/ListActions, actions => \@results &>
 
-<form action="<%RT->Config->Get('WebPath')%>/Dashboards/Modify.html" method="post" enctype="multipart/form-data" name="ModifyDashboard">
+<form action="<%RT->config->get('WebPath')%>/Dashboards/Modify.html" method="post" enctype="multipart/form-data" name="ModifyDashboard">
 
 %unless ($Dashboard->Id) {
 <input type="hidden" class="hidden" name="id" value="new" />
@@ -150,7 +150,7 @@
     $ok || Abort(loc("Couldn't delete dashboard [_1]: [_2]", $id, $msg));
 
     # put the user back into a useful place with a message
-    RT::Interface::Web::redirect(RT->Config->Get('WebURL')."Dashboards/index.html?Deleted=$id");
+    RT::Interface::Web::redirect(RT->config->get('WebURL')."Dashboards/index.html?Deleted=$id");
 
 }
 </%INIT>

Modified: rt/branches/3.999-DANGEROUS/share/html/Dashboards/Queries.html
==============================================================================
--- rt/branches/3.999-DANGEROUS/share/html/Dashboards/Queries.html	(original)
+++ rt/branches/3.999-DANGEROUS/share/html/Dashboards/Queries.html	Mon Jul 14 08:39:20 2008
@@ -55,7 +55,7 @@
 
 <& /Elements/ListActions, actions => \@results &>
 
-<form action="<%RT->Config->Get('WebPath')%>/Dashboards/Queries.html" method="post" enctype="multipart/form-data" name="DashboardQueries">
+<form action="<%RT->config->get('WebPath')%>/Dashboards/Queries.html" method="post" enctype="multipart/form-data" name="DashboardQueries">
 <input type="hidden" class="hidden" name="id" value="<%$Dashboard->Id%>" />
 <input type="hidden" class="hidden" name="Privacy" value="<%$Dashboard->Privacy%>" />
 <table width="100%" border="0">

Modified: rt/branches/3.999-DANGEROUS/share/html/Dashboards/Subscription.html
==============================================================================
--- rt/branches/3.999-DANGEROUS/share/html/Dashboards/Subscription.html	(original)
+++ rt/branches/3.999-DANGEROUS/share/html/Dashboards/Subscription.html	Mon Jul 14 08:39:20 2008
@@ -53,7 +53,7 @@
 
 <& /Elements/ListActions, actions => \@results &>
 
-<form action="<%RT->Config->Get('WebPath')%>/Dashboards/Subscription.html" method="post" enctype="multipart/form-data" name="SubscribeDashboard">
+<form action="<%RT->config->get('WebPath')%>/Dashboards/Subscription.html" method="post" enctype="multipart/form-data" name="SubscribeDashboard">
 <input type="hidden" class="hidden" name="DashboardId" value="<% $fields{'DashboardId'} %>" />
 <table width="100%" border="0">
 <tr>
@@ -171,7 +171,7 @@
 my ($title, @results);
 my ($val, $msg);
 my $Loaded = 0;
-my $timezone = $session{'CurrentUser'}->UserObj->Timezone || RT->Config->Get('Timezone');
+my $timezone = $session{'CurrentUser'}->UserObj->Timezone || RT->config->get('Timezone');
 
 use RT::Dashboard;
 my $DashboardObj = RT::Dashboard->new($session{'CurrentUser'});

Modified: rt/branches/3.999-DANGEROUS/share/html/Elements/Dashboards
==============================================================================
--- rt/branches/3.999-DANGEROUS/share/html/Elements/Dashboards	(original)
+++ rt/branches/3.999-DANGEROUS/share/html/Elements/Dashboards	Mon Jul 14 08:39:20 2008
@@ -47,7 +47,7 @@
 %# END BPS TAGGED BLOCK }}}
 <div class="dashboards">
 <&|/Widgets/TitleBox, title => loc("Dashboards"), bodyclass => "",
-   titleright => loc("Edit"), titleright_href => RT->Config->Get('WebPath').'/Dashboards' &>
+   titleright => loc("Edit"), titleright_href => RT->config->get('WebPath').'/Dashboards' &>
 
 <& /Dashboards/Elements/ShowDashboards:table,
     Dashboards => \@dashboards,

Modified: rt/branches/3.999-DANGEROUS/share/html/Elements/GnuPG/KeyIssues
==============================================================================
--- rt/branches/3.999-DANGEROUS/share/html/Elements/GnuPG/KeyIssues	(original)
+++ rt/branches/3.999-DANGEROUS/share/html/Elements/GnuPG/KeyIssues	Mon Jul 14 08:39:20 2008
@@ -67,7 +67,7 @@
 % foreach my $issue ( @$Issues ) {
 <li>
 % if ( $issue->{'User'} ) {
-User <a href="<% RT->Config->Get('WebPath') %>/Admin/Users/Modify.html?id=<% $issue->{'User'}->id %>"><&/Elements/ShowUser, User => $issue->{'User'} &></a> has a problem.
+User <a href="<% RT->config->get('WebPath') %>/Admin/Users/Modify.html?id=<% $issue->{'User'}->id %>"><&/Elements/ShowUser, User => $issue->{'User'} &></a> has a problem.
 % } else {
 There is a problem with key(s) for address <% $issue->{'EmailAddress'} %>, but there is no user in the DB for this address.
 % }

Modified: rt/branches/3.999-DANGEROUS/share/html/Elements/ListMenu
==============================================================================
--- rt/branches/3.999-DANGEROUS/share/html/Elements/ListMenu	(original)
+++ rt/branches/3.999-DANGEROUS/share/html/Elements/ListMenu	Mon Jul 14 08:39:20 2008
@@ -50,7 +50,7 @@
 </%args>
 <ul class="list-menu">
 %    foreach my $key (sort keys %$items) {
-<li><span class="menu-item"><a href="<%RT->Config->Get('WebPath')%><%$items->{$key}->{'path'}|n %>"><%$items->{$key}->{'title'}%></a></span><br />
+<li><span class="menu-item"><a href="<%RT->config->get('WebPath')%><%$items->{$key}->{'path'}|n %>"><%$items->{$key}->{'title'}%></a></span><br />
 <span class="description"><%$items->{$key}->{description} || $items->{$key}->{text} %></span>
 
 </li>

Modified: rt/branches/3.999-DANGEROUS/share/html/Install/Basics.html
==============================================================================
--- rt/branches/3.999-DANGEROUS/share/html/Install/Basics.html	(original)
+++ rt/branches/3.999-DANGEROUS/share/html/Install/Basics.html	Mon Jul 14 08:39:20 2008
@@ -83,12 +83,12 @@
     }
 
     if ( $Back ) {
-        RT::Interface::Web::redirect(RT->Config->Get('WebURL') .
+        RT::Interface::Web::redirect(RT->config->get('WebURL') .
 'Install/DatabaseDetails.html');
     }
 
     unless ( @errors ) {
-        RT::Interface::Web::redirect(RT->Config->Get('WebURL') .
+        RT::Interface::Web::redirect(RT->config->get('WebURL') .
 'Install/Sendmail.html');
     }
 }

Modified: rt/branches/3.999-DANGEROUS/share/html/Install/DatabaseDetails.html
==============================================================================
--- rt/branches/3.999-DANGEROUS/share/html/Install/DatabaseDetails.html	(original)
+++ rt/branches/3.999-DANGEROUS/share/html/Install/DatabaseDetails.html	Mon Jul 14 08:39:20 2008
@@ -114,12 +114,12 @@
             Store => $RT::Installer->{InstallConfig}, 
             Meta => $RT::Installer->{Meta}, KeepUndef => 1 ); 
     if ( $Back ) {
-        RT::Interface::Web::redirect(RT->Config->Get('WebURL') .
+        RT::Interface::Web::redirect(RT->config->get('WebURL') .
 'Install/DatabaseType.html');
     }
     
     if ( $ARGS{Next} ) {
-        RT::Interface::Web::redirect(RT->Config->Get('WebURL') .
+        RT::Interface::Web::redirect(RT->config->get('WebURL') .
 'Install/Basics.html');
     }
     my ( $status, $msg ) = RT::Installer->SaveConfig;

Modified: rt/branches/3.999-DANGEROUS/share/html/Install/DatabaseType.html
==============================================================================
--- rt/branches/3.999-DANGEROUS/share/html/Install/DatabaseType.html	(original)
+++ rt/branches/3.999-DANGEROUS/share/html/Install/DatabaseType.html	Mon Jul 14 08:39:20 2008
@@ -79,7 +79,7 @@
     $m->comp('/Widgets/BulkProcess', Types => \@Types, Arguments => \%ARGS, Meta
             => $RT::Installer->{Meta}, Store => $RT::Installer->{InstallConfig} );
 
-    RT::Interface::Web::redirect(RT->Config->Get('WebURL') .  'Install/DatabaseDetails.html');
+    RT::Interface::Web::redirect(RT->config->get('WebURL') .  'Install/DatabaseDetails.html');
 }
 
 

Modified: rt/branches/3.999-DANGEROUS/share/html/Install/Finish.html
==============================================================================
--- rt/branches/3.999-DANGEROUS/share/html/Install/Finish.html	(original)
+++ rt/branches/3.999-DANGEROUS/share/html/Install/Finish.html	Mon Jul 14 08:39:20 2008
@@ -83,7 +83,7 @@
     $root->Load('root');
     $root->SetPassword( $RT::Installer->{InstallConfig}{Password} );
 
-    RT::Interface::Web::redirect(RT->Config->Get('WebURL'));
+    RT::Interface::Web::redirect(RT->config->get('WebURL'));
 }
 </%init>
 

Modified: rt/branches/3.999-DANGEROUS/share/html/Install/Global.html
==============================================================================
--- rt/branches/3.999-DANGEROUS/share/html/Install/Global.html	(original)
+++ rt/branches/3.999-DANGEROUS/share/html/Install/Global.html	Mon Jul 14 08:39:20 2008
@@ -77,7 +77,7 @@
             Meta => $RT::Installer->{Meta}, KeepUndef => 1 );
 
     if ( $Back ) {
-        RT::Interface::Web::redirect(RT->Config->Get('WebURL') .
+        RT::Interface::Web::redirect(RT->config->get('WebURL') .
 'Install/Sendmail.html');
     }
 
@@ -97,11 +97,11 @@
             RT->LoadConfig;
 
             if ( $RT::Installer->{DatabaseAction} ne 'none' ) {
-                RT::Interface::Web::redirect(RT->Config->Get('WebURL') .
+                RT::Interface::Web::redirect(RT->config->get('WebURL') .
 'Install/Initialize.html');
             }
             else {
-                RT::Interface::Web::redirect(RT->Config->Get('WebURL') .
+                RT::Interface::Web::redirect(RT->config->get('WebURL') .
 'Install/Finish.html');
             }
         }

Modified: rt/branches/3.999-DANGEROUS/share/html/Install/Initialize.html
==============================================================================
--- rt/branches/3.999-DANGEROUS/share/html/Install/Initialize.html	(original)
+++ rt/branches/3.999-DANGEROUS/share/html/Install/Initialize.html	Mon Jul 14 08:39:20 2008
@@ -65,7 +65,7 @@
 my @errors;
 if ( $Run ) {
     if ( $Back ) {
-        RT::Interface::Web::redirect(RT->Config->Get('WebURL') .
+        RT::Interface::Web::redirect(RT->config->get('WebURL') .
 'Install/Global.html');
     }
 
@@ -128,7 +128,7 @@
     }
 
     unless ( @errors ) {
-        RT::Interface::Web::redirect(RT->Config->Get('WebURL') .
+        RT::Interface::Web::redirect(RT->config->get('WebURL') .
 'Install/Finish.html');
     }
 }

Modified: rt/branches/3.999-DANGEROUS/share/html/Install/Sendmail.html
==============================================================================
--- rt/branches/3.999-DANGEROUS/share/html/Install/Sendmail.html	(original)
+++ rt/branches/3.999-DANGEROUS/share/html/Install/Sendmail.html	Mon Jul 14 08:39:20 2008
@@ -75,7 +75,7 @@
             Meta => $RT::Installer->{Meta}, KeepUndef => 1);
 
     if ( $Back ) {
-        RT::Interface::Web::redirect(RT->Config->Get('WebURL') .
+        RT::Interface::Web::redirect(RT->config->get('WebURL') .
 'Install/Basics.html');
     }
 
@@ -92,7 +92,7 @@
 
 
     unless ( @errors ) {
-        RT::Interface::Web::redirect(RT->Config->Get('WebURL') .
+        RT::Interface::Web::redirect(RT->config->get('WebURL') .
 'Install/Global.html');
     }
 }

Modified: rt/branches/3.999-DANGEROUS/share/html/Install/autohandler
==============================================================================
--- rt/branches/3.999-DANGEROUS/share/html/Install/autohandler	(original)
+++ rt/branches/3.999-DANGEROUS/share/html/Install/autohandler	Mon Jul 14 08:39:20 2008
@@ -61,7 +61,7 @@
 }
 else {
     # redirect to login page if not in install mode
-    RT::Interface::Web::redirect(RT->Config->Get('WebURL'))
+    RT::Interface::Web::redirect(RT->config->get('WebURL'))
 }
 </%init>
 

Modified: rt/branches/3.999-DANGEROUS/share/html/Install/index.html
==============================================================================
--- rt/branches/3.999-DANGEROUS/share/html/Install/index.html	(original)
+++ rt/branches/3.999-DANGEROUS/share/html/Install/index.html	Mon Jul 14 08:39:20 2008
@@ -91,7 +91,7 @@
                 DatabaseUser DatabaseRequireSSL rtname
                 Organization TimeZone CommentAddress CorrespondAddress 
                 SendmailPath WebDomain WebPort/ ) {
-            $RT::Installer->{InstallConfig}{$field} ||= RT->Config->Get($field);
+            $RT::Installer->{InstallConfig}{$field} ||= RT->config->get($field);
         }
 
         for my $field ( qw/OwnerEmail Password DatabasePassword
@@ -100,7 +100,7 @@
             $RT::Installer->{InstallConfig}{$field} = '';
         }
 
-        RT::Interface::Web::redirect(RT->Config->Get('WebURL') .  'Install/DatabaseType.html');
+        RT::Interface::Web::redirect(RT->config->get('WebURL') .  'Install/DatabaseType.html');
     
         }
 </%init>

Modified: rt/branches/3.999-DANGEROUS/share/html/NoAuth/css/web2/InHeader
==============================================================================
--- rt/branches/3.999-DANGEROUS/share/html/NoAuth/css/web2/InHeader	(original)
+++ rt/branches/3.999-DANGEROUS/share/html/NoAuth/css/web2/InHeader	Mon Jul 14 08:39:20 2008
@@ -46,9 +46,9 @@
 %# 
 %# END BPS TAGGED BLOCK }}}
 <!--[if lt IE 8]>
-<link rel="stylesheet" href="<%RT->Config->Get('WebPath')%>/NoAuth/css/web2/msie.css" type="text/css" media="all" />
+<link rel="stylesheet" href="<%RT->config->get('WebPath')%>/NoAuth/css/web2/msie.css" type="text/css" media="all" />
 
 <![endif]-->
 <!--[if lt IE 7]>
-<link rel="stylesheet" href="<%RT->Config->Get('WebPath')%>/NoAuth/css/web2/msie6.css" type="text/css" media="all" />
+<link rel="stylesheet" href="<%RT->config->get('WebPath')%>/NoAuth/css/web2/msie6.css" type="text/css" media="all" />
 <![endif]-->

Modified: rt/branches/3.999-DANGEROUS/share/html/NoAuth/css/web2/boxes.css
==============================================================================
--- rt/branches/3.999-DANGEROUS/share/html/NoAuth/css/web2/boxes.css	(original)
+++ rt/branches/3.999-DANGEROUS/share/html/NoAuth/css/web2/boxes.css	Mon Jul 14 08:39:20 2008
@@ -169,7 +169,7 @@
   padding-top: 0.5em;
   width: 20px;
 
-  background: url(<%RT->Config->Get('WebPath')%>/NoAuth/images//css/rollup-arrow.gif) no-repeat center center;
+  background: url(<%RT->config->get('WebPath')%>/NoAuth/images//css/rollup-arrow.gif) no-repeat center center;
   margin: 0;
   text-indent: -9999px;
 
@@ -187,5 +187,5 @@
 }
 
 .titlebox.rolled-up .titlebox-title .widget a {
-    background-image: url(<%RT->Config->Get('WebPath')%>/NoAuth/images/css/rolldown-arrow.gif);
+    background-image: url(<%RT->config->get('WebPath')%>/NoAuth/images/css/rolldown-arrow.gif);
 }

Modified: rt/branches/3.999-DANGEROUS/share/html/NoAuth/css/web2/layout.css
==============================================================================
--- rt/branches/3.999-DANGEROUS/share/html/NoAuth/css/web2/layout.css	(original)
+++ rt/branches/3.999-DANGEROUS/share/html/NoAuth/css/web2/layout.css	Mon Jul 14 08:39:20 2008
@@ -53,7 +53,7 @@
     padding:0;
     margin:0;
 
-    background: #547CCC url(<%RT->Config->Get('WebPath')%>/NoAuth/css/web2/images/background-gradient.png) top left repeat-x ;
+    background: #547CCC url(<%RT->config->get('WebPath')%>/NoAuth/css/web2/images/background-gradient.png) top left repeat-x ;
     font-family: helvetica, arial, sans-serif;
 
 }
@@ -151,7 +151,7 @@
 
 div#footer #bpscredits {
  text-align: right;
- background: url(<%RT->Config->Get('WebPath')%>/NoAuth/images//bplogo.gif) no-repeat top right;
+ background: url(<%RT->config->get('WebPath')%>/NoAuth/images//bplogo.gif) no-repeat top right;
  padding-top: 4em;
 } 
 

Modified: rt/branches/3.999-DANGEROUS/share/html/NoAuth/iCal/dhandler
==============================================================================
--- rt/branches/3.999-DANGEROUS/share/html/NoAuth/iCal/dhandler	(original)
+++ rt/branches/3.999-DANGEROUS/share/html/NoAuth/iCal/dhandler	Mon Jul 14 08:39:20 2008
@@ -83,7 +83,7 @@
 $feed->add_properties('x-wr-caldesc' => ["Due dates for RT tickets: $search" => {value => "TEXT"}]);
 $feed->add_properties('calscale' => ['gregorian']);
 $feed->add_properties('method'   => ['publish']);
-$feed->add_properties('prodid'   => ["-//" . RT->Config->Get('rtname') ."//"]);
+$feed->add_properties('prodid'   => ["-//" . RT->config->get('rtname') ."//"]);
 
 while (my $t = $tickets->Next) {
     next unless $t->DueObj->Unix > 0;
@@ -94,7 +94,7 @@
     my $start = Data::ICal::Entry::Event->new;
     my $end   = Data::ICal::Entry::Event->new;
     $_->add_properties(
-        url       => RT->Config->Get('WebURL') . "?q=".$t->id,
+        url       => RT->config->get('WebURL') . "?q=".$t->id,
         organizer => $t->OwnerObj->Name,
         dtstamp   => $now->iCal,
         created   => $t->CreatedObj->iCal,

Modified: rt/branches/3.999-DANGEROUS/share/html/Ticket/Elements/Bookmark
==============================================================================
--- rt/branches/3.999-DANGEROUS/share/html/Ticket/Elements/Bookmark	(original)
+++ rt/branches/3.999-DANGEROUS/share/html/Ticket/Elements/Bookmark	Mon Jul 14 08:39:20 2008
@@ -67,12 +67,12 @@
 $Toggle => 0
 </%ARGS>
 <span id="toggle-<% $id %>">
-% my $url = RT->Config->Get('WebPath') ."/Helpers/Toggle/TicketBookmark?id=". $id;
+% my $url = RT->config->get('WebPath') ."/Helpers/Toggle/TicketBookmark?id=". $id;
 <a align="right" href="<% $url %>" onClick="ahah('<% $url |n %>', 'toggle-<% $id |n %>'); return false;" >
 % if ( $bookmarks->{ $id } ) {
-<img src="<% RT->Config->Get('WebPath') %>/NoAuth/images/star.gif" alt="<% loc('Remove Bookmark') %>" style="border-style: none" />
+<img src="<% RT->config->get('WebPath') %>/NoAuth/images/star.gif" alt="<% loc('Remove Bookmark') %>" style="border-style: none" />
 % } else {
-<img src="<% RT->Config->Get('WebPath') %>/NoAuth/images/empty_star.gif" alt="<% loc('Add Bookmark') %>" style="border-style: none" />
+<img src="<% RT->config->get('WebPath') %>/NoAuth/images/empty_star.gif" alt="<% loc('Add Bookmark') %>" style="border-style: none" />
 % }
 </a>
 </span>

Modified: rt/branches/3.999-DANGEROUS/share/html/Ticket/Graphs/Elements/ShowGraph
==============================================================================
--- rt/branches/3.999-DANGEROUS/share/html/Ticket/Graphs/Elements/ShowGraph	(original)
+++ rt/branches/3.999-DANGEROUS/share/html/Ticket/Graphs/Elements/ShowGraph	Mon Jul 14 08:39:20 2008
@@ -45,7 +45,7 @@
 %# those contributions and any derivatives thereof.
 %# 
 %# END BPS TAGGED BLOCK }}}
-<div><img src="<% RT->Config->Get('WebPath') %>/Ticket/Graphs/<% $id %>?<% $m->comp('/Elements/QueryString', %ARGS) %>" usemap="#<% $graph->{'NAME'} || 'test' %>" style="border: none" />
+<div><img src="<% RT->config->get('WebPath') %>/Ticket/Graphs/<% $id %>?<% $m->comp('/Elements/QueryString', %ARGS) %>" usemap="#<% $graph->{'NAME'} || 'test' %>" style="border: none" />
 <% safe_run_child { Encode::decode_utf8( $graph->as_cmapx ) } |n %>
 </div>
 <& ShowLegends, %ARGS, Ticket => $ticket &>

Modified: rt/branches/3.999-DANGEROUS/share/html/Ticket/Graphs/index.html
==============================================================================
--- rt/branches/3.999-DANGEROUS/share/html/Ticket/Graphs/index.html	(original)
+++ rt/branches/3.999-DANGEROUS/share/html/Ticket/Graphs/index.html	Mon Jul 14 08:39:20 2008
@@ -56,7 +56,7 @@
 
 <& Elements/ShowGraph, %ARGS, Ticket => $ticket &>
 
-<form action="<% RT->Config->Get('WebPath') . $m->request_comp->path %>">
+<form action="<% RT->config->get('WebPath') . $m->request_comp->path %>">
 <input type="hidden" class="hidden" name="id" value="<% $id %>" />
 
 <& Elements/EditGraphProperties, %ARGS, Ticket => $ticket &>


More information about the Rt-commit mailing list