[% site_name %] - History of [% node_name %]
Note: only administrators can delete historical versions.
-
[%
months.1 = 'January';
months.2 = 'February';
months.3 = 'March';
months.4 = 'April';
months.5 = 'May';
months.6 = 'June';
months.7 = 'July';
months.8 = 'August';
months.9 = 'September';
months.10 = 'October';
months.11 = 'November';
months.12 = 'December';
%]
[% FOREACH revision = history %]
[%
matches = revision.modified.match('(\d\d\d\d)-(\d\d)-(\d\d) (\d\d:\d\d:\d\d)');
year = matches.0;
month = matches.1;
day = matches.2;
time = matches.3;
month = month.remove('^0');
revision.date = "$time, $day " _ months.$month _ " $year"
%]
- [% IF revision.version != version %] (cur) [% ELSE %] (cur) [% END %] [% IF revision.version == 1 %] (last) [% ELSE %] (last) [% END %] [% revision.date %] [% IF revision.username %] [% revision.username %] [% END %] [% IF revision.comment %] ([% revision.comment %]) [% END %] [% IF enable_page_deletion AND is_admin %] [delete] [% END %] [% END %]