/[pxelator]/lib/PXElator/html.pm
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 /lib/PXElator/html.pm

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

revision 346 by dpavlin, Sat Aug 29 16:51:07 2009 UTC revision 362 by dpavlin, Sun Aug 30 10:38:13 2009 UTC
# Line 84  sub conf { Line 84  sub conf {
84                  } else {                  } else {
85                          if ( $name eq 'amt' ) {                          if ( $name eq 'amt' ) {
86                                  $html = qq|<a title="$html" href=http://$ip:16992/logon.htm>logon</a>|;                                  $html = qq|<a title="$html" href=http://$ip:16992/logon.htm>logon</a>|;
87                            } elsif ( $name eq 'ssh' ) {
88                                    $html =~ s{\s(\S{16}).+(\S{16})\s}{ $1..$2 };
89                                    chomp($html);
90                          }                          }
91                          $html = qq|<pre style="display: inline">$html</pre>|                          $html = qq|<pre style="display: inline">$html</pre>|
92                          unless                          unless
# Line 95  sub conf { Line 98  sub conf {
98                                  qq|<em>$name</em> $html<br>|                                  qq|<em>$name</em> $html<br>|
99                          }                          }
100                  }                  }
101          } keys %$conf;          } sort keys %$conf;
102    
103          $format eq 'inline' ? join("\n", @opts) : @opts;          $format eq 'inline' ? join("\n", @opts) : @opts;
104  }  }

Legend:
Removed from v.346  
changed lines
  Added in v.362

  ViewVC Help
Powered by ViewVC 1.1.26