/[sysadmin-cookbook-html]/bin/html.pl
This is repository of my old source code which isn't updated any more. Go to git.rot13.org for current projects!
ViewVC logotype

Diff of /bin/html.pl

Parent Directory Parent Directory | Revision Log Revision Log | View Patch Patch

revision 6 by dpavlin, Sun May 17 12:33:51 2009 UTC revision 7 by dpavlin, Mon May 18 19:15:05 2009 UTC
# Line 30  sub file { Line 30  sub file {
30          my $changes = join("\n",          my $changes = join("\n",
31                  map {                  map {
32                          my $d = $_->{date};                          my $d = $_->{date};
33                          $d =~ s{\.\d+Z}{};                          $d =~ s{:\d\d\.\d+Z}{};
34                          $d =~ s{T}{ };                          $d =~ s{T}{ };
35                          qq|<li>$_->{msg} <span class="date">$d</span></li>|                          my $r = $_->{revision};
36                  } @{ $log->{logentry} }                          qq|<li>$_->{msg} <a class="date" title="r$r" href="http://svn.rot13.org/index.cgi/sysadmin-cookbook/revision?rev=$r">$d</a></li>|
37                    } reverse @{ $log->{logentry} }
38          );          );
39    
40          $path =~ s{^$recepies/*(.*?[^/]+)$}{$1} || next;          $path =~ s{^$recepies/*(.*?[^/]+)$}{$1} || next;
# Line 126  li .date { Line 127  li .date {
127          font-family: monospace;          font-family: monospace;
128          color: #888;          color: #888;
129          float: right;          float: right;
130            margin-right: 1em;
131  }  }
132    
133  </style>  </style>

Legend:
Removed from v.6  
changed lines
  Added in v.7

  ViewVC Help
Powered by ViewVC 1.1.26