/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 trunk/CodeViewer/DomExample3b/DomExample3b.php

  • Committer: a11emmjo
  • Date: 2013-05-28 08:51:26 UTC
  • mto: This revision was merged to the branch mainline in revision 110.
  • Revision ID: a11emmjo@student.his.se-20130528085126-16sx38szwbsx1coh
Changed so that cms-controller loads filetree (before known as examplesController, examplesBody, examplesMenu).

Also changed to describing filenames and names for attributes and functions in css, php-view and in model that is used for this.

Started working on cmsindex-view and -css.

Show diffs side-by-side

added added

removed removed

Lines of Context:
1
 
<html>
2
 
        <head>
3
 
                <link rel="stylesheet" type="text/css" href="../CodeViewer/showcode.css">
4
 
                <script language="javascript" " src="../CodeViewer/showcode.js"></script>
5
 
        </head>
6
 
 
7
 
<?php
8
 
 
9
 
        include("../Codeviewer/showcode.php");
10
 
        
11
 
        menulayout("","../DomExample3/DomExample3.php","DomExample3b.txt","DOM Example 11: XPATH #2 (click this heading to run code)","DomExample3bcode.php","DomExample3b.htm");
12
 
        
13
 
        $interestingrows=array(array(20,25,"PHP Code"));
14
 
        $keywords=array('saveXML','loadXML','DOMXPath','query');
15
 
        $highlight=array(array("{","highlightnormal"),array("}","highlightnormal"),array("function","highlightspecial"),array("&lt;?php","highlightspecial"),array("?&gt;","highlightspecial"),array("echo","highlightspecial"),array("if","highlightspecial"),array("else","highlightspecial"));
16
 
 
17
 
        showfile($interestingrows,$keywords,$highlight,"DomExample3bcode.php");
18
 
 
19
 
        menulayoutend();
20
 
 
21
 
?>
22
 
 
23
 
</html>