[Rt-commit] [svn] r1830 - in rt/branches/PLATANO-EXPERIMENTAL-CSS:
. html/Elements html/Search/Elements
jesse at pallas.eruditorum.org
jesse at pallas.eruditorum.org
Thu Nov 11 03:30:02 EST 2004
Author: jesse
Date: Thu Nov 11 03:30:02 2004
New Revision: 1830
Modified:
rt/branches/PLATANO-EXPERIMENTAL-CSS/ (props changed)
rt/branches/PLATANO-EXPERIMENTAL-CSS/html/Elements/Header
rt/branches/PLATANO-EXPERIMENTAL-CSS/html/Elements/PageLayout
rt/branches/PLATANO-EXPERIMENTAL-CSS/html/Elements/SelectEqualityOperator
rt/branches/PLATANO-EXPERIMENTAL-CSS/html/Elements/SelectNewTicketQueue
rt/branches/PLATANO-EXPERIMENTAL-CSS/html/Elements/SelectOwner
rt/branches/PLATANO-EXPERIMENTAL-CSS/html/Elements/SelectStatus
rt/branches/PLATANO-EXPERIMENTAL-CSS/html/Search/Elements/BuildFormatString
rt/branches/PLATANO-EXPERIMENTAL-CSS/html/Search/Elements/SelectGroup
Log:
r9092 at tinbook: jesse | 2004-11-11T02:59:53.704366Z
r6093 at tinbook: jesse | 2004-10-23T21:47:53.224532Z
A bunch of tiny fixes to the web ui to avoid warnings about uninitialized variables.
Modified: rt/branches/PLATANO-EXPERIMENTAL-CSS/html/Elements/Header
==============================================================================
--- rt/branches/PLATANO-EXPERIMENTAL-CSS/html/Elements/Header (original)
+++ rt/branches/PLATANO-EXPERIMENTAL-CSS/html/Elements/Header Thu Nov 11 03:30:02 2004
@@ -100,7 +100,7 @@
<%ARGS>
$Prefs => '/User/Prefs.html'
$Focus => 'focus'
-$Title => undef
+$Title => 'RT'
$Code => undef
$Refresh => 0
$Why => undef
Modified: rt/branches/PLATANO-EXPERIMENTAL-CSS/html/Elements/PageLayout
==============================================================================
--- rt/branches/PLATANO-EXPERIMENTAL-CSS/html/Elements/PageLayout (original)
+++ rt/branches/PLATANO-EXPERIMENTAL-CSS/html/Elements/PageLayout Thu Nov 11 03:30:02 2004
@@ -82,7 +82,7 @@
<%INIT>
foreach my $tab (sort keys %{$toptabs}) {
- if ($toptabs->{$tab}->{'path'} eq $current_toptab) {
+ if ($current_toptab && $toptabs->{$tab}->{'path'} eq $current_toptab) {
$toptabs->{$tab}->{"subtabs"} = $tabs;
$toptabs->{$tab}->{"current_subtab"} = $current_tab;
}
Modified: rt/branches/PLATANO-EXPERIMENTAL-CSS/html/Elements/SelectEqualityOperator
==============================================================================
--- rt/branches/PLATANO-EXPERIMENTAL-CSS/html/Elements/SelectEqualityOperator (original)
+++ rt/branches/PLATANO-EXPERIMENTAL-CSS/html/Elements/SelectEqualityOperator Thu Nov 11 03:30:02 2004
@@ -58,5 +58,5 @@
$Name => undef
@Options => (loc('less than'), loc('equal to'), loc('greater than'), loc('not equal to'))
@Values => qw(< = > !=)
-$Default => undef
+$Default =>''
</%ARGS>
Modified: rt/branches/PLATANO-EXPERIMENTAL-CSS/html/Elements/SelectNewTicketQueue
==============================================================================
--- rt/branches/PLATANO-EXPERIMENTAL-CSS/html/Elements/SelectNewTicketQueue (original)
+++ rt/branches/PLATANO-EXPERIMENTAL-CSS/html/Elements/SelectNewTicketQueue Thu Nov 11 03:30:02 2004
@@ -69,6 +69,6 @@
<%ARGS>
$Name => 'Queue'
-$Verbose => undef
-$Default => undef
+$Verbose => 0
+$Default => 0
</%ARGS>
Modified: rt/branches/PLATANO-EXPERIMENTAL-CSS/html/Elements/SelectOwner
==============================================================================
--- rt/branches/PLATANO-EXPERIMENTAL-CSS/html/Elements/SelectOwner (original)
+++ rt/branches/PLATANO-EXPERIMENTAL-CSS/html/Elements/SelectOwner Thu Nov 11 03:30:02 2004
@@ -91,7 +91,7 @@
<%ARGS>
$QueueObj => undef
$Name => undef
-$Default => undef
+$Default => 0
$User => undef
$TicketObj => undef
$DefaultValue => 1
Modified: rt/branches/PLATANO-EXPERIMENTAL-CSS/html/Elements/SelectStatus
==============================================================================
--- rt/branches/PLATANO-EXPERIMENTAL-CSS/html/Elements/SelectStatus (original)
+++ rt/branches/PLATANO-EXPERIMENTAL-CSS/html/Elements/SelectStatus Thu Nov 11 03:30:02 2004
@@ -58,7 +58,7 @@
</%ONCE>
<%ARGS>
$Name => undef
-$Default => undef
+$Default => ''
$SkipDeleted => 0
$DefaultValue => 1
$DefaultLabel => "-"
Modified: rt/branches/PLATANO-EXPERIMENTAL-CSS/html/Search/Elements/BuildFormatString
==============================================================================
--- rt/branches/PLATANO-EXPERIMENTAL-CSS/html/Search/Elements/BuildFormatString (original)
+++ rt/branches/PLATANO-EXPERIMENTAL-CSS/html/Search/Elements/BuildFormatString Thu Nov 11 03:30:02 2004
@@ -199,16 +199,19 @@
}
}
-$Format = "";
+
+my @format_string;
foreach my $field (@seen) {
next unless $field;
- $Format .= ", \n" if $Format;
- $Format .= "'";
- $Format .= $field->{Prefix};
- $Format .= "__" . $field->{Column} . "__" if ( $field->{Column} ne "<blank>" ) ;
- $Format .= $field->{Suffix};
- $Format .= "'";
+ my $row = "'" . $field->{Prefix};
+ $row .= "__" . $field->{Column} . "__" if ( $field->{Column} ne "<blank>" ) ;
+ $row .= $field->{Suffix} . "'";
+ push (@format_string, $row);
}
+
+$Format = join(",\n", @format_string);
+
+
return($Format, \@fields, \@seen);
</%init>
Modified: rt/branches/PLATANO-EXPERIMENTAL-CSS/html/Search/Elements/SelectGroup
==============================================================================
--- rt/branches/PLATANO-EXPERIMENTAL-CSS/html/Search/Elements/SelectGroup (original)
+++ rt/branches/PLATANO-EXPERIMENTAL-CSS/html/Search/Elements/SelectGroup Thu Nov 11 03:30:02 2004
@@ -59,7 +59,7 @@
</%INIT>
<%ARGS>
$AllowNull => 1
-$Default=>undef
+$Default=> ''
$Name => 'Group'
$Domain => 'UserDefined';
</%ARGS>
More information about the Rt-commit
mailing list