/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 Code Viewer Alt/Codeviewer/showcode.php

  • Committer: galaxyAbstractor
  • Date: 2013-04-04 16:19:07 UTC
  • mto: (12.2.4 lenasys) (19.1.4 lenasys)
  • mto: This revision was merged to the branch mainline in revision 17.
  • Revision ID: galaxyabstractor@gmail.com-20130404161907-eo1wnb7ac2rnizg8
Started implementation of a new codeviewer using Ace

Show diffs side-by-side

added added

removed removed

Lines of Context:
2
2
 
3
3
        function menulayout($forward, $backward, $downloadlink, $heading, $headinglink, $filecontent) {
4
4
                echo "<body onload='resize();' onresize='resize();'>";
5
 
                echo "<script language=\"javascript\" src=\"../../js/jquery.js\"></script>";
 
5
                echo "<script language=\"javascript\" src=\"../jquery/jquery-1.8.2.min.js\"></script>";
6
6
 
7
7
                echo "<div class='Topmenu'>";
8
8
                        echo "<table style='width:100%;height:100%;border:solid 1px;'>";
9
9
                                echo "<tr>";
10
10
                                        echo "<td class='buttonstyle'>";
11
 
                                                echo "<a href='http://wwwlab.iki.his.se/~gush/Webbprogrammering/' title='Back to examples page'><img src='../../media/codevieweralt/back.png'></a>";
 
11
                                                echo "<a href='http://wwwlab.iki.his.se/~gush/Webbprogrammering/' title='Back to examples page'><img src='../img/back.png'></a>";
12
12
                                        echo "</td>";
13
13
                                        
14
14
                                        if($backward != "") {
15
15
                                                echo "<td class='buttonstyle'>";
16
 
                                                        echo "<a href='".$backward."'><img src='../../media/codeviewer/CodeViewerLeftbutton.png'></a>";
 
16
                                                        echo "<a href='".$backward."'><img src='../img/prev.png'></a>";
17
17
                                                echo "</td>";
18
18
                                        }
19
19
                                        
20
20
                                        if($forward != "") {
21
21
                                                echo "<td class='buttonstyle'>";
22
 
                                                        echo "<a href='".$forward."'><img src='../../media/codeviewer/CodeViewerRightbutton.png'></a>";
 
22
                                                        echo "<a href='".$forward."'><img src='../img/next.png'></a>";
23
23
                                                echo "</td>";
24
24
                                        }
25
25