/lenasys/trunk

To get this branch, use:
bzr branch http://gegoxaren.bato24.eu/bzr/lenasys/trunk

« back to all changes in this revision

Viewing changes to trunk/Code Viewer Alt/Codeviewer/showcode.php

  • Committer: a11vikob
  • Date: 2013-03-28 14:28:13 UTC
  • mto: (4.2.2 hitlerhorabajs)
  • mto: This revision was merged to the branch mainline in revision 5.
  • Revision ID: a11vikob@student.his.se-20130328142813-n08tuh849zlhtayo
In "Code Viewer Alt":
Fixed indentations etc. Moved out some css to separate file

Show diffs side-by-side

added added

removed removed

Lines of Context:
97
97
                                        }
98
98
                                }
99
99
 
100
 
                                if($commentpos < 5000) {
 
100
                                if($commentpos < 5000){
101
101
                                        $buffer = str_replace("//","<span class='commented'>//",$buffer);
102
102
                                        $buffer.="</span>";
103
103
                                }
105
105
                                $linenostr = $lineno;
106
106
                                $linenostr = str_pad($linenostr,3," ",STR_PAD_RIGHT);
107
107
 
108
 
                                if($interesting) {
 
108
                                if($interesting){
109
109
                                        echo "<span class='interesting'>";
110
110
                                        echo "<span class='linenointeresting'>".$linenostr."</span>&nbsp;";
111
111
                                        $startspan = 1;