Offset 1, 3 lines modified | Offset 1, 3 lines modified | ||
1 | ·bc109e036166d5d3e79fc220391028b6·81696·debug·optional·htp-dbgsym_1.19-7_amd64.deb | 1 | ·bc109e036166d5d3e79fc220391028b6·81696·debug·optional·htp-dbgsym_1.19-7_amd64.deb |
2 | · | 2 | ·da72f16d8b16804a65aa82fb4ffc4596·118312·web·optional·htp_1.19-7_amd64.deb |
Offset 1, 3 lines modified | Offset 1, 3 lines modified | ||
1 | -rw-r--r--···0········0········0········4·2018-12-02·23:47:57.000000·debian-binary | 1 | -rw-r--r--···0········0········0········4·2018-12-02·23:47:57.000000·debian-binary |
2 | -rw-r--r--···0········0········0·····33 | 2 | -rw-r--r--···0········0········0·····3316·2018-12-02·23:47:57.000000·control.tar.xz |
3 | -rw-r--r--···0········0········0···11 | 3 | -rw-r--r--···0········0········0···114804·2018-12-02·23:47:57.000000·data.tar.xz |
Offset 1, 27 lines modified | Offset 1, 27 lines modified | ||
1 | drwxr-xr-x···0·root·········(0)·root·········(0)········0·2018-12-02·23:47:57.000000·./ | 1 | drwxr-xr-x···0·root·········(0)·root·········(0)········0·2018-12-02·23:47:57.000000·./ |
2 | drwxr-xr-x···0·root·········(0)·root·········(0)········0·2018-12-02·23:47:57.000000·./usr/ | 2 | drwxr-xr-x···0·root·········(0)·root·········(0)········0·2018-12-02·23:47:57.000000·./usr/ |
3 | drwxr-xr-x···0·root·········(0)·root·········(0)········0·2018-12-02·23:47:57.000000·./usr/bin/ | 3 | drwxr-xr-x···0·root·········(0)·root·········(0)········0·2018-12-02·23:47:57.000000·./usr/bin/ |
4 | -rwxr-xr-x···0·root·········(0)·root·········(0)····67928·2018-12-02·23:47:57.000000·./usr/bin/htp | 4 | -rwxr-xr-x···0·root·········(0)·root·········(0)····67928·2018-12-02·23:47:57.000000·./usr/bin/htp |
5 | drwxr-xr-x···0·root·········(0)·root·········(0)········0·2018-12-02·23:47:57.000000·./usr/share/ | 5 | drwxr-xr-x···0·root·········(0)·root·········(0)········0·2018-12-02·23:47:57.000000·./usr/share/ |
6 | drwxr-xr-x···0·root·········(0)·root·········(0)········0·2018-12-02·23:47:57.000000·./usr/share/doc/ | 6 | drwxr-xr-x···0·root·········(0)·root·········(0)········0·2018-12-02·23:47:57.000000·./usr/share/doc/ |
7 | drwxr-xr-x···0·root·········(0)·root·········(0)········0·2018-12-02·23:47:57.000000·./usr/share/doc/htp/ | 7 | drwxr-xr-x···0·root·········(0)·root·········(0)········0·2018-12-02·23:47:57.000000·./usr/share/doc/htp/ |
8 | -rw-r--r--···0·root·········(0)·root·········(0)·····9 | 8 | -rw-r--r--···0·root·········(0)·root·········(0)·····9069·2018-12-02·23:47:57.000000·./usr/share/doc/htp/alttext.html |
9 | -rw-r--r--···0·root·········(0)·root·········(0)·····1418·2018-12-02·23:47:57.000000·./usr/share/doc/htp/alttext.htp | 9 | -rw-r--r--···0·root·········(0)·root·········(0)·····1418·2018-12-02·23:47:57.000000·./usr/share/doc/htp/alttext.htp |
10 | -rw-r--r--···0·root·········(0)·root·········(0)·····9 | 10 | -rw-r--r--···0·root·········(0)·root·········(0)·····9462·2018-12-02·23:47:57.000000·./usr/share/doc/htp/block.html |
11 | -rw-r--r--···0·root·········(0)·root·········(0)······781·2018-12-02·23:47:57.000000·./usr/share/doc/htp/block.htp | 11 | -rw-r--r--···0·root·········(0)·root·········(0)······781·2018-12-02·23:47:57.000000·./usr/share/doc/htp/block.htp |
12 | -rw-r--r--···0·root·········(0)·root·········(0)···· | 12 | -rw-r--r--···0·root·········(0)·root·········(0)····12692·2018-12-02·23:47:57.000000·./usr/share/doc/htp/blockdef.html |
13 | -rw-r--r--···0·root·········(0)·root·········(0)·····1075·2018-12-02·23:47:57.000000·./usr/share/doc/htp/blockdef.htp | 13 | -rw-r--r--···0·root·········(0)·root·········(0)·····1075·2018-12-02·23:47:57.000000·./usr/share/doc/htp/blockdef.htp |
14 | -rw-r--r--···0·root·········(0)·root·········(0)·····4763·2018-12-02·23:47:57.000000·./usr/share/doc/htp/bugs.html | 14 | -rw-r--r--···0·root·········(0)·root·········(0)·····4763·2018-12-02·23:47:57.000000·./usr/share/doc/htp/bugs.html |
15 | -rw-r--r--···0·root·········(0)·root·········(0)······737·2018-12-02·23:47:57.000000·./usr/share/doc/htp/bugs.htp | 15 | -rw-r--r--···0·root·········(0)·root·········(0)······737·2018-12-02·23:47:57.000000·./usr/share/doc/htp/bugs.htp |
16 | -rw-r--r--···0·root·········(0)·root·········(0)·····3091·2018-12-02·23:47:57.000000·./usr/share/doc/htp/changelog.Debian.gz | 16 | -rw-r--r--···0·root·········(0)·root·········(0)·····3091·2018-12-02·23:47:57.000000·./usr/share/doc/htp/changelog.Debian.gz |
17 | -rw-r--r--···0·root·········(0)·root·········(0)····1 | 17 | -rw-r--r--···0·root·········(0)·root·········(0)····13386·2018-12-02·23:47:57.000000·./usr/share/doc/htp/comment.html |
18 | -rw-r--r--···0·root·········(0)·root·········(0)······676·2018-12-02·23:47:57.000000·./usr/share/doc/htp/comment.htp | 18 | -rw-r--r--···0·root·········(0)·root·········(0)······676·2018-12-02·23:47:57.000000·./usr/share/doc/htp/comment.htp |
19 | -rw-r--r--···0·root·········(0)·root·········(0)····12975·2018-12-02·23:47:57.000000·./usr/share/doc/htp/copyright | 19 | -rw-r--r--···0·root·········(0)·root·········(0)····12975·2018-12-02·23:47:57.000000·./usr/share/doc/htp/copyright |
20 | -rw-r--r--···0·root·········(0)·root·········(0)····13 | 20 | -rw-r--r--···0·root·········(0)·root·········(0)····13663·2018-12-02·23:47:57.000000·./usr/share/doc/htp/def.html |
21 | -rw-r--r--···0·root·········(0)·root·········(0)·····3601·2018-12-02·23:47:57.000000·./usr/share/doc/htp/def.htp | 21 | -rw-r--r--···0·root·········(0)·root·········(0)·····3601·2018-12-02·23:47:57.000000·./usr/share/doc/htp/def.htp |
22 | -rw-r--r--···0·root·········(0)·root·········(0)·····8030·2018-12-02·23:47:57.000000·./usr/share/doc/htp/default.html | 22 | -rw-r--r--···0·root·········(0)·root·········(0)·····8030·2018-12-02·23:47:57.000000·./usr/share/doc/htp/default.html |
23 | -rw-r--r--···0·root·········(0)·root·········(0)·····3149·2018-12-02·23:47:57.000000·./usr/share/doc/htp/default.htp | 23 | -rw-r--r--···0·root·········(0)·root·········(0)·····3149·2018-12-02·23:47:57.000000·./usr/share/doc/htp/default.htp |
24 | drwxr-xr-x···0·root·········(0)·root·········(0)········0·2018-12-02·23:47:57.000000·./usr/share/doc/htp/examples/ | 24 | drwxr-xr-x···0·root·········(0)·root·········(0)········0·2018-12-02·23:47:57.000000·./usr/share/doc/htp/examples/ |
25 | -rw-r--r--···0·root·········(0)·root·········(0)······536·2015-05-16·17:04:11.000000·./usr/share/doc/htp/examples/Makefile.sub | 25 | -rw-r--r--···0·root·········(0)·root·········(0)······536·2015-05-16·17:04:11.000000·./usr/share/doc/htp/examples/Makefile.sub |
26 | -rw-r--r--···0·root·········(0)·root·········(0)·····2404·2015-05-16·17:04:11.000000·./usr/share/doc/htp/examples/album.hti | 26 | -rw-r--r--···0·root·········(0)·root·········(0)·····2404·2015-05-16·17:04:11.000000·./usr/share/doc/htp/examples/album.hti |
27 | -rw-r--r--···0·root·········(0)·root·········(0)·····1087·2015-05-16·17:04:11.000000·./usr/share/doc/htp/examples/album.htt | 27 | -rw-r--r--···0·root·········(0)·root·········(0)·····1087·2015-05-16·17:04:11.000000·./usr/share/doc/htp/examples/album.htt |
Offset 32, 64 lines modified | Offset 32, 64 lines modified | ||
32 | -rw-r--r--···0·root·········(0)·root·········(0)······818·2015-05-16·17:04:11.000000·./usr/share/doc/htp/examples/prime.htp | 32 | -rw-r--r--···0·root·········(0)·root·········(0)······818·2015-05-16·17:04:11.000000·./usr/share/doc/htp/examples/prime.htp |
33 | -rw-r--r--···0·root·········(0)·root·········(0)·····1576·2018-12-02·23:47:57.000000·./usr/share/doc/htp/examples/quine.html | 33 | -rw-r--r--···0·root·········(0)·root·········(0)·····1576·2018-12-02·23:47:57.000000·./usr/share/doc/htp/examples/quine.html |
34 | -rw-r--r--···0·root·········(0)·root·········(0)·····1576·2015-05-16·17:04:11.000000·./usr/share/doc/htp/examples/quine.htp | 34 | -rw-r--r--···0·root·········(0)·root·········(0)·····1576·2015-05-16·17:04:11.000000·./usr/share/doc/htp/examples/quine.htp |
35 | -rw-r--r--···0·root·········(0)·root·········(0)······604·2015-05-16·17:04:11.000000·./usr/share/doc/htp/examples/section.def | 35 | -rw-r--r--···0·root·········(0)·root·········(0)······604·2015-05-16·17:04:11.000000·./usr/share/doc/htp/examples/section.def |
36 | -rw-r--r--···0·root·········(0)·root·········(0)·····1189·2018-12-02·23:47:57.000000·./usr/share/doc/htp/examples/section.html | 36 | -rw-r--r--···0·root·········(0)·root·········(0)·····1189·2018-12-02·23:47:57.000000·./usr/share/doc/htp/examples/section.html |
37 | -rw-r--r--···0·root·········(0)·root·········(0)······918·2015-05-16·17:04:11.000000·./usr/share/doc/htp/examples/section.htp | 37 | -rw-r--r--···0·root·········(0)·root·········(0)······918·2015-05-16·17:04:11.000000·./usr/share/doc/htp/examples/section.htp |
38 | -rw-r--r--···0·root·········(0)·root·········(0)······375·2015-05-16·17:04:11.000000·./usr/share/doc/htp/examples/section.htt | 38 | -rw-r--r--···0·root·········(0)·root·········(0)······375·2015-05-16·17:04:11.000000·./usr/share/doc/htp/examples/section.htt |
39 | -rw-r--r--···0·root·········(0)·root·········(0)···· | 39 | -rw-r--r--···0·root·········(0)·root·········(0)····10147·2018-12-02·23:47:57.000000·./usr/share/doc/htp/expand.html |
40 | -rw-r--r--···0·root·········(0)·root·········(0)·····3702·2018-12-02·23:47:57.000000·./usr/share/doc/htp/expand.htp | 40 | -rw-r--r--···0·root·········(0)·root·········(0)·····3702·2018-12-02·23:47:57.000000·./usr/share/doc/htp/expand.htp |
41 | -rw-r--r--···0·root·········(0)·root·········(0)····1 | 41 | -rw-r--r--···0·root·········(0)·root·········(0)····16222·2018-12-02·23:47:57.000000·./usr/share/doc/htp/file.html |
42 | -rw-r--r--···0·root·········(0)·root·········(0)·····2490·2018-12-02·23:47:57.000000·./usr/share/doc/htp/file.htp.gz | 42 | -rw-r--r--···0·root·········(0)·root·········(0)·····2490·2018-12-02·23:47:57.000000·./usr/share/doc/htp/file.htp.gz |
43 | -rw-r--r--···0·root·········(0)·root·········(0)····14293·2018-12-02·23:47:57.000000·./usr/share/doc/htp/history.html | 43 | -rw-r--r--···0·root·········(0)·root·········(0)····14293·2018-12-02·23:47:57.000000·./usr/share/doc/htp/history.html |
44 | -rw-r--r--···0·root·········(0)·root·········(0)·····3946·2018-12-02·23:47:57.000000·./usr/share/doc/htp/history.htp.gz | 44 | -rw-r--r--···0·root·········(0)·root·········(0)·····3946·2018-12-02·23:47:57.000000·./usr/share/doc/htp/history.htp.gz |
45 | -rw-r--r--···0·root·········(0)·root·········(0)·····3911·2018-12-02·23:47:57.000000·./usr/share/doc/htp/hlhtp.pl | 45 | -rw-r--r--···0·root·········(0)·root·········(0)·····3911·2018-12-02·23:47:57.000000·./usr/share/doc/htp/hlhtp.pl |
46 | -rw-r--r--···0·root·········(0)·root·········(0)······165·2018-12-02·23:47:57.000000·./usr/share/doc/htp/htp.def | 46 | -rw-r--r--···0·root·········(0)·root·········(0)······165·2018-12-02·23:47:57.000000·./usr/share/doc/htp/htp.def |
47 | -rw-r--r--···0·root·········(0)·root·········(0)·····4049·2018-12-02·23:47:57.000000·./usr/share/doc/htp/htp.htt | 47 | -rw-r--r--···0·root·········(0)·root·········(0)·····4049·2018-12-02·23:47:57.000000·./usr/share/doc/htp/htp.htt |
48 | -rw-r--r--···0·root·········(0)·root·········(0)····134 | 48 | -rw-r--r--···0·root·········(0)·root·········(0)····11344·2018-12-02·23:47:57.000000·./usr/share/doc/htp/if.html |
49 | -rw-r--r--···0·root·········(0)·root·········(0)······932·2018-12-02·23:47:57.000000·./usr/share/doc/htp/if.htp | 49 | -rw-r--r--···0·root·········(0)·root·········(0)······932·2018-12-02·23:47:57.000000·./usr/share/doc/htp/if.htp |
50 | -rw-r--r--···0·root·········(0)·root·········(0)···· | 50 | -rw-r--r--···0·root·········(0)·root·········(0)·····9618·2018-12-02·23:47:57.000000·./usr/share/doc/htp/imageurl.html |
51 | -rw-r--r--···0·root·········(0)·root·········(0)·····2507·2018-12-02·23:47:57.000000·./usr/share/doc/htp/imageurl.htp | 51 | -rw-r--r--···0·root·········(0)·root·········(0)·····2507·2018-12-02·23:47:57.000000·./usr/share/doc/htp/imageurl.htp |
52 | -rw-r--r--···0·root·········(0)·root·········(0)····1 | 52 | -rw-r--r--···0·root·········(0)·root·········(0)····10259·2018-12-02·23:47:57.000000·./usr/share/doc/htp/img.html |
53 | -rw-r--r--···0·root·········(0)·root·········(0)·····1168·2018-12-02·23:47:57.000000·./usr/share/doc/htp/img.htp | 53 | -rw-r--r--···0·root·········(0)·root·········(0)·····1168·2018-12-02·23:47:57.000000·./usr/share/doc/htp/img.htp |
54 | -rw-r--r--···0·root·········(0)·root·········(0)····1 | 54 | -rw-r--r--···0·root·········(0)·root·········(0)····11335·2018-12-02·23:47:57.000000·./usr/share/doc/htp/inc.html |
55 | -rw-r--r--···0·root·········(0)·root·········(0)·····1092·2018-12-02·23:47:57.000000·./usr/share/doc/htp/inc.htp | 55 | -rw-r--r--···0·root·········(0)·root·········(0)·····1092·2018-12-02·23:47:57.000000·./usr/share/doc/htp/inc.htp |
56 | -rw-r--r--···0·root·········(0)·root·········(0)·····9881·2018-12-02·23:47:57.000000·./usr/share/doc/htp/include.html | 56 | -rw-r--r--···0·root·········(0)·root·········(0)·····9881·2018-12-02·23:47:57.000000·./usr/share/doc/htp/include.html |
57 | -rw-r--r--···0·root·········(0)·root·········(0)·····1894·2018-12-02·23:47:57.000000·./usr/share/doc/htp/include.htp | 57 | -rw-r--r--···0·root·········(0)·root·········(0)·····1894·2018-12-02·23:47:57.000000·./usr/share/doc/htp/include.htp |
58 | -rw-r--r--···0·root·········(0)·root·········(0)·····4874·2018-12-02·23:47:57.000000·./usr/share/doc/htp/index.html | 58 | -rw-r--r--···0·root·········(0)·root·········(0)·····4874·2018-12-02·23:47:57.000000·./usr/share/doc/htp/index.html |
59 | -rw-r--r--···0·root·········(0)·root·········(0)·······78·2018-12-02·23:47:57.000000·./usr/share/doc/htp/index.htp | 59 | -rw-r--r--···0·root·········(0)·root·········(0)·······78·2018-12-02·23:47:57.000000·./usr/share/doc/htp/index.htp |
60 | -rw-r--r--···0·root·········(0)·root·········(0)·····7733·2018-12-02·23:47:57.000000·./usr/share/doc/htp/intro.html | 60 | -rw-r--r--···0·root·········(0)·root·········(0)·····7733·2018-12-02·23:47:57.000000·./usr/share/doc/htp/intro.html |
61 | -rw-r--r--···0·root·········(0)·root·········(0)·····3489·2018-12-02·23:47:57.000000·./usr/share/doc/htp/intro.htp | 61 | -rw-r--r--···0·root·········(0)·root·········(0)·····3489·2018-12-02·23:47:57.000000·./usr/share/doc/htp/intro.htp |
62 | -rw-r--r--···0·root·········(0)·root·········(0)····10774·2018-12-02·23:47:57.000000·./usr/share/doc/htp/license.html | 62 | -rw-r--r--···0·root·········(0)·root·········(0)····10774·2018-12-02·23:47:57.000000·./usr/share/doc/htp/license.html |
63 | -rw-r--r--···0·root·········(0)·root·········(0)······454·2018-12-02·23:47:57.000000·./usr/share/doc/htp/license.htp | 63 | -rw-r--r--···0·root·········(0)·root·········(0)······454·2018-12-02·23:47:57.000000·./usr/share/doc/htp/license.htp |
64 | -rw-r--r--···0·root·········(0)·root·········(0)·····3782·2018-12-02·23:47:57.000000·./usr/share/doc/htp/macros.def | 64 | -rw-r--r--···0·root·········(0)·root·········(0)·····3782·2018-12-02·23:47:57.000000·./usr/share/doc/htp/macros.def |
65 | -rw-r--r--···0·root·········(0)·root·········(0)·····5088·2018-12-02·23:47:57.000000·./usr/share/doc/htp/macros.html | 65 | -rw-r--r--···0·root·········(0)·root·········(0)·····5088·2018-12-02·23:47:57.000000·./usr/share/doc/htp/macros.html |
66 | -rw-r--r--···0·root·········(0)·root·········(0)······388·2018-12-02·23:47:57.000000·./usr/share/doc/htp/macros.htp | 66 | -rw-r--r--···0·root·········(0)·root·········(0)······388·2018-12-02·23:47:57.000000·./usr/share/doc/htp/macros.htp |
67 | -rw-r--r--···0·root·········(0)·root·········(0)····1 | 67 | -rw-r--r--···0·root·········(0)·root·········(0)····12824·2018-12-02·23:47:57.000000·./usr/share/doc/htp/metatag.html |
68 | -rw-r--r--···0·root·········(0)·root·········(0)·····2439·2018-12-02·23:47:57.000000·./usr/share/doc/htp/metatag.htp.gz | 68 | -rw-r--r--···0·root·········(0)·root·········(0)·····2439·2018-12-02·23:47:57.000000·./usr/share/doc/htp/metatag.htp.gz |
69 | -rw-r--r--···0·root·········(0)·root·········(0)····· | 69 | -rw-r--r--···0·root·········(0)·root·········(0)·····8141·2018-12-02·23:47:57.000000·./usr/share/doc/htp/opt.html |
70 | -rw-r--r--···0·root·········(0)·root·········(0)······608·2018-12-02·23:47:57.000000·./usr/share/doc/htp/opt.htp | 70 | -rw-r--r--···0·root·········(0)·root·········(0)······608·2018-12-02·23:47:57.000000·./usr/share/doc/htp/opt.htp |
71 | -rw-r--r--···0·root·········(0)·root·········(0)·····7809·2018-12-02·23:47:57.000000·./usr/share/doc/htp/options.html | 71 | -rw-r--r--···0·root·········(0)·root·········(0)·····7809·2018-12-02·23:47:57.000000·./usr/share/doc/htp/options.html |
72 | -rw-r--r--···0·root·········(0)·root·········(0)·····3100·2018-12-02·23:47:57.000000·./usr/share/doc/htp/options.htp | 72 | -rw-r--r--···0·root·········(0)·root·········(0)·····3100·2018-12-02·23:47:57.000000·./usr/share/doc/htp/options.htp |
73 | -rw-r--r--···0·root·········(0)·root·········(0)·····82 | 73 | -rw-r--r--···0·root·········(0)·root·········(0)·····8233·2018-12-02·23:47:57.000000·./usr/share/doc/htp/output.html |
74 | -rw-r--r--···0·root·········(0)·root·········(0)······695·2018-12-02·23:47:57.000000·./usr/share/doc/htp/output.htp | 74 | -rw-r--r--···0·root·········(0)·root·········(0)······695·2018-12-02·23:47:57.000000·./usr/share/doc/htp/output.htp |
75 | drwxr-xr-x···0·root·········(0)·root·········(0)········0·2018-12-02·23:47:57.000000·./usr/share/doc/htp/pic/ | 75 | drwxr-xr-x···0·root·········(0)·root·········(0)········0·2018-12-02·23:47:57.000000·./usr/share/doc/htp/pic/ |
76 | -rw-r--r--···0·root·········(0)·root·········(0)······171·2018-12-02·23:47:57.000000·./usr/share/doc/htp/pic/arrow.png | 76 | -rw-r--r--···0·root·········(0)·root·········(0)······171·2018-12-02·23:47:57.000000·./usr/share/doc/htp/pic/arrow.png |
77 | -rw-r--r--···0·root·········(0)·root·········(0)······262·2018-12-02·23:47:57.000000·./usr/share/doc/htp/pic/download.png | 77 | -rw-r--r--···0·root·········(0)·root·········(0)······262·2018-12-02·23:47:57.000000·./usr/share/doc/htp/pic/download.png |
78 | -rw-r--r--···0·root·········(0)·root·········(0)······708·2018-12-02·23:47:57.000000·./usr/share/doc/htp/pic/htpicon.png | 78 | -rw-r--r--···0·root·········(0)·root·········(0)······708·2018-12-02·23:47:57.000000·./usr/share/doc/htp/pic/htpicon.png |
79 | -rw-r--r--···0·root·········(0)·root·········(0)····25563·2018-12-02·23:47:57.000000·./usr/share/doc/htp/pic/logo.png | 79 | -rw-r--r--···0·root·········(0)·root·········(0)····25563·2018-12-02·23:47:57.000000·./usr/share/doc/htp/pic/logo.png |
80 | -rw-r--r--···0·root·········(0)·root·········(0)······455·2018-12-02·23:47:57.000000·./usr/share/doc/htp/pic/manbig.png | 80 | -rw-r--r--···0·root·········(0)·root·········(0)······455·2018-12-02·23:47:57.000000·./usr/share/doc/htp/pic/manbig.png |
81 | -rw-r--r--···0·root·········(0)·root·········(0)······491·2018-12-02·23:47:57.000000·./usr/share/doc/htp/pic/manual.png | 81 | -rw-r--r--···0·root·········(0)·root·········(0)······491·2018-12-02·23:47:57.000000·./usr/share/doc/htp/pic/manual.png |
82 | -rw-r--r--···0·root·········(0)·root·········(0)·····1313·2018-12-02·23:47:57.000000·./usr/share/doc/htp/pic/poweredbyhtp.png | 82 | -rw-r--r--···0·root·········(0)·root·········(0)·····1313·2018-12-02·23:47:57.000000·./usr/share/doc/htp/pic/poweredbyhtp.png |
83 | -rw-r--r--···0·root·········(0)·root·········(0)······679·2018-12-02·23:47:57.000000·./usr/share/doc/htp/pic/sficon.png | 83 | -rw-r--r--···0·root·········(0)·root·········(0)······679·2018-12-02·23:47:57.000000·./usr/share/doc/htp/pic/sficon.png |
84 | -rw-r--r--···0·root·········(0)·root·········(0)······492·2018-12-02·23:47:57.000000·./usr/share/doc/htp/pic/source.png | 84 | -rw-r--r--···0·root·········(0)·root·········(0)······492·2018-12-02·23:47:57.000000·./usr/share/doc/htp/pic/source.png |
85 | -rw-r--r--···0·root·········(0)·root·········(0)······523·2018-12-02·23:47:57.000000·./usr/share/doc/htp/pphtp.pl | 85 | -rw-r--r--···0·root·········(0)·root·········(0)······523·2018-12-02·23:47:57.000000·./usr/share/doc/htp/pphtp.pl |
86 | -rw-r--r--···0·root·········(0)·root·········(0)·····7 | 86 | -rw-r--r--···0·root·········(0)·root·········(0)·····7748·2018-12-02·23:47:57.000000·./usr/share/doc/htp/quote.html |
87 | -rw-r--r--···0·root·········(0)·root·········(0)······390·2018-12-02·23:47:57.000000·./usr/share/doc/htp/quote.htp | 87 | -rw-r--r--···0·root·········(0)·root·········(0)······390·2018-12-02·23:47:57.000000·./usr/share/doc/htp/quote.htp |
88 | -rw-r--r--···0·root·········(0)·root·········(0)···· | 88 | -rw-r--r--···0·root·········(0)·root·········(0)·····9508·2018-12-02·23:47:57.000000·./usr/share/doc/htp/set.html |
89 | -rw-r--r--···0·root·········(0)·root·········(0)·····1200·2018-12-02·23:47:57.000000·./usr/share/doc/htp/set.htp | 89 | -rw-r--r--···0·root·········(0)·root·········(0)·····1200·2018-12-02·23:47:57.000000·./usr/share/doc/htp/set.htp |
90 | -rw-r--r--···0·root·········(0)·root·········(0)······500·2018-12-02·23:47:57.000000·./usr/share/doc/htp/styles.css | 90 | -rw-r--r--···0·root·········(0)·root·········(0)······500·2018-12-02·23:47:57.000000·./usr/share/doc/htp/styles.css |
91 | -rw-r--r--···0·root·········(0)·root·········(0)····27219·2018-12-02·23:47:57.000000·./usr/share/doc/htp/template.html | 91 | -rw-r--r--···0·root·········(0)·root·········(0)····27219·2018-12-02·23:47:57.000000·./usr/share/doc/htp/template.html |
92 | -rw-r--r--···0·root·········(0)·root·········(0)·····2235·2018-12-02·23:47:57.000000·./usr/share/doc/htp/template.htp.gz | 92 | -rw-r--r--···0·root·········(0)·root·········(0)·····2235·2018-12-02·23:47:57.000000·./usr/share/doc/htp/template.htp.gz |
93 | -rw-r--r--···0·root·········(0)·root·········(0)·····1914·2018-12-02·23:47:57.000000·./usr/share/doc/htp/toc.def | 93 | -rw-r--r--···0·root·········(0)·root·········(0)·····1914·2018-12-02·23:47:57.000000·./usr/share/doc/htp/toc.def |
94 | drwxr-xr-x···0·root·········(0)·root·········(0)········0·2018-12-02·23:47:57.000000·./usr/share/doc/htp/tut/ | 94 | drwxr-xr-x···0·root·········(0)·root·········(0)········0·2018-12-02·23:47:57.000000·./usr/share/doc/htp/tut/ |
95 | -rw-r--r--···0·root·········(0)·root·········(0)······146·2018-12-02·23:47:57.000000·./usr/share/doc/htp/tut/footer.hti | 95 | -rw-r--r--···0·root·········(0)·root·········(0)······146·2018-12-02·23:47:57.000000·./usr/share/doc/htp/tut/footer.hti |
Offset 102, 23 lines modified | Offset 102, 23 lines modified | ||
102 | -rw-r--r--···0·root·········(0)·root·········(0)······192·2018-12-02·23:47:57.000000·./usr/share/doc/htp/tut/tut2.htp | 102 | -rw-r--r--···0·root·········(0)·root·········(0)······192·2018-12-02·23:47:57.000000·./usr/share/doc/htp/tut/tut2.htp |
103 | -rw-r--r--···0·root·········(0)·root·········(0)······501·2018-12-02·23:47:57.000000·./usr/share/doc/htp/tut/tut3.html | 103 | -rw-r--r--···0·root·········(0)·root·········(0)······501·2018-12-02·23:47:57.000000·./usr/share/doc/htp/tut/tut3.html |
104 | -rw-r--r--···0·root·········(0)·root·········(0)······191·2018-12-02·23:47:57.000000·./usr/share/doc/htp/tut/tut3.htp | 104 | -rw-r--r--···0·root·········(0)·root·········(0)······191·2018-12-02·23:47:57.000000·./usr/share/doc/htp/tut/tut3.htp |
105 | -rw-r--r--···0·root·········(0)·root·········(0)······356·2018-12-02·23:47:57.000000·./usr/share/doc/htp/tut/tut3.htt | 105 | -rw-r--r--···0·root·········(0)·root·········(0)······356·2018-12-02·23:47:57.000000·./usr/share/doc/htp/tut/tut3.htt |
106 | -rw-r--r--···0·root·········(0)·root·········(0)······297·2018-12-02·23:47:57.000000·./usr/share/doc/htp/tut/tut4.htt | 106 | -rw-r--r--···0·root·········(0)·root·········(0)······297·2018-12-02·23:47:57.000000·./usr/share/doc/htp/tut/tut4.htt |
107 | -rw-r--r--···0·root·········(0)·root·········(0)····10517·2018-12-02·23:47:57.000000·./usr/share/doc/htp/tutorial.html | 107 | -rw-r--r--···0·root·········(0)·root·········(0)····10517·2018-12-02·23:47:57.000000·./usr/share/doc/htp/tutorial.html |
108 | -rw-r--r--···0·root·········(0)·root·········(0)·····3393·2018-12-02·23:47:57.000000·./usr/share/doc/htp/tutorial.htp | 108 | -rw-r--r--···0·root·········(0)·root·········(0)·····3393·2018-12-02·23:47:57.000000·./usr/share/doc/htp/tutorial.htp |
109 | -rw-r--r--···0·root·········(0)·root·········(0)····· | 109 | -rw-r--r--···0·root·········(0)·root·········(0)·····7804·2018-12-02·23:47:57.000000·./usr/share/doc/htp/undef.html |
110 | -rw-r--r--···0·root·········(0)·root·········(0)······460·2018-12-02·23:47:57.000000·./usr/share/doc/htp/undef.htp | 110 | -rw-r--r--···0·root·········(0)·root·········(0)······460·2018-12-02·23:47:57.000000·./usr/share/doc/htp/undef.htp |
111 | -rw-r--r--···0·root·········(0)·root·········(0)···· | 111 | -rw-r--r--···0·root·········(0)·root·········(0)·····9892·2018-12-02·23:47:57.000000·./usr/share/doc/htp/unset.html |
112 | -rw-r--r--···0·root·········(0)·root·········(0)······658·2018-12-02·23:47:57.000000·./usr/share/doc/htp/unset.htp | 112 | -rw-r--r--···0·root·········(0)·root·········(0)······658·2018-12-02·23:47:57.000000·./usr/share/doc/htp/unset.htp |
113 | -rw-r--r--···0·root·········(0)·root·········(0)·····7681·2018-12-02·23:47:57.000000·./usr/share/doc/htp/usage.html | 113 | -rw-r--r--···0·root·········(0)·root·········(0)·····7681·2018-12-02·23:47:57.000000·./usr/share/doc/htp/usage.html |
114 | -rw-r--r--···0·root·········(0)·root·········(0)·····2959·2018-12-02·23:47:57.000000·./usr/share/doc/htp/usage.htp | 114 | -rw-r--r--···0·root·········(0)·root·········(0)·····2959·2018-12-02·23:47:57.000000·./usr/share/doc/htp/usage.htp |
115 | -rw-r--r--···0·root·········(0)·root·········(0)····11 | 115 | -rw-r--r--···0·root·········(0)·root·········(0)····11957·2018-12-02·23:47:57.000000·./usr/share/doc/htp/use.html |
116 | -rw-r--r--···0·root·········(0)·root·········(0)·····3300·2018-12-02·23:47:57.000000·./usr/share/doc/htp/use.htp | 116 | -rw-r--r--···0·root·········(0)·root·········(0)·····3300·2018-12-02·23:47:57.000000·./usr/share/doc/htp/use.htp |
117 | -rw-r--r--···0·root·········(0)·root·········(0)···· | 117 | -rw-r--r--···0·root·········(0)·root·········(0)····10206·2018-12-02·23:47:57.000000·./usr/share/doc/htp/while.html |
118 | -rw-r--r--···0·root·········(0)·root·········(0)······938·2018-12-02·23:47:57.000000·./usr/share/doc/htp/while.htp | 118 | -rw-r--r--···0·root·········(0)·root·········(0)······938·2018-12-02·23:47:57.000000·./usr/share/doc/htp/while.htp |
119 | -rw-r--r--···0·root·········(0)·root·········(0)·····5288·2018-12-02·23:47:57.000000·./usr/share/doc/htp/wishlist.html | 119 | -rw-r--r--···0·root·········(0)·root·········(0)·····5288·2018-12-02·23:47:57.000000·./usr/share/doc/htp/wishlist.html |
120 | -rw-r--r--···0·root·········(0)·root·········(0)·····1311·2018-12-02·23:47:57.000000·./usr/share/doc/htp/wishlist.htp | 120 | -rw-r--r--···0·root·········(0)·root·········(0)·····1311·2018-12-02·23:47:57.000000·./usr/share/doc/htp/wishlist.htp |
121 | drwxr-xr-x···0·root·········(0)·root·········(0)········0·2018-12-02·23:47:57.000000·./usr/share/doc-base/ | 121 | drwxr-xr-x···0·root·········(0)·root·········(0)········0·2018-12-02·23:47:57.000000·./usr/share/doc-base/ |
122 | -rw-r--r--···0·root·········(0)·root·········(0)······235·2018-12-02·23:47:57.000000·./usr/share/doc-base/htp | 122 | -rw-r--r--···0·root·········(0)·root·········(0)······235·2018-12-02·23:47:57.000000·./usr/share/doc-base/htp |
123 | drwxr-xr-x···0·root·········(0)·root·········(0)········0·2018-12-02·23:47:57.000000·./usr/share/lintian/ | 123 | drwxr-xr-x···0·root·········(0)·root·········(0)········0·2018-12-02·23:47:57.000000·./usr/share/lintian/ |
124 | drwxr-xr-x···0·root·········(0)·root·········(0)········0·2018-12-02·23:47:57.000000·./usr/share/lintian/overrides/ | 124 | drwxr-xr-x···0·root·········(0)·root·········(0)········0·2018-12-02·23:47:57.000000·./usr/share/lintian/overrides/ |
Offset 114, 35 lines modified | Offset 114, 35 lines modified | ||
114 | ······<a·class="noline"·href="bugs.html">Bugs</a></td></tr> | 114 | ······<a·class="noline"·href="bugs.html">Bugs</a></td></tr> |
115 | ··</table> | 115 | ··</table> |
116 | ··</div> | 116 | ··</div> |
117 | </td> | 117 | </td> |
118 | <td·bgcolor="#f0f0d0"·rowspan="2"·valign="top"> | 118 | <td·bgcolor="#f0f0d0"·rowspan="2"·valign="top"> |
119 | <h2>syntax</h2> | 119 | <h2>syntax</h2> |
120 | ··<p><code> | 120 | ··<p><code> |
121 | <span·class="htp-tag"><<a·href="img.html"·><img·src="pic/manual.png"·border=0·alt="[ref]"·width="10"·height="10">img</a>·<span·class="htp-attrib">src</span>=<span·class="htp-string">"filename"</span>·<span·class="htp-attrib">...</span>></span><br> | ||
121 | <span·class="htp-tag"><<a·href="blockdef.html"·><img·src="pic/manual.png"·border=0·alt="[ref]"·width="10"·height="10">blockdef</a>·<span·class="htp-attrib">name</span>=<span·class="htp-string">"tagname"</span>·<span·class="ebnf">[</span><span·class="htp-attrib">option</span>=<span·class="htp-string">"option1·<span·class="ebnf">[</span>option2·...<span·class="ebnf">]</span>"</span>·<span·class="ebnf">]</span>·<span·class="ebnf">[</span><span·class="htp-attrib">global</span><span·class="ebnf">]</span>·<span·class="ebnf">[</span><span·class="htp-attrib">expand</span><span·class="ebnf">]</span>></span><br> | ||
122 | ·...·<span·class="htp-tag"><<a·href="use.html"·><img·src="pic/manual.png"·border=0·alt="[ref]"·width="10"·height="10">use</a>·<span·class="htp-attrib">block</span>></span> ...<br> | ||
123 | <span·class="htp-tag"><<a·href="blockdef.html"·><img·src="pic/manual.png"·border=0·alt="[ref]"·width="10"·height="10">/blockdef</a>></span><br> | ||
124 | <br> | 122 | <br> |
125 | </code></p> | 123 | </code></p> |
126 | <h2>synopsis</h2> | 124 | <h2>synopsis</h2> |
127 | <strong>ALTTEXT</strong>·declares·an·ALT·attribute·for·any·<A | 125 | <strong>ALTTEXT</strong>·declares·an·ALT·attribute·for·any·<A |
128 | HREF="img.html">IMG</A>·tag·with·a·SRC·matching·the·ALTTEXT·NAME. | 126 | HREF="img.html">IMG</A>·tag·with·a·SRC·matching·the·ALTTEXT·NAME. |
129 | Since·relative·paths·can·be·used·to·point·to·the·same·image,·only·the | 127 | Since·relative·paths·can·be·used·to·point·to·the·same·image,·only·the |
130 | filename·is·considered·in·all·comparisons. | 128 | filename·is·considered·in·all·comparisons. |
131 | <p> | 129 | <p> |
132 | When·an·IMG·tag·with·a·matching·source·is·encountered,·htp·will·add·an·ALT | 130 | When·an·IMG·tag·with·a·matching·source·is·encountered,·htp·will·add·an·ALT |
133 | attribute·only·if·one·is·not·already·present.··This·allows·for·ALT·text·to | 131 | attribute·only·if·one·is·not·already·present.··This·allows·for·ALT·text·to |
134 | be·overridden·on·specific·images·and·default·text·on·all·others. | 132 | be·overridden·on·specific·images·and·default·text·on·all·others. |
135 | <p> | 133 | <p> |
136 | For·example: | 134 | For·example: |
137 | ··<p><code> | 135 | ··<p><code> |
138 | <span·class="htp-tag"><<a·href="block.html"·><img·src="pic/manual.png"·border=0·alt="[ref]"·width="10"·height="10">BLOCK</a>·<span·class="htp-attrib">NAME</span>=<span·class="htp-string">"blockname"</span>·<span·class="htp-attrib">[GLOBAL]</span>·<span·class="htp-attrib">[EXPAND]</span>></span><br> | ||
139 | te | 136 | · ·<span·class="htp-tag"><<a·href="def.html"·><img·src="pic/manual.png"·border=0·alt="[ref]"·width="10"·height="10">def</a>·<span·class="htp-attrib">name</span>=<span·class="htp-string">"centered"</span>></span><br> |
137 | · ·<span·class="htp-tag"><p·<span·class="htp-attrib">align</span>=<span·class="htp-value">center</span>></span><br> | ||
140 | <span·class="htp-tag"><<a·href=" | 138 | · ·<span·class="htp-tag"><<a·href="def.html"·><img·src="pic/manual.png"·border=0·alt="[ref]"·width="10"·height="10">/def</a>></span><br> |
141 | <br> | 139 | <br> |
140 | · ·<span·class="htp-tag"><centered></span><br> | ||
141 | · ·This·text·is·centered.<br> | ||
142 | </code></p> | 142 | </code></p> |
143 | <p> | 143 | <p> |
144 | An·ALTTEXT·tag·with·a·name·but·no·text·attribute·removes·any·ALT | 144 | An·ALTTEXT·tag·with·a·name·but·no·text·attribute·removes·any·ALT |
145 | mapping·for·this·image.··Successing·IMG·tags·with·a·matching·SRC·name·are·not | 145 | mapping·for·this·image.··Successing·IMG·tags·with·a·matching·SRC·name·are·not |
146 | changed. | 146 | changed. |
147 | <p> | 147 | <p> |
148 | Since·this·is·useful·for·an·image·used·throughout·a·set·of·documents, | 148 | Since·this·is·useful·for·an·image·used·throughout·a·set·of·documents, |
Offset 114, 24 lines modified | Offset 114, 24 lines modified | ||
114 | ······<a·class="noline"·href="bugs.html">Bugs</a></td></tr> | 114 | ······<a·class="noline"·href="bugs.html">Bugs</a></td></tr> |
115 | ··</table> | 115 | ··</table> |
116 | ··</div> | 116 | ··</div> |
117 | </td> | 117 | </td> |
118 | <td·bgcolor="#f0f0d0"·rowspan="2"·valign="top"> | 118 | <td·bgcolor="#f0f0d0"·rowspan="2"·valign="top"> |
119 | <h2>syntax</h2> | 119 | <h2>syntax</h2> |
120 | ··<p><code> | 120 | ··<p><code> |
121 | ·<span·class="htp-tag"><<a·href="alttext.html"·><img·src="pic/manual.png"·border=0·alt="[ref]"·width="10"·height="10">alttext</a>·<span·class="htp-attrib">name</span>=<span·class="htp-string">"logo.gif"</span>·<span·class="htp-attrib">text</span>=<span·class="htp-string">"Company·logo"</span>></span><br> | ||
121 | ·<span·class="htp-tag"><<a·href="blockdef.html"·><img·src="pic/manual.png"·border=0·alt="[ref]"·width="10"·height="10">blockdef</a>·<span·class="htp-attrib">name</span>=<span·class="htp-string">"section"</span>·<span·class="htp-attrib">option</span>=<span·class="htp-string">"title"</span>></span><br> | ||
122 | · <span·class="htp-tag"><h1></span><span·class="htp-tag"><<a·href="use.html"·><img·src="pic/manual.png"·border=0·alt="[ref]"·width="10"·height="10">use</a>·<span·class="htp-attrib">title</span>></span><span·class="htp-tag"></h1></span><br> | ||
123 | · <span·class="htp-tag"><p·<span·class="htp-attrib">class</span>=<span·class="htp-string">"section"</span>></span><br> | ||
124 | · · <span·class="htp-tag"><<a·href="use.html"·><img·src="pic/manual.png"·border=0·alt="[ref]"·width="10"·height="10">use</a>·<span·class="htp-attrib">block</span>></span><br> | ||
125 | · <span·class="htp-tag"></p></span><br> | ||
126 | ·<span·class="htp-tag"><<a·href="blockdef.html"·><img·src="pic/manual.png"·border=0·alt="[ref]"·width="10"·height="10">/blockdef</a>></span><br> | ||
127 | <br> | 122 | <br> |
128 | ·<span·class="htp-tag"><section·<span·class="htp-attrib">title</span>=<span·class="htp-string">"My·Section"</span>></span><br> | ||
129 | · ·This·is·a·fancy·section.<br> | ||
130 | ·<span·class="htp-tag"></s | 123 | ·this·line:·<span·class="htp-tag"><<a·href="img.html"·><img·src="pic/manual.png"·border=0·alt="[ref]"·width="10"·height="10">img</a>·<span·class="htp-attrib">src</span>=<span·class="htp-string">"logo.gif"</span>></span><br> |
124 | ·becomes·this·after·processing:·<span·class="htp-tag"><<a·href="img.html"·><img·src="pic/manual.png"·border=0·alt="[ref]"·width="10"·height="10">img</a>·<span·class="htp-attrib">src</span>=<span·class="htp-string">"logo.gif"</span>·<span·class="htp-attrib">alt</span>=<span·class="htp-string">"Company·logo"</span>></span><br> | ||
125 | <br> | ||
126 | ·this·line:·<span·class="htp-tag"><<a·href="img.html"·><img·src="pic/manual.png"·border=0·alt="[ref]"·width="10"·height="10">img</a>·<span·class="htp-attrib">src</span>=<span·class="htp-string">"../image/logo.gif"</span>></span><br> | ||
127 | ·will·also·have·an·ALT·attribute·appended·to·it<br> | ||
128 | <br> | ||
129 | ·this·line:·<span·class="htp-tag"><<a·href="img.html"·><img·src="pic/manual.png"·border=0·alt="[ref]"·width="10"·height="10">img</a>·<span·class="htp-attrib">src</span>=<span·class="htp-string">"logo.gif"</span>·<span·class="htp-attrib">alt</span>=<span·class="htp-string">"Click·here·for·more·information!"</span>></span><br> | ||
130 | ·remains·unchanged.<br> | ||
131 | </code></p> | 131 | </code></p> |
132 | <h2>synopsis</h2> | 132 | <h2>synopsis</h2> |
133 | <P> | 133 | <P> |
134 | <STRONG>BLOCK·and·/BLOCK</STRONG>·are·used·to·create·block·macros,·which | 134 | <STRONG>BLOCK·and·/BLOCK</STRONG>·are·used·to·create·block·macros,·which |
135 | are·similar·in·use·to·<A·HREF="set.html">SET</A>·macros,·but·can·be | 135 | are·similar·in·use·to·<A·HREF="set.html">SET</A>·macros,·but·can·be |
136 | multi-line·definitions. | 136 | multi-line·definitions. |
137 | </P> | 137 | </P> |
Offset 114, 31 lines modified | Offset 114, 56 lines modified | ||
114 | ······<a·class="noline"·href="bugs.html">Bugs</a></td></tr> | 114 | ······<a·class="noline"·href="bugs.html">Bugs</a></td></tr> |
115 | ··</table> | 115 | ··</table> |
116 | ··</div> | 116 | ··</div> |
117 | </td> | 117 | </td> |
118 | <td·bgcolor="#f0f0d0"·rowspan="2"·valign="top"> | 118 | <td·bgcolor="#f0f0d0"·rowspan="2"·valign="top"> |
119 | <h2>syntax</h2> | 119 | <h2>syntax</h2> |
120 | ··<p><code> | 120 | ··<p><code> |
121 | ·<span·class="htp-tag"><<a·href="alttext.html"·><img·src="pic/manual.png"·border=0·alt="[ref]"·width="10"·height="10">alttext</a>·<span·class="htp-attrib">name</span>=<span·class="htp-string">"logo.gif"</span>·<span·class="htp-attrib">text</span>=<span·class="htp-string">"Company·logo"</span>></span><br> | ||
121 | <span·class="htp-tag"><<a·href="block.html"·><img·src="pic/manual.png"·border=0·alt="[ref]"·width="10"·height="10">BLOCK</a>·<span·class="htp-attrib">NAME</span>=<span·class="htp-string">"blockname"</span>·<span·class="ebnf">[</span><span·class="htp-attrib">GLOBAL</span><span·class="ebnf">]</span>·<span·class="ebnf">[</span><span·class="htp-attrib">EXPAND</span><span·class="ebnf">]</span>></span><br> | ||
122 | text·block<br> | ||
123 | <span·class="htp-tag"><<a·href="block.html"·><img·src="pic/manual.png"·border=0·alt="[ref]"·width="10"·height="10">/BLOCK</a>></span><br> | ||
124 | <br> | 122 | <br> |
123 | ·this·line:·<span·class="htp-tag"><<a·href="img.html"·><img·src="pic/manual.png"·border=0·alt="[ref]"·width="10"·height="10">img</a>·<span·class="htp-attrib">src</span>=<span·class="htp-string">"logo.gif"</span>></span><br> | ||
124 | ·becomes·this·after·processing:·<span·class="htp-tag"><<a·href="img.html"·><img·src="pic/manual.png"·border=0·alt="[ref]"·width="10"·height="10">img</a>·<span·class="htp-attrib">src</span>=<span·class="htp-string">"logo.gif"</span>·<span·class="htp-attrib">alt</span>=<span·class="htp-string">"Company·logo"</span>></span><br> | ||
125 | <br> | ||
126 | ·this·line:·<span·class="htp-tag"><<a·href="img.html"·><img·src="pic/manual.png"·border=0·alt="[ref]"·width="10"·height="10">img</a>·<span·class="htp-attrib">src</span>=<span·class="htp-string">"../image/logo.gif"</span>></span><br> | ||
127 | ·will·also·have·an·ALT·attribute·appended·to·it<br> | ||
128 | <br> | ||
129 | ·this·line:·<span·class="htp-tag"><<a·href="img.html"·><img·src="pic/manual.png"·border=0·alt="[ref]"·width="10"·height="10">img</a>·<span·class="htp-attrib">src</span>=<span·class="htp-string">"logo.gif"</span>·<span·class="htp-attrib">alt</span>=<span·class="htp-string">"Click·here·for·more·information!"</span>></span><br> | ||
130 | ·remains·unchanged.<br> | ||
125 | </code></p> | 131 | </code></p> |
126 | <h2>synopsis</h2> | 132 | <h2>synopsis</h2> |
127 | <strong>BLOCKDEF</strong>·creates·block·<A | 133 | <strong>BLOCKDEF</strong>·creates·block·<A |
128 | HREF="metatag.html">metatags</A>,·which·is·a·fancy·way·of·saying·it | 134 | HREF="metatag.html">metatags</A>,·which·is·a·fancy·way·of·saying·it |
129 | creates·new·block·tags.··A·block·tag·is·a·tag·that·takes·a·whole·block | 135 | creates·new·block·tags.··A·block·tag·is·a·tag·that·takes·a·whole·block |
130 | as·additional·parameter.··This·block·is·surrounded·by·<tagname>·and | 136 | as·additional·parameter.··This·block·is·surrounded·by·<tagname>·and |
131 | </tagname>.··The·contents·of·this·block·are·automatically·stored | 137 | </tagname>.··The·contents·of·this·block·are·automatically·stored |
132 | in·the·block·macro·named·BLOCK. | 138 | in·the·block·macro·named·BLOCK. |
133 | <P>·For·example:</P> | 139 | <P>·For·example:</P> |
134 | ··<p><code> | 140 | ··<p><code> |
135 | <span·class="htp-tag"><<a·href="def.html"·><img·src="pic/manual.png"·border=0·alt="[ref]"·width="10"·height="10">def</a>·<span·class="htp-attrib">name</span>=<span·class="htp-string">"tagname"</span>·<span·class="htp-attrib">[option</span>=<span·class="htp-string">"option1·[option2·...]"</span>·<span·class="htp-attrib">]</span>·<span·class="htp-attrib">[global]</span>·<span·class="htp-attrib">[expand]</span>></span><br> | ||
136 | <span·class="htp-tag"><<a·href=" | 141 | ·<span·class="htp-tag"><<a·href="imageurl.html"·><img·src="pic/manual.png"·border=0·alt="[ref]"·width="10"·height="10">imageurl</a>·<span·class="htp-attrib">url</span>=<span·class="htp-string">"http://my.domain.org/"</span>·<span·class="htp-attrib">path</span>=<span·class="htp-string">"/var/www/my.domain/"</span>></span><br> |
142 | ·<span·class="htp-tag"><<a·href="imageurl.html"·><img·src="pic/manual.png"·border=0·alt="[ref]"·width="10"·height="10">imageurl</a>·<span·class="htp-attrib">url</span>=<span·class="htp-string">"other.domain.org/"</span>·<span·class="htp-attrib">path</span>=<span·class="htp-string">"/var/www/other.domain/"</span>></span><br> | ||
143 | <br> | ||
144 | ·For·this·line:·<span·class="htp-tag"><<a·href="img.html"·><img·src="pic/manual.png"·border=0·alt="[ref]"·width="10"·height="10">img</a>·<span·class="htp-attrib">src</span>=<span·class="htp-string">"logo.gif"</span>></span><br> | ||
145 | ·the·local·filename·"logo.gif"·will·be·used·to·determine·image·dimensions<br> | ||
146 | ·(no·URL·replacement).<br> | ||
147 | <br> | ||
148 | ·For·this·line:·<span·class="htp-tag"><<a·href="img.html"·><img·src="pic/manual.png"·border=0·alt="[ref]"·width="10"·height="10">img</a>·<span·class="htp-attrib">src</span>=<span·class="htp-string">"http://my.domain.org/logo.gif"</span>></span><br> | ||
149 | ·the·local·filename·"/var/www/my.domain/logo.gif"·will·be·used.<br> | ||
150 | <br> | ||
151 | ·But·for·this·line:·<span·class="htp-tag"><<a·href="img.html"·><img·src="pic/manual.png"·border=0·alt="[ref]"·width="10"·height="10">img</a>·<span·class="htp-attrib">src</span>=<span·class="htp-string">"http://other.domain.org/logo.gif"</span>></span><br> | ||
152 | ·the·local·file·cannot·be·found·(no·prefix·match),·so·the·image·dimensions<br> | ||
153 | ·will·not·be·added.<br> | ||
154 | <br> | ||
155 | ·Order·is·important;·last·IMAGEURL·tag·takes·precedence:<br> | ||
156 | ·<span·class="htp-tag"><<a·href="imageurl.html"·><img·src="pic/manual.png"·border=0·alt="[ref]"·width="10"·height="10">imageurl</a>·<span·class="htp-attrib">url</span>=<span·class="htp-string">"/"</span>·<span·class="htp-attrib">path</span>=<span·class="htp-string">"/var/www/htdocs/"</span>></span><br> | ||
157 | ·<span·class="htp-tag"><<a·href="imageurl.html"·><img·src="pic/manual.png"·border=0·alt="[ref]"·width="10"·height="10">imageurl</a>·<span·class="htp-attrib">url</span>=<span·class="htp-string">"/test/"</span>·<span·class="htp-attrib">path</span>=<span·class="htp-string">"/var/www/test/"</span>></span><br> | ||
137 | <br> | 158 | <br> |
159 | ·<span·class="htp-tag"><<a·href="img.html"·><img·src="pic/manual.png"·border=0·alt="[ref]"·width="10"·height="10">img</a>·<span·class="htp-attrib">src</span>=<span·class="htp-string">"/image.gif"</span>></span> and·<span·class="htp-tag"><<a·href="img.html"·><img·src="pic/manual.png"·border=0·alt="[ref]"·width="10"·height="10">img</a>·<span·class="htp-attrib">src</span>=<span·class="htp-string">"/test/image.gif"</span>></span> are·mapped·to<br> | ||
160 | ·/var/www/htdocs/image.gif·and·/var/www/test/image.gif,·resp.<br> | ||
161 | ·If·the·order·of·the·imageurl·lines·would·be·swapped,·the·second·<br> | ||
162 | ·image·would·be·mapped·to·/var/www/htdocs/test/image.gif.<br> | ||
138 | </code></p> | 163 | </code></p> |
139 | <p> | 164 | <p> |
140 | All·block·metatags·have·the·implicit·option·<a | 165 | All·block·metatags·have·the·implicit·option·<a |
141 | href="expand.html">EXPAND</A>,·which·tells·htp·to·expand·the·contents | 166 | href="expand.html">EXPAND</A>,·which·tells·htp·to·expand·the·contents |
142 | of·the·block·before·the·definition·is·expanded. | 167 | of·the·block·before·the·definition·is·expanded. |
143 | </p> | 168 | </p> |
144 | <p> | 169 | <p> |
Offset 114, 48 lines modified | Offset 114, 70 lines modified | ||
114 | ······<a·class="noline"·href="bugs.html">Bugs</a></td></tr> | 114 | ······<a·class="noline"·href="bugs.html">Bugs</a></td></tr> |
115 | ··</table> | 115 | ··</table> |
116 | ··</div> | 116 | ··</div> |
117 | </td> | 117 | </td> |
118 | <td·bgcolor="#f0f0d0"·rowspan="2"·valign="top"> | 118 | <td·bgcolor="#f0f0d0"·rowspan="2"·valign="top"> |
119 | <h2>syntax</h2> | 119 | <h2>syntax</h2> |
120 | ··<p><code> | 120 | ··<p><code> |
121 | <span·class="htp-tag"><<a·href="imageurl.html"·><img·src="pic/manual.png"·border=0·alt="[ref]"·width="10"·height="10">imageurl</a>·<span·class="htp-attrib">url</span>=<span·class="htp-string">"imageurl"</span>·<span·class="ebnf">[</span>·<span·class="htp-attrib">path</span>=<span·class="htp-string">"path/in/local/filesystem"</span>·<span·class="ebnf">]</span>></span><br> | ||
121 | ·<span·class="htp-tag"><<a·href="blockdef.html"·><img·src="pic/manual.png"·border=0·alt="[ref]"·width="10"·height="10">blockdef</a>·<span·class="htp-attrib">name</span>=<span·class="htp-string">"section"</span>·<span·class="htp-attrib">option</span>=<span·class="htp-string">"title"</span>></span><br> | ||
122 | · <span·class="htp-tag"><h1></span><span·class="htp-tag"><<a·href="use.html"·><img·src="pic/manual.png"·border=0·alt="[ref]"·width="10"·height="10">use</a>·<span·class="htp-attrib">title</span>></span><span·class="htp-tag"></h1></span><br> | ||
123 | · <span·class="htp-tag"><p·<span·class="htp-attrib">class</span>=<span·class="htp-string">"section"</span>></span><br> | ||
124 | · · <span·class="htp-tag"><<a·href="use.html"·><img·src="pic/manual.png"·border=0·alt="[ref]"·width="10"·height="10">use</a>·<span·class="htp-attrib">block</span>></span><br> | ||
125 | · <span·class="htp-tag"></p></span><br> | ||
126 | ·<span·class="htp-tag"><<a·href="blockdef.html"·><img·src="pic/manual.png"·border=0·alt="[ref]"·width="10"·height="10">/blockdef</a>></span><br> | ||
127 | <br> | 122 | <br> |
128 | ·<span·class="htp-tag"><section·<span·class="htp-attrib">title</span>=<span·class="htp-string">"My·Section"</span>></span><br> | ||
129 | · ·This·is·a·fancy·section.<br> | ||
130 | 123 | img·src="logo.gif"><br> | |
124 | ·becomes·this·after·processing:·<span·class="htp-tag"><<a·href="img.html"·><img·src="pic/manual.png"·border=0·alt="[ref]"·width="10"·height="10">img</a>·<span·class="htp-attrib">src</span>=<span·class="htp-string">"logo.gif"</span>·<span·class="htp-attrib">alt</span>=<span·class="htp-string">"Company·logo"</span>></span><br> | ||
125 | <br> | ||
126 | ·this·line:·<span·class="htp-tag"><<a·href="img.html"·><img·src="pic/manual.png"·border=0·alt="[ref]"·width="10"·height="10">img</a>·<span·class="htp-attrib">src</span>=<span·class="htp-string">"../image/logo.gif"</span>></span><br> | ||
127 | ·will·also·have·an·ALT·attribute·appended·to·it<br> | ||
128 | <br> | ||
129 | ·this·line:·<span·class="htp-tag"><<a·href="img.html"·><img·src="pic/manual.png"·border=0·alt="[ref]"·width="10"·height="10">img</a>·<span·class="htp-attrib">src</span>=<span·class="htp-string">"logo.gif"</span>·<span·class="htp-attrib">alt</span>=<span·class="htp-string">"Click·here·for·more·information!"</span>></span><br> | ||
130 | ·remains·unchanged.<br> | ||
131 | </code></p> | 131 | </code></p> |
132 | <h2>synopsis</h2> | 132 | <h2>synopsis</h2> |
133 | <p> | 133 | <p> |
134 | This·is·a·simple·comment·that·is·not·included·in·the·output.··This·is·useful | 134 | This·is·a·simple·comment·that·is·not·included·in·the·output.··This·is·useful |
135 | when·commenting·metatags,·since·the·metatags·do·not·appear·the·output·either. | 135 | when·commenting·metatags,·since·the·metatags·do·not·appear·the·output·either. |
136 | Example: | 136 | Example: |
137 | </p> | 137 | </p> |
138 | ··<p><code> | 138 | ··<p><code> |
139 | · ·a·is·expanded·at·time·1.<br> | ||
140 | · ·b·is·expanded·at·time·0.<br> | ||
141 | ·contents·of·a:· ·a·is·expanded·at·time·<span·class="htp-tag"><<a·href="use.html"·><img·src="pic/manual.png"·border=0·alt="[ref]"·width="10"·height="10">use</a>·<span·class="htp-attrib">time</span>></span>.<br> | ||
142 | ·contents·of·b:· ·b·is·expanded·at·time·0.<br> | ||
143 | · ·c·is·expanded·at·time·1;· ·a·is·expanded·at·time·1.<br> | ||
144 | · ·d·is·expanded·at·time·1;· ·a·is·expanded·at·time·2.<br> | ||
145 | · | 139 | ·<span·class="htp-tag"><<a·href="imageurl.html"·><img·src="pic/manual.png"·border=0·alt="[ref]"·width="10"·height="10">imageurl</a>·<span·class="htp-attrib">url</span>=<span·class="htp-string">"http://my.domain.org/"</span>·<span·class="htp-attrib">path</span>=<span·class="htp-string">"/var/www/my.domain/"</span>></span><br> |
140 | ·<span·class="htp-tag"><<a·href="imageurl.html"·><img·src="pic/manual.png"·border=0·alt="[ref]"·width="10"·height="10">imageurl</a>·<span·class="htp-attrib">url</span>=<span·class="htp-string">"other.domain.org/"</span>·<span·class="htp-attrib">path</span>=<span·class="htp-string">"/var/www/other.domain/"</span>></span><br> | ||
141 | <br> | ||
142 | ·For·this·line:·<span·class="htp-tag"><<a·href="img.html"·><img·src="pic/manual.png"·border=0·alt="[ref]"·width="10"·height="10">img</a>·<span·class="htp-attrib">src</span>=<span·class="htp-string">"logo.gif"</span>></span><br> | ||
143 | ·the·local·filename·"logo.gif"·will·be·used·to·determine·image·dimensions<br> | ||
144 | ·(no·URL·replacement).<br> | ||
145 | <br> | ||
146 | ·For·this·line:·<span·class="htp-tag"><<a·href="img.html"·><img·src="pic/manual.png"·border=0·alt="[ref]"·width="10"·height="10">img</a>·<span·class="htp-attrib">src</span>=<span·class="htp-string">"http://my.domain.org/logo.gif"</span>></span><br> | ||
147 | ·the·local·filename·"/var/www/my.domain/logo.gif"·will·be·used.<br> | ||
148 | <br> | ||
149 | ·But·for·this·line:·<span·class="htp-tag"><<a·href="img.html"·><img·src="pic/manual.png"·border=0·alt="[ref]"·width="10"·height="10">img</a>·<span·class="htp-attrib">src</span>=<span·class="htp-string">"http://other.domain.org/logo.gif"</span>></span><br> | ||
150 | ·the·local·file·cannot·be·found·(no·prefix·match),·so·the·image·dimensions<br> | ||
151 | ·will·not·be·added.<br> | ||
152 | <br> | ||
153 | ·Order·is·important;·last·IMAGEURL·tag·takes·precedence:<br> | ||
154 | ·<span·class="htp-tag"><<a·href="imageurl.html"·><img·src="pic/manual.png"·border=0·alt="[ref]"·width="10"·height="10">imageurl</a>·<span·class="htp-attrib">url</span>=<span·class="htp-string">"/"</span>·<span·class="htp-attrib">path</span>=<span·class="htp-string">"/var/www/htdocs/"</span>></span><br> | ||
155 | ·<span·class="htp-tag"><<a·href="imageurl.html"·><img·src="pic/manual.png"·border=0·alt="[ref]"·width="10"·height="10">imageurl</a>·<span·class="htp-attrib">url</span>=<span·class="htp-string">"/test/"</span>·<span·class="htp-attrib">path</span>=<span·class="htp-string">"/var/www/test/"</span>></span><br> | ||
156 | <br> | ||
157 | ·<span·class="htp-tag"><<a·href="img.html"·><img·src="pic/manual.png"·border=0·alt="[ref]"·width="10"·height="10">img</a>·<span·class="htp-attrib">src</span>=<span·class="htp-string">"/image.gif"</span>></span> and·<span·class="htp-tag"><<a·href="img.html"·><img·src="pic/manual.png"·border=0·alt="[ref]"·width="10"·height="10">img</a>·<span·class="htp-attrib">src</span>=<span·class="htp-string">"/test/image.gif"</span>></span> are·mapped·to<br> | ||
158 | ·/var/www/htdocs/image.gif·and·/var/www/test/image.gif,·resp.<br> | ||
159 | ·If·the·order·of·the·imageurl·lines·would·be·swapped,·the·second·<br> | ||
160 | ·image·would·be·mapped·to·/var/www/htdocs/test/image.gif.<br> | ||
146 | </code></p> | 161 | </code></p> |
147 | <p> | 162 | <p> |
148 | Note·that·these·comments·should·not·include·<·or·>,·that·is·you | 163 | Note·that·these·comments·should·not·include·<·or·>,·that·is·you |
149 | should·not·use·it·to·comment·out·htp·code.··For·that·purpose·use·something | 164 | should·not·use·it·to·comment·out·htp·code.··For·that·purpose·use·something |
150 | like·this: | 165 | like·this: |
151 | </p> | 166 | </p> |
152 | ··<p><code> | 167 | ··<p><code> |
153 | <span·class="htp-tag"><<a·href=" | 168 | ·<span·class="htp-tag"><<a·href="def.html"·><img·src="pic/manual.png"·border=0·alt="[ref]"·width="10"·height="10">def</a>·<span·class="htp-attrib">name</span>=<span·class="htp-string">"bigfont"</span>></span><br> |
169 | · ·<span·class="htp-tag"><font·<span·class="htp-attrib">size</span>=<span·class="htp-string">"+4"</span>></span><br> | ||
170 | ·<span·class="htp-tag"><<a·href="def.html"·><img·src="pic/manual.png"·border=0·alt="[ref]"·width="10"·height="10">/def</a>></span><br> | ||
171 | <br> | ||
172 | ·<span·class="htp-tag"><<a·href="def.html"·><img·src="pic/manual.png"·border=0·alt="[ref]"·width="10"·height="10">def</a>·<span·class="htp-attrib">name</span>=<span·class="htp-string">"/bigfont"</span>></span><br> | ||
173 | · ·<span·class="htp-tag"></font></span><br> | ||
174 | ·<span·class="htp-tag"><<a·href="def.html"·><img·src="pic/manual.png"·border=0·alt="[ref]"·width="10"·height="10">/def</a>></span><br> | ||
154 | <br> | 175 | <br> |
176 | ·<span·class="htp-tag"><bigfont></span>Some·large·text<span·class="htp-tag"></bigfont></span><br> | ||
155 | </code></p> | 177 | </code></p> |
156 | <p>Make·sure·that·the·variable·is·never·defined·and·xyz·should·be·the | 178 | <p>Make·sure·that·the·variable·is·never·defined·and·xyz·should·be·the |
157 | reason·why·you·don't·want·to·include·this·block</p> | 179 | reason·why·you·don't·want·to·include·this·block</p> |
158 | <p> | 180 | <p> |
159 | </td> | 181 | </td> |
160 | </tr> | 182 | </tr> |
161 | <tr> | 183 | <tr> |
Offset 114, 73 lines modified | Offset 114, 69 lines modified | ||
114 | ······<a·class="noline"·href="bugs.html">Bugs</a></td></tr> | 114 | ······<a·class="noline"·href="bugs.html">Bugs</a></td></tr> |
115 | ··</table> | 115 | ··</table> |
116 | ··</div> | 116 | ··</div> |
117 | </td> | 117 | </td> |
118 | <td·bgcolor="#f0f0d0"·rowspan="2"·valign="top"> | 118 | <td·bgcolor="#f0f0d0"·rowspan="2"·valign="top"> |
119 | <h2>syntax</h2> | 119 | <h2>syntax</h2> |
120 | ··<p><code> | 120 | ··<p><code> |
121 | <span·class="htp-tag"><<a·href="inc.html"·><img·src="pic/manual.png"·border=0·alt="[ref]"·width="10"·height="10">INC</a>·<span·class="htp-attrib">macroname1</span>=<span·class="htp-string">"increment1"</span>·<span·class="ebnf">[</span><span·class="htp-attrib">macroname2</span>=<span·class="htp-string">"increment2"</span>·<span·class="htp-attrib">...</span>·<span·class="ebnf">]</span>·<span·class="ebnf">[</span><span·class="htp-attrib">GLOBAL</span><span·class="ebnf">]</span>></span><br> | ||
121 | <span·class="htp-tag"><<a·href="if.html"·><img·src="pic/manual.png"·border=0·alt="[ref]"·width="10"·height="10">IF</a>·<span·class="ebnf">[</span><span·class="htp-attrib">NOT</span><span·class="ebnf">]</span>·<span·class="htp-attrib">conditional</span>></span><br> | ||
122 | · ·block·#1<br> | ||
123 | [<br> | ||
124 | <span·class="htp-tag"><ELSEIF·<span·class="ebnf">[</span><span·class="htp-attrib">NOT</span><span·class="ebnf">]</span>·<span·class="htp-attrib">conditional</span>></span><br> | ||
125 | · ·block·#2<br> | ||
126 | ...<br> | ||
127 | ]<br> | ||
128 | [<br> | ||
129 | <span·class="htp-tag"><ELSE></span><br> | ||
130 | · ·block·#3<br> | ||
131 | ]<br> | ||
132 | <span·class="htp-tag"><<a·href="if.html"·><img·src="pic/manual.png"·border=0·alt="[ref]"·width="10"·height="10">/IF</a>></span><br> | ||
133 | <br> | 122 | <br> |
123 | p·class="section"><br> | ||
124 | · · <span·class="htp-tag"><<a·href="use.html"·><img·src="pic/manual.png"·border=0·alt="[ref]"·width="10"·height="10">use</a>·<span·class="htp-attrib">block</span>></span><br> | ||
125 | · <span·class="htp-tag"></p></span><br> | ||
126 | ·<span·class="htp-tag"><<a·href="blockdef.html"·><img·src="pic/manual.png"·border=0·alt="[ref]"·width="10"·height="10">/blockdef</a>></span><br> | ||
127 | <br> | ||
128 | ·<span·class="htp-tag"><section·<span·class="htp-attrib">title</span>=<span·class="htp-string">"My·Section"</span>></span><br> | ||
129 | · ·This·is·a·fancy·section.<br> | ||
130 | ·<span·class="htp-tag"></section></span><br> | ||
134 | </code></p> | 131 | </code></p> |
135 | <h2>synopsis</h2> | 132 | <h2>synopsis</h2> |
136 | <p> | 133 | <p> |
137 | <strong>DEF</strong>·creates·<a·href="metatag.html">metatags</a>,·which·is·a | 134 | <strong>DEF</strong>·creates·<a·href="metatag.html">metatags</a>,·which·is·a |
138 | fancy·way·of·saying·it·creates·new·tags.··The·mechanism·is·very·similar·to | 135 | fancy·way·of·saying·it·creates·new·tags.··The·mechanism·is·very·similar·to |
139 | <a·href="block.html">BLOCK</a>·macros,·except·that·the·<a·href="use.html">USE</a> | 136 | <a·href="block.html">BLOCK</a>·macros,·except·that·the·<a·href="use.html">USE</a> |
140 | tag·is·not·used·to·expand·them.··Instead,·they·are·expanded·by·their·own·name. | 137 | tag·is·not·used·to·expand·them.··Instead,·they·are·expanded·by·their·own·name. |
141 | For·example: | 138 | For·example: |
142 | </p> | 139 | </p> |
143 | ··<p><code> | 140 | ··<p><code> |
144 | <span·class="htp-tag"><<a·href="inc.html"·><img·src="pic/manual.png"·border=0·alt="[ref]"·width="10"·height="10">INC</a>·<span·class="htp-attrib">macroname1</span>=<span·class="htp-string">"increment1"</span>·<span·class="htp-attrib">[macroname2</span>=<span·class="htp-string">"increment2"</span>·<span·class="htp-attrib">...</span>·<span·class="htp-attrib">]</span>·<span·class="htp-attrib">[GLOBAL]</span>></span><br> | ||
145 | <br> | ||
146 | </code></p> | ||
147 | <P> | ||
148 | Some·metatags·will·require·an·opening·and·closing·tag·(comparable·to | ||
149 | <TITLE>·and·</TITLE>).··In·this·case,·you·should·use·the·<A | ||
150 | HREF="blockdef.html">BLOCKDEF</A>·macro.··Another·slightly·faster | ||
151 | alternative·is·to·use·two·metatags,·the·opening·tag·and·the·closing | ||
152 | tag·with·a·preceding·slash.·For·example: | ||
153 | </P> | ||
154 | ··<p><code> | ||
155 | <span·class="htp-tag"><<a·href="def.html"·><img·src="pic/manual.png"·border=0·alt="[ref]"·width="10"·height="10">def</a>·<span·class="htp-attrib">name</span>=<span·class="htp-string">"imghr"</span>></span><br> | 141 | <span·class="htp-tag"><<a·href="def.html"·><img·src="pic/manual.png"·border=0·alt="[ref]"·width="10"·height="10">def</a>·<span·class="htp-attrib">name</span>=<span·class="htp-string">"imghr"</span>></span><br> |
156 | · <span·class="htp-tag"><table·<span·class="htp-attrib">border</span>=<span·class="htp-string">"0"</span>·<span·class="htp-attrib">cellspacing</span>=<span·class="htp-string">"0"</span>·<span·class="htp-attrib">cellpadding</span>=<span·class="htp-string">"0"</span>></span><br> | 142 | · <span·class="htp-tag"><table·<span·class="htp-attrib">border</span>=<span·class="htp-string">"0"</span>·<span·class="htp-attrib">cellspacing</span>=<span·class="htp-string">"0"</span>·<span·class="htp-attrib">cellpadding</span>=<span·class="htp-string">"0"</span>></span><br> |
157 | · <span·class="htp-tag"><tr></span><br> | 143 | · <span·class="htp-tag"><tr></span><br> |
158 | · ·<span·class="htp-tag"><td·<span·class="htp-attrib">width</span>=<span·class="htp-value">10</span>></span><span·class="htp-tag"><<a·href="img.html"·><img·src="pic/manual.png"·border=0·alt="[ref]"·width="10"·height="10">img</a>·<span·class="htp-attrib">src</span>=<span·class="htp-string">"leftsep.png"</span>></span><span·class="htp-tag"></td></span><br> | 144 | · ·<span·class="htp-tag"><td·<span·class="htp-attrib">width</span>=<span·class="htp-value">10</span>></span><span·class="htp-tag"><<a·href="img.html"·><img·src="pic/manual.png"·border=0·alt="[ref]"·width="10"·height="10">img</a>·<span·class="htp-attrib">src</span>=<span·class="htp-string">"leftsep.png"</span>></span><span·class="htp-tag"></td></span><br> |
159 | · ·<span·class="htp-tag"><td·<span·class="htp-attrib">width</span>=<span·class="htp-string">"95%"</span>·<span·class="htp-attrib">background</span>=<span·class="htp-string">"midsep.png"</span>></span>&nbsp;<span·class="htp-tag"></td></span><br> | 145 | · ·<span·class="htp-tag"><td·<span·class="htp-attrib">width</span>=<span·class="htp-string">"95%"</span>·<span·class="htp-attrib">background</span>=<span·class="htp-string">"midsep.png"</span>></span>&nbsp;<span·class="htp-tag"></td></span><br> |
160 | · ·<span·class="htp-tag"><td·<span·class="htp-attrib">width</span>=<span·class="htp-value">10</span>></span><span·class="htp-tag"><<a·href="img.html"·><img·src="pic/manual.png"·border=0·alt="[ref]"·width="10"·height="10">img</a>·<span·class="htp-attrib">src</span>=<span·class="htp-string">"rightsep.png"</span>></span><span·class="htp-tag"></td></span><br> | 146 | · ·<span·class="htp-tag"><td·<span·class="htp-attrib">width</span>=<span·class="htp-value">10</span>></span><span·class="htp-tag"><<a·href="img.html"·><img·src="pic/manual.png"·border=0·alt="[ref]"·width="10"·height="10">img</a>·<span·class="htp-attrib">src</span>=<span·class="htp-string">"rightsep.png"</span>></span><span·class="htp-tag"></td></span><br> |
161 | · <span·class="htp-tag"></tr></span><br> | 147 | · <span·class="htp-tag"></tr></span><br> |
162 | · <span·class="htp-tag"></table></span><br> | 148 | · <span·class="htp-tag"></table></span><br> |
163 | <span·class="htp-tag"><<a·href="def.html"·><img·src="pic/manual.png"·border=0·alt="[ref]"·width="10"·height="10">/def</a>></span><br> | 149 | <span·class="htp-tag"><<a·href="def.html"·><img·src="pic/manual.png"·border=0·alt="[ref]"·width="10"·height="10">/def</a>></span><br> |
164 | <br> | 150 | <br> |
165 | paragraph<br> | 151 | paragraph<br> |
166 | <span·class="htp-tag"><imghr></span><br> | 152 | <span·class="htp-tag"><imghr></span><br> |
167 | paragraph<br> | 153 | paragraph<br> |
168 | </code></p> | 154 | </code></p> |
155 | <P> | ||
156 | Some·metatags·will·require·an·opening·and·closing·tag·(comparable·to | ||
157 | <TITLE>·and·</TITLE>).··In·this·case,·you·should·use·the·<A | ||
158 | HREF="blockdef.html">BLOCKDEF</A>·macro.··Another·slightly·faster | ||
159 | alternative·is·to·use·two·metatags,·the·opening·tag·and·the·closing | ||
160 | tag·with·a·preceding·slash.·For·example: | ||
161 | </P> | ||
162 | ··<p><code> | ||
163 | <span·class="htp-tag"><<a·href="quote.html"·><img·src="pic/manual.png"·border=0·alt="[ref]"·width="10"·height="10">QUOTE</a>·<span·class="htp-attrib">TAG</span>·<span·class="htp-attrib">[ATTRIBUTE</span>=<span·class="htp-value">VALUE</span>·<span·class="htp-attrib">...]</span>></span><br> | ||
164 | <br> | ||
165 | </code></p> | ||
169 | <p>·You·should·really·use·<a·href="blockdef.html">BLOCKDEF</a>,·though, | 166 | <p>·You·should·really·use·<a·href="blockdef.html">BLOCKDEF</a>,·though, |
170 | as·it·will·check·for·matching·end·tag.·It·is·not·that·slower.··</p> | 167 | as·it·will·check·for·matching·end·tag.·It·is·not·that·slower.··</p> |
171 | <P> | 168 | <P> |
172 | Options·can·be·passed·to·a·metatag,·which·can·then·expand·as·if·it·were | 169 | Options·can·be·passed·to·a·metatag,·which·can·then·expand·as·if·it·were |
173 | a·<A·HREF="set.html">SET</A>·macro.··Option·names·are·parameterized·with | 170 | a·<A·HREF="set.html">SET</A>·macro.··Option·names·are·parameterized·with |
174 | the·OPTION·attribute.··Multiple·options·can·be·listed·by·separating·their | 171 | the·OPTION·attribute.··Multiple·options·can·be·listed·by·separating·their |
175 | name·with·a·space·(which·therefore·requires·they·be·surrounded·by·quotes.) | 172 | name·with·a·space·(which·therefore·requires·they·be·surrounded·by·quotes.) |
176 | </P> | 173 | </P> |
177 | ··<p><code> | 174 | ··<p><code> |
175 | · ·<span·class="htp-tag"><<a·href="set.html"·><img·src="pic/manual.png"·border=0·alt="[ref]"·width="10"·height="10">SET</a>·<span·class="htp-attrib">emailaddr</span>=<span·class="htp-string">"jnelson@crl.com"</span>></span><br> | ||
178 | <span·class="htp-tag"><<a·href="set.html"·><img·src="pic/manual.png"·border=0·alt="[ref]"·width="10"·height="10">SET</a>·<span·class="htp-attrib">macroname1</span>=<span·class="htp-string">"macrovalue1"</span>·<span·class="htp-attrib">[macroname2</span>=<span·class="htp-string">"macrovalue2"</span>·<span·class="htp-attrib">...]</span>·<span·class="htp-attrib">[GLOBAL]</span>></span><br> | ||
179 | <br> | ||
180 | </code></p> | 176 | </code></p> |
181 | <P> | 177 | <P> |
182 | htp·will·do·very·specific·checking·of·parameters·when·a·metatag·is | 178 | htp·will·do·very·specific·checking·of·parameters·when·a·metatag·is |
183 | invoked.··htp·assumes·that·all·parameter·options·to·the·metatag·are | 179 | invoked.··htp·assumes·that·all·parameter·options·to·the·metatag·are |
184 | optional.··This·is·why·the·HEADERIMG·definition·uses·IF·to·verify·the | 180 | optional.··This·is·why·the·HEADERIMG·definition·uses·IF·to·verify·the |
185 | SIZE·option·is·defined·before·expanding·it·in·the·block.··If·a | 181 | SIZE·option·is·defined·before·expanding·it·in·the·block.··If·a |
186 | parameter·is·required,·simply·expand·it·without·first·checking.··When | 182 | parameter·is·required,·simply·expand·it·without·first·checking.··When |
Offset 98, 22 lines modified | Offset 98, 30 lines modified | ||
98 | <p>However,·if·the·block·tag·is·marked·with·the·<code>expand</code> | 98 | <p>However,·if·the·block·tag·is·marked·with·the·<code>expand</code> |
99 | modifier·it·is·expanded·immediately.··This·is·useful·if·you·want·to | 99 | modifier·it·is·expanded·immediately.··This·is·useful·if·you·want·to |
100 | store·something·in·a·block·macro,·that·depends·on·the·current·value·of | 100 | store·something·in·a·block·macro,·that·depends·on·the·current·value·of |
101 | another·macro.··This·other·macro·may·no·longer·have·the·correct·value | 101 | another·macro.··This·other·macro·may·no·longer·have·the·correct·value |
102 | when·the·macro·is·expanded.··Here·is·some·code·that·demonstrate·when | 102 | when·the·macro·is·expanded.··Here·is·some·code·that·demonstrate·when |
103 | the·htp·tags·are·expanded:·</P> | 103 | the·htp·tags·are·expanded:·</P> |
104 | ··<p><code> | 104 | ··<p><code> |
105 | <font·size="-2"> 1.·</font> ·<span·class="htp-tag"><<a·href="alttext.html"·><img·src="pic/manual.png"·border=0·alt="[ref]"·width="10"·height="10">alttext</a>·<span·class="htp-attrib">name</span>=<span·class="htp-string">"logo.gif"</span>·<span·class="htp-attrib">text</span>=<span·class="htp-string">"Company·logo"</span>></span><br> | ||
105 | <font·size="-2"> 1.·</font><span·class="htp-tag"><<a·href="def.html"·><img·src="pic/manual.png"·border=0·alt="[ref]"·width="10"·height="10">def</a>·<span·class="htp-attrib">name</span>=<span·class="htp-string">"tagname"</span>·<span·class="htp-attrib">[option</span>=<span·class="htp-string">"option1·[option2·...]"</span>·<span·class="htp-attrib">]</span>·<span·class="htp-attrib">[global]</span>·<span·class="htp-attrib">[expand]</span>></span><br> | ||
106 | <font·size="-2"> 2.·</font><span·class="htp-tag"><<a·href="def.html"·><img·src="pic/manual.png"·border=0·alt="[ref]"·width="10"·height="10">/def</a>></span><br> | ||
107 | <font·size="-2"> | 106 | <font·size="-2"> 2.·</font><br> |
107 | <font·size="-2"> 3.·</font> ·this·line:·<span·class="htp-tag"><<a·href="img.html"·><img·src="pic/manual.png"·border=0·alt="[ref]"·width="10"·height="10">img</a>·<span·class="htp-attrib">src</span>=<span·class="htp-string">"logo.gif"</span>></span><br> | ||
108 | <font·size="-2"> 4.·</font> ·becomes·this·after·processing:·<span·class="htp-tag"><<a·href="img.html"·><img·src="pic/manual.png"·border=0·alt="[ref]"·width="10"·height="10">img</a>·<span·class="htp-attrib">src</span>=<span·class="htp-string">"logo.gif"</span>·<span·class="htp-attrib">alt</span>=<span·class="htp-string">"Company·logo"</span>></span><br> | ||
109 | <font·size="-2"> 5.·</font><br> | ||
110 | <font·size="-2"> 6.·</font> ·this·line:·<span·class="htp-tag"><<a·href="img.html"·><img·src="pic/manual.png"·border=0·alt="[ref]"·width="10"·height="10">img</a>·<span·class="htp-attrib">src</span>=<span·class="htp-string">"../image/logo.gif"</span>></span><br> | ||
111 | <font·size="-2"> 7.·</font> ·will·also·have·an·ALT·attribute·appended·to·it<br> | ||
112 | <font·size="-2"> 8.·</font><br> | ||
113 | <font·size="-2"> 9.·</font> ·this·line:·<span·class="htp-tag"><<a·href="img.html"·><img·src="pic/manual.png"·border=0·alt="[ref]"·width="10"·height="10">img</a>·<span·class="htp-attrib">src</span>=<span·class="htp-string">"logo.gif"</span>·<span·class="htp-attrib">alt</span>=<span·class="htp-string">"Click·here·for·more·information!"</span>></span><br> | ||
114 | <font·size="-2">10.·</font> ·remains·unchanged.<br> | ||
108 | </code></p> | 115 | </code></p> |
109 | This·produces·the·following: | 116 | This·produces·the·following: |
110 | ··<p><code> | 117 | ··<p><code> |
111 | <span·class="htp-tag"><<a·href="i | 118 | <span·class="htp-tag"><<a·href="if.html"·><img·src="pic/manual.png"·border=0·alt="[ref]"·width="10"·height="10">if</a>·<span·class="htp-attrib">disabled_because_xyz</span>></span><br> |
112 | <br> | 119 | ·...<br> |
120 | <span·class="htp-tag"><<a·href="if.html"·><img·src="pic/manual.png"·border=0·alt="[ref]"·width="10"·height="10">/if</a>></span><br> | ||
113 | </code></p> | 121 | </code></p> |
114 | <P> | 122 | <P> |
115 | When·block·a·and·block·b·are·defined·in·lines·2-7·the·contents·of·a | 123 | When·block·a·and·block·b·are·defined·in·lines·2-7·the·contents·of·a |
116 | are·taken·literally,·however,·the·contents·for·b·are·already·expanded | 124 | are·taken·literally,·however,·the·contents·for·b·are·already·expanded |
117 | so·the·macro·<code>time</code>·is·evaluated.··So·a·is·expanded·when·it | 125 | so·the·macro·<code>time</code>·is·evaluated.··So·a·is·expanded·when·it |
118 | is·used,·while·the·contents·of·b·are·already·expanded. | 126 | is·used,·while·the·contents·of·b·are·already·expanded. |
119 | </P> | 127 | </P> |
Offset 114, 37 lines modified | Offset 114, 56 lines modified | ||
114 | ······<a·class="noline"·href="bugs.html">Bugs</a></td></tr> | 114 | ······<a·class="noline"·href="bugs.html">Bugs</a></td></tr> |
115 | ··</table> | 115 | ··</table> |
116 | ··</div> | 116 | ··</div> |
117 | </td> | 117 | </td> |
118 | <td·bgcolor="#f0f0d0"·rowspan="2"·valign="top"> | 118 | <td·bgcolor="#f0f0d0"·rowspan="2"·valign="top"> |
119 | <h2>syntax</h2> | 119 | <h2>syntax</h2> |
120 | ··<p><code> | 120 | ··<p><code> |
121 | <span·class="htp-tag"><<a·href=" | 121 | ·<span·class="htp-tag"><<a·href="blockdef.html"·><img·src="pic/manual.png"·border=0·alt="[ref]"·width="10"·height="10">blockdef</a>·<span·class="htp-attrib">name</span>=<span·class="htp-string">"section"</span>·<span·class="htp-attrib">option</span>=<span·class="htp-string">"title"</span>></span><br> |
122 | · <span·class="htp-tag"><h1></span><span·class="htp-tag"><<a·href="use.html"·><img·src="pic/manual.png"·border=0·alt="[ref]"·width="10"·height="10">use</a>·<span·class="htp-attrib">title</span>></span><span·class="htp-tag"></h1></span><br> | ||
123 | · <span·class="htp-tag"><p·<span·class="htp-attrib">class</span>=<span·class="htp-string">"section"</span>></span><br> | ||
124 | · · <span·class="htp-tag"><<a·href="use.html"·><img·src="pic/manual.png"·border=0·alt="[ref]"·width="10"·height="10">use</a>·<span·class="htp-attrib">block</span>></span><br> | ||
125 | · <span·class="htp-tag"></p></span><br> | ||
126 | ·<span·class="htp-tag"><<a·href="blockdef.html"·><img·src="pic/manual.png"·border=0·alt="[ref]"·width="10"·height="10">/blockdef</a>></span><br> | ||
122 | <br> | 127 | <br> |
128 | ·<span·class="htp-tag"><section·<span·class="htp-attrib">title</span>=<span·class="htp-string">"My·Section"</span>></span><br> | ||
129 | · ·This·is·a·fancy·section.<br> | ||
130 | ·<span·class="htp-tag"></section></span><br> | ||
123 | </code></p> | 131 | </code></p> |
124 | <h2>synopsis</h2> | 132 | <h2>synopsis</h2> |
125 | <STRONG>FILE</STRONG>·has·several·optional·parameters·of·differing·purpose. | 133 | <STRONG>FILE</STRONG>·has·several·optional·parameters·of·differing·purpose. |
126 | The·output·file's·name,·the·current·date·and·time,·and·the·contents·of | 134 | The·output·file's·name,·the·current·date·and·time,·and·the·contents·of |
127 | another·file·may·be·included.··Another·file's·time,·date,·or·size·may·be | 135 | another·file·may·be·included.··Another·file's·time,·date,·or·size·may·be |
128 | added·to·the·output·file·as·well. | 136 | added·to·the·output·file·as·well. |
129 | <P> | 137 | <P> |
130 | As·with·all·HTML,·these·tags·do·not·have·to·be·on·their·own·line,·so·the | 138 | As·with·all·HTML,·these·tags·do·not·have·to·be·on·their·own·line,·so·the |
131 | following·is·perfectly·acceptable: | 139 | following·is·perfectly·acceptable: |
132 | ··<p><code> | 140 | ··<p><code> |
133 | <span·class="htp-tag"><<a·href=" | 141 | <span·class="htp-tag"><<a·href="def.html"·><img·src="pic/manual.png"·border=0·alt="[ref]"·width="10"·height="10">def</a>·<span·class="htp-attrib">name</span>=<span·class="htp-string">"imghr"</span>></span><br> |
142 | · <span·class="htp-tag"><table·<span·class="htp-attrib">border</span>=<span·class="htp-string">"0"</span>·<span·class="htp-attrib">cellspacing</span>=<span·class="htp-string">"0"</span>·<span·class="htp-attrib">cellpadding</span>=<span·class="htp-string">"0"</span>></span><br> | ||
143 | · <span·class="htp-tag"><tr></span><br> | ||
144 | · ·<span·class="htp-tag"><td·<span·class="htp-attrib">width</span>=<span·class="htp-value">10</span>></span><span·class="htp-tag"><<a·href="img.html"·><img·src="pic/manual.png"·border=0·alt="[ref]"·width="10"·height="10">img</a>·<span·class="htp-attrib">src</span>=<span·class="htp-string">"leftsep.png"</span>></span><span·class="htp-tag"></td></span><br> | ||
145 | · ·<span·class="htp-tag"><td·<span·class="htp-attrib">width</span>=<span·class="htp-string">"95%"</span>·<span·class="htp-attrib">background</span>=<span·class="htp-string">"midsep.png"</span>></span>&nbsp;<span·class="htp-tag"></td></span><br> | ||
146 | · ·<span·class="htp-tag"><td·<span·class="htp-attrib">width</span>=<span·class="htp-value">10</span>></span><span·class="htp-tag"><<a·href="img.html"·><img·src="pic/manual.png"·border=0·alt="[ref]"·width="10"·height="10">img</a>·<span·class="htp-attrib">src</span>=<span·class="htp-string">"rightsep.png"</span>></span><span·class="htp-tag"></td></span><br> | ||
147 | · <span·class="htp-tag"></tr></span><br> | ||
148 | · <span·class="htp-tag"></table></span><br> | ||
149 | <span·class="htp-tag"><<a·href="def.html"·><img·src="pic/manual.png"·border=0·alt="[ref]"·width="10"·height="10">/def</a>></span><br> | ||
134 | <br> | 150 | <br> |
151 | paragraph<br> | ||
152 | <span·class="htp-tag"><imghr></span><br> | ||
153 | paragraph<br> | ||
135 | </code></p> | 154 | </code></p> |
136 | <P> | 155 | <P> |
137 | <h3><a·name="name">NAME</a>,·TIME,·SIZE</h3> | 156 | <h3><a·name="name">NAME</a>,·TIME,·SIZE</h3> |
138 | <P> | 157 | <P> |
139 | To·include·information·about·another·file,·such·as·an·archive·file·or | 158 | To·include·information·about·another·file,·such·as·an·archive·file·or |
140 | graphic·image,·specify·its·name·with·the·NAME·attribute·followed·by·the | 159 | graphic·image,·specify·its·name·with·the·NAME·attribute·followed·by·the |
141 | type·of·information·to·be·displayed: | 160 | type·of·information·to·be·displayed: |
142 | ··<p><code> | 161 | ··<p><code> |
143 | · ·<span·class="htp-tag"><<a·href=" | 162 | · ·<span·class="htp-tag"><<a·href="set.html"·><img·src="pic/manual.png"·border=0·alt="[ref]"·width="10"·height="10">SET</a>·<span·class="htp-attrib">emailaddr</span>=<span·class="htp-string">"jnelson@crl.com"</span>></span><br> |
144 | </code></p> | 163 | </code></p> |
145 | <P> | 164 | <P> |
146 | For·file·size·information,·the·value·BYTE,·KBYTE,·etc.·dictates·how·the | 165 | For·file·size·information,·the·value·BYTE,·KBYTE,·etc.·dictates·how·the |
147 | information·is·displayed.··In·anything·other·than·byte·format,·the·information | 166 | information·is·displayed.··In·anything·other·than·byte·format,·the·information |
148 | is·displayed·in·floating-point·notation.··The·amount·of·precision·(the·number | 167 | is·displayed·in·floating-point·notation.··The·amount·of·precision·(the·number |
149 | of·digits·to·the·right·of·the·decimal·point)·can·be·set·with·the·optional | 168 | of·digits·to·the·right·of·the·decimal·point)·can·be·set·with·the·optional |
150 | PRECISION·attribute.··The·default·precision·is·zero·(0),·which·means·no | 169 | PRECISION·attribute.··The·default·precision·is·zero·(0),·which·means·no |
Offset 173, 21 lines modified | Offset 192, 17 lines modified | ||
173 | <P> | 192 | <P> |
174 | Additional·parameters·can·be·set·in·the·FILE·INCLUDE·tag,·which·are | 193 | Additional·parameters·can·be·set·in·the·FILE·INCLUDE·tag,·which·are |
175 | interpreted·as·macros·that·are·"passed"·to·the·included·file.··The·macros | 194 | interpreted·as·macros·that·are·"passed"·to·the·included·file.··The·macros |
176 | are·available·only·to·the·include·file·(and·any·macros·or·included·files·it | 195 | are·available·only·to·the·include·file·(and·any·macros·or·included·files·it |
177 | holds).··After·the·file·is·completely·included,·the·macros·are·no·longer | 196 | holds).··After·the·file·is·completely·included,·the·macros·are·no·longer |
178 | available.··So: | 197 | available.··So: |
179 | ··<p><code> | 198 | ··<p><code> |
180 | <span·class="htp-tag"><<a·href=" | 199 | <span·class="htp-tag"><<a·href="while.html"·><img·src="pic/manual.png"·border=0·alt="[ref]"·width="10"·height="10">WHILE</a>·<span·class="htp-attrib">[NOT]</span>·<span·class="htp-attrib">conditional</span>></span><br> |
200 | · ·block<br> | ||
181 | <span·class="htp-tag"><<a·href=" | 201 | <span·class="htp-tag"><<a·href="while.html"·><img·src="pic/manual.png"·border=0·alt="[ref]"·width="10"·height="10">/WHILE</a>></span><br> |
182 | <span·class="htp-tag"><<a·href="opt.html"·><img·src="pic/manual.png"·border=0·alt="[ref]"·width="10"·height="10">OPT</a>·<span·class="htp-attrib">(DEPEND|NODEPEND)</span>></span><br> | ||
183 | <span·class="htp-tag"><<a·href="opt.html"·><img·src="pic/manual.png"·border=0·alt="[ref]"·width="10"·height="10">OPT</a>·<span·class="htp-attrib">(PRECIOUS|NOPRECIOUS)</span>></span><br> | ||
184 | <span·class="htp-tag"><<a·href="opt.html"·><img·src="pic/manual.png"·border=0·alt="[ref]"·width="10"·height="10">OPT</a>·<span·class="htp-attrib">(CONDENSE|SEMICONDENSE|NOCONDENSE)</span>></span><br> | ||
185 | <span·class="htp-tag"><<a·href="opt.html"·><img·src="pic/manual.png"·border=0·alt="[ref]"·width="10"·height="10">OPT</a>·<span·class="htp-attrib">DELIM</span>=<span·class="htp-value">(HTML|SQUARE|CURLY)</span>></span><br> | ||
186 | <span·class="htp-tag"><<a·href="opt.html"·><img·src="pic/manual.png"·border=0·alt="[ref]"·width="10"·height="10">OPT</a>·<span·class="htp-attrib">(XML|XML</span>=<span·class="htp-value">FALSE)</span>></span><br> | ||
187 | <br> | 202 | <br> |
188 | </code></p> | 203 | </code></p> |
189 | <P> | 204 | <P> |
190 | Macros·named·"name"·and·"email"·are·set,·and·available·inside·the·included | 205 | Macros·named·"name"·and·"email"·are·set,·and·available·inside·the·included |
191 | file.··They·are·not·available,·however,·past·the·tag·(which·is·why·the | 206 | file.··They·are·not·available,·however,·past·the·tag·(which·is·why·the |
192 | second·statement·will·fail.) | 207 | second·statement·will·fail.) |
193 | <P> | 208 | <P> |
Offset 114, 59 lines modified | Offset 114, 43 lines modified | ||
114 | ······<a·class="noline"·href="bugs.html">Bugs</a></td></tr> | 114 | ······<a·class="noline"·href="bugs.html">Bugs</a></td></tr> |
115 | ··</table> | 115 | ··</table> |
116 | ··</div> | 116 | ··</div> |
117 | </td> | 117 | </td> |
118 | <td·bgcolor="#f0f0d0"·rowspan="2"·valign="top"> | 118 | <td·bgcolor="#f0f0d0"·rowspan="2"·valign="top"> |
119 | <h2>syntax</h2> | 119 | <h2>syntax</h2> |
120 | ··<p><code> | 120 | ··<p><code> |
121 | ·<span·class="htp-tag"><<a·href="imageurl.html"·><img·src="pic/manual.png"·border=0·alt="[ref]"·width="10"·height="10">imageurl</a>·<span·class="htp-attrib">url</span>=<span·class="htp-string">"http://my.domain.org/"</span>·<span·class="htp-attrib">path</span>=<span·class="htp-string">"/var/www/my.domain/"</span>></span><br> | ||
122 | 121 | <span·class="htp-tag"><<a·href="opt.html"·><img·src="pic/manual.png"·border=0·alt="[ref]"·width="10"·height="10">OPT</a>·<span·class="ebnf">(</span><span·class="htp-attrib">IMGXY</span><span·class="ebnf">|</span><span·class="htp-attrib">NOIMGXY</span><span·class="ebnf">)</span>></span><br> | |
122 | <span·class="htp-tag"><<a·href="opt.html"·><img·src="pic/manual.png"·border=0·alt="[ref]"·width="10"·height="10">OPT</a>·<span·class="ebnf">(</span><span·class="htp-attrib">QUIET</span><span·class="ebnf">|</span><span·class="htp-attrib">VERBOSE</span><span·class="ebnf">)</span>></span><br> | ||
123 | <span·class="htp-tag"><<a·href="opt.html"·><img·src="pic/manual.png"·border=0·alt="[ref]"·width="10"·height="10">OPT</a>·<span·class="ebnf">(</span><span·class="htp-attrib">DEPEND</span><span·class="ebnf">|</span><span·class="htp-attrib">NODEPEND</span><span·class="ebnf">)</span>></span><br> | ||
124 | <span·class="htp-tag"><<a·href="opt.html"·><img·src="pic/manual.png"·border=0·alt="[ref]"·width="10"·height="10">OPT</a>·<span·class="ebnf">(</span><span·class="htp-attrib">PRECIOUS</span><span·class="ebnf">|</span><span·class="htp-attrib">NOPRECIOUS</span><span·class="ebnf">)</span>></span><br> | ||
125 | <span·class="htp-tag"><<a·href="opt.html"·><img·src="pic/manual.png"·border=0·alt="[ref]"·width="10"·height="10">OPT</a>·<span·class="ebnf">(</span><span·class="htp-attrib">CONDENSE</span><span·class="ebnf">|</span><span·class="htp-attrib">SEMICONDENSE</span><span·class="ebnf">|</span><span·class="htp-attrib">NOCONDENSE</span><span·class="ebnf">)</span>></span><br> | ||
126 | <span·class="htp-tag"><<a·href="opt.html"·><img·src="pic/manual.png"·border=0·alt="[ref]"·width="10"·height="10">OPT</a>·<span·class="htp-attrib">DELIM</span>=<span·class="ebnf">(</span><span·class="htp-value">HTML<span·class="ebnf">|</span>SQUARE<span·class="ebnf">|</span>CURLY<span·class="ebnf">)</span></span>></span><br> | ||
127 | <span·class="htp-tag"><<a·href="opt.html"·><img·src="pic/manual.png"·border=0·alt="[ref]"·width="10"·height="10">OPT</a>·<span·class="ebnf">(</span><span·class="htp-attrib">XML</span><span·class="ebnf">|</span><span·class="htp-attrib">XML</span>=<span·class="htp-value">FALSE<span·class="ebnf">)</span></span>></span><br> | ||
123 | <br> | 128 | <br> |
124 | ·For·this·line:·<span·class="htp-tag"><<a·href="img.html"·><img·src="pic/manual.png"·border=0·alt="[ref]"·width="10"·height="10">img</a>·<span·class="htp-attrib">src</span>=<span·class="htp-string">"logo.gif"</span>></span><br> | ||
125 | ·the·local·filename·"logo.gif"·will·be·used·to·determine·image·dimensions<br> | ||
126 | ·(no·URL·replacement).<br> | ||
127 | <br> | ||
128 | ·For·this·line:·<span·class="htp-tag"><<a·href="img.html"·><img·src="pic/manual.png"·border=0·alt="[ref]"·width="10"·height="10">img</a>·<span·class="htp-attrib">src</span>=<span·class="htp-string">"http://my.domain.org/logo.gif"</span>></span><br> | ||
129 | ·the·local·filename·"/var/www/my.domain/logo.gif"·will·be·used.<br> | ||
130 | <br> | ||
131 | ·But·for·this·line:·<span·class="htp-tag"><<a·href="img.html"·><img·src="pic/manual.png"·border=0·alt="[ref]"·width="10"·height="10">img</a>·<span·class="htp-attrib">src</span>=<span·class="htp-string">"http://other.domain.org/logo.gif"</span>></span><br> | ||
132 | ·the·local·file·cannot·be·found·(no·prefix·match),·so·the·image·dimensions<br> | ||
133 | ·will·not·be·added.<br> | ||
134 | <br> | ||
135 | ·Order·is·important;·last·IMAGEURL·tag·takes·precedence:<br> | ||
136 | ·<span·class="htp-tag"><<a·href="imageurl.html"·><img·src="pic/manual.png"·border=0·alt="[ref]"·width="10"·height="10">imageurl</a>·<span·class="htp-attrib">url</span>=<span·class="htp-string">"/"</span>·<span·class="htp-attrib">path</span>=<span·class="htp-string">"/var/www/htdocs/"</span>></span><br> | ||
137 | ·<span·class="htp-tag"><<a·href="imageurl.html"·><img·src="pic/manual.png"·border=0·alt="[ref]"·width="10"·height="10">imageurl</a>·<span·class="htp-attrib">url</span>=<span·class="htp-string">"/test/"</span>·<span·class="htp-attrib">path</span>=<span·class="htp-string">"/var/www/test/"</span>></span><br> | ||
138 | <br> | ||
139 | ·<span·class="htp-tag"><<a·href="img.html"·><img·src="pic/manual.png"·border=0·alt="[ref]"·width="10"·height="10">img</a>·<span·class="htp-attrib">src</span>=<span·class="htp-string">"/image.gif"</span>></span> and·<span·class="htp-tag"><<a·href="img.html"·><img·src="pic/manual.png"·border=0·alt="[ref]"·width="10"·height="10">img</a>·<span·class="htp-attrib">src</span>=<span·class="htp-string">"/test/image.gif"</span>></span> are·mapped·to<br> | ||
140 | ·/var/www/htdocs/image.gif·and·/var/www/test/image.gif,·resp.<br> | ||
141 | ·If·the·order·of·the·imageurl·lines·would·be·swapped,·the·second·<br> | ||
142 | ·image·would·be·mapped·to·/var/www/htdocs/test/image.gif.<br> | ||
143 | </code></p> | 129 | </code></p> |
144 | <h2>synopsis</h2> | 130 | <h2>synopsis</h2> |
145 | <STRONG>IF,·NOT,·ELSEIF,·ELSE,·and·/IF</STRONG>·are·the·building | 131 | <STRONG>IF,·NOT,·ELSEIF,·ELSE,·and·/IF</STRONG>·are·the·building |
146 | blocks·for·conditional·processing.··The·basic·form·is·shown·above. | 132 | blocks·for·conditional·processing.··The·basic·form·is·shown·above. |
147 | <P>·"Conditional"·is·either·a·"compare"·or·"is·defined"·operation.··A | 133 | <P>·"Conditional"·is·either·a·"compare"·or·"is·defined"·operation.··A |
148 | compare·operator·is·a·test·of·the·value·of·a·macro·against·a·literal | 134 | compare·operator·is·a·test·of·the·value·of·a·macro·against·a·literal |
149 | string: | 135 | string: |
150 | ··<p><code> | 136 | ··<p><code> |
151 | · ·File·image.gif·<span·class="htp-tag"><<a·href="file.html"·><img·src="pic/manual.png"·border=0·alt="[ref]"·width="10"·height="10">FILE</a>·<span·class="htp-attrib">NAME</span>=<span·class="htp-string">"image.gif"</span>·<span·class="htp-attrib">SIZE</span>=<span·class="htp-value">KBYTE</span>></span> kilobytes<br> | ||
152 | · | 137 | ·<span·class="htp-tag"><<a·href="blockdef.html"·><img·src="pic/manual.png"·border=0·alt="[ref]"·width="10"·height="10">blockdef</a>·<span·class="htp-attrib">name</span>=<span·class="htp-string">"bolditalic"</span>></span><br> |
138 | · ·<span·class="htp-tag"><b></span><span·class="htp-tag"><i></span><br> | ||
139 | · ·<span·class="htp-tag"><<a·href="use.html"·><img·src="pic/manual.png"·border=0·alt="[ref]"·width="10"·height="10">use</a>·<span·class="htp-attrib">block</span>></span><br> | ||
140 | · ·<span·class="htp-tag"></i></span><span·class="htp-tag"></b></span><br> | ||
141 | ·<span·class="htp-tag"><<a·href="blockdef.html"·><img·src="pic/manual.png"·border=0·alt="[ref]"·width="10"·height="10">/blockdef</a>></span><br> | ||
142 | <br> | ||
143 | ·This·is·<span·class="htp-tag"><bolditalic></span>bold·and·italic<span·class="htp-tag"></bolditalic></span><br> | ||
153 | </code></p> | 144 | </code></p> |
154 | <P> | 145 | <P> |
155 | and·a·defined·operator·is·a·test·of·a·macro's·existance: | 146 | and·a·defined·operator·is·a·test·of·a·macro's·existance: |
156 | <P> | 147 | <P> |
157 | ··<p><code> | 148 | ··<p><code> |
149 | · ·<span·class="htp-tag"><<a·href="set.html"·><img·src="pic/manual.png"·border=0·alt="[ref]"·width="10"·height="10">SET</a>·<span·class="htp-attrib">emailaddr</span>=<span·class="htp-string">"jnelson@crl.com"</span>></span><br> | ||
158 | <span·class="htp-tag"><<a·href="opt.html"·><img·src="pic/manual.png"·border=0·alt="[ref]"·width="10"·height="10">OPT</a>·<span·class="htp-attrib">(IMGXY|NOIMGXY)</span>></span><br> | ||
159 | <span·class="htp-tag"><<a·href="opt.html"·><img·src="pic/manual.png"·border=0·alt="[ref]"·width="10"·height="10">OPT</a>·<span·class="htp-attrib">(QUIET|VERBOSE)</span>></span><br> | ||
160 | <span·class="htp-tag"><<a·href="opt.html"·><img·src="pic/manual.png"·border=0·alt="[ref]"·width="10"·height="10">OPT</a>·<span·class="htp-attrib">(DEPEND|NODEPEND)</span>></span><br> | ||
161 | <span·class="htp-tag"><<a·href="opt.html"·><img·src="pic/manual.png"·border=0·alt="[ref]"·width="10"·height="10">OPT</a>·<span·class="htp-attrib">(PRECIOUS|NOPRECIOUS)</span>></span><br> | ||
162 | <span·class="htp-tag"><<a·href="opt.html"·><img·src="pic/manual.png"·border=0·alt="[ref]"·width="10"·height="10">OPT</a>·<span·class="htp-attrib">(CONDENSE|SEMICONDENSE|NOCONDENSE)</span>></span><br> | ||
163 | <span·class="htp-tag"><<a·href="opt.html"·><img·src="pic/manual.png"·border=0·alt="[ref]"·width="10"·height="10">OPT</a>·<span·class="htp-attrib">DELIM</span>=<span·class="htp-value">(HTML|SQUARE|CURLY)</span>></span><br> | ||
164 | <span·class="htp-tag"><<a·href="opt.html"·><img·src="pic/manual.png"·border=0·alt="[ref]"·width="10"·height="10">OPT</a>·<span·class="htp-attrib">(XML|XML</span>=<span·class="htp-value">FALSE)</span>></span><br> | ||
165 | <br> | ||
166 | </code></p> | 150 | </code></p> |
167 | <P> | 151 | <P> |
168 | If·the·NOT·tag·is·present·in·the·IF·markup,·the·evaluation·of·the | 152 | If·the·NOT·tag·is·present·in·the·IF·markup,·the·evaluation·of·the |
169 | conditional·is·reversed.··The·first·IF·or·ELSEIF·condition·that | 153 | conditional·is·reversed.··The·first·IF·or·ELSEIF·condition·that |
170 | evaluates·to·true·is·chosen.··If·none·of·the·conditions·is·true·the | 154 | evaluates·to·true·is·chosen.··If·none·of·the·conditions·is·true·the |
171 | ELSE·block·is·taken·if·it·is·present.··A·conditional·block | 155 | ELSE·block·is·taken·if·it·is·present.··A·conditional·block |
172 | <EM>must</EM>·be·closed·with·the·/IF·tag.··IF·tags·can·be·nested. | 156 | <EM>must</EM>·be·closed·with·the·/IF·tag.··IF·tags·can·be·nested. |
Offset 114, 16 lines modified | Offset 114, 20 lines modified | ||
114 | ······<a·class="noline"·href="bugs.html">Bugs</a></td></tr> | 114 | ······<a·class="noline"·href="bugs.html">Bugs</a></td></tr> |
115 | ··</table> | 115 | ··</table> |
116 | ··</div> | 116 | ··</div> |
117 | </td> | 117 | </td> |
118 | <td·bgcolor="#f0f0d0"·rowspan="2"·valign="top"> | 118 | <td·bgcolor="#f0f0d0"·rowspan="2"·valign="top"> |
119 | <h2>syntax</h2> | 119 | <h2>syntax</h2> |
120 | ··<p><code> | 120 | ··<p><code> |
121 | <span·class="htp-tag"><<a·href=" | 121 | · ·<span·class="htp-tag"><<a·href="def.html"·><img·src="pic/manual.png"·border=0·alt="[ref]"·width="10"·height="10">def</a>·<span·class="htp-attrib">name</span>=<span·class="htp-string">"centered"</span>></span><br> |
122 | · ·<span·class="htp-tag"><p·<span·class="htp-attrib">align</span>=<span·class="htp-value">center</span>></span><br> | ||
123 | · ·<span·class="htp-tag"><<a·href="def.html"·><img·src="pic/manual.png"·border=0·alt="[ref]"·width="10"·height="10">/def</a>></span><br> | ||
122 | <br> | 124 | <br> |
125 | · ·<span·class="htp-tag"><centered></span><br> | ||
126 | · ·This·text·is·centered.<br> | ||
123 | </code></p> | 127 | </code></p> |
124 | <h2>synopsis</h2> | 128 | <h2>synopsis</h2> |
125 | <P> | 129 | <P> |
126 | <STRONG>IMAGEURL</STRONG>·tells·htp,·where·to·find·images·on·the·local | 130 | <STRONG>IMAGEURL</STRONG>·tells·htp,·where·to·find·images·on·the·local |
127 | file·system.··declares·an·URL·replacement·that·is·used·for | 131 | file·system.··declares·an·URL·replacement·that·is·used·for |
128 | size·lookups·in·any·<A·HREF="img.html">IMG</A>·tag.·This·definitions | 132 | size·lookups·in·any·<A·HREF="img.html">IMG</A>·tag.·This·definitions |
129 | takes·effect·only·if·the·<A·HREF="opt.html">IMGXY</A>·option·is | 133 | takes·effect·only·if·the·<A·HREF="opt.html">IMGXY</A>·option·is |
Offset 137, 23 lines modified | Offset 141, 15 lines modified | ||
137 | checks·(case-insensitive)·if·it·is·a·prefix·of·the·image's·SRC | 141 | checks·(case-insensitive)·if·it·is·a·prefix·of·the·image's·SRC |
138 | attribute.·If·it·matches·this·prefix·is·replaced·by·the·given·PATH. | 142 | attribute.·If·it·matches·this·prefix·is·replaced·by·the·given·PATH. |
139 | If·no·IMAGEURL·matches·the·SRC·is·considered·as·relative·link·and | 143 | If·no·IMAGEURL·matches·the·SRC·is·considered·as·relative·link·and |
140 | looked·up·in·the·current·directory.</P> | 144 | looked·up·in·the·current·directory.</P> |
141 | <P> | 145 | <P> |
142 | For·example:</P> | 146 | For·example:</P> |
143 | ··<p><code> | 147 | ··<p><code> |
148 | · ·<span·class="htp-tag"><<a·href="if.html"·><img·src="pic/manual.png"·border=0·alt="[ref]"·width="10"·height="10">IF</a>·<span·class="htp-attrib">name</span>=<span·class="htp-string">"Jim"</span>></span>...<span·class="htp-tag"><<a·href="if.html"·><img·src="pic/manual.png"·border=0·alt="[ref]"·width="10"·height="10">/IF</a>></span><br> | ||
144 | ·<span·class="htp-tag"><<a·href="def.html"·><img·src="pic/manual.png"·border=0·alt="[ref]"·width="10"·height="10">def</a>·<span·class="htp-attrib">name</span>=<span·class="htp-string">"bigfont"</span>></span><br> | ||
145 | · ·<span·class="htp-tag"><font·<span·class="htp-attrib">size</span>=<span·class="htp-string">"+4"</span>></span><br> | ||
146 | ·<span·class="htp-tag"><<a·href="def.html"·><img·src="pic/manual.png"·border=0·alt="[ref]"·width="10"·height="10">/def</a>></span><br> | ||
147 | <br> | ||
148 | ·<span·class="htp-tag"><<a·href="def.html"·><img·src="pic/manual.png"·border=0·alt="[ref]"·width="10"·height="10">def</a>·<span·class="htp-attrib">name</span>=<span·class="htp-string">"/bigfont"</span>></span><br> | ||
149 | · ·<span·class="htp-tag"></font></span><br> | ||
150 | ·<span·class="htp-tag"><<a·href="def.html"·><img·src="pic/manual.png"·border=0·alt="[ref]"·width="10"·height="10">/def</a>></span><br> | ||
151 | <br> | ||
152 | ·<span·class="htp-tag"><bigfont></span>Some·large·text<span·class="htp-tag"></bigfont></span><br> | ||
153 | </code></p> | 149 | </code></p> |
154 | <P> | 150 | <P> |
155 | If·IMAGEURL·is·specified·with·a·URL·but·no·PATH·attribute,·it·is·treated·as | 151 | If·IMAGEURL·is·specified·with·a·URL·but·no·PATH·attribute,·it·is·treated·as |
156 | an·undefine,·and·is·removed.</P> | 152 | an·undefine,·and·is·removed.</P> |
157 | <P> | 153 | <P> |
158 | Since·you·usually·need·the·url·mapping·for·a·number·of·images·used·throughout | 154 | Since·you·usually·need·the·url·mapping·for·a·number·of·images·used·throughout |
159 | a·set·of·documents,·IMAGEURL·is·most·appropriately·put·into·an | 155 | a·set·of·documents,·IMAGEURL·is·most·appropriately·put·into·an |
Offset 114, 38 lines modified | Offset 114, 27 lines modified | ||
114 | ······<a·class="noline"·href="bugs.html">Bugs</a></td></tr> | 114 | ······<a·class="noline"·href="bugs.html">Bugs</a></td></tr> |
115 | ··</table> | 115 | ··</table> |
116 | ··</div> | 116 | ··</div> |
117 | </td> | 117 | </td> |
118 | <td·bgcolor="#f0f0d0"·rowspan="2"·valign="top"> | 118 | <td·bgcolor="#f0f0d0"·rowspan="2"·valign="top"> |
119 | <h2>syntax</h2> | 119 | <h2>syntax</h2> |
120 | ··<p><code> | 120 | ··<p><code> |
121 | <span·class="htp-tag"><<a·href=" | 121 | <span·class="htp-tag"><<a·href="def.html"·><img·src="pic/manual.png"·border=0·alt="[ref]"·width="10"·height="10">def</a>·<span·class="htp-attrib">name</span>=<span·class="htp-string">"imghr"</span>></span><br> |
122 | · <span·class="htp-tag"><table·<span·class="htp-attrib">border</span>=<span·class="htp-string">"0"</span>·<span·class="htp-attrib">cellspacing</span>=<span·class="htp-string">"0"</span>·<span·class="htp-attrib">cellpadding</span>=<span·class="htp-string">"0"</span>></span><br> | ||
123 | · <span·class="htp-tag"><tr></span><br> | ||
124 | · ·<span·class="htp-tag"><td·<span·class="htp-attrib">width</span>=<span·class="htp-value">10</span>></span><span·class="htp-tag"><<a·href="img.html"·><img·src="pic/manual.png"·border=0·alt="[ref]"·width="10"·height="10">img</a>·<span·class="htp-attrib">src</span>=<span·class="htp-string">"leftsep.png"</span>></span><span·class="htp-tag"></td></span><br> | ||
125 | · ·<span·class="htp-tag"><td·<span·class="htp-attrib">width</span>=<span·class="htp-string">"95%"</span>·<span·class="htp-attrib">background</span>=<span·class="htp-string">"midsep.png"</span>></span>&nbsp;<span·class="htp-tag"></td></span><br> | ||
126 | · ·<span·class="htp-tag"><td·<span·class="htp-attrib">width</span>=<span·class="htp-value">10</span>></span><span·class="htp-tag"><<a·href="img.html"·><img·src="pic/manual.png"·border=0·alt="[ref]"·width="10"·height="10">img</a>·<span·class="htp-attrib">src</span>=<span·class="htp-string">"rightsep.png"</span>></span><span·class="htp-tag"></td></span><br> | ||
127 | · <span·class="htp-tag"></tr></span><br> | ||
128 | · <span·class="htp-tag"></table></span><br> | ||
129 | <span·class="htp-tag"><<a·href="def.html"·><img·src="pic/manual.png"·border=0·alt="[ref]"·width="10"·height="10">/def</a>></span><br> | ||
122 | <br> | 130 | <br> |
131 | paragraph<br> | ||
132 | <span·class="htp-tag"><imghr></span><br> | ||
133 | paragraph<br> | ||
123 | n/"><br> | ||
124 | ·<span·class="htp-tag"><<a·href="imageurl.html"·><img·src="pic/manual.png"·border=0·alt="[ref]"·width="10"·height="10">imageurl</a>·<span·class="htp-attrib">url</span>=<span·class="htp-string">"other.domain.org/"</span>·<span·class="htp-attrib">path</span>=<span·class="htp-string">"/var/www/other.domain/"</span>></span><br> | ||
125 | <br> | ||
126 | ·For·this·line:·<span·class="htp-tag"><<a·href="img.html"·><img·src="pic/manual.png"·border=0·alt="[ref]"·width="10"·height="10">img</a>·<span·class="htp-attrib">src</span>=<span·class="htp-string">"logo.gif"</span>></span><br> | ||
127 | ·the·local·filename·"logo.gif"·will·be·used·to·determine·image·dimensions<br> | ||
128 | ·(no·URL·replacement).<br> | ||
129 | <br> | ||
130 | ·For·this·line:·<span·class="htp-tag"><<a·href="img.html"·><img·src="pic/manual.png"·border=0·alt="[ref]"·width="10"·height="10">img</a>·<span·class="htp-attrib">src</span>=<span·class="htp-string">"http://my.domain.org/logo.gif"</span>></span><br> | ||
131 | ·the·local·filename·"/var/www/my.domain/logo.gif"·will·be·used.<br> | ||
132 | <br> | ||
133 | ·But·for·this·line:·<span·class="htp-tag"><<a·href="img.html"·><img·src="pic/manual.png"·border=0·alt="[ref]"·width="10"·height="10">img</a>·<span·class="htp-attrib">src</span>=<span·class="htp-string">"http://other.domain.org/logo.gif"</span>></span><br> | ||
134 | ·the·local·file·cannot·be·found·(no·prefix·match),·so·the·image·dimensions<br> | ||
135 | ·will·not·be·added.<br> | ||
136 | <br> | ||
137 | ·Order·is·important;·last·IMAGEURL·tag·takes·precedence:<br> | ||
138 | ·<span·class="htp-tag"><<a·href="imageurl.html"·><img·src="pic/manual.png"·border=0·alt="[ref]"·width="10"·height="10">imageurl</a>·<span·class="htp-attrib">url</span>=<span·class="htp-string">"/"</span>·<span·class="htp-attrib">path</span>=<span·class="htp-string">"/var/www/htdocs/"</span>></span><br> | ||
139 | ·<span·class="htp-tag"><<a·href="imageurl.html"·><img·src="pic/manual.png"·border=0·alt="[ref]"·width="10"·height="10">imageurl</a>·<span·class="htp-attrib">url</span>=<span·class="htp-string">"/test/"</span>·<span·class="htp-attrib">path</span>=<span·class="htp-string">"/var/www/test/"</span>></span><br> | ||
140 | <br> | ||
141 | ·<span·class="htp-tag"><<a·href="img.html"·><img·src="pic/manual.png"·border=0·alt="[ref]"·width="10"·height="10">img</a>·<span·class="htp-attrib">src</span>=<span·class="htp-string">"/image.gif"</span>></span> and·<span·class="htp-tag"><<a·href="img.html"·><img·src="pic/manual.png"·border=0·alt="[ref]"·width="10"·height="10">img</a>·<span·class="htp-attrib">src</span>=<span·class="htp-string">"/test/image.gif"</span>></span> are·mapped·to<br> | ||
142 | ·/var/www/htdocs/image.gif·and·/var/www/test/image.gif,·resp.<br> | ||
143 | ·If·the·order·of·the·imageurl·lines·would·be·swapped,·the·second·<br> | ||
144 | ·image·would·be·mapped·to·/var/www/htdocs/test/image.gif.<br> | ||
145 | </code></p> | 134 | </code></p> |
146 | <h2>synopsis</h2> | 135 | <h2>synopsis</h2> |
147 | <P>·<STRONG>img</STRONG>·is·a·standard·HTML·tag.··htp·can·add·the·specified | 136 | <P>·<STRONG>img</STRONG>·is·a·standard·HTML·tag.··htp·can·add·the·specified |
148 | image's·width·and·height·to·the·tag·automatically.··This·has·the·advantage | 137 | image's·width·and·height·to·the·tag·automatically.··This·has·the·advantage |
149 | of·not·having·to·determine·each·image's·size·manually,·which·is·especially | 138 | of·not·having·to·determine·each·image's·size·manually,·which·is·especially |
150 | useful·if·the·image·may·change·frequently.·</P> | 139 | useful·if·the·image·may·change·frequently.·</P> |
151 | <P>·htp·adds·this·information·with·the·WIDTH·and·HEIGHT·markup | 140 | <P>·htp·adds·this·information·with·the·WIDTH·and·HEIGHT·markup |
Offset 122, 32 lines modified | Offset 122, 37 lines modified | ||
122 | <span·class="htp-tag"><<a·href="opt.html"·><img·src="pic/manual.png"·border=0·alt="[ref]"·width="10"·height="10">OPT</a>·<span·class="ebnf">(</span><span·class="htp-attrib">QUIET</span><span·class="ebnf">|</span><span·class="htp-attrib">VERBOSE</span><span·class="ebnf">)</span>></span><br> | 122 | <span·class="htp-tag"><<a·href="opt.html"·><img·src="pic/manual.png"·border=0·alt="[ref]"·width="10"·height="10">OPT</a>·<span·class="ebnf">(</span><span·class="htp-attrib">QUIET</span><span·class="ebnf">|</span><span·class="htp-attrib">VERBOSE</span><span·class="ebnf">)</span>></span><br> |
123 | <span·class="htp-tag"><<a·href="opt.html"·><img·src="pic/manual.png"·border=0·alt="[ref]"·width="10"·height="10">OPT</a>·<span·class="ebnf">(</span><span·class="htp-attrib">DEPEND</span><span·class="ebnf">|</span><span·class="htp-attrib">NODEPEND</span><span·class="ebnf">)</span>></span><br> | 123 | <span·class="htp-tag"><<a·href="opt.html"·><img·src="pic/manual.png"·border=0·alt="[ref]"·width="10"·height="10">OPT</a>·<span·class="ebnf">(</span><span·class="htp-attrib">DEPEND</span><span·class="ebnf">|</span><span·class="htp-attrib">NODEPEND</span><span·class="ebnf">)</span>></span><br> |
124 | <span·class="htp-tag"><<a·href="opt.html"·><img·src="pic/manual.png"·border=0·alt="[ref]"·width="10"·height="10">OPT</a>·<span·class="ebnf">(</span><span·class="htp-attrib">PRECIOUS</span><span·class="ebnf">|</span><span·class="htp-attrib">NOPRECIOUS</span><span·class="ebnf">)</span>></span><br> | 124 | <span·class="htp-tag"><<a·href="opt.html"·><img·src="pic/manual.png"·border=0·alt="[ref]"·width="10"·height="10">OPT</a>·<span·class="ebnf">(</span><span·class="htp-attrib">PRECIOUS</span><span·class="ebnf">|</span><span·class="htp-attrib">NOPRECIOUS</span><span·class="ebnf">)</span>></span><br> |
125 | <span·class="htp-tag"><<a·href="opt.html"·><img·src="pic/manual.png"·border=0·alt="[ref]"·width="10"·height="10">OPT</a>·<span·class="ebnf">(</span><span·class="htp-attrib">CONDENSE</span><span·class="ebnf">|</span><span·class="htp-attrib">SEMICONDENSE</span><span·class="ebnf">|</span><span·class="htp-attrib">NOCONDENSE</span><span·class="ebnf">)</span>></span><br> | 125 | <span·class="htp-tag"><<a·href="opt.html"·><img·src="pic/manual.png"·border=0·alt="[ref]"·width="10"·height="10">OPT</a>·<span·class="ebnf">(</span><span·class="htp-attrib">CONDENSE</span><span·class="ebnf">|</span><span·class="htp-attrib">SEMICONDENSE</span><span·class="ebnf">|</span><span·class="htp-attrib">NOCONDENSE</span><span·class="ebnf">)</span>></span><br> |
126 | <span·class="htp-tag"><<a·href="opt.html"·><img·src="pic/manual.png"·border=0·alt="[ref]"·width="10"·height="10">OPT</a>·<span·class="htp-attrib">DELIM</span>=<span·class="ebnf">(</span><span·class="htp-value">HTML<span·class="ebnf">|</span>SQUARE<span·class="ebnf">|</span>CURLY<span·class="ebnf">)</span></span>></span><br> | 126 | <span·class="htp-tag"><<a·href="opt.html"·><img·src="pic/manual.png"·border=0·alt="[ref]"·width="10"·height="10">OPT</a>·<span·class="htp-attrib">DELIM</span>=<span·class="ebnf">(</span><span·class="htp-value">HTML<span·class="ebnf">|</span>SQUARE<span·class="ebnf">|</span>CURLY<span·class="ebnf">)</span></span>></span><br> |
127 | <span·class="htp-tag"><<a·href="opt.html"·><img·src="pic/manual.png"·border=0·alt="[ref]"·width="10"·height="10">OPT</a>·<span·class="ebnf">(</span><span·class="htp-attrib">XML</span><span·class="ebnf">|</span><span·class="htp-attrib">XML</span>=<span·class="htp-value">FALSE<span·class="ebnf">)</span></span>></span><br> | 127 | <span·class="htp-tag"><<a·href="opt.html"·><img·src="pic/manual.png"·border=0·alt="[ref]"·width="10"·height="10">OPT</a>·<span·class="ebnf">(</span><span·class="htp-attrib">XML</span><span·class="ebnf">|</span><span·class="htp-attrib">XML</span>=<span·class="htp-value">FALSE<span·class="ebnf">)</span></span>></span><br> |
128 | <br> | 128 | <br> |
129 | width=10><span·class="htp-tag"><<a·href="img.html"·><img·src="pic/manual.png"·border=0·alt="[ref]"·width="10"·height="10">img</a>·<span·class="htp-attrib">src</span>=<span·class="htp-string">"rightsep.png"</span>></span><span·class="htp-tag"></td></span><br> | ||
130 | · <span·class="htp-tag"></tr></span><br> | ||
131 | · <span·class="htp-tag"></table></span><br> | ||
132 | <span·class="htp-tag"><<a·href="def.html"·><img·src="pic/manual.png"·border=0·alt="[ref]"·width="10"·height="10">/def</a>></span><br> | ||
133 | <br> | ||
134 | paragraph<br> | ||
135 | <span·class="htp-tag"><imghr></span><br> | ||
136 | paragraph<br> | ||
129 | </code></p> | 137 | </code></p> |
130 | <h2>synopsis</h2> | 138 | <h2>synopsis</h2> |
131 | The·<STRONG>INC</STRONG>·can·be·used·for·incrementing/decrementing·a | 139 | The·<STRONG>INC</STRONG>·can·be·used·for·incrementing/decrementing·a |
132 | variable·or·for·variable·addition.··The·basic·form·is·shown·above. | 140 | variable·or·for·variable·addition.··The·basic·form·is·shown·above. |
133 | <P> | 141 | <P> |
134 | The·"increment"·is·anything·that·evaluates·to·a·integer.··It·can·be·a | 142 | The·"increment"·is·anything·that·evaluates·to·a·integer.··It·can·be·a |
135 | literal·string·or·a·macro·preceeded·by·the·'$'-operator.··The | 143 | literal·string·or·a·macro·preceeded·by·the·'$'-operator.··The |
136 | macroname·must·be·the·name·of·a·defined·macro·that·contains·an | 144 | macroname·must·be·the·name·of·a·defined·macro·that·contains·an |
137 | integer.··If·the·increment·is·ommitted·it·defaults·to·1. | 145 | integer.··If·the·increment·is·ommitted·it·defaults·to·1. |
138 | The·effect·of·this·operation·is·that·the·macro·is·redefined | 146 | The·effect·of·this·operation·is·that·the·macro·is·redefined |
139 | to·contain·the·sum·of·its·previous·value·and·its·increment. | 147 | to·contain·the·sum·of·its·previous·value·and·its·increment. |
140 | <P> | 148 | <P> |
141 | To·increment·or·decrement·a·variable·you·can·use·this·form: | 149 | To·increment·or·decrement·a·variable·you·can·use·this·form: |
142 | ··<p><code> | 150 | ··<p><code> |
151 | · ·<span·class="htp-tag"><<a·href="if.html"·><img·src="pic/manual.png"·border=0·alt="[ref]"·width="10"·height="10">IF</a>·<span·class="htp-attrib">name</span>></span>...<span·class="htp-tag"><<a·href="if.html"·><img·src="pic/manual.png"·border=0·alt="[ref]"·width="10"·height="10">/IF</a>></span><br> | ||
143 | <span·class="htp-tag"><<a·href="output.html"·><img·src="pic/manual.png"·border=0·alt="[ref]"·width="10"·height="10">OUTPUT</a>·<span·class="htp-attrib">FILE</span>=<span·class="htp-string">"outputfilename"</span>·<span·class="htp-attrib">[APPEND]</span>·<span·class="htp-attrib">[EXPAND]</span>></span><br> | ||
144 | text·block<br> | ||
145 | <span·class="htp-tag"><<a·href="output.html"·><img·src="pic/manual.png"·border=0·alt="[ref]"·width="10"·height="10">/OUTPUT</a>></span><br> | ||
146 | <br> | ||
147 | </code></p> | 152 | </code></p> |
148 | <p> | 153 | <p> |
149 | Note·that·INC·doesn't·check·if·the·strings·really·denote·integers.··It | 154 | Note·that·INC·doesn't·check·if·the·strings·really·denote·integers.··It |
150 | may·give·weired·results·when·used·on·arbitrary·strings.··The·integer | 155 | may·give·weired·results·when·used·on·arbitrary·strings.··The·integer |
151 | values·are·limited·to·the·range·-2^31..2^31. | 156 | values·are·limited·to·the·range·-2^31..2^31. |
152 | <P> | 157 | <P> |
153 | Note·further·that·htp·wasn't·designed·to·do·extensive·calculations. | 158 | Note·further·that·htp·wasn't·designed·to·do·extensive·calculations. |
Offset 88, 38 lines modified | Offset 88, 18 lines modified | ||
88 | <P>·Metatags·are·defined·with·the·<a·href="def.html"·><img·src="pic/manual.png"·border=0·alt="[ref]"·width="10"·height="10"><code>def</code></a>·and·<a·href="blockdef.html"·><img·src="pic/manual.png"·border=0·alt="[ref]"·width="10"·height="10"><code>blockdef</code></a>·tags·and | 88 | <P>·Metatags·are·defined·with·the·<a·href="def.html"·><img·src="pic/manual.png"·border=0·alt="[ref]"·width="10"·height="10"><code>def</code></a>·and·<a·href="blockdef.html"·><img·src="pic/manual.png"·border=0·alt="[ref]"·width="10"·height="10"><code>blockdef</code></a>·tags·and |
89 | undefined·with·the·<a·href="undef.html"·><img·src="pic/manual.png"·border=0·alt="[ref]"·width="10"·height="10"><code>undef</code></a>·tag.··</P> | 89 | undefined·with·the·<a·href="undef.html"·><img·src="pic/manual.png"·border=0·alt="[ref]"·width="10"·height="10"><code>undef</code></a>·tag.··</P> |
90 | <P> | 90 | <P> |
91 | As·an·example·we·show·how·to·define·a·tag·that·builds·a | 91 | As·an·example·we·show·how·to·define·a·tag·that·builds·a |
92 | fancy·horizontal·rule·out·of·several·images. | 92 | fancy·horizontal·rule·out·of·several·images. |
93 | </P> | 93 | </P> |
94 | ··<p><code> | 94 | ··<p><code> |
95 | <font·size="-2"> 1.·</font><span·class="htp-tag"><<a·href="output.html"·><img·src="pic/manual.png"·border=0·alt="[ref]"·width="10"·height="10">OUTPUT</a>·<span·class="htp-attrib">FILE</span>=<span·class="htp-string">"outputfilename"</span>·<span·class="htp-attrib">[APPEND]</span>·<span·class="htp-attrib">[EXPAND]</span>></span><br> | ||
96 | <font·size="-2"> 2.·</font>text·block<br> | ||
95 | <font·size="-2"> 1.·</font> ·<span·class="htp-tag"><<a·href="def.html"·><img·src="pic/manual.png"·border=0·alt="[ref]"·width="10"·height="10">DEF</a>·<span·class="htp-attrib">NAME</span>=<span·class="htp-string">"HEADERIMG"</span>·<span·class="htp-attrib">OPTION</span>=<span·class="htp-string">"SRC·TITLE·SIZE"</span>></span><br> | ||
96 | <font·size="-2"> 2.·</font> · ·<span·class="htp-tag"><<a·href="if.html"·><img·src="pic/manual.png"·border=0·alt="[ref]"·width="10"·height="10">IF</a>·<span·class="htp-attrib">size</span>></span><br> | ||
97 | <font·size="-2"> 3.·</font> · · · ·<span·class="htp-tag"><FONT·<span·class="htp-attrib">SIZE</span>=<span·class="htp-value"><span·class="htp-macro">${size}</span></span>></span><br> | ||
98 | <font·size="-2"> | 97 | <font·size="-2"> 3.·</font><span·class="htp-tag"><<a·href="output.html"·><img·src="pic/manual.png"·border=0·alt="[ref]"·width="10"·height="10">/OUTPUT</a>></span><br> |
99 | <font·size="-2"> 5.·</font> · ·<span·class="htp-tag"><<a·href="img.html"·><img·src="pic/manual.png"·border=0·alt="[ref]"·width="10"·height="10">IMG</a>·<span·class="htp-attrib">SRC</span>=<span·class="htp-value">pics/<span·class="htp-macro">${src}</span></span>></span><br> | ||
100 | <font·size="-2"> 6.·</font> · ·<span·class="htp-tag"><<a·href="use.html"·><img·src="pic/manual.png"·border=0·alt="[ref]"·width="10"·height="10">USE</a>·<span·class="htp-attrib">title</span>></span><br> | ||
101 | <font·size="-2"> 7.·</font> · ·<span·class="htp-tag"><<a·href="if.html"·><img·src="pic/manual.png"·border=0·alt="[ref]"·width="10"·height="10">IF</a>·<span·class="htp-attrib">size</span>></span><br> | ||
102 | <font·size="-2"> 8.·</font> · · · ·<span·class="htp-tag"></FONT></span><br> | ||
103 | <font·size="-2"> 9.·</font> · ·<span·class="htp-tag"><<a·href="if.html"·><img·src="pic/manual.png"·border=0·alt="[ref]"·width="10"·height="10">/IF</a>></span><br> | ||
104 | <font·size="-2">10.·</font> ·<span·class="htp-tag"><<a·href="def.html"·><img·src="pic/manual.png"·border=0·alt="[ref]"·width="10"·height="10">/DEF</a>></span><br> | ||
105 | <font·size="-2"> | 98 | <font·size="-2"> 4.·</font><br> |
106 | <font·size="-2">12.·</font> ·<span·class="htp-tag"><HEADERIMG·<span·class="htp-attrib">SRC</span>=<span·class="htp-string">"logo.gif"</span>·<span·class="htp-attrib">SIZE</span>=<span·class="htp-string">"+2"</span>·<span·class="htp-attrib">TITLE</span>=<span·class="htp-string">"A·title"</span>></span><br> | ||
107 | <font·size="-2">13.·</font><br> | ||
108 | <font·size="-2">14.·</font> ·<span·class="htp-tag"><HEADERIMG·<span·class="htp-attrib">SRC</span>=<span·class="htp-string">"logo.gif"</span>·<span·class="htp-attrib">TITLE</span>=<span·class="htp-string">"Normal·sized·title"</span>></span><br> | ||
109 | <font·size="-2">15.·</font><br> | ||
110 | <font·size="-2">16.·</font> ·This·will·fail:<br> | ||
111 | <font·size="-2">17.·</font> ·<span·class="htp-tag"><HEADERIMG·<span·class="htp-attrib">SRC</span>=<span·class="htp-string">"logo.gif"</span>·<span·class="htp-attrib">ALT</span>=<span·class="htp-string">"Our·logo"</span>·<span·class="htp-attrib">TITLE</span>=<span·class="htp-string">"Another·title"</span>></span><br> | ||
112 | <font·size="-2">18.·</font><br> | ||
113 | <font·size="-2">19.·</font> ·Instead,·use·*·like·this:<br> | ||
114 | <font·size="-2">20.·</font> ·<span·class="htp-tag"><<a·href="def.html"·><img·src="pic/manual.png"·border=0·alt="[ref]"·width="10"·height="10">DEF</a>·<span·class="htp-attrib">NAME</span>=<span·class="htp-string">"MYIMG"</span>·<span·class="htp-attrib">OPTION</span>=<span·class="htp-string">"SRC·*"</span>></span><br> | ||
115 | <font·size="-2">21.·</font> · ·<span·class="htp-tag"><<a·href="img.html"·><img·src="pic/manual.png"·border=0·alt="[ref]"·width="10"·height="10">IMG</a>·<span·class="htp-attrib">SRC</span>=<span·class="htp-string">"pics/<span·class="htp-macro">${src}</span>"</span>·<span·class="htp-attrib"><span·class="htp-macro">$*</span></span>></span><br> | ||
116 | <font·size="-2">22.·</font> ·<span·class="htp-tag"><<a·href="def.html"·><img·src="pic/manual.png"·border=0·alt="[ref]"·width="10"·height="10">/DEF</a>></span><br> | ||
117 | <font·size="-2">23.·</font> · ·<br> | ||
118 | <font·size="-2">24.·</font> ·<span·class="htp-tag"><MYIMG·<span·class="htp-attrib">SRC</span>=<span·class="htp-string">"logo.gif"</span>·<span·class="htp-attrib">ALT</span>=<span·class="htp-string">"Our·logo"</span>></span><br> | ||
119 | </code></p> | 99 | </code></p> |
120 | <P>·In·line·1·of·the·above·example·a·new·tag·named·imghr·is·defined. | 100 | <P>·In·line·1·of·the·above·example·a·new·tag·named·imghr·is·defined. |
121 | The·html·code·which·implements·this·rule·is·following·in·lines·2-8. | 101 | The·html·code·which·implements·this·rule·is·following·in·lines·2-8. |
122 | between·the·<a·href="def.html"·><img·src="pic/manual.png"·border=0·alt="[ref]"·width="10"·height="10"><code>def</code>·and | 102 | between·the·<a·href="def.html"·><img·src="pic/manual.png"·border=0·alt="[ref]"·width="10"·height="10"><code>def</code>·and |
123 | <code>/def</code></a>·tags.··You·don't·have·to·understand·this | 103 | <code>/def</code></a>·tags.··You·don't·have·to·understand·this |
124 | html·code,·but·you·should·understand·that·this·is·just·pure·html·to | 104 | html·code,·but·you·should·understand·that·this·is·just·pure·html·to |
125 | draw·the·fancy·rule.·Every·time·you·write·<code><imghr></code> | 105 | draw·the·fancy·rule.·Every·time·you·write·<code><imghr></code> |
Offset 129, 39 lines modified | Offset 109, 36 lines modified | ||
129 | file</a>.··</p> | 109 | file</a>.··</p> |
130 | <P>·Often·you·want·to·define·tags·that·have·an·opening·and·a·closing | 110 | <P>·Often·you·want·to·define·tags·that·have·an·opening·and·a·closing |
131 | variant.··For·this·purpose·you·should·use·the·<a·href="blockdef.html"·><img·src="pic/manual.png"·border=0·alt="[ref]"·width="10"·height="10"><code>blockdef</code></a>·tag.··When·htp | 111 | variant.··For·this·purpose·you·should·use·the·<a·href="blockdef.html"·><img·src="pic/manual.png"·border=0·alt="[ref]"·width="10"·height="10"><code>blockdef</code></a>·tag.··When·htp |
132 | encounters·a·blockdef·tag·it·will·automatically·search·for·the | 112 | encounters·a·blockdef·tag·it·will·automatically·search·for·the |
133 | matching·closing·tag·and·put·everything·between·these·tags·in·a·block | 113 | matching·closing·tag·and·put·everything·between·these·tags·in·a·block |
134 | macro·named·<code>block</code>.··Here·is·an·example·for·this.··</P> | 114 | macro·named·<code>block</code>.··Here·is·an·example·for·this.··</P> |
135 | ··<p><code> | 115 | ··<p><code> |
116 | <font·size="-2"> 1.·</font> · ·<span·class="htp-tag"><<a·href="if.html"·><img·src="pic/manual.png"·border=0·alt="[ref]"·width="10"·height="10">IF</a>·<span·class="htp-attrib">name</span>></span>...<span·class="htp-tag"><<a·href="if.html"·><img·src="pic/manual.png"·border=0·alt="[ref]"·width="10"·height="10">/IF</a>></span><br> | ||
136 | <font·size="-2"> 1.·</font><span·class="htp-tag"><<a·href="output.html"·><img·src="pic/manual.png"·border=0·alt="[ref]"·width="10"·height="10">OUTPUT</a>·<span·class="htp-attrib">FILE</span>=<span·class="htp-string">"outputfilename"</span>·<span·class="htp-attrib">[APPEND]</span>·<span·class="htp-attrib">[EXPAND]</span>></span><br> | ||
137 | <font·size="-2"> 2.·</font>text·block<br> | ||
138 | <font·size="-2"> 3.·</font><span·class="htp-tag"><<a·href="output.html"·><img·src="pic/manual.png"·border=0·alt="[ref]"·width="10"·height="10">/OUTPUT</a>></span><br> | ||
139 | <font·size="-2"> 4.·</font><br> | ||
140 | </code></p> | 117 | </code></p> |
141 | <h2>Using·parameters</h2> | 118 | <h2>Using·parameters</h2> |
142 | <p>·More·sophisticated·tags·accept·parameters.··The | 119 | <p>·More·sophisticated·tags·accept·parameters.··The |
143 | <code>option</code>·parameter·lets·multiple·metatag·parameters·be | 120 | <code>option</code>·parameter·lets·multiple·metatag·parameters·be |
144 | named·and·expanded·inside·the·<code>def</code>·or | 121 | named·and·expanded·inside·the·<code>def</code>·or |
145 | <code>blockdef</code>·block:·</p> | 122 | <code>blockdef</code>·block:·</p> |
146 | ··<p><code> | 123 | ··<p><code> |
124 | <font·size="-2"> 1.·</font> · ·<span·class="htp-tag"><<a·href="set.html"·><img·src="pic/manual.png"·border=0·alt="[ref]"·width="10"·height="10">SET</a>·<span·class="htp-attrib">emailaddr</span>=<span·class="htp-string">"jnelson@crl.com"</span>></span><br> | ||
147 | <font·size="-2"> 1.·</font><span·class="htp-tag"><<a·href="quote.html"·><img·src="pic/manual.png"·border=0·alt="[ref]"·width="10"·height="10">QUOTE</a>·<span·class="htp-attrib">TAG</span>·<span·class="htp-attrib">[ATTRIBUTE</span>=<span·class="htp-value">VALUE</span>·<span·class="htp-attrib">...]</span>></span><br> | ||
148 | <font·size="-2"> 2.·</font><br> | ||
149 | </code></p> | 125 | </code></p> |
150 | <h2>Saving·blocks·for·later</h2> | 126 | <h2>Saving·blocks·for·later</h2> |
151 | <p>When·you·are·using·templates,·the·html·should·only·be·written·by | 127 | <p>When·you·are·using·templates,·the·html·should·only·be·written·by |
152 | the·template·file.··The·normal·htp·files·should·just·define·macros | 128 | the·template·file.··The·normal·htp·files·should·just·define·macros |
153 | that·are·used·later·in·the·template.··So·you·may·want·to·write·block | 129 | that·are·used·later·in·the·template.··So·you·may·want·to·write·block |
154 | tags·that·just·save·the·block·in·a·macro·for·later·use.··Although·this | 130 | tags·that·just·save·the·block·in·a·macro·for·later·use.··Although·this |
155 | is·possible·with·htp·it·is·quite·tricky,·so·here·we·present·the·way·to | 131 | is·possible·with·htp·it·is·quite·tricky,·so·here·we·present·the·way·to |
156 | do·this:</p> | 132 | do·this:</p> |
157 | ··<p><code> | 133 | ··<p><code> |
134 | <font·size="-2"> 1.·</font><span·class="htp-tag"><<a·href="while.html"·><img·src="pic/manual.png"·border=0·alt="[ref]"·width="10"·height="10">WHILE</a>·<span·class="htp-attrib">[NOT]</span>·<span·class="htp-attrib">conditional</span>></span><br> | ||
135 | <font·size="-2"> 2.·</font> · ·block<br> | ||
158 | <font·size="-2"> | 136 | <font·size="-2"> 3.·</font><span·class="htp-tag"><<a·href="while.html"·><img·src="pic/manual.png"·border=0·alt="[ref]"·width="10"·height="10">/WHILE</a>></span><br> |
159 | <font·size="-2"> 2.·</font><span·class="htp-tag"><<a·href="unset.html"·><img·src="pic/manual.png"·border=0·alt="[ref]"·width="10"·height="10">unset</a>·<span·class="htp-attrib">macroname1</span>·<span·class="htp-attrib">macroname2</span>·<span·class="htp-attrib">...</span>·></span><br> | ||
160 | <font·size="-2"> | 137 | <font·size="-2"> 4.·</font><br> |
161 | </code></p> | 138 | </code></p> |
162 | <p>·This·defines·a·block·macro·named·section.··This·macro·uses·a | 139 | <p>·This·defines·a·block·macro·named·section.··This·macro·uses·a |
163 | counter·<code>sect-ctr</code>·that·enumerates·the·sections.··It·is | 140 | counter·<code>sect-ctr</code>·that·enumerates·the·sections.··It·is |
164 | increased·for·every·section·(line·3)·and·then·the·block·macro·name·is | 141 | increased·for·every·section·(line·3)·and·then·the·block·macro·name·is |
165 | build·from·this·counter.··So·the·first·section·is·stored·in·block | 142 | build·from·this·counter.··So·the·first·section·is·stored·in·block |
166 | sect-1,·the·second·in·sect-2·and·so·on.··The·<a·href="expand.html#global"·><img·src="pic/manual.png"·border=0·alt="[ref]"·width="10"·height="10"><code>global</code></a>·flag | 143 | sect-1,·the·second·in·sect-2·and·so·on.··The·<a·href="expand.html#global"·><img·src="pic/manual.png"·border=0·alt="[ref]"·width="10"·height="10"><code>global</code></a>·flag |
167 | in·line·4·tells·htp·that·these·macros·should·be·defined·globally | 144 | in·line·4·tells·htp·that·these·macros·should·be·defined·globally |
Offset 180, 15 lines modified | Offset 157, 16 lines modified | ||
180 | contents·of·block·to·be·expanded·twice.··If·you·omit·it,·it·would·be | 157 | contents·of·block·to·be·expanded·twice.··If·you·omit·it,·it·would·be |
181 | expanded·when·defining·the·sect-1·macro·and·when·using·it·later·in·the | 158 | expanded·when·defining·the·sect-1·macro·and·when·using·it·later·in·the |
182 | template.··Generally·it·is·a·good·idea·to·use·noexpand·whenever·you | 159 | template.··Generally·it·is·a·good·idea·to·use·noexpand·whenever·you |
183 | use·expand·in·a·block·around·it.</p> | 160 | use·expand·in·a·block·around·it.</p> |
184 | <p>To·close·this·example·we·show·how·to·expand·the | 161 | <p>To·close·this·example·we·show·how·to·expand·the |
185 | <code>sect-${sect-ctr}</code>·blocks·in·the·template:</p> | 162 | <code>sect-${sect-ctr}</code>·blocks·in·the·template:</p> |
186 | ··<p><code> | 163 | ··<p><code> |
187 | <font·size="-2"> 1.·</font> | 164 | <font·size="-2"> 1.·</font><span·class="htp-tag"><a·<span·class="htp-attrib">href</span>=<span·class="htp-string">"mailto:<span·class="htp-macro">$email</span>"</span>></span>mailto·hyperlink<span·class="htp-tag"></a></span><br> |
165 | <font·size="-2"> 2.·</font><span·class="htp-tag"><a·<span·class="htp-attrib">href</span>=<span·class="htp-string">"http://<span·class="htp-macro">$domain</span>/~<span·class="htp-macro">${username}</span>/"</span>></span>another·hyperlink<span·class="htp-tag"></a></span><br> | ||
188 | </code></p> | 166 | </code></p> |
189 | <p> | 167 | <p> |
190 | The·<a·href="while.html"·><img·src="pic/manual.png"·border=0·alt="[ref]"·width="10"·height="10">while</a>·tag·in·line·3·checks·whether | 168 | The·<a·href="while.html"·><img·src="pic/manual.png"·border=0·alt="[ref]"·width="10"·height="10">while</a>·tag·in·line·3·checks·whether |
191 | the·macro·sect-${sect-ctr}·is·defined.··If·it·is·defined·the·body·is | 169 | the·macro·sect-${sect-ctr}·is·defined.··If·it·is·defined·the·body·is |
192 | evaluated,·which·expands·the·macro·and·increases·sect-ctr.··Afterwards | 170 | evaluated,·which·expands·the·macro·and·increases·sect-ctr.··Afterwards |
193 | the·while·condition·is·checked·again·to·check·for·sect-2·macro.··This | 171 | the·while·condition·is·checked·again·to·check·for·sect-2·macro.··This |
194 | repeats·until·sect-${sect-ctr}·is·not·defined. | 172 | repeats·until·sect-${sect-ctr}·is·not·defined. |
Offset 114, 21 lines modified | Offset 114, 17 lines modified | ||
114 | ······<a·class="noline"·href="bugs.html">Bugs</a></td></tr> | 114 | ······<a·class="noline"·href="bugs.html">Bugs</a></td></tr> |
115 | ··</table> | 115 | ··</table> |
116 | ··</div> | 116 | ··</div> |
117 | </td> | 117 | </td> |
118 | <td·bgcolor="#f0f0d0"·rowspan="2"·valign="top"> | 118 | <td·bgcolor="#f0f0d0"·rowspan="2"·valign="top"> |
119 | <h2>syntax</h2> | 119 | <h2>syntax</h2> |
120 | ··<p><code> | 120 | ··<p><code> |
121 | <span·class="htp-tag"><<a·href="output.html"·><img·src="pic/manual.png"·border=0·alt="[ref]"·width="10"·height="10">OUTPUT</a>·<span·class="htp-attrib">FILE</span>=<span·class="htp-string">"outputfilename"</span>·<span·class="ebnf">[</span><span·class="htp-attrib">APPEND</span><span·class="ebnf">]</span>·<span·class="ebnf">[</span><span·class="htp-attrib">EXPAND</span><span·class="ebnf">]</span>></span><br> | ||
122 | text·block<br> | ||
123 | <span·class="htp-tag"><<a·href="output.html"·><img·src="pic/manual.png"·border=0·alt="[ref]"·width="10"·height="10">/OUTPUT</a>></span><br> | ||
121 | <span·class="htp-tag"><<a·href="opt.html"·><img·src="pic/manual.png"·border=0·alt="[ref]"·width="10"·height="10">OPT</a>·<span·class="ebnf">(</span><span·class="htp-attrib">IMGXY</span><span·class="ebnf">|</span><span·class="htp-attrib">NOIMGXY</span><span·class="ebnf">)</span>></span><br> | ||
122 | <span·class="htp-tag"><<a·href="opt.html"·><img·src="pic/manual.png"·border=0·alt="[ref]"·width="10"·height="10">OPT</a>·<span·class="ebnf">(</span><span·class="htp-attrib">QUIET</span><span·class="ebnf">|</span><span·class="htp-attrib">VERBOSE</span><span·class="ebnf">)</span>></span><br> | ||
123 | <span·class="htp-tag"><<a·href="opt.html"·><img·src="pic/manual.png"·border=0·alt="[ref]"·width="10"·height="10">OPT</a>·<span·class="ebnf">(</span><span·class="htp-attrib">DEPEND</span><span·class="ebnf">|</span><span·class="htp-attrib">NODEPEND</span><span·class="ebnf">)</span>></span><br> | ||
124 | <span·class="htp-tag"><<a·href="opt.html"·><img·src="pic/manual.png"·border=0·alt="[ref]"·width="10"·height="10">OPT</a>·<span·class="ebnf">(</span><span·class="htp-attrib">PRECIOUS</span><span·class="ebnf">|</span><span·class="htp-attrib">NOPRECIOUS</span><span·class="ebnf">)</span>></span><br> | ||
125 | <span·class="htp-tag"><<a·href="opt.html"·><img·src="pic/manual.png"·border=0·alt="[ref]"·width="10"·height="10">OPT</a>·<span·class="ebnf">(</span><span·class="htp-attrib">CONDENSE</span><span·class="ebnf">|</span><span·class="htp-attrib">SEMICONDENSE</span><span·class="ebnf">|</span><span·class="htp-attrib">NOCONDENSE</span><span·class="ebnf">)</span>></span><br> | ||
126 | <span·class="htp-tag"><<a·href="opt.html"·><img·src="pic/manual.png"·border=0·alt="[ref]"·width="10"·height="10">OPT</a>·<span·class="htp-attrib">DELIM</span>=<span·class="ebnf">(</span><span·class="htp-value">HTML<span·class="ebnf">|</span>SQUARE<span·class="ebnf">|</span>CURLY<span·class="ebnf">)</span></span>></span><br> | ||
127 | <span·class="htp-tag"><<a·href="opt.html"·><img·src="pic/manual.png"·border=0·alt="[ref]"·width="10"·height="10">OPT</a>·<span·class="ebnf">(</span><span·class="htp-attrib">XML</span><span·class="ebnf">|</span><span·class="htp-attrib">XML</span>=<span·class="htp-value">FALSE<span·class="ebnf">)</span></span>></span><br> | ||
128 | <br> | 124 | <br> |
129 | </code></p> | 125 | </code></p> |
130 | <h2>synopsis</h2> | 126 | <h2>synopsis</h2> |
131 | <STRONG>OPT</STRONG>·is·an·htp·tag·that·can·be·used·to·specify·processing | 127 | <STRONG>OPT</STRONG>·is·an·htp·tag·that·can·be·used·to·specify·processing |
132 | options·inside·the·actual·document·being·processed.··The·options·are | 128 | options·inside·the·actual·document·being·processed.··The·options·are |
133 | used·exactly·as·they·would·be·on·the·command-line,·although·they·are·not | 129 | used·exactly·as·they·would·be·on·the·command-line,·although·they·are·not |
134 | preceded·by·a·‘-’·character. | 130 | preceded·by·a·‘-’·character. |
Offset 114, 16 lines modified | Offset 114, 16 lines modified | ||
114 | ······<a·class="noline"·href="bugs.html">Bugs</a></td></tr> | 114 | ······<a·class="noline"·href="bugs.html">Bugs</a></td></tr> |
115 | ··</table> | 115 | ··</table> |
116 | ··</div> | 116 | ··</div> |
117 | </td> | 117 | </td> |
118 | <td·bgcolor="#f0f0d0"·rowspan="2"·valign="top"> | 118 | <td·bgcolor="#f0f0d0"·rowspan="2"·valign="top"> |
119 | <h2>syntax</h2> | 119 | <h2>syntax</h2> |
120 | ··<p><code> | 120 | ··<p><code> |
121 | <span·class="htp-tag"><<a·href="un | 121 | <span·class="htp-tag"><<a·href="unset.html"·><img·src="pic/manual.png"·border=0·alt="[ref]"·width="10"·height="10">unset</a>·<span·class="htp-attrib">macroname</span>></span><br> |
122 | <span·class="htp-tag"><<a·href="un | 122 | <span·class="htp-tag"><<a·href="unset.html"·><img·src="pic/manual.png"·border=0·alt="[ref]"·width="10"·height="10">unset</a>·<span·class="htp-attrib">macroname1</span>·<span·class="htp-attrib">macroname2</span>·<span·class="htp-attrib">...</span>·></span><br> |
123 | <br> | 123 | <br> |
124 | </code></p> | 124 | </code></p> |
125 | <h2>synopsis</h2> | 125 | <h2>synopsis</h2> |
126 | <P>·The·<STRONG>OUTPUT</STRONG>·tag·can·be·used·to·create·auxillary | 126 | <P>·The·<STRONG>OUTPUT</STRONG>·tag·can·be·used·to·create·auxillary |
127 | files·besides·the·main·HTML·file.··The·text·between·this·tag·and·the | 127 | files·besides·the·main·HTML·file.··The·text·between·this·tag·and·the |
128 | corresponding·</OUTPUT>·tag·is·written·to·output·file.·</P> | 128 | corresponding·</OUTPUT>·tag·is·written·to·output·file.·</P> |
129 | <P>·Normally·the·outputfile·is·cleared·before·writing·to·it,·but·you | 129 | <P>·Normally·the·outputfile·is·cleared·before·writing·to·it,·but·you |
Offset 114, 17 lines modified | Offset 114, 15 lines modified | ||
114 | ······<a·class="noline"·href="bugs.html">Bugs</a></td></tr> | 114 | ······<a·class="noline"·href="bugs.html">Bugs</a></td></tr> |
115 | ··</table> | 115 | ··</table> |
116 | ··</div> | 116 | ··</div> |
117 | </td> | 117 | </td> |
118 | <td·bgcolor="#f0f0d0"·rowspan="2"·valign="top"> | 118 | <td·bgcolor="#f0f0d0"·rowspan="2"·valign="top"> |
119 | <h2>syntax</h2> | 119 | <h2>syntax</h2> |
120 | ··<p><code> | 120 | ··<p><code> |
121 | · ·<span·class="htp-tag"><<a·href="set.html"·><img·src="pic/manual.png"·border=0·alt="[ref]"·width="10"·height="10">SET</a>·<span·class="htp-attrib">emailaddr</span>=<span·class="htp-string">"jnelson@crl.com"</span>></span><br> | ||
121 | <span·class="htp-tag"><<a·href="unset.html"·><img·src="pic/manual.png"·border=0·alt="[ref]"·width="10"·height="10">unset</a>·<span·class="htp-attrib">macroname</span>></span><br> | ||
122 | <span·class="htp-tag"><<a·href="unset.html"·><img·src="pic/manual.png"·border=0·alt="[ref]"·width="10"·height="10">unset</a>·<span·class="htp-attrib">macroname1</span>·<span·class="htp-attrib">macroname2</span>·<span·class="htp-attrib">...</span>·></span><br> | ||
123 | <br> | ||
124 | </code></p> | 122 | </code></p> |
125 | <h2>synopsis</h2> | 123 | <h2>synopsis</h2> |
126 | <STRONG>QUOTE</STRONG>·is·used·to·quote·a·macro·that·would·otherwise | 124 | <STRONG>QUOTE</STRONG>·is·used·to·quote·a·macro·that·would·otherwise |
127 | be·interpreted·by·HTP.··It·may·be·useful·in·conjunction·with·a | 125 | be·interpreted·by·HTP.··It·may·be·useful·in·conjunction·with·a |
128 | surrounding·<a·href="expand.html">EXPAND</a>ed·block·to·prevent·early | 126 | surrounding·<a·href="expand.html">EXPAND</a>ed·block·to·prevent·early |
129 | expansion·of·some·contained·blocks.··Note·that·'$'·evaluation·is·still | 127 | expansion·of·some·contained·blocks.··Note·that·'$'·evaluation·is·still |
130 | done·inside·a·quote·block. | 128 | done·inside·a·quote·block. |
Offset 114, 28 lines modified | Offset 114, 25 lines modified | ||
114 | ······<a·class="noline"·href="bugs.html">Bugs</a></td></tr> | 114 | ······<a·class="noline"·href="bugs.html">Bugs</a></td></tr> |
115 | ··</table> | 115 | ··</table> |
116 | ··</div> | 116 | ··</div> |
117 | </td> | 117 | </td> |
118 | <td·bgcolor="#f0f0d0"·rowspan="2"·valign="top"> | 118 | <td·bgcolor="#f0f0d0"·rowspan="2"·valign="top"> |
119 | <h2>syntax</h2> | 119 | <h2>syntax</h2> |
120 | ··<p><code> | 120 | ··<p><code> |
121 | <span·class="htp-tag"><<a·href=" | 121 | ·<span·class="htp-tag"><<a·href="def.html"·><img·src="pic/manual.png"·border=0·alt="[ref]"·width="10"·height="10">def</a>·<span·class="htp-attrib">name</span>=<span·class="htp-string">"sharedimg"</span>·<span·class="htp-attrib">option</span>=<span·class="htp-string">"name·alt"</span>></span><br> |
122 | · ·<span·class="htp-tag"><<a·href="img.html"·><img·src="pic/manual.png"·border=0·alt="[ref]"·width="10"·height="10">img</a>·<span·class="htp-attrib">src</span>=<span·class="htp-string">"/home/sharedimages/<span·class="htp-macro">${name}</span>"</span>·<span·class="htp-attrib">alt</span>=<span·class="htp-string">"<span·class="htp-macro">${alt}</span>"</span>></span>;<br> | ||
123 | ·<span·class="htp-tag"><<a·href="def.html"·><img·src="pic/manual.png"·border=0·alt="[ref]"·width="10"·height="10">/def</a>></span><br> | ||
122 | <br> | 124 | <br> |
125 | ·<span·class="htp-tag"><sharedimg·<span·class="htp-attrib">name</span>=<span·class="htp-string">"bubble.gif"</span>·<span·class="htp-attrib">alt</span>=<span·class="htp-string">"Bubble·image"</span>></span><br> | ||
123 | </code></p> | 126 | </code></p> |
124 | <h2>synopsis</h2> | 127 | <h2>synopsis</h2> |
125 | <STRONG>SET</STRONG>·creates·a·macro·definition·that·can·later·be·expanded | 128 | <STRONG>SET</STRONG>·creates·a·macro·definition·that·can·later·be·expanded |
126 | anywhere·in·the·HTML·document.··To·create·a·macro: | 129 | anywhere·in·the·HTML·document.··To·create·a·macro: |
127 | ··<p><code> | 130 | ··<p><code> |
128 | <span·class="htp-tag"><<a·href="file.html"·><img·src="pic/manual.png"·border=0·alt="[ref]"·width="10"·height="10">file</a>·<span·class="htp-attrib">include</span>=<span·class="htp-string">"header.hti"</span>></span><br> | ||
129 | ·<span·class="htp-tag"><<a·href="set.html"·><img·src="pic/manual.png"·border=0·alt="[ref]"·width="10"·height="10">set</a>·<span·class="htp-attrib">sect-ctr</span>=<span·class="htp-string">"1"</span>></span><br> | ||
130 | ·<span·class="htp-tag"><<a·href="while.html"·><img·src="pic/manual.png"·border=0·alt="[ref]"·width="10"·height="10">while</a>·<span·class="htp-attrib">sect-<span·class="htp-macro">${sect-ctr}</span></span>></span><br> | ||
131 | · ·<span·class="htp-tag"><<a·href="use.html"·><img·src="pic/manual.png"·border=0·alt="[ref]"·width="10"·height="10">use</a>·<span·class="htp-attrib">sect-<span·class="htp-macro">${sect-ctr}</span></span>></span><br> | ||
132 | · ·<span·class="htp-tag"><<a·href=" | 131 | · ·<span·class="htp-tag"><<a·href="unset.html"·><img·src="pic/manual.png"·border=0·alt="[ref]"·width="10"·height="10">unset</a>·<span·class="htp-attrib">email_addr</span>></span><br> |
133 | ·<span·class="htp-tag"><<a·href="while.html"·><img·src="pic/manual.png"·border=0·alt="[ref]"·width="10"·height="10">/while</a>></span><br> | ||
134 | <span·class="htp-tag"><<a·href="file.html"·><img·src="pic/manual.png"·border=0·alt="[ref]"·width="10"·height="10">file</a>·<span·class="htp-attrib">include</span>=<span·class="htp-string">"footer.hti"</span>></span><br> | ||
135 | </code></p> | 132 | </code></p> |
136 | <P> | 133 | <P> |
137 | The·macro·"emailaddr"·can·then·be·expanded·later.··The·<A·HREF="use.html"> | 134 | The·macro·"emailaddr"·can·then·be·expanded·later.··The·<A·HREF="use.html"> |
138 | USE</A>·tag·is·used·to·expand·the·macro·outside·a·tag·(i.e.,·into·the·regular | 135 | USE</A>·tag·is·used·to·expand·the·macro·outside·a·tag·(i.e.,·into·the·regular |
139 | text).··If·the·macro·needs·to·be·expanded·inside·a·markup·tag,·use·the | 136 | text).··If·the·macro·needs·to·be·expanded·inside·a·markup·tag,·use·the |
140 | <A·HREF="use.html">'$'</A>·operator. | 137 | <A·HREF="use.html">'$'</A>·operator. |
141 | <P> | 138 | <P> |
Offset 16, 10 lines modified | Offset 16, 10 lines modified | ||
16 | <tr><td><b>Phone:</b></td><td>+49·761·203-8243</td></tr> | 16 | <tr><td><b>Phone:</b></td><td>+49·761·203-8243</td></tr> |
17 | <tr><td><b>Fax:</b></td><td>+49·761·203-8242</td></tr> | 17 | <tr><td><b>Fax:</b></td><td>+49·761·203-8242</td></tr> |
18 | </table> | 18 | </table> |
19 | ···</td></tr> | 19 | ···</td></tr> |
20 | ··</table> | 20 | ··</table> |
21 | ··<hr> | 21 | ··<hr> |
22 | ··Copyright·by·<a·href="mailto:webmaster@domain.com">Joe·Doe</a>.<br> | 22 | ··Copyright·by·<a·href="mailto:webmaster@domain.com">Joe·Doe</a>.<br> |
23 | ··last·updated· | 23 | ··last·updated·Fri·Aug·05,·2022 |
24 | ·</body> | 24 | ·</body> |
25 | </html> | 25 | </html> |
Offset 5, 9 lines modified | Offset 5, 9 lines modified | ||
5 | <meta·name="Generator"·content="htp·1.19"> | 5 | <meta·name="Generator"·content="htp·1.19"> |
6 | </head> | 6 | </head> |
7 | <body> | 7 | <body> |
8 | This·page·was·produced·by·htp. | 8 | This·page·was·produced·by·htp. |
9 | <hr> | 9 | <hr> |
10 | Copyright·by·Joe·Doe, | 10 | Copyright·by·Joe·Doe, |
11 | <a·href="mailto:webmaster@domain.com">webmaster@domain.com</a>, | 11 | <a·href="mailto:webmaster@domain.com">webmaster@domain.com</a>, |
12 | last·updated· | 12 | last·updated·Fri·Aug·05,·2022 |
13 | </body> | 13 | </body> |
Offset 13, 10 lines modified | Offset 13, 10 lines modified | ||
13 | <p> | 13 | <p> |
14 | As·you·can·see·the·file·contains·almost·only·the·contents. | 14 | As·you·can·see·the·file·contains·almost·only·the·contents. |
15 | </p> | 15 | </p> |
16 | ···</td></tr> | 16 | ···</td></tr> |
17 | ··</table> | 17 | ··</table> |
18 | ··<hr> | 18 | ··<hr> |
19 | ··Copyright·by·<a·href="mailto:webmaster@domain.com">Joe·Doe</a>.<br> | 19 | ··Copyright·by·<a·href="mailto:webmaster@domain.com">Joe·Doe</a>.<br> |
20 | ··last·updated· | 20 | ··last·updated·Fri·Aug·05,·2022 |
21 | ·</body> | 21 | ·</body> |
22 | </html> | 22 | </html> |
Offset 13, 10 lines modified | Offset 13, 10 lines modified | ||
13 | ·<p> | 13 | ·<p> |
14 | ·As·you·can·see·the·file·contains·almost·only·the·contents. | 14 | ·As·you·can·see·the·file·contains·almost·only·the·contents. |
15 | ·</p> | 15 | ·</p> |
16 | ···</td></tr> | 16 | ···</td></tr> |
17 | ··</table> | 17 | ··</table> |
18 | ··<hr> | 18 | ··<hr> |
19 | ··Copyright·by·<a·href="webmaster@domain.com">Joe·Doe</a>.<br> | 19 | ··Copyright·by·<a·href="webmaster@domain.com">Joe·Doe</a>.<br> |
20 | ··last·updated· | 20 | ··last·updated·Fri·Aug·05,·2022 |
21 | ·</body> | 21 | ·</body> |
22 | </html> | 22 | </html> |
Offset 114, 18 lines modified | Offset 114, 15 lines modified | ||
114 | ······<a·class="noline"·href="bugs.html">Bugs</a></td></tr> | 114 | ······<a·class="noline"·href="bugs.html">Bugs</a></td></tr> |
115 | ··</table> | 115 | ··</table> |
116 | ··</div> | 116 | ··</div> |
117 | </td> | 117 | </td> |
118 | <td·bgcolor="#f0f0d0"·rowspan="2"·valign="top"> | 118 | <td·bgcolor="#f0f0d0"·rowspan="2"·valign="top"> |
119 | <h2>syntax</h2> | 119 | <h2>syntax</h2> |
120 | ··<p><code> | 120 | ··<p><code> |
121 | · ·<span·class="htp-tag"><<a·href="set.html"·><img·src="pic/manual.png"·border=0·alt="[ref]"·width="10"·height="10">SET</a>·<span·class="htp-attrib">emailaddr</span>=<span·class="htp-string">"jnelson@crl.com"</span>></span><br> | ||
121 | <span·class="htp-tag"><<a·href="use.html"·><img·src="pic/manual.png"·border=0·alt="[ref]"·width="10"·height="10">use</a>·<span·class="htp-attrib">macroname</span>·<span·class="ebnf">[</span><span·class="htp-attrib">parameters</span>·<span·class="htp-attrib">...</span><span·class="ebnf">]</span>·<span·class="ebnf">[</span><span·class="htp-attrib">noexpand</span><span·class="ebnf">]</span>></span><br> | ||
122 | <span·class="htp-tag"><...·<span·class="htp-attrib"><span·class="htp-macro">$macroname</span></span>·<span·class="htp-attrib">...</span>></span><br> | ||
123 | <span·class="htp-tag"><...·<span·class="htp-attrib"><span·class="htp-macro">${macroname}</span></span>·<span·class="htp-attrib">...</span>></span><br> | ||
124 | <br> | ||
125 | </code></p> | 122 | </code></p> |
126 | <h2>synopsis</h2> | 123 | <h2>synopsis</h2> |
127 | <P><STRONG>UNDEF</STRONG>·removes·a·metatag·definition.··Metatags | 124 | <P><STRONG>UNDEF</STRONG>·removes·a·metatag·definition.··Metatags |
128 | created·by·<A·HREF="def.html">DEF</A>·and·<A | 125 | created·by·<A·HREF="def.html">DEF</A>·and·<A |
129 | HREF="blockdef.html">BLOCKDEF</A>·can·be·removed·with·the·UNDEF | 126 | HREF="blockdef.html">BLOCKDEF</A>·can·be·removed·with·the·UNDEF |
130 | command.··Once·removed,·the·metatag·will·no·longer·be·recognized·by | 127 | command.··Once·removed,·the·metatag·will·no·longer·be·recognized·by |
131 | htp·until·it·is·reassigned.··</P> | 128 | htp·until·it·is·reassigned.··</P> |
Offset 114, 35 lines modified | Offset 114, 32 lines modified | ||
114 | ······<a·class="noline"·href="bugs.html">Bugs</a></td></tr> | 114 | ······<a·class="noline"·href="bugs.html">Bugs</a></td></tr> |
115 | ··</table> | 115 | ··</table> |
116 | ··</div> | 116 | ··</div> |
117 | </td> | 117 | </td> |
118 | <td·bgcolor="#f0f0d0"·rowspan="2"·valign="top"> | 118 | <td·bgcolor="#f0f0d0"·rowspan="2"·valign="top"> |
119 | <h2>syntax</h2> | 119 | <h2>syntax</h2> |
120 | ··<p><code> | 120 | ··<p><code> |
121 | <span·class="htp-tag"><<a·href="file.html"·><img·src="pic/manual.png"·border=0·alt="[ref]"·width="10"·height="10">file</a>·<span·class="htp-attrib">include</span>=<span·class="htp-string">"header.hti"</span>></span><br> | ||
122 | ·<span·class="htp-tag"><<a·href="set.html"·><img·src="pic/manual.png"·border=0·alt="[ref]"·width="10"·height="10">set</a>·<span·class="htp-attrib">sect-ctr</span>=<span·class="htp-string">"1"</span>></span><br> | ||
123 | ·<span·class="htp-tag"><<a·href="while.html"·><img·src="pic/manual.png"·border=0·alt="[ref]"·width="10"·height="10">while</a>·<span·class="htp-attrib">sect-<span·class="htp-macro">${sect-ctr}</span></span>></span><br> | ||
124 | · ·<span·class="htp-tag"><<a·href="use.html"·><img·src="pic/manual.png"·border=0·alt="[ref]"·width="10"·height="10">use</a>·<span·class="htp-attrib">sect-<span·class="htp-macro">${sect-ctr}</span></span>></span><br> | ||
125 | · ·<span·class="htp-tag"><<a·href="inc.html"·><img·src="pic/manual.png"·border=0·alt="[ref]"·width="10"·height="10">inc</a>·<span·class="htp-attrib">sect-ctr</span>></span><br> | ||
126 | ·<span·class="htp-tag"><<a·href="while.html"·><img·src="pic/manual.png"·border=0·alt="[ref]"·width="10"·height="10">/while</a>></span><br> | ||
127 | <span·class="htp-tag"><<a·href=" | 121 | · ·<span·class="htp-tag"><<a·href="set.html"·><img·src="pic/manual.png"·border=0·alt="[ref]"·width="10"·height="10">SET</a>·<span·class="htp-attrib">emailaddr</span>=<span·class="htp-string">"jnelson@crl.com"</span>></span><br> |
128 | </code></p> | 122 | </code></p> |
129 | <h2>synopsis</h2> | 123 | <h2>synopsis</h2> |
130 | <STRONG>UNSET</STRONG>·removes·(or·deletes)·a·macro·and·it's·definition. | 124 | <STRONG>UNSET</STRONG>·removes·(or·deletes)·a·macro·and·it's·definition. |
131 | The·macro·is·subsequently·not·available·for·use·in·the·pre-processed·files. | 125 | The·macro·is·subsequently·not·available·for·use·in·the·pre-processed·files. |
132 | (Note·that·simply·redefining·the·macro·with·another·<A·HREF="set.html">SET</A>·or | 126 | (Note·that·simply·redefining·the·macro·with·another·<A·HREF="set.html">SET</A>·or |
133 | <A·HREF="block.html">BLOCK</A>·definition·with·the·same·name·is·acceptable.··The | 127 | <A·HREF="block.html">BLOCK</A>·definition·with·the·same·name·is·acceptable.··The |
134 | old·macro·definition·will·be·removed·automatically.) | 128 | old·macro·definition·will·be·removed·automatically.) |
135 | <P> | 129 | <P> |
136 | For·example: | 130 | For·example: |
137 | ··<p><code> | 131 | ··<p><code> |
132 | <span·class="htp-tag"><<a·href="file.html"·><img·src="pic/manual.png"·border=0·alt="[ref]"·width="10"·height="10">file</a>·<span·class="htp-attrib">include</span>=<span·class="htp-string">"header.hti"</span>></span><br> | ||
133 | ·<span·class="htp-tag"><<a·href="set.html"·><img·src="pic/manual.png"·border=0·alt="[ref]"·width="10"·height="10">set</a>·<span·class="htp-attrib">sect-ctr</span>=<span·class="htp-string">"1"</span>></span><br> | ||
134 | ·<span·class="htp-tag"><<a·href="while.html"·><img·src="pic/manual.png"·border=0·alt="[ref]"·width="10"·height="10">while</a>·<span·class="htp-attrib">sect-<span·class="htp-macro">${sect-ctr}</span></span>></span><br> | ||
135 | · ·<span·class="htp-tag"><<a·href="use.html"·><img·src="pic/manual.png"·border=0·alt="[ref]"·width="10"·height="10">use</a>·<span·class="htp-attrib">sect-<span·class="htp-macro">${sect-ctr}</span></span>></span><br> | ||
138 | <span·class="htp-tag"><<a·href=" | 136 | · ·<span·class="htp-tag"><<a·href="inc.html"·><img·src="pic/manual.png"·border=0·alt="[ref]"·width="10"·height="10">inc</a>·<span·class="htp-attrib">sect-ctr</span>></span><br> |
139 | · ·block<br> | ||
140 | <span·class="htp-tag"><<a·href="while.html"·><img·src="pic/manual.png"·border=0·alt="[ref]"·width="10"·height="10">/ | 137 | ·<span·class="htp-tag"><<a·href="while.html"·><img·src="pic/manual.png"·border=0·alt="[ref]"·width="10"·height="10">/while</a>></span><br> |
141 | <br> | 138 | <span·class="htp-tag"><<a·href="file.html"·><img·src="pic/manual.png"·border=0·alt="[ref]"·width="10"·height="10">file</a>·<span·class="htp-attrib">include</span>=<span·class="htp-string">"footer.hti"</span>></span><br> |
142 | </code></p> | 139 | </code></p> |
143 | <P> | 140 | <P> |
144 | More·than·one·macro·may·be·removed·in·the·same·tag: | 141 | More·than·one·macro·may·be·removed·in·the·same·tag: |
145 | ··<p><code> | 142 | ··<p><code> |
146 | <span·class="htp-tag"><a·<span·class="htp-attrib">href</span>=<span·class="htp-string">"mailto:<span·class="htp-macro">$email</span>"</span>></span>mailto·hyperlink<span·class="htp-tag"></a></span><br> | 143 | <span·class="htp-tag"><a·<span·class="htp-attrib">href</span>=<span·class="htp-string">"mailto:<span·class="htp-macro">$email</span>"</span>></span>mailto·hyperlink<span·class="htp-tag"></a></span><br> |
147 | <span·class="htp-tag"><a·<span·class="htp-attrib">href</span>=<span·class="htp-string">"http://<span·class="htp-macro">$domain</span>/~<span·class="htp-macro">${username}</span>/"</span>></span>another·hyperlink<span·class="htp-tag"></a></span><br> | 144 | <span·class="htp-tag"><a·<span·class="htp-attrib">href</span>=<span·class="htp-string">"http://<span·class="htp-macro">$domain</span>/~<span·class="htp-macro">${username}</span>/"</span>></span>another·hyperlink<span·class="htp-tag"></a></span><br> |
148 | </code></p> | 145 | </code></p> |
Offset 114, 15 lines modified | Offset 114, 18 lines modified | ||
114 | ······<a·class="noline"·href="bugs.html">Bugs</a></td></tr> | 114 | ······<a·class="noline"·href="bugs.html">Bugs</a></td></tr> |
115 | ··</table> | 115 | ··</table> |
116 | ··</div> | 116 | ··</div> |
117 | </td> | 117 | </td> |
118 | <td·bgcolor="#f0f0d0"·rowspan="2"·valign="top"> | 118 | <td·bgcolor="#f0f0d0"·rowspan="2"·valign="top"> |
119 | <h2>syntax</h2> | 119 | <h2>syntax</h2> |
120 | ··<p><code> | 120 | ··<p><code> |
121 | <span·class="htp-tag"><<a·href="while.html"·><img·src="pic/manual.png"·border=0·alt="[ref]"·width="10"·height="10">WHILE</a>·<span·class="ebnf">[</span><span·class="htp-attrib">NOT</span><span·class="ebnf">]</span>·<span·class="htp-attrib">conditional</span>></span><br> | ||
122 | · ·block<br> | ||
121 | 123 | <span·class="htp-tag"><<a·href="while.html"·><img·src="pic/manual.png"·border=0·alt="[ref]"·width="10"·height="10">/WHILE</a>></span><br> | |
124 | <br> | ||
122 | </code></p> | 125 | </code></p> |
123 | <h2>synopsis</h2> | 126 | <h2>synopsis</h2> |
124 | <strong>USE</strong>·will·expand·macros·that·have·been·previously | 127 | <strong>USE</strong>·will·expand·macros·that·have·been·previously |
125 | declared·with·either·<A·HREF="set.html">SET</A>·or·<A | 128 | declared·with·either·<A·HREF="set.html">SET</A>·or·<A |
126 | HREF="block.html">BLOCK</A>.··USE·can·only·be·used·outside·of·other | 129 | HREF="block.html">BLOCK</A>.··USE·can·only·be·used·outside·of·other |
127 | markup·tags. | 130 | markup·tags. |
128 | <p>·If·you·USE·a·block·macro·the·value·of·expanded·block·macros·will | 131 | <p>·If·you·USE·a·block·macro·the·value·of·expanded·block·macros·will |
Offset 132, 15 lines modified | Offset 135, 18 lines modified | ||
132 | attribute·to·prevent·further·expansion.··</p> | 135 | attribute·to·prevent·further·expansion.··</p> |
133 | <p>·USE·will·accept·additional·parameters,·which·are·"local"·macros | 136 | <p>·USE·will·accept·additional·parameters,·which·are·"local"·macros |
134 | for·the·expanded·macro.··This·is·only·valid·for·<A | 137 | for·the·expanded·macro.··This·is·only·valid·for·<A |
135 | HREF="block.html">BLOCK</A>·macros.··Macros·created·using·<A | 138 | HREF="block.html">BLOCK</A>·macros.··Macros·created·using·<A |
136 | HREF="set.html">SET</A>·cannot·have·parameters·passed.··For | 139 | HREF="set.html">SET</A>·cannot·have·parameters·passed.··For |
137 | example:</p> | 140 | example:</p> |
138 | ··<p><code> | 141 | ··<p><code> |
139 | <font·size="-2"> 1.·</font> · | 142 | <font·size="-2"> 1.·</font> ·<span·class="htp-tag"><<a·href="while.html"·><img·src="pic/manual.png"·border=0·alt="[ref]"·width="10"·height="10">WHILE</a>·<span·class="htp-attrib">NOT</span>·<span·class="htp-attrib">i</span>=<span·class="htp-string">"10"</span>></span><br> |
143 | <font·size="-2"> 2.·</font> · ·...<br> | ||
144 | <font·size="-2"> 3.·</font> · ·<span·class="htp-tag"><<a·href="inc.html"·><img·src="pic/manual.png"·border=0·alt="[ref]"·width="10"·height="10">INC</a>·<span·class="htp-attrib">i</span>></span><br> | ||
145 | <font·size="-2"> 4.·</font> ·<span·class="htp-tag"><<a·href="while.html"·><img·src="pic/manual.png"·border=0·alt="[ref]"·width="10"·height="10">/WHILE</a>></span><br> | ||
140 | </code></p> | 146 | </code></p> |
141 | <P> | 147 | <P> |
142 | (See·below·for·a·description·of·the·'$'·operator.)··The·example·on | 148 | (See·below·for·a·description·of·the·'$'·operator.)··The·example·on |
143 | line·7·works·because·"stuff"·has·been·declared·as·a·block·macro,·and | 149 | line·7·works·because·"stuff"·has·been·declared·as·a·block·macro,·and |
144 | the·tag·is·passing·the·"email"·macro·to·the·"stuff"·macro.··Line·8 | 150 | the·tag·is·passing·the·"email"·macro·to·the·"stuff"·macro.··Line·8 |
145 | fails·because·the·"email"·macro·is·unavailable·once·the·block·macro·is | 151 | fails·because·the·"email"·macro·is·unavailable·once·the·block·macro·is |
146 | completely·expanded,·and·cannot·be·passed·to·a·SET·macro. | 152 | completely·expanded,·and·cannot·be·passed·to·a·SET·macro. |
Offset 151, 18 lines modified | Offset 157, 16 lines modified | ||
151 | Inside·a·markup·tag,·like·<a·href="img.html">IMG</a>,·A·(anchor),·or | 157 | Inside·a·markup·tag,·like·<a·href="img.html">IMG</a>,·A·(anchor),·or |
152 | any·other·standard·HTML·or·htp·tag,·the·'$'·operator·must·be·used. | 158 | any·other·standard·HTML·or·htp·tag,·the·'$'·operator·must·be·used. |
153 | The·'$'·should·be·immediately·followed·by·the·macro·name,·which·may·or | 159 | The·'$'·should·be·immediately·followed·by·the·macro·name,·which·may·or |
154 | may·not·be·surrounded·by·curly·braces.··When·htp·encounters·this·it | 160 | may·not·be·surrounded·by·curly·braces.··When·htp·encounters·this·it |
155 | replaces·the·macro·name·by·the·contents·of·the·macro·without·further | 161 | replaces·the·macro·name·by·the·contents·of·the·macro·without·further |
156 | processing·the·contents. | 162 | processing·the·contents. |
157 | ··<p><code> | 163 | ··<p><code> |
164 | <font·size="-2"> 1.·</font><span·class="htp-tag"><a·<span·class="htp-attrib">href</span>=<span·class="htp-string">"mailto:<span·class="htp-macro">$email</span>"</span>></span>mailto·hyperlink<span·class="htp-tag"></a></span><br> | ||
165 | <font·size="-2"> 2.·</font><span·class="htp-tag"><a·<span·class="htp-attrib">href</span>=<span·class="htp-string">"http://<span·class="htp-macro">$domain</span>/~<span·class="htp-macro">${username}</span>/"</span>></span>another·hyperlink<span·class="htp-tag"></a></span><br> | ||
158 | <font·size="-2"> 1.·</font> ·<span·class="htp-tag"><<a·href="while.html"·><img·src="pic/manual.png"·border=0·alt="[ref]"·width="10"·height="10">WHILE</a>·<span·class="htp-attrib">NOT</span>·<span·class="htp-attrib">i</span>=<span·class="htp-string">"10"</span>></span><br> | ||
159 | <font·size="-2"> 2.·</font> · ·...<br> | ||
160 | <font·size="-2"> 3.·</font> · ·<span·class="htp-tag"><<a·href="inc.html"·><img·src="pic/manual.png"·border=0·alt="[ref]"·width="10"·height="10">INC</a>·<span·class="htp-attrib">i</span>></span><br> | ||
161 | <font·size="-2"> 4.·</font> ·<span·class="htp-tag"><<a·href="while.html"·><img·src="pic/manual.png"·border=0·alt="[ref]"·width="10"·height="10">/WHILE</a>></span><br> | ||
162 | </code></p> | 166 | </code></p> |
163 | <P> | 167 | <P> |
164 | The·use·of·curly·braces·is·encouraged,·since·it·is·more·robust·and | 168 | The·use·of·curly·braces·is·encouraged,·since·it·is·more·robust·and |
165 | should·never·cause·confusion·with·surrounding·text.··If·no·curly | 169 | should·never·cause·confusion·with·surrounding·text.··If·no·curly |
166 | braces·are·used·the·macro·name·consists·either·of·a·single·punctuation | 170 | braces·are·used·the·macro·name·consists·either·of·a·single·punctuation |
167 | character·or·the·maximum·sequence·of·letters,·digits,·"-" | 171 | character·or·the·maximum·sequence·of·letters,·digits,·"-" |
168 | and·"_"·that·follows·it. | 172 | and·"_"·that·follows·it. |
Offset 114, 36 lines modified | Offset 114, 39 lines modified | ||
114 | ······<a·class="noline"·href="bugs.html">Bugs</a></td></tr> | 114 | ······<a·class="noline"·href="bugs.html">Bugs</a></td></tr> |
115 | ··</table> | 115 | ··</table> |
116 | ··</div> | 116 | ··</div> |
117 | </td> | 117 | </td> |
118 | <td·bgcolor="#f0f0d0"·rowspan="2"·valign="top"> | 118 | <td·bgcolor="#f0f0d0"·rowspan="2"·valign="top"> |
119 | <h2>syntax</h2> | 119 | <h2>syntax</h2> |
120 | ··<p><code> | 120 | ··<p><code> |
121 | <span·class="htp-tag"><a·<span·class="htp-attrib">href</span>=<span·class="htp-string">"mailto:<span·class="htp-macro">$email</span>"</span>></span>mailto·hyperlink<span·class="htp-tag"></a></span><br> | ||
122 | <span·class="htp-tag">< | 121 | <span·class="htp-tag"><<a·href="file.html"·><img·src="pic/manual.png"·border=0·alt="[ref]"·width="10"·height="10">file</a>·<span·class="htp-attrib">include</span>=<span·class="htp-string">"header.hti"</span>></span><br> |
122 | ·<span·class="htp-tag"><<a·href="set.html"·><img·src="pic/manual.png"·border=0·alt="[ref]"·width="10"·height="10">set</a>·<span·class="htp-attrib">sect-ctr</span>=<span·class="htp-string">"1"</span>></span><br> | ||
123 | ·<span·class="htp-tag"><<a·href="while.html"·><img·src="pic/manual.png"·border=0·alt="[ref]"·width="10"·height="10">while</a>·<span·class="htp-attrib">sect-<span·class="htp-macro">${sect-ctr}</span></span>></span><br> | ||
124 | · ·<span·class="htp-tag"><<a·href="use.html"·><img·src="pic/manual.png"·border=0·alt="[ref]"·width="10"·height="10">use</a>·<span·class="htp-attrib">sect-<span·class="htp-macro">${sect-ctr}</span></span>></span><br> | ||
125 | · ·<span·class="htp-tag"><<a·href="inc.html"·><img·src="pic/manual.png"·border=0·alt="[ref]"·width="10"·height="10">inc</a>·<span·class="htp-attrib">sect-ctr</span>></span><br> | ||
126 | ·<span·class="htp-tag"><<a·href="while.html"·><img·src="pic/manual.png"·border=0·alt="[ref]"·width="10"·height="10">/while</a>></span><br> | ||
127 | <span·class="htp-tag"><<a·href="file.html"·><img·src="pic/manual.png"·border=0·alt="[ref]"·width="10"·height="10">file</a>·<span·class="htp-attrib">include</span>=<span·class="htp-string">"footer.hti"</span>></span><br> | ||
123 | </code></p> | 128 | </code></p> |
124 | <h2>synopsis</h2> | 129 | <h2>synopsis</h2> |
125 | <STRONG>WHILE</STRONG>·is·the·building·block·for·repeated·processing. | 130 | <STRONG>WHILE</STRONG>·is·the·building·block·for·repeated·processing. |
126 | The·basic·form·is·shown·above. | 131 | The·basic·form·is·shown·above. |
127 | <P> | 132 | <P> |
128 | "Conditional"·is·either·a·"compare"·or·"is·defined"·operation. | 133 | "Conditional"·is·either·a·"compare"·or·"is·defined"·operation. |
129 | A·compare·operator·is·a·test·of·the·value·of·a·macro·against·a·literal·string. | 134 | A·compare·operator·is·a·test·of·the·value·of·a·macro·against·a·literal·string. |
130 | If·the·NOT·tag·is·present·in·the·WHILE·markup,·the·evaluation·of·the | 135 | If·the·NOT·tag·is·present·in·the·WHILE·markup,·the·evaluation·of·the |
131 | conditional·is·reversed: | 136 | conditional·is·reversed: |
132 | ··<p><code> | 137 | ··<p><code> |
133 | 138 | <span·class="htp-tag"><a·<span·class="htp-attrib">href</span>=<span·class="htp-string">"mailto:<span·class="htp-macro">$email</span>"</span>></span>mailto·hyperlink<span·class="htp-tag"></a></span><br> | |
139 | <span·class="htp-tag"><a·<span·class="htp-attrib">href</span>=<span·class="htp-string">"http://<span·class="htp-macro">$domain</span>/~<span·class="htp-macro">${username}</span>/"</span>></span>another·hyperlink<span·class="htp-tag"></a></span><br> | ||
134 | </code></p> | 140 | </code></p> |
135 | <P> | 141 | <P> |
136 | Just·as·with·<a·href="if.html"·><img·src="pic/manual.png"·border=0·alt="[ref]"·width="10"·height="10">IF</a>·you·can·also·check·for·a | 142 | Just·as·with·<a·href="if.html"·><img·src="pic/manual.png"·border=0·alt="[ref]"·width="10"·height="10">IF</a>·you·can·also·check·for·a |
137 | macro's·existance: | 143 | macro's·existance: |
138 | ··<p><code> | 144 | ··<p><code> |
145 | · ·<span·class="htp-tag"><<span·class="htp-macro">${tagName}</span>·<span·class="htp-attrib"><span·class="htp-macro">${attrName}</span></span>=<span·class="htp-value"><span·class="htp-macro">${value$ctr}</span></span>></span><br> | ||
139 | ·<span·class="htp-tag"><<a·href="while.html"·><img·src="pic/manual.png"·border=0·alt="[ref]"·width="10"·height="10">WHILE</a>·<span·class="htp-attrib">sect-<span·class="htp-macro">$i</span></span>></span><br> | ||
140 | · ·...<br> | ||
141 | · ·<span·class="htp-tag"><<a·href="inc.html"·><img·src="pic/manual.png"·border=0·alt="[ref]"·width="10"·height="10">INC</a>·<span·class="htp-attrib">i</span>></span><br> | ||
142 | ·<span·class="htp-tag"><<a·href="while.html"·><img·src="pic/manual.png"·border=0·alt="[ref]"·width="10"·height="10">/WHILE</a>></span><br> | ||
143 | </code></p> | 146 | </code></p> |
144 | <P> | 147 | <P> |
145 | If·the·condition·is·true,·the·block·is·evaluated·and·afterwards·the | 148 | If·the·condition·is·true,·the·block·is·evaluated·and·afterwards·the |
146 | WHILE·tag·is·evaluated·again.··If·the·'$'-operator·is·used·in·the | 149 | WHILE·tag·is·evaluated·again.··If·the·'$'-operator·is·used·in·the |
147 | WHILE·tag·it·is·also·reevaluated·on·each·iteration. | 150 | WHILE·tag·it·is·also·reevaluated·on·each·iteration. |
148 | <P> | 151 | <P> |
149 | A·loop·block·<EM>must</EM>·be·closed·with·the·/WHILE·tag. | 152 | A·loop·block·<EM>must</EM>·be·closed·with·the·/WHILE·tag. |