/[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 12 by dpavlin, Mon Nov 2 15:43:01 2009 UTC revision 13 by dpavlin, Sat May 1 12:53:41 2010 UTC
# Line 43  sub file { Line 43  sub file {
43          $path =~ s{^$recepies/*(.*?[^/]+)$}{$1} || next;          $path =~ s{^$recepies/*(.*?[^/]+)$}{$1} || next;
44          return ''          return ''
45                  . qq|<ul class=changes>$changes</ul>|                  . qq|<ul class=changes>$changes</ul>|
46                  . ( $path =~ m{(\.sh|Makefile|\.conf)$}i ? qq|<a class="path" href="$svn/view/recepies/$path">$path</a>| : '' )                  . ( $path =~ m{(\.sh|Makefile|\.conf|\.pl)$}i || -e $path ? qq|<a class="path" href="$svn/view/recepies/$path">$path</a>| : '' )
47                  . qq|<pre class=content>$content</pre>|                  . qq|<pre class=content>$content</pre>|
48                  ;                  ;
49  }  }

Legend:
Removed from v.12  
changed lines
  Added in v.13

  ViewVC Help
Powered by ViewVC 1.1.26