/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: a11patfr at his
  • Date: 2013-03-28 14:32:10 UTC
  • mto: (4.7.6 GammaBear)
  • mto: This revision was merged to the branch mainline in revision 6.
  • Revision ID: a11patfr@student.his.se-20130328143210-ung7pp2n0fcxmc3r
Fixed the last indents

Show diffs side-by-side

added added

removed removed

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