2 PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN"
3 "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
6 % $m->comp('/Elements/Header', Title=>loc("RT at a glance"), Refresh => $session{'home_refresh_interval'}||RT->Config->Get('HomePageRefreshInterval', $session{'CurrentUser'} ));
10 <meta http-equiv="refresh" content="30; url=http://bestpractical.com/rt/rt-broken-install.html">
11 <title>Almost there!</title></head>
14 <img src="http://www.bestpractical.com/images/unconfigured-rtlogo.jpg" />
16 <h1>You're almost there!</h1>
17 You haven't yet configured your webserver to run RT.
19 You appear to have installed RT's web interface correctly, but haven't yet configured your web
20 server to "run" the RT server which powers the web interface.
22 The next step is to edit your webserver's configuration file to instruct it to use
23 RT's <strong>mod_perl</strong>, <strong>FastCGI</strong> or <strong>SpeedyCGI</strong> handler.
25 If you need commercial support, please contact us at sales@bestpractical.com.
31 %# BEGIN BPS TAGGED BLOCK {{{
35 %# This software is Copyright (c) 1996-2011 Best Practical Solutions, LLC
36 %# <sales@bestpractical.com>
38 %# (Except where explicitly superseded by other copyright notices)
43 %# This work is made available to you under the terms of Version 2 of
44 %# the GNU General Public License. A copy of that license should have
45 %# been provided with this software, but in any event can be snarfed
48 %# This work is distributed in the hope that it will be useful, but
49 %# WITHOUT ANY WARRANTY; without even the implied warranty of
50 %# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
51 %# General Public License for more details.
53 %# You should have received a copy of the GNU General Public License
54 %# along with this program; if not, write to the Free Software
55 %# Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA
56 %# 02110-1301 or visit their web page on the internet at
57 %# http://www.gnu.org/licenses/old-licenses/gpl-2.0.html.
60 %# CONTRIBUTION SUBMISSION POLICY:
62 %# (The following paragraph is not intended to limit the rights granted
63 %# to you to modify and distribute this software under the terms of
64 %# the GNU General Public License and is only of importance to you if
65 %# you choose to contribute your changes and enhancements to the
66 %# community by submitting them to Best Practical Solutions, LLC.)
68 %# By intentionally submitting any modifications, corrections or
69 %# derivatives to this work, or any other work intended for use with
70 %# Request Tracker, to Best Practical Solutions, LLC, you confirm that
71 %# you are the copyright holder for those contributions and you grant
72 %# Best Practical Solutions, LLC a nonexclusive, worldwide, irrevocable,
73 %# royalty-free, perpetual, license to use, copy, create derivative
74 %# works based on those contributions, and sublicense and distribute
75 %# those contributions and any derivatives thereof.
77 %# END BPS TAGGED BLOCK }}}
79 Title => loc("RT at a glance"),
80 current_tab => 'index.html',
81 current_toptab => 'index.html',
85 <& /Elements/ListActions, actions => \@results &>
92 $m->callback( ARGSRef => \%ARGS, results => \@results, CallbackName => 'Initial',
93 skip_create => \$skip_create );
95 if ( $ARGS{'QuickCreate'} ) {
96 my $QueueObj = new RT::Queue($session{'CurrentUser'});
97 $QueueObj->Load($ARGS{Queue}) or Abort(loc("Queue could not be loaded."));
99 my $CFs = $QueueObj->TicketCustomFields();
101 my $ValidCFs = $m->comp(
102 '/Elements/ValidateCustomFields',
103 CustomFields => $CFs,
108 if ( $ValidCFs && !$skip_create ) {
109 my ($t, $msg) = CreateTicket(
110 Queue => $ARGS{'Queue'},
111 Owner => $ARGS{'Owner'},
112 Status => $ARGS{'Status'}||'new',
113 # yes! it's Requestors, not Requestor
114 Requestors => $ARGS{'Requestors'},
115 From => $session{'CurrentUser'}->EmailAddress,
116 Content => $ARGS{'Content'},
117 Subject => $ARGS{'Subject'});
118 if ( $t && $t->Id && RT->Config->Get('DisplayAfterQuickCreate', $session{'CurrentUser'}) ) {
119 RT::Interface::Web::Redirect(RT->Config->Get('WebURL')."Ticket/Display.html?id=". $t->Id);
124 elsif ( !$ValidCFs ) {
125 push @results, "can't quickly create ticket in queue " .
126 $QueueObj->Name . ' because some custom fields need to be set, please go to normal ticket creation page to do that.';
132 RT::Interface::Web::Redirect(RT->Config->Get('WebURL')."Search/Simple.html?q=".$m->interp->apply_escapes($ARGS{q}, 'u'));
136 if ($session{'CurrentUser'}->HasRight(Right => 'ModifySelf', Object => $RT::System)) {
138 A => { title => loc('Edit'),
139 path => 'Prefs/MyRT.html',
144 my $tabs = $m->comp("/Elements/DashboardTabs");