This modification will enumerate the lines of code inserted between the [code *] [/ code *] and
PHP Code:
[/ php *] tags in the "DVZ Code tag plugin" style. I would like to ask you to name the producer when sharing it on a different site. eg Modification Maker: Novruz [img]http://i.hizliresim.com/EDZMnA.png[/img]
[spoiler]Admin KP> Themes and templates> Templates> Template set of the theme you're using> Postbit Templates> postbit> add the following codes to the bottom [php]<script>$('code').html('<table>'+$.map($('code').text().split('\n'), function(t, i){ return '<tr><td>'+(i+1)+'</td><td>'+t+'</td></tr>'; }).join('')+'</table>');</script>
Admin KP> Themes and templates> Use theme> global.css> Advanced editing> add the following codes at the bottom.