/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: gustav.hartvigsson at gmail
  • Date: 2013-04-02 13:00:31 UTC
  • mfrom: (4.7.8 GammaBear)
  • Revision ID: gustav.hartvigsson@gmail.com-20130402130031-442y89s0cfzmw3r2
Merged stuff.

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
 
        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", "test2.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"));
15
 
 
16
 
        showfile($interestingrows,$keywords,$highlight);
17
 
 
 
13
        $interestingrows = array(
 
14
                array(1,5,"Ajax function"),
 
15
                array(7,8,"Ajax return function")
 
16
        );
 
17
 
 
18
        $keywords = array(
 
19
                "showCustomer",
 
20
                "ResultCustomer"
 
21
        );
 
22
 
 
23
        $highlight = array(
 
24
                array("{", "highlightnormal"),
 
25
                array("}", "highlightnormal"),
 
26
                array("function", "highlightspecial")
 
27
        );
 
28
 
 
29
        showfile($interestingrows,$keywords,$highlight, "test.txt");
18
30
        menulayoutend();
19
31
?>
20
32
</body>