2008-06-09 21:02:55 +04:00
|
|
|
<div class="autoscroll">
|
2010-03-14 16:22:50 +03:00
|
|
|
<table class="filecontent syntaxhl">
|
2008-06-09 21:02:55 +04:00
|
|
|
<tbody>
|
|
|
|
<% line_num = 1 %>
|
2011-05-07 03:38:13 +04:00
|
|
|
<% syntax_highlight(filename, to_utf8_for_attachments(content)).each_line do |line| %>
|
2009-02-26 12:28:33 +03:00
|
|
|
<tr><th class="line-num" id="L<%= line_num %>"><a href="#L<%= line_num %>"><%= line_num %></a></th><td class="line-code"><pre><%= line %></pre></td></tr>
|
2008-06-09 21:02:55 +04:00
|
|
|
<% line_num += 1 %>
|
|
|
|
<% end %>
|
|
|
|
</tbody>
|
|
|
|
</table>
|
|
|
|
</div>
|