Parent Directory | Revision Log | Patch
revision 13 by dpavlin, Sun Feb 16 22:41:37 2003 UTC | revision 64 by dpavlin, Fri Jul 4 20:41:17 2003 UTC | |
---|---|---|
# | Line 11 sub back2html { | Line 11 sub back2html { |
11 | foreach $line (split(/###/,$html)) { | foreach $line (split(/###/,$html)) { |
12 | $out .= "<tr><td>"; | $out .= "<tr><td>"; |
13 | my @items = split(/#-#/,$line); | my @items = split(/#-#/,$line); |
14 | if ($items[1] =~ m#^http://#) { | |
15 | $items[1] = "<a href=\"$items[1]\">$items[1]</a>"; | |
16 | } | |
17 | $out .= join("</td><td>",@items); | $out .= join("</td><td>",@items); |
18 | $out .= "</td></tr>\n"; | $out .= "</td></tr>\n"; |
19 | } | } |
20 | $out =~ s/<br\/*>/<br\/>/g; | |
21 | return $out; | return $out; |
22 | } | } |
23 |
|
ViewVC Help | |
Powered by ViewVC 1.1.26 |