/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 CodeViewer/codeviewer.php

  • Committer: gustav.hartvigsson at gmail
  • Date: 2013-04-04 06:42:25 UTC
  • mfrom: (4.7.13 GammaBear)
  • Revision ID: gustav.hartvigsson@gmail.com-20130404064225-jxssrfawo202of2s
fixed a few conflicts, removes some files to do so among other things.

Show diffs side-by-side

added added

removed removed

Lines of Context:
1
1
<!DOCTYPE html>
2
2
<html>
3
3
        <head>
4
 
                <link rel="stylesheet" type="text/css" href="showcode.css">
5
 
                <script type="text/javascript" src="showcode.js"></script>
 
4
                <link rel="stylesheet" type="text/css" href="codeviewer.css">
 
5
                <script type="text/javascript" src="codeviewer.js"></script>
6
6
        </head>
7
 
        <body>
8
7
<?php
9
 
        include("showcode.php");
 
8
        include("codeviewer_functions.php");
10
9
        
11
 
        menulayout("innan.php","efter.php","test2.txt","Example 1: Execution of AJAX API","test.txt", "test2.txt");
 
10
        menulayout("innan.php","efter.php","example_code.txt","Example 1: Execution of AJAX API","example_code.txt", "example_code_description.txt");
12
11
        
13
12
        $interestingrows = array(
14
 
                array(1,5,"Ajax function"),
15
 
                array(7,8,"Ajax return function")
 
13
                array(6,9,"Interesting row array"),
 
14
                array(11,14,"Keywords")
16
15
        );
17
16
 
18
17
        $keywords = array(
21
20
        );
22
21
 
23
22
        $highlight = array(
24
 
                array("{", "highlightnormal"),
25
 
                array("}", "highlightnormal"),
26
 
                array("function", "highlightspecial")
 
23
                array("array", "highlightnormal"),
 
24
                array("showfile", "highlightspecial")
27
25
        );
28
26
 
29
 
        showfile($interestingrows,$keywords,$highlight, "test.txt");
 
27
        showfile($interestingrows,$keywords,$highlight, "example_code.txt");
30
28
        menulayoutend();
31
29
?>
32
 
</body>
33
30
</html>