[Rt-commit] r17190 - in rt/3.8/trunk: . docs

sartak at bestpractical.com sartak at bestpractical.com
Fri Dec 12 14:58:42 EST 2008


Author: sartak
Date: Fri Dec 12 14:58:41 2008
New Revision: 17190

Added:
   rt/3.8/trunk/docs/templates.pod
Modified:
   rt/3.8/trunk/   (props changed)
   rt/3.8/trunk/lib/RT/Template_Overlay.pm

Log:
 r77074 at onn:  sartak | 2008-12-12 14:58:29 -0500
 Start a new doc for people using templates rather than people hacking on
 templates


Added: rt/3.8/trunk/docs/templates.pod
==============================================================================
--- (empty file)
+++ rt/3.8/trunk/docs/templates.pod	Fri Dec 12 14:58:41 2008
@@ -0,0 +1,31 @@
+=head1 Templates
+
+The variables that your templates may use include:
+
+=over 4
+
+=item C<$Transaction>
+
+The transaction object.
+
+=item C<$rtname>
+
+The value of the "rtname" config variable.
+
+=item C<$Ticket>
+
+The ticket object. This is only set during a ticket transaction.
+
+=item C<$Requestor>
+
+This is not an object, but the name of the first requestor on the ticket.
+If this is not what you need, inspect C<< $Ticket->Requestors >>.
+
+=item C<loc("text")>
+
+A localization function. See L<Locale::Maketext>.
+
+=back
+
+=cut
+

Modified: rt/3.8/trunk/lib/RT/Template_Overlay.pm
==============================================================================
--- rt/3.8/trunk/lib/RT/Template_Overlay.pm	(original)
+++ rt/3.8/trunk/lib/RT/Template_Overlay.pm	Fri Dec 12 14:58:41 2008
@@ -297,33 +297,6 @@
 It returns a tuple of (val, message). If val is false, the message contains
 an error message.
 
-The variables that your templates may use include:
-
-=over 4
-
-=item C<$Transaction>
-
-The transaction object.
-
-=item C<$rtname>
-
-The value of the "rtname" config variable.
-
-=item C<$Ticket>
-
-The ticket object. This is only set during a ticket transaction.
-
-=item C<$Requestor>
-
-This is not an object, but the name of the first requestor on the ticket.
-If this is not what you need, inspect C<< $Ticket->Requestors >>.
-
-=item C<loc>
-
-A localization function. See L<Locale::Maketext>.
-
-=back 
-
 =cut
 
 sub Parse {


More information about the Rt-commit mailing list