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 %>
|
2012-02-25 10:01:48 +04:00
|
|
|
<% syntax_highlight_lines(filename, Redmine::CodesetUtil.to_utf8_by_setting(content)).each do |line| %>
|
2013-05-18 11:09:02 +04:00
|
|
|
<tr id="L<%= line_num %>">
|
|
|
|
<th class="line-num">
|
2011-11-20 08:17:19 +04:00
|
|
|
<a href="#L<%= line_num %>"><%= line_num %></a>
|
|
|
|
</th>
|
|
|
|
<td class="line-code">
|
2012-02-25 10:01:48 +04:00
|
|
|
<pre><%= line.html_safe %></pre>
|
2011-11-20 08:17:19 +04:00
|
|
|
</td>
|
|
|
|
</tr>
|
|
|
|
<% line_num += 1 %>
|
2008-06-09 21:02:55 +04:00
|
|
|
<% end %>
|
|
|
|
</tbody>
|
|
|
|
</table>
|
|
|
|
</div>
|