From 275264b6d4da672231c48678d9f1267884128a0d Mon Sep 17 00:00:00 2001 From: ivan Date: Wed, 20 Jun 2007 22:58:09 +0000 Subject: [PATCH] add QuickCreateLong option, part of merging spiritone RT changes --- rt/etc/RT_SiteConfig.pm | 15 ++++++++++----- rt/html/Elements/QuickCreate | 4 ++-- 2 files changed, 12 insertions(+), 7 deletions(-) diff --git a/rt/etc/RT_SiteConfig.pm b/rt/etc/RT_SiteConfig.pm index 56d7e26c7..5e3dc8081 100644 --- a/rt/etc/RT_SiteConfig.pm +++ b/rt/etc/RT_SiteConfig.pm @@ -16,6 +16,10 @@ #Set( $rtname, 'example.com'); +# These settings should have been inserted by the initial Freeside install. +# Somtimes 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%%%'; @@ -28,15 +32,16 @@ $RT::WebExternalAuth = 1; $RT::WebFallbackToInternal = 1; #no $RT::WebExternalAuto = 1; -$RT::MyTicketsLength = 10; - $RT::URI::freeside::IntegrationType = 'Internal'; $RT::URI::freeside::URL = '%%%FREESIDE_URL%%%'; Set($DatabaseHost , ''); -#perl 5.8.0 - 5.8.2 experiment -#@EmailInputEncodings = qw(iso-8859-1 us-ascii utf-8); # unless (@EmailInputEncodings); -#Set($EmailOutputEncoding , 'iso-8859-1'); +# These settings are user-editable. + +$RT::MyTicketsLength = 10; +$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. 1; diff --git a/rt/html/Elements/QuickCreate b/rt/html/Elements/QuickCreate index 0d2489c61..0b97121a4 100644 --- a/rt/html/Elements/QuickCreate +++ b/rt/html/Elements/QuickCreate @@ -44,12 +44,12 @@ %# %# END BPS TAGGED BLOCK }}} <& /Elements/TitleBoxStart, title => loc('Quick ticket creation') &> -
+
-<&|/l&>Subject:
+<&|/l&>Subject:
<&|/l&>Queue:
<& /Elements/SelectQueue, Name => 'Queue', ShowNullOption => 0 &>
-- 2.11.0