X-Git-Url: http://git.freeside.biz/gitweb/?a=blobdiff_plain;f=rt%2Fetc%2FRT_SiteConfig.pm;h=eb2d09af5d40035ee2674c67b6385ff7fef99749;hb=98b9624b75d092f9451132182bf17fdf24ce405e;hp=7a6f407356c721a038adc62e8fea6f82abe4fec0;hpb=63a268637b2d51a8766412617724b9436439deb6;p=freeside.git diff --git a/rt/etc/RT_SiteConfig.pm b/rt/etc/RT_SiteConfig.pm index 7a6f40735..eb2d09af5 100644 --- a/rt/etc/RT_SiteConfig.pm +++ b/rt/etc/RT_SiteConfig.pm @@ -20,35 +20,34 @@ # Sometimes you may want to change domain, timezone, or freeside::URL later, # everything else should probably stay untouched. -$RT::rtname = '%%%RT_DOMAIN%%%'; -$RT::Organization = '%%%RT_DOMAIN%%%'; +Set($rtname, '%%%RT_DOMAIN%%%'); +Set($Organization, '%%%RT_DOMAIN%%%'); -$RT::Timezone = '%%%RT_TIMEZONE%%%'; +Set($Timezone, '%%%RT_TIMEZONE%%%'); -$RT::WebExternalAuth = 1; -$RT::WebFallbackToInternal = 1; #no -$RT::WebExternalAuto = 1; +Set($WebExternalAuth, 1); +Set($WebFallbackToInternal, 1); #no +Set($WebExternalAuto, 1); $RT::URI::freeside::IntegrationType = 'Internal'; $RT::URI::freeside::URL = '%%%FREESIDE_URL%%%'; $RT::URI::freeside::URL =~ m(^(https?://[^/]+)(/.*)$)i; -$RT::WebBaseURL = $1; -$RT::WebPath = "$2/rt"; +Set($WebBaseURL, $1); +Set($WebPath, "$2/rt"); Set($DatabaseHost , ''); # These settings are user-editable. -#old, RT 3.4 style (deprecated, useless): -#$RT::MyTicketsLength = 10; -#NEW, RT 3.6 style (uncomment to use): -#Set($DefaultSummaryRows, 10); +Set($WebDefaultStylesheet, 'freeside2.1'); +Set($UsernameFormat, 'verbose'); #back to concise to hide email addresses -$RT::QuickCreateLong = 0; #set to true to cause quick ticket creation to - #redirect to the "long" ticket creation screen - #instead of just creating a ticket with the subject. +#uncomment to use +#Set($DefaultSummaryRows, 10); -Set($MessageBoxWidth , 80); +Set($MessageBoxWidth, 80); +Set($MessageBoxRichTextHeight, 368); +#Set(@Plugins,(qw(Extension::QuickDelete RT::FM))); 1;