/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: Henrik G.
  • Date: 2013-03-26 23:42:29 UTC
  • Revision ID: henrik.gustavsson@his.se-20130326234229-hkq5am6szg5g2akr
Added slider library

Show diffs side-by-side

added added

removed removed

Lines of Context:
1
 
<!DOCTYPE html>
2
1
<html>
3
2
        <head>
4
3
                <link rel="stylesheet" type="text/css" href="showcode.css">
5
 
                <script type="text/javascript" src="showcode.js"></script>
 
4
                <script language="javascript" " src="showcode.js"></script>
6
5
        </head>
7
6
        <body>
8
 
<?php
 
7
        <?php
9
8
        include("showcode.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","test.txt","Example 1: Execution of AJAX API","Ponyo.txt");
12
11
        
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");
 
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
 
30
18
        menulayoutend();
31
19
?>
32
20
</body>