/lenasys/0.1

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

« back to all changes in this revision

Viewing changes to trunk/CodeViewer/Codeviewer/showsource.php

  • Committer: elof.bigestans at gmail
  • Date: 2013-03-28 15:01:26 UTC
  • mto: (4.7.4 GammaBear)
  • mto: This revision was merged to the branch mainline in revision 6.
  • Revision ID: elof.bigestans@gmail.com-20130328150126-o79po5zzefzxvcxy
Added comments to functions in showcode.php

Show diffs side-by-side

added added

removed removed

Lines of Context:
8
8
<?php
9
9
        include("showcode.php");
10
10
        
11
 
        menulayout("innan.php","efter.php","test.txt","Example 1: Execution of AJAX API","Ponyo.txt");
 
11
        menulayout("innan.php","efter.php","test2.txt","Example 1: Execution of AJAX API","test.txt", "test.txt");
12
12
        
13
13
        $interestingrows = array(
14
14
                array(16,21,"Ajax function"),
21
21
        );
22
22
 
23
23
        $highlight = array(
24
 
                array(
25
 
                        "{",
26
 
                        "highlightnormal"
27
 
                ),
28
 
                array(
29
 
                        "}",
30
 
                        "highlightnormal"
31
 
                ),
32
 
                array(
33
 
                        "function",
34
 
                        "highlightspecial"
35
 
                )
 
24
                array("{", "highlightnormal"),
 
25
                array("}", "highlightnormal"),
 
26
                array("function", "highlightspecial")
36
27
        );
37
28
 
38
 
        showfile($interestingrows,$keywords,$highlight);
 
29
        showfile($interestingrows,$keywords,$highlight, "test.txt");
39
30
        menulayoutend();
40
31
?>
41
32
</body>