/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 13:37:17 UTC
  • mto: (4.7.4 GammaBear)
  • mto: This revision was merged to the branch mainline in revision 6.
  • Revision ID: elof.bigestans@gmail.com-20130328133717-96iglf86xthcaz6l
Cleaned up showsource.php -- Added doctype, fixed HTML validation errors, fixed indendation

Show diffs side-by-side

added added

removed removed

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