/lenasys/trunk

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

« back to all changes in this revision

Viewing changes to CodeViewer/codeviewer.php

  • Committer: Gustav Hatvigsson
  • Date: 2013-04-24 13:11:16 UTC
  • mto: This revision was merged to the branch mainline in revision 131.
  • Revision ID: gustav.hartvigsson@gmail.com-20130424131116-0p4uibacf98ck2j1
Made a few changes to the licensing stuff, there needs to be a discussion with Gush about the details in regards to Media Files and other stuff.:w

Show diffs side-by-side

added added

removed removed

Lines of Context:
 
1
<!DOCTYPE html>
1
2
<html>
2
3
        <head>
3
 
                <link rel="stylesheet" type="text/css" href="showcode.css">
4
 
                <script language="javascript" " src="showcode.js"></script>
 
4
                <link rel="stylesheet" type="text/css" href="codeviewer.css">
 
5
                <script type="text/javascript" src="codeviewer.js"></script>
5
6
        </head>
6
 
        <body>
7
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
 
 
18
 
        menulayoutend();
19
 
?>
20
 
</body>
 
8
                include("codeviewerfunctions.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(array(6, 9, "Interesting row array"), array(11,14,"Keywords"));
 
13
        
 
14
                $keywords = array("showCustomer", "ResultCustomer");
 
15
        
 
16
                $highlight = array(array("array", "highlightnormal"), array("showfile", "highlightspecial"));
 
17
        
 
18
                showfile($interestingRows, $keywords, $highlight, "example_code.txt");
 
19
                menulayoutEnd();
 
20
        ?>
21
21
</html>