[Rt-commit] r14156 - in rt/branches/3.999-DANGEROUS: . lib/RT share/html/Elements share/html/Search share/html/SelfService/Elements share/html/Ticket

sunnavy at bestpractical.com sunnavy at bestpractical.com
Wed Jul 16 08:55:43 EDT 2008


Author: sunnavy
Date: Wed Jul 16 08:55:42 2008
New Revision: 14156

Modified:
   rt/branches/3.999-DANGEROUS/   (props changed)
   rt/branches/3.999-DANGEROUS/lib/RT/Record.pm
   rt/branches/3.999-DANGEROUS/share/html/Elements/SelectTimezone
   rt/branches/3.999-DANGEROUS/share/html/Search/Bulk.html
   rt/branches/3.999-DANGEROUS/share/html/SelfService/Elements/MyRequests
   rt/branches/3.999-DANGEROUS/share/html/Ticket/Graphs/index.html
   rt/branches/3.999-DANGEROUS/share/html/Ticket/Update.html

Log:
 r14544 at sunnavys-mb:  sunnavy | 2008-07-16 18:26:47 +0800
 


Modified: rt/branches/3.999-DANGEROUS/lib/RT/Record.pm
==============================================================================
--- rt/branches/3.999-DANGEROUS/lib/RT/Record.pm	(original)
+++ rt/branches/3.999-DANGEROUS/lib/RT/Record.pm	Wed Jul 16 08:55:42 2008
@@ -1224,11 +1224,11 @@
 
     #it's a real link.
     if ( $link->id ) {
-        my $basetext = $self->formatLink(
+        my $basetext = $self->format_link(
             object   => $link->base_obj,
             FallBack => $args{base}
         );
-        my $targettext = $self->formatLink(
+        my $targettext = $self->format_link(
             object   => $link->target_obj,
             FallBack => $args{target}
         );

Modified: rt/branches/3.999-DANGEROUS/share/html/Elements/SelectTimezone
==============================================================================
--- rt/branches/3.999-DANGEROUS/share/html/Elements/SelectTimezone	(original)
+++ rt/branches/3.999-DANGEROUS/share/html/Elements/SelectTimezone	Wed Jul 16 08:55:42 2008
@@ -66,7 +66,6 @@
 % unless ( $HAS_DATETIME_TZ && @names ) {
 <input type="text" name="<% $name %>" value="<% $default %>" />
 % } else {
-% }
 <select name="<% $name %>">
 % if ( $show_null_option ) {
 <option value=""><&|/l&>System Default</&></option>

Modified: rt/branches/3.999-DANGEROUS/share/html/Search/Bulk.html
==============================================================================
--- rt/branches/3.999-DANGEROUS/share/html/Search/Bulk.html	(original)
+++ rt/branches/3.999-DANGEROUS/share/html/Search/Bulk.html	Wed Jul 16 08:55:42 2008
@@ -61,7 +61,7 @@
 % foreach my $var qw(query format order_by order Rows Page) {
 <input type="hidden" class="hidden" name="<%$var%>" value="<%$ARGS{$var} || ''%>" />
 %}
-<& /Elements/CollectionList, query => $Query,
+<& /Elements/CollectionList, query => $query,
     display_format => $format,
     format => $ARGS{'format'},
     Verbatim => 1,

Modified: rt/branches/3.999-DANGEROUS/share/html/SelfService/Elements/MyRequests
==============================================================================
--- rt/branches/3.999-DANGEROUS/share/html/SelfService/Elements/MyRequests	(original)
+++ rt/branches/3.999-DANGEROUS/share/html/SelfService/Elements/MyRequests	Wed Jul 16 08:55:42 2008
@@ -51,8 +51,6 @@
 			 query   => $query, 
  			 order   => @order, 
  			 order_by => @order_by,
-			 order   => $order, 
-			 order_by => $order_by,
 			 baseURL => $baseURL,
 			 GenericQueryArgs => $GenericQueryArgs,
 			 AllowSorting => $AllowSorting,
@@ -72,7 +70,6 @@
         . " )";
 }
 my $format = qq{
-my @format = qq{
    '<B><A HREF="}. RT->config->get('WebPath') .qq{/SelfService/Display.html?id=__id__">__id__</a></B>/TITLE:#',
    '<B><A HREF="}. RT->config->get('WebPath') .qq{/SelfService/Display.html?id=__id__">__subject__</a></B>/TITLE:subject',
    Status,

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	Wed Jul 16 08:55:42 2008
@@ -91,7 +91,7 @@
 );
 
 my $id = $ARGS{'id'};
-my $ticket = LoadTicket( $id );
+my $ticket = load_ticket( $id );
 $ARGS{'id'} = $id = $ticket->id;
 
 $ARGS{'LeadingLink'} ||= 'Members';

Modified: rt/branches/3.999-DANGEROUS/share/html/Ticket/Update.html
==============================================================================
--- rt/branches/3.999-DANGEROUS/share/html/Ticket/Update.html	(original)
+++ rt/branches/3.999-DANGEROUS/share/html/Ticket/Update.html	Wed Jul 16 08:55:42 2008
@@ -89,7 +89,7 @@
 <option value="private" <% ($ARGS{'UpdateType'} &&  $ARGS{'UpdateType'} eq "private") ? qq[ selected="selected"] : !$ARGS{'UpdateType'}&&$Commentdefault |n %>><&|/l&>comments (Not sent to requestors)</&></option>
 % }
 % if ($CanRespond) {
-<option value="response" <% ($ARGS{'UpdateType'} && $ARGS{'UpdateType'} eq "response") ? qq[ selected="selected"] : !$ARGS{'UpdateType'}&&$Responsedefault |n %>><&|/l&>Reply to requestors</&></option>
+<option value="response" <% ($ARGS{'UpdateType'} && $ARGS{'UpdateType'} eq "response") ? qq[ selected="selected"] : !$ARGS{'UpdateType'}&&$response_default |n %>><&|/l&>Reply to requestors</&></option>
 % }
 </select> 
 </td></tr>
@@ -183,13 +183,13 @@
 # Things needed in the template - we'll do the processing here, just
 # for the convenience:
 
-my ($commentDefault, $ResponseDefault);
+my ($comment_default, $Response_default);
 if ($action ne 'respond') {
-   $commentdefault = qq[ selected="selected"];
-    $Responsedefault = "";
+   $comment_default = qq[ selected="selected"];
+    $response_default = "";
 } else {
-    $commentdefault = ""; 
-    $Responsedefault = qq[ selected="selected"];
+    $comment_default = ""; 
+    $response_default = qq[ selected="selected"];
 }
 
 


More information about the Rt-commit mailing list