ShowPerlVersion

From Request Tracker Wiki
Jump to navigation Jump to search

A small patch to show the version of perl that RT3 is using at the bottom of each page, next to the RT version:

--- /usr/share/request-tracker3/html/Elements/Footer    2003-11-16 08:25:12.000000000 +0100
+++ Elements/Footer     2004-06-15 11:39:05.000000000 +0200
@@ -29,8 +29,7 @@
 % }
 <& /Elements/Callback, %ARGS &>
 <div class="bpscredits">
-»|« <&|/l, $RT::VERSION &>RT [_1] from <a target=_top href="http://bestpractical.com">Best Practical Solutions, LLC</a>.</&>
-</div>
+»|« <&|/l, $RT::VERSION, $] &>RT [_1], Perl [_2] from <a target=_top href="http://www.bestpractical.com/">Best Practical Solutions, LLC</a>.</&></div>
 % if ($Debug) {
 <HR>
 <b><&|/l&>Time to display</&>: <%Time::HiRes::tv_interval( $m->{'rt_base_time'} )%></b>