File: xhtml.htm

package info (click to toggle)
libembperl-perl 2.0rc3-1
  • links: PTS
  • area: main
  • in suites: sarge
  • size: 5,688 kB
  • ctags: 5,161
  • sloc: ansic: 20,422; perl: 10,064; makefile: 5,134; cpp: 467; xml: 49; sh: 14
file content (52 lines) | stat: -rw-r--r-- 557 bytes parent folder | download | duplicates (3)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
[- 
$r = shift ; 
$r -> config -> output_mode (1) ;
$escmode = 12 ;
-]

<html>
<head>
<title>Embperl Tests - XHTML output</title>
</head>

<body>

[- $a = 1 -]

[$if $a$]
    a <br>
[$ endif$]

[-

@c = ([1,"'2'"],['"3"',4]) ;
-]


<table>
    <tr>
        <td>[+ $c[$row][$col] +] </td>
    </tr> 
</table>

[-
%fdat = ( a => 1, b => "'2'", c => '"3"') ;
@ffld = sort keys %fdat ;
-]

[$hidden$]

<input type="text" name="b">
<input type="text" name="c">

<a href="bla.htm">bla</a>

<select name="a">
    <option>xxx</option>
</select>




</body>
</html>