Offset 1, 3 lines modified | Offset 1, 3 lines modified | ||
1 | ·785534fcbc71c3b605912f9a86b62dd9·59396·debug·optional·htp-dbgsym_1.19-8_i386.deb | 1 | ·785534fcbc71c3b605912f9a86b62dd9·59396·debug·optional·htp-dbgsym_1.19-8_i386.deb |
2 | · | 2 | ·59e09c45c0a03309bb06829ad4ab7598·120908·web·optional·htp_1.19-8_i386.deb |
Offset 1, 3 lines modified | Offset 1, 3 lines modified | ||
1 | -rw-r--r--···0········0········0········4·2020-06-14·23:21:19.000000·debian-binary | 1 | -rw-r--r--···0········0········0········4·2020-06-14·23:21:19.000000·debian-binary |
2 | -rw-r--r--···0········0········0·····3620·2020-06-14·23:21:19.000000·control.tar.xz | 2 | -rw-r--r--···0········0········0·····3620·2020-06-14·23:21:19.000000·control.tar.xz |
3 | -rw-r--r--···0········0········0···11 | 3 | -rw-r--r--···0········0········0···117096·2020-06-14·23:21:19.000000·data.tar.xz |
Offset 1, 12 lines modified | Offset 1, 12 lines modified | ||
1 | Package:·htp | 1 | Package:·htp |
2 | Version:·1.19-8 | 2 | Version:·1.19-8 |
3 | Architecture:·i386 | 3 | Architecture:·i386 |
4 | Maintainer:·Marcelo·Soares·Mota·<motasmarcelo@gmail.com> | 4 | Maintainer:·Marcelo·Soares·Mota·<motasmarcelo@gmail.com> |
5 | Installed-Size:·6 | 5 | Installed-Size:·658 |
6 | Depends:·libc6·(>=·2.38) | 6 | Depends:·libc6·(>=·2.38) |
7 | Section:·web | 7 | Section:·web |
8 | Priority:·optional | 8 | Priority:·optional |
9 | Homepage:·http://htp.sourceforge.net | 9 | Homepage:·http://htp.sourceforge.net |
10 | Description:·nice·HTML·pre-processor | 10 | Description:·nice·HTML·pre-processor |
11 | ·htp·is·an·HTML·pre-processor.·It·is·designed·to·be·a·flexible·authoring·tool | 11 | ·htp·is·an·HTML·pre-processor.·It·is·designed·to·be·a·flexible·authoring·tool |
12 | ·that·can·easily·be·integrated·into·the·HTML·design·process. | 12 | ·that·can·easily·be·integrated·into·the·HTML·design·process. |
Offset 1, 27 lines modified | Offset 1, 27 lines modified | ||
1 | drwxr-xr-x···0·root·········(0)·root·········(0)········0·2020-06-14·23:21:19.000000·./ | 1 | drwxr-xr-x···0·root·········(0)·root·········(0)········0·2020-06-14·23:21:19.000000·./ |
2 | drwxr-xr-x···0·root·········(0)·root·········(0)········0·2020-06-14·23:21:19.000000·./usr/ | 2 | drwxr-xr-x···0·root·········(0)·root·········(0)········0·2020-06-14·23:21:19.000000·./usr/ |
3 | drwxr-xr-x···0·root·········(0)·root·········(0)········0·2020-06-14·23:21:19.000000·./usr/bin/ | 3 | drwxr-xr-x···0·root·········(0)·root·········(0)········0·2020-06-14·23:21:19.000000·./usr/bin/ |
4 | -rwxr-xr-x···0·root·········(0)·root·········(0)····75284·2020-06-14·23:21:19.000000·./usr/bin/htp | 4 | -rwxr-xr-x···0·root·········(0)·root·········(0)····75284·2020-06-14·23:21:19.000000·./usr/bin/htp |
5 | drwxr-xr-x···0·root·········(0)·root·········(0)········0·2020-06-14·23:21:19.000000·./usr/share/ | 5 | drwxr-xr-x···0·root·········(0)·root·········(0)········0·2020-06-14·23:21:19.000000·./usr/share/ |
6 | drwxr-xr-x···0·root·········(0)·root·········(0)········0·2020-06-14·23:21:19.000000·./usr/share/doc/ | 6 | drwxr-xr-x···0·root·········(0)·root·········(0)········0·2020-06-14·23:21:19.000000·./usr/share/doc/ |
7 | drwxr-xr-x···0·root·········(0)·root·········(0)········0·2020-06-14·23:21:19.000000·./usr/share/doc/htp/ | 7 | drwxr-xr-x···0·root·········(0)·root·········(0)········0·2020-06-14·23:21:19.000000·./usr/share/doc/htp/ |
8 | -rw-r--r--···0·root·········(0)·root·········(0)···· | 8 | -rw-r--r--···0·root·········(0)·root·········(0)····10162·2020-06-14·23:21:19.000000·./usr/share/doc/htp/alttext.html |
9 | -rw-r--r--···0·root·········(0)·root·········(0)·····1418·2020-06-14·23:21:19.000000·./usr/share/doc/htp/alttext.htp | 9 | -rw-r--r--···0·root·········(0)·root·········(0)·····1418·2020-06-14·23:21:19.000000·./usr/share/doc/htp/alttext.htp |
10 | -rw-r--r--···0·root·········(0)·root·········(0)····· | 10 | -rw-r--r--···0·root·········(0)·root·········(0)·····9864·2020-06-14·23:21:19.000000·./usr/share/doc/htp/block.html |
11 | -rw-r--r--···0·root·········(0)·root·········(0)······781·2020-06-14·23:21:19.000000·./usr/share/doc/htp/block.htp | 11 | -rw-r--r--···0·root·········(0)·root·········(0)······781·2020-06-14·23:21:19.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)····11105·2020-06-14·23:21:19.000000·./usr/share/doc/htp/blockdef.html |
13 | -rw-r--r--···0·root·········(0)·root·········(0)·····1075·2020-06-14·23:21:19.000000·./usr/share/doc/htp/blockdef.htp | 13 | -rw-r--r--···0·root·········(0)·root·········(0)·····1075·2020-06-14·23:21:19.000000·./usr/share/doc/htp/blockdef.htp |
14 | -rw-r--r--···0·root·········(0)·root·········(0)·····4763·2020-06-14·23:21:19.000000·./usr/share/doc/htp/bugs.html | 14 | -rw-r--r--···0·root·········(0)·root·········(0)·····4763·2020-06-14·23:21:19.000000·./usr/share/doc/htp/bugs.html |
15 | -rw-r--r--···0·root·········(0)·root·········(0)······737·2020-06-14·23:21:19.000000·./usr/share/doc/htp/bugs.htp | 15 | -rw-r--r--···0·root·········(0)·root·········(0)······737·2020-06-14·23:21:19.000000·./usr/share/doc/htp/bugs.htp |
16 | -rw-r--r--···0·root·········(0)·root·········(0)······878·2020-06-14·23:21:19.000000·./usr/share/doc/htp/changelog.Debian.gz | 16 | -rw-r--r--···0·root·········(0)·root·········(0)······878·2020-06-14·23:21:19.000000·./usr/share/doc/htp/changelog.Debian.gz |
17 | -rw-r--r--···0·root·········(0)·root·········(0)···· | 17 | -rw-r--r--···0·root·········(0)·root·········(0)····13470·2020-06-14·23:21:19.000000·./usr/share/doc/htp/comment.html |
18 | -rw-r--r--···0·root·········(0)·root·········(0)······676·2020-06-14·23:21:19.000000·./usr/share/doc/htp/comment.htp | 18 | -rw-r--r--···0·root·········(0)·root·········(0)······676·2020-06-14·23:21:19.000000·./usr/share/doc/htp/comment.htp |
19 | -rw-r--r--···0·root·········(0)·root·········(0)····13083·2020-06-14·23:16:46.000000·./usr/share/doc/htp/copyright | 19 | -rw-r--r--···0·root·········(0)·root·········(0)····13083·2020-06-14·23:16:46.000000·./usr/share/doc/htp/copyright |
20 | -rw-r--r--···0·root·········(0)·root·········(0)····11 | 20 | -rw-r--r--···0·root·········(0)·root·········(0)····11064·2020-06-14·23:21:19.000000·./usr/share/doc/htp/def.html |
21 | -rw-r--r--···0·root·········(0)·root·········(0)·····3601·2020-06-14·23:21:19.000000·./usr/share/doc/htp/def.htp | 21 | -rw-r--r--···0·root·········(0)·root·········(0)·····3601·2020-06-14·23:21:19.000000·./usr/share/doc/htp/def.htp |
22 | -rw-r--r--···0·root·········(0)·root·········(0)·····8030·2020-06-14·23:21:19.000000·./usr/share/doc/htp/default.html | 22 | -rw-r--r--···0·root·········(0)·root·········(0)·····8030·2020-06-14·23:21:19.000000·./usr/share/doc/htp/default.html |
23 | -rw-r--r--···0·root·········(0)·root·········(0)·····3149·2020-06-14·23:21:19.000000·./usr/share/doc/htp/default.htp | 23 | -rw-r--r--···0·root·········(0)·root·········(0)·····3149·2020-06-14·23:21:19.000000·./usr/share/doc/htp/default.htp |
24 | drwxr-xr-x···0·root·········(0)·root·········(0)········0·2020-06-14·23:21:19.000000·./usr/share/doc/htp/examples/ | 24 | drwxr-xr-x···0·root·········(0)·root·········(0)········0·2020-06-14·23:21:19.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, 43 lines modified | Offset 32, 43 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·2020-06-14·23:21:19.000000·./usr/share/doc/htp/examples/quine.html | 33 | -rw-r--r--···0·root·········(0)·root·········(0)·····1576·2020-06-14·23:21:19.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·2020-06-14·23:21:19.000000·./usr/share/doc/htp/examples/section.html | 36 | -rw-r--r--···0·root·········(0)·root·········(0)·····1189·2020-06-14·23:21:19.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)····10487·2020-06-14·23:21:19.000000·./usr/share/doc/htp/expand.html |
40 | -rw-r--r--···0·root·········(0)·root·········(0)·····3702·2020-06-14·23:21:19.000000·./usr/share/doc/htp/expand.htp | 40 | -rw-r--r--···0·root·········(0)·root·········(0)·····3702·2020-06-14·23:21:19.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)····18657·2020-06-14·23:21:19.000000·./usr/share/doc/htp/file.html |
42 | -rw-r--r--···0·root·········(0)·root·········(0)·····2490·2020-06-14·23:21:19.000000·./usr/share/doc/htp/file.htp.gz | 42 | -rw-r--r--···0·root·········(0)·root·········(0)·····2490·2020-06-14·23:21:19.000000·./usr/share/doc/htp/file.htp.gz |
43 | -rw-r--r--···0·root·········(0)·root·········(0)····14293·2020-06-14·23:21:19.000000·./usr/share/doc/htp/history.html | 43 | -rw-r--r--···0·root·········(0)·root·········(0)····14293·2020-06-14·23:21:19.000000·./usr/share/doc/htp/history.html |
44 | -rw-r--r--···0·root·········(0)·root·········(0)·····3946·2020-06-14·23:21:19.000000·./usr/share/doc/htp/history.htp.gz | 44 | -rw-r--r--···0·root·········(0)·root·········(0)·····3946·2020-06-14·23:21:19.000000·./usr/share/doc/htp/history.htp.gz |
45 | -rw-r--r--···0·root·········(0)·root·········(0)·····3911·2020-06-14·23:21:19.000000·./usr/share/doc/htp/hlhtp.pl | 45 | -rw-r--r--···0·root·········(0)·root·········(0)·····3911·2020-06-14·23:21:19.000000·./usr/share/doc/htp/hlhtp.pl |
46 | -rw-r--r--···0·root·········(0)·root·········(0)······165·2020-06-14·23:21:19.000000·./usr/share/doc/htp/htp.def | 46 | -rw-r--r--···0·root·········(0)·root·········(0)······165·2020-06-14·23:21:19.000000·./usr/share/doc/htp/htp.def |
47 | -rw-r--r--···0·root·········(0)·root·········(0)·····4049·2020-06-14·23:21:19.000000·./usr/share/doc/htp/htp.htt | 47 | -rw-r--r--···0·root·········(0)·root·········(0)·····4049·2020-06-14·23:21:19.000000·./usr/share/doc/htp/htp.htt |
48 | -rw-r--r--···0·root·········(0)·root·········(0)····· | 48 | -rw-r--r--···0·root·········(0)·root·········(0)·····9854·2020-06-14·23:21:19.000000·./usr/share/doc/htp/if.html |
49 | -rw-r--r--···0·root·········(0)·root·········(0)······932·2020-06-14·23:21:19.000000·./usr/share/doc/htp/if.htp | 49 | -rw-r--r--···0·root·········(0)·root·········(0)······932·2020-06-14·23:21:19.000000·./usr/share/doc/htp/if.htp |
50 | -rw-r--r--···0·root·········(0)·root·········(0)·····8626·2020-06-14·23:21:19.000000·./usr/share/doc/htp/imageurl.html | 50 | -rw-r--r--···0·root·········(0)·root·········(0)·····8626·2020-06-14·23:21:19.000000·./usr/share/doc/htp/imageurl.html |
51 | -rw-r--r--···0·root·········(0)·root·········(0)·····2507·2020-06-14·23:21:19.000000·./usr/share/doc/htp/imageurl.htp | 51 | -rw-r--r--···0·root·········(0)·root·········(0)·····2507·2020-06-14·23:21:19.000000·./usr/share/doc/htp/imageurl.htp |
52 | -rw-r--r--···0·root·········(0)·root·········(0)·····8 | 52 | -rw-r--r--···0·root·········(0)·root·········(0)·····8860·2020-06-14·23:21:19.000000·./usr/share/doc/htp/img.html |
53 | -rw-r--r--···0·root·········(0)·root·········(0)·····1168·2020-06-14·23:21:19.000000·./usr/share/doc/htp/img.htp | 53 | -rw-r--r--···0·root·········(0)·root·········(0)·····1168·2020-06-14·23:21:19.000000·./usr/share/doc/htp/img.htp |
54 | -rw-r--r--···0·root·········(0)·root·········(0)····· | 54 | -rw-r--r--···0·root·········(0)·root·········(0)·····8142·2020-06-14·23:21:19.000000·./usr/share/doc/htp/inc.html |
55 | -rw-r--r--···0·root·········(0)·root·········(0)·····1092·2020-06-14·23:21:19.000000·./usr/share/doc/htp/inc.htp | 55 | -rw-r--r--···0·root·········(0)·root·········(0)·····1092·2020-06-14·23:21:19.000000·./usr/share/doc/htp/inc.htp |
56 | -rw-r--r--···0·root·········(0)·root·········(0)·····9881·2020-06-14·23:21:19.000000·./usr/share/doc/htp/include.html | 56 | -rw-r--r--···0·root·········(0)·root·········(0)·····9881·2020-06-14·23:21:19.000000·./usr/share/doc/htp/include.html |
57 | -rw-r--r--···0·root·········(0)·root·········(0)·····1894·2020-06-14·23:21:19.000000·./usr/share/doc/htp/include.htp | 57 | -rw-r--r--···0·root·········(0)·root·········(0)·····1894·2020-06-14·23:21:19.000000·./usr/share/doc/htp/include.htp |
58 | -rw-r--r--···0·root·········(0)·root·········(0)·····4874·2020-06-14·23:21:19.000000·./usr/share/doc/htp/index.html | 58 | -rw-r--r--···0·root·········(0)·root·········(0)·····4874·2020-06-14·23:21:19.000000·./usr/share/doc/htp/index.html |
59 | -rw-r--r--···0·root·········(0)·root·········(0)·······78·2020-06-14·23:21:19.000000·./usr/share/doc/htp/index.htp | 59 | -rw-r--r--···0·root·········(0)·root·········(0)·······78·2020-06-14·23:21:19.000000·./usr/share/doc/htp/index.htp |
60 | -rw-r--r--···0·root·········(0)·root·········(0)·····7733·2020-06-14·23:21:19.000000·./usr/share/doc/htp/intro.html | 60 | -rw-r--r--···0·root·········(0)·root·········(0)·····7733·2020-06-14·23:21:19.000000·./usr/share/doc/htp/intro.html |
61 | -rw-r--r--···0·root·········(0)·root·········(0)·····3489·2020-06-14·23:21:19.000000·./usr/share/doc/htp/intro.htp | 61 | -rw-r--r--···0·root·········(0)·root·········(0)·····3489·2020-06-14·23:21:19.000000·./usr/share/doc/htp/intro.htp |
62 | -rw-r--r--···0·root·········(0)·root·········(0)····10774·2020-06-14·23:21:19.000000·./usr/share/doc/htp/license.html | 62 | -rw-r--r--···0·root·········(0)·root·········(0)····10774·2020-06-14·23:21:19.000000·./usr/share/doc/htp/license.html |
63 | -rw-r--r--···0·root·········(0)·root·········(0)······454·2020-06-14·23:21:19.000000·./usr/share/doc/htp/license.htp | 63 | -rw-r--r--···0·root·········(0)·root·········(0)······454·2020-06-14·23:21:19.000000·./usr/share/doc/htp/license.htp |
64 | -rw-r--r--···0·root·········(0)·root·········(0)·····3782·2020-06-14·23:21:19.000000·./usr/share/doc/htp/macros.def | 64 | -rw-r--r--···0·root·········(0)·root·········(0)·····3782·2020-06-14·23:21:19.000000·./usr/share/doc/htp/macros.def |
65 | -rw-r--r--···0·root·········(0)·root·········(0)·····5088·2020-06-14·23:21:19.000000·./usr/share/doc/htp/macros.html | 65 | -rw-r--r--···0·root·········(0)·root·········(0)·····5088·2020-06-14·23:21:19.000000·./usr/share/doc/htp/macros.html |
66 | -rw-r--r--···0·root·········(0)·root·········(0)······388·2020-06-14·23:21:19.000000·./usr/share/doc/htp/macros.htp | 66 | -rw-r--r--···0·root·········(0)·root·········(0)······388·2020-06-14·23:21:19.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)····15799·2020-06-14·23:21:19.000000·./usr/share/doc/htp/metatag.html |
68 | -rw-r--r--···0·root·········(0)·root·········(0)·····2439·2020-06-14·23:21:19.000000·./usr/share/doc/htp/metatag.htp.gz | 68 | -rw-r--r--···0·root·········(0)·root·········(0)·····2439·2020-06-14·23:21:19.000000·./usr/share/doc/htp/metatag.htp.gz |
69 | -rw-r--r--···0·root·········(0)·root·········(0)·····7558·2020-06-14·23:21:19.000000·./usr/share/doc/htp/opt.html | 69 | -rw-r--r--···0·root·········(0)·root·········(0)·····7558·2020-06-14·23:21:19.000000·./usr/share/doc/htp/opt.html |
70 | -rw-r--r--···0·root·········(0)·root·········(0)······608·2020-06-14·23:21:19.000000·./usr/share/doc/htp/opt.htp | 70 | -rw-r--r--···0·root·········(0)·root·········(0)······608·2020-06-14·23:21:19.000000·./usr/share/doc/htp/opt.htp |
71 | -rw-r--r--···0·root·········(0)·root·········(0)·····7809·2020-06-14·23:21:19.000000·./usr/share/doc/htp/options.html | 71 | -rw-r--r--···0·root·········(0)·root·········(0)·····7809·2020-06-14·23:21:19.000000·./usr/share/doc/htp/options.html |
72 | -rw-r--r--···0·root·········(0)·root·········(0)·····3100·2020-06-14·23:21:19.000000·./usr/share/doc/htp/options.htp | 72 | -rw-r--r--···0·root·········(0)·root·········(0)·····3100·2020-06-14·23:21:19.000000·./usr/share/doc/htp/options.htp |
73 | -rw-r--r--···0·root·········(0)·root·········(0)·····7777·2020-06-14·23:21:19.000000·./usr/share/doc/htp/output.html | 73 | -rw-r--r--···0·root·········(0)·root·········(0)·····7777·2020-06-14·23:21:19.000000·./usr/share/doc/htp/output.html |
74 | -rw-r--r--···0·root·········(0)·root·········(0)······695·2020-06-14·23:21:19.000000·./usr/share/doc/htp/output.htp | 74 | -rw-r--r--···0·root·········(0)·root·········(0)······695·2020-06-14·23:21:19.000000·./usr/share/doc/htp/output.htp |
Offset 79, 17 lines modified | Offset 79, 17 lines modified | ||
79 | -rw-r--r--···0·root·········(0)·root·········(0)····25563·2020-06-14·23:21:19.000000·./usr/share/doc/htp/pic/logo.png | 79 | -rw-r--r--···0·root·········(0)·root·········(0)····25563·2020-06-14·23:21:19.000000·./usr/share/doc/htp/pic/logo.png |
80 | -rw-r--r--···0·root·········(0)·root·········(0)······455·2020-06-14·23:21:19.000000·./usr/share/doc/htp/pic/manbig.png | 80 | -rw-r--r--···0·root·········(0)·root·········(0)······455·2020-06-14·23:21:19.000000·./usr/share/doc/htp/pic/manbig.png |
81 | -rw-r--r--···0·root·········(0)·root·········(0)······491·2020-06-14·23:21:19.000000·./usr/share/doc/htp/pic/manual.png | 81 | -rw-r--r--···0·root·········(0)·root·········(0)······491·2020-06-14·23:21:19.000000·./usr/share/doc/htp/pic/manual.png |
82 | -rw-r--r--···0·root·········(0)·root·········(0)·····1313·2020-06-14·23:21:19.000000·./usr/share/doc/htp/pic/poweredbyhtp.png | 82 | -rw-r--r--···0·root·········(0)·root·········(0)·····1313·2020-06-14·23:21:19.000000·./usr/share/doc/htp/pic/poweredbyhtp.png |
83 | -rw-r--r--···0·root·········(0)·root·········(0)······679·2020-06-14·23:21:19.000000·./usr/share/doc/htp/pic/sficon.png | 83 | -rw-r--r--···0·root·········(0)·root·········(0)······679·2020-06-14·23:21:19.000000·./usr/share/doc/htp/pic/sficon.png |
84 | -rw-r--r--···0·root·········(0)·root·········(0)······492·2020-06-14·23:21:19.000000·./usr/share/doc/htp/pic/source.png | 84 | -rw-r--r--···0·root·········(0)·root·········(0)······492·2020-06-14·23:21:19.000000·./usr/share/doc/htp/pic/source.png |
85 | -rw-r--r--···0·root·········(0)·root·········(0)······523·2020-06-14·23:21:19.000000·./usr/share/doc/htp/pphtp.pl | 85 | -rw-r--r--···0·root·········(0)·root·········(0)······523·2020-06-14·23:21:19.000000·./usr/share/doc/htp/pphtp.pl |
86 | -rw-r--r--···0·root·········(0)·root·········(0)···· | 86 | -rw-r--r--···0·root·········(0)·root·········(0)····10674·2020-06-14·23:21:19.000000·./usr/share/doc/htp/quote.html |
87 | -rw-r--r--···0·root·········(0)·root·········(0)······390·2020-06-14·23:21:19.000000·./usr/share/doc/htp/quote.htp | 87 | -rw-r--r--···0·root·········(0)·root·········(0)······390·2020-06-14·23:21:19.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)····13185·2020-06-14·23:21:19.000000·./usr/share/doc/htp/set.html |
89 | -rw-r--r--···0·root·········(0)·root·········(0)·····1200·2020-06-14·23:21:19.000000·./usr/share/doc/htp/set.htp | 89 | -rw-r--r--···0·root·········(0)·root·········(0)·····1200·2020-06-14·23:21:19.000000·./usr/share/doc/htp/set.htp |
90 | -rw-r--r--···0·root·········(0)·root·········(0)······500·2020-06-14·23:21:19.000000·./usr/share/doc/htp/styles.css | 90 | -rw-r--r--···0·root·········(0)·root·········(0)······500·2020-06-14·23:21:19.000000·./usr/share/doc/htp/styles.css |
91 | -rw-r--r--···0·root·········(0)·root·········(0)····27219·2020-06-14·23:21:19.000000·./usr/share/doc/htp/template.html | 91 | -rw-r--r--···0·root·········(0)·root·········(0)····27219·2020-06-14·23:21:19.000000·./usr/share/doc/htp/template.html |
92 | -rw-r--r--···0·root·········(0)·root·········(0)·····2235·2020-06-14·23:21:19.000000·./usr/share/doc/htp/template.htp.gz | 92 | -rw-r--r--···0·root·········(0)·root·········(0)·····2235·2020-06-14·23:21:19.000000·./usr/share/doc/htp/template.htp.gz |
93 | -rw-r--r--···0·root·········(0)·root·········(0)·····1914·2020-06-14·23:21:19.000000·./usr/share/doc/htp/toc.def | 93 | -rw-r--r--···0·root·········(0)·root·········(0)·····1914·2020-06-14·23:21:19.000000·./usr/share/doc/htp/toc.def |
94 | drwxr-xr-x···0·root·········(0)·root·········(0)········0·2020-06-14·23:21:19.000000·./usr/share/doc/htp/tut/ | 94 | drwxr-xr-x···0·root·········(0)·root·········(0)········0·2020-06-14·23:21:19.000000·./usr/share/doc/htp/tut/ |
95 | -rw-r--r--···0·root·········(0)·root·········(0)······146·2020-06-14·23:21:19.000000·./usr/share/doc/htp/tut/footer.hti | 95 | -rw-r--r--···0·root·········(0)·root·········(0)······146·2020-06-14·23:21:19.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·2020-06-14·23:21:19.000000·./usr/share/doc/htp/tut/tut2.htp | 102 | -rw-r--r--···0·root·········(0)·root·········(0)······192·2020-06-14·23:21:19.000000·./usr/share/doc/htp/tut/tut2.htp |
103 | -rw-r--r--···0·root·········(0)·root·········(0)······501·2020-06-14·23:21:19.000000·./usr/share/doc/htp/tut/tut3.html | 103 | -rw-r--r--···0·root·········(0)·root·········(0)······501·2020-06-14·23:21:19.000000·./usr/share/doc/htp/tut/tut3.html |
104 | -rw-r--r--···0·root·········(0)·root·········(0)······191·2020-06-14·23:21:19.000000·./usr/share/doc/htp/tut/tut3.htp | 104 | -rw-r--r--···0·root·········(0)·root·········(0)······191·2020-06-14·23:21:19.000000·./usr/share/doc/htp/tut/tut3.htp |
105 | -rw-r--r--···0·root·········(0)·root·········(0)······356·2020-06-14·23:21:19.000000·./usr/share/doc/htp/tut/tut3.htt | 105 | -rw-r--r--···0·root·········(0)·root·········(0)······356·2020-06-14·23:21:19.000000·./usr/share/doc/htp/tut/tut3.htt |
106 | -rw-r--r--···0·root·········(0)·root·········(0)······297·2020-06-14·23:21:19.000000·./usr/share/doc/htp/tut/tut4.htt | 106 | -rw-r--r--···0·root·········(0)·root·········(0)······297·2020-06-14·23:21:19.000000·./usr/share/doc/htp/tut/tut4.htt |
107 | -rw-r--r--···0·root·········(0)·root·········(0)····10517·2020-06-14·23:21:19.000000·./usr/share/doc/htp/tutorial.html | 107 | -rw-r--r--···0·root·········(0)·root·········(0)····10517·2020-06-14·23:21:19.000000·./usr/share/doc/htp/tutorial.html |
108 | -rw-r--r--···0·root·········(0)·root·········(0)·····3393·2020-06-14·23:21:19.000000·./usr/share/doc/htp/tutorial.htp | 108 | -rw-r--r--···0·root·········(0)·root·········(0)·····3393·2020-06-14·23:21:19.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)·····8195·2020-06-14·23:21:19.000000·./usr/share/doc/htp/undef.html |
110 | -rw-r--r--···0·root·········(0)·root·········(0)······460·2020-06-14·23:21:19.000000·./usr/share/doc/htp/undef.htp | 110 | -rw-r--r--···0·root·········(0)·root·········(0)······460·2020-06-14·23:21:19.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)·····8800·2020-06-14·23:21:19.000000·./usr/share/doc/htp/unset.html |
112 | -rw-r--r--···0·root·········(0)·root·········(0)······658·2020-06-14·23:21:19.000000·./usr/share/doc/htp/unset.htp | 112 | -rw-r--r--···0·root·········(0)·root·········(0)······658·2020-06-14·23:21:19.000000·./usr/share/doc/htp/unset.htp |
113 | -rw-r--r--···0·root·········(0)·root·········(0)·····7681·2020-06-14·23:21:19.000000·./usr/share/doc/htp/usage.html | 113 | -rw-r--r--···0·root·········(0)·root·········(0)·····7681·2020-06-14·23:21:19.000000·./usr/share/doc/htp/usage.html |
114 | -rw-r--r--···0·root·········(0)·root·········(0)·····2959·2020-06-14·23:21:19.000000·./usr/share/doc/htp/usage.htp | 114 | -rw-r--r--···0·root·········(0)·root·········(0)·····2959·2020-06-14·23:21:19.000000·./usr/share/doc/htp/usage.htp |
115 | -rw-r--r--···0·root·········(0)·root·········(0)····1 | 115 | -rw-r--r--···0·root·········(0)·root·········(0)····14597·2020-06-14·23:21:19.000000·./usr/share/doc/htp/use.html |
116 | -rw-r--r--···0·root·········(0)·root·········(0)·····3300·2020-06-14·23:21:19.000000·./usr/share/doc/htp/use.htp | 116 | -rw-r--r--···0·root·········(0)·root·········(0)·····3300·2020-06-14·23:21:19.000000·./usr/share/doc/htp/use.htp |
117 | -rw-r--r--···0·root·········(0)·root·········(0)····10 | 117 | -rw-r--r--···0·root·········(0)·root·········(0)····10197·2020-06-14·23:21:19.000000·./usr/share/doc/htp/while.html |
118 | -rw-r--r--···0·root·········(0)·root·········(0)······938·2020-06-14·23:21:19.000000·./usr/share/doc/htp/while.htp | 118 | -rw-r--r--···0·root·········(0)·root·········(0)······938·2020-06-14·23:21:19.000000·./usr/share/doc/htp/while.htp |
119 | -rw-r--r--···0·root·········(0)·root·········(0)·····5288·2020-06-14·23:21:19.000000·./usr/share/doc/htp/wishlist.html | 119 | -rw-r--r--···0·root·········(0)·root·········(0)·····5288·2020-06-14·23:21:19.000000·./usr/share/doc/htp/wishlist.html |
120 | -rw-r--r--···0·root·········(0)·root·········(0)·····1311·2020-06-14·23:21:19.000000·./usr/share/doc/htp/wishlist.htp | 120 | -rw-r--r--···0·root·········(0)·root·········(0)·····1311·2020-06-14·23:21:19.000000·./usr/share/doc/htp/wishlist.htp |
121 | drwxr-xr-x···0·root·········(0)·root·········(0)········0·2020-06-14·23:21:19.000000·./usr/share/doc-base/ | 121 | drwxr-xr-x···0·root·········(0)·root·········(0)········0·2020-06-14·23:21:19.000000·./usr/share/doc-base/ |
122 | -rw-r--r--···0·root·········(0)·root·········(0)······235·2020-06-14·17:36:12.000000·./usr/share/doc-base/htp.htp | 122 | -rw-r--r--···0·root·········(0)·root·········(0)······235·2020-06-14·17:36:12.000000·./usr/share/doc-base/htp.htp |
123 | drwxr-xr-x···0·root·········(0)·root·········(0)········0·2020-06-14·23:21:19.000000·./usr/share/lintian/ | 123 | drwxr-xr-x···0·root·········(0)·root·········(0)········0·2020-06-14·23:21:19.000000·./usr/share/lintian/ |
124 | drwxr-xr-x···0·root·········(0)·root·········(0)········0·2020-06-14·23:21:19.000000·./usr/share/lintian/overrides/ | 124 | drwxr-xr-x···0·root·········(0)·root·········(0)········0·2020-06-14·23:21:19.000000·./usr/share/lintian/overrides/ |
Offset 114, 16 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 | </code></p> | 134 | </code></p> |
124 | <h2>synopsis</h2> | 135 | <h2>synopsis</h2> |
125 | <strong>ALTTEXT</strong>·declares·an·ALT·attribute·for·any·<A | 136 | <strong>ALTTEXT</strong>·declares·an·ALT·attribute·for·any·<A |
126 | HREF="img.html">IMG</A>·tag·with·a·SRC·matching·the·ALTTEXT·NAME. | 137 | HREF="img.html">IMG</A>·tag·with·a·SRC·matching·the·ALTTEXT·NAME. |
127 | Since·relative·paths·can·be·used·to·point·to·the·same·image,·only·the | 138 | Since·relative·paths·can·be·used·to·point·to·the·same·image,·only·the |
128 | filename·is·considered·in·all·comparisons. | 139 | filename·is·considered·in·all·comparisons. |
129 | <p> | 140 | <p> |
Offset 1, 36 lines modified | Offset 1, 50 lines modified | ||
1 | [HTP] | 1 | [HTP] |
2 | *\x8**\x8**\x8**\x8**\x8**\x8*·h\x8ht\x8tp\x8p·o\x8on\x8n-\x8-l\x8li\x8in\x8ne\x8e·r\x8re\x8ef\x8fe\x8er\x8re\x8en\x8nc\x8ce\x8e·:\x8:·A\x8AL\x8LT\x8TT\x8TE\x8EX\x8XT\x8T·*\x8**\x8**\x8**\x8**\x8**\x8* | 2 | *\x8**\x8**\x8**\x8**\x8**\x8*·h\x8ht\x8tp\x8p·o\x8on\x8n-\x8-l\x8li\x8in\x8ne\x8e·r\x8re\x8ef\x8fe\x8er\x8re\x8en\x8nc\x8ce\x8e·:\x8:·A\x8AL\x8LT\x8TT\x8TE\x8EX\x8XT\x8T·*\x8**\x8**\x8**\x8**\x8**\x8* |
3 | _\x8T_\x8a_\x8b_\x8l_\x8e_\x8·_\x8o_\x8f_\x8·_\x8C_\x8o_\x8n_\x8t_\x8e_\x8n_\x8t_\x8s···········*\x8**\x8**\x8**\x8**\x8*·s\x8sy\x8yn\x8nt\x8ta\x8ax\x8x·*\x8**\x8**\x8**\x8**\x8* | 3 | _\x8T_\x8a_\x8b_\x8l_\x8e_\x8·_\x8o_\x8f_\x8·_\x8C_\x8o_\x8n_\x8t_\x8e_\x8n_\x8t_\x8s···········*\x8**\x8**\x8**\x8**\x8*·s\x8sy\x8yn\x8nt\x8ta\x8ax\x8x·*\x8**\x8**\x8**\x8**\x8* |
4 | ·_\x8I_\x8n_\x8t_\x8r_\x8o_\x8d_\x8u_\x8c_\x8t_\x8i_\x8o_\x8n··············<_.[_.[_.r_.e_.f_.]_.] | 4 | ·_\x8I_\x8n_\x8t_\x8r_\x8o_\x8d_\x8u_\x8c_\x8t_\x8i_\x8o_\x8n·············· <_.[_.[_.r_.e_.f_.]_.]_.d_.e_.f·name="imghr"> |
5 | ·_\x8L_\x8i_\x8c_\x8e_\x8n_\x8s_\x8e···················]> | ||
6 | ·_\x8 | 5 | ·_\x8L_.i_.c_.e_.n_.s_.e··················· · <table·border="0"·cellspacing="0" |
6 | ·_\x8T_\x8u_\x8t_\x8o_\x8r_\x8i_\x8a_\x8l··················cellpadding="0"> | ||
7 | ·_\x8U_\x8s_\x8a_\x8g_\x8e····················· · <tr> | ||
8 | ·HTP·Tags·················· · ·<td·width=10><_\x8[_\x8[_\x8r_\x8e_\x8f_\x8]_\x8]_\x8i_\x8m_\x8g·src="leftsep.png"></ | ||
9 | ·[>]·_\x8A_\x8L_\x8T_\x8T_\x8E_\x8X_\x8T···············td> | ||
10 | · ···_\x8B_\x8L_\x8O_\x8C_\x8K················· · ·<td·width="95%" | ||
11 | · ···_\x8B_\x8L_\x8O_\x8C_\x8K_\x8D_\x8E_\x8F··············background="midsep.png"> </td> | ||
12 | · ···_\x8D_\x8E_\x8F··················· · ·<td·width=10><_\x8[_\x8[_\x8r_\x8e_\x8f_\x8]_\x8]_\x8i_\x8m_\x8g·src="rightsep.png"></ | ||
13 | · ···_\x8F_\x8I_\x8L_\x8E··················td> | ||
14 | · ···_\x8I_\x8F···················· · </tr> | ||
15 | · ···_\x8I_\x8N_\x8C··················· · </table> | ||
16 | · ···_\x8I_\x8M_\x8G··················· <_\x8[_\x8[_\x8r_\x8e_\x8f_\x8]_\x8]_\x8/_\x8d_\x8e_\x8f> | ||
17 | · ···_\x8I_\x8M_\x8A_\x8G_\x8E_\x8U_\x8R_\x8L | ||
18 | · ···_\x8O_\x8P_\x8T··················· paragraph | ||
19 | · ···_\x8O_\x8U_\x8T_\x8P_\x8U_\x8T················ <imghr> | ||
20 | · ···_\x8Q_\x8U_\x8O_\x8T_\x8E················· paragraph | ||
7 | · | 21 | · ···_.S_.E_.T···················*\x8**\x8**\x8**\x8**\x8*·s\x8sy\x8yn\x8no\x8op\x8ps\x8si\x8is\x8s·*\x8**\x8**\x8**\x8**\x8* |
8 | · | 22 | · ···_.U_.N_.D_.E_.F·················A\x8AL\x8LT\x8TT\x8TE\x8EX\x8XT\x8T·declares·an·ALT·attribute·for·any·_\x8I_\x8M_\x8G·tag |
9 | · | 23 | · ···_.U_.N_.S_.E_.T·················with·a·SRC·matching·the·ALTTEXT·NAME.·Since |
10 | · ···_\x8 | 24 | · ···_\x8U_.S_.E_.,_.·_.$················relative·paths·can·be·used·to·point·to·the·same |
11 | · ···_\x8 | 25 | · ···_\x8W_.H_.I_.L_.E·················image,·only·the·filename·is·considered·in·all |
12 | · ···_\x8 | 26 | · ···_\x8<_.!_.-_.-_.-·················comparisons. |
13 | · | 27 | ·_.H_.i_.s_.t_.o_.r_.y···················When·an·IMG·tag·with·a·matching·source·is |
14 | · | 28 | ·_.W_.i_.s_.h_.·_.l_.i_.s_.t·················encountered,·htp·will·add·an·ALT·attribute·only·if |
15 | · | 29 | ·_.B_.u_.g_.s······················one·is·not·already·present.·This·allows·for·ALT |
16 | 30 | ····························text·to·be·overridden·on·specific·images·and | |
17 | 31 | ····························default·text·on·all·others. | |
18 | 32 | ····························For·example: | |
19 | 33 | ····························An·ALTTEXT·tag·with·a·name·but·no·text·attribute | |
20 | 34 | ····························removes·any·ALT·mapping·for·this·image.·Successing | |
21 | 35 | ····························IMG·tags·with·a·matching·SRC·name·are·not·changed. | |
22 | 36 | ····························Since·this·is·useful·for·an·image·used·throughout·a | |
23 | 37 | ····························set·of·documents,·ALTTEXT·is·most·appropriate·in·an | |
24 | 38 | ····························_\x8i_\x8n_\x8c_\x8l_\x8u_\x8d_\x8e_\x8·_\x8f_\x8i_\x8l_\x8e·or·a·_\x8d_\x8e_\x8f_\x8a_\x8u_\x8l_\x8t_\x8·_\x8f_\x8i_\x8l_\x8e. | |
25 | 39 | ····························In·addition·to·ALTTEXT,·htp·can·also·automatically | |
26 | 40 | ····························add·WIDTH·and·HEIGHT·attributes·to·_\x8I_\x8M_\x8G·tags. | |
27 | ·_\x8H_\x8i_\x8s_\x8t_\x8o_\x8r_\x8y | ||
28 | ·_\x8W_\x8i_\x8s_\x8h_\x8·_\x8l_\x8i_\x8s_\x8t | ||
29 | ·_\x8B_\x8u_\x8g_\x8s | ||
Offset 114, 14 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="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> | ||
130 | <br> | ||
131 | paragraph<br> | ||
132 | <span·class="htp-tag"><imghr></span><br> | ||
133 | paragraph<br> | ||
121 | </code></p> | 134 | </code></p> |
122 | <h2>synopsis</h2> | 135 | <h2>synopsis</h2> |
123 | <P> | 136 | <P> |
124 | <STRONG>BLOCK·and·/BLOCK</STRONG>·are·used·to·create·block·macros,·which | 137 | <STRONG>BLOCK·and·/BLOCK</STRONG>·are·used·to·create·block·macros,·which |
125 | are·similar·in·use·to·<A·HREF="set.html">SET</A>·macros,·but·can·be | 138 | are·similar·in·use·to·<A·HREF="set.html">SET</A>·macros,·but·can·be |
126 | multi-line·definitions. | 139 | multi-line·definitions. |
127 | </P> | 140 | </P> |
Offset 1, 36 lines modified | Offset 1, 53 lines modified | ||
1 | [HTP] | 1 | [HTP] |
2 | *\x8**\x8**\x8**\x8**\x8**\x8*·h\x8ht\x8tp\x8p·o\x8on\x8n-\x8-l\x8li\x8in\x8ne\x8e·r\x8re\x8ef\x8fe\x8er\x8re\x8en\x8nc\x8ce\x8e·:\x8:·B\x8BL\x8LO\x8OC\x8CK\x8K,\x8,·/\x8/B\x8BL\x8LO\x8OC\x8CK\x8K·*\x8**\x8**\x8**\x8**\x8**\x8* | 2 | *\x8**\x8**\x8**\x8**\x8**\x8*·h\x8ht\x8tp\x8p·o\x8on\x8n-\x8-l\x8li\x8in\x8ne\x8e·r\x8re\x8ef\x8fe\x8er\x8re\x8en\x8nc\x8ce\x8e·:\x8:·B\x8BL\x8LO\x8OC\x8CK\x8K,\x8,·/\x8/B\x8BL\x8LO\x8OC\x8CK\x8K·*\x8**\x8**\x8**\x8**\x8**\x8* |
3 | _\x8T_\x8a_\x8b_\x8l_\x8e_\x8·_\x8o_\x8f_\x8·_\x8C_\x8o_\x8n_\x8t_\x8e_\x8n_\x8t_\x8s···········*\x8**\x8**\x8**\x8**\x8*·s\x8sy\x8yn\x8nt\x8ta\x8ax\x8x·*\x8**\x8**\x8**\x8**\x8* | 3 | _\x8T_\x8a_\x8b_\x8l_\x8e_\x8·_\x8o_\x8f_\x8·_\x8C_\x8o_\x8n_\x8t_\x8e_\x8n_\x8t_\x8s···········*\x8**\x8**\x8**\x8**\x8*·s\x8sy\x8yn\x8nt\x8ta\x8ax\x8x·*\x8**\x8**\x8**\x8**\x8* |
4 | ·_\x8I_\x8n_\x8t_\x8r_\x8o_\x8d_\x8u_\x8c_\x8t_\x8i_\x8o_\x8n··············*\x8**\x8**\x8**\x8**\x8*·s\x8sy\x8yn\x8no\x8op\x8ps\x8si\x8is\x8s·*\x8**\x8**\x8**\x8**\x8* | ||
5 | ·_\x8L_\x8i_\x8c_\x8e_\x8n_\x8s_\x8e···················B\x8BL\x8LO\x8OC\x8CK\x8K·a\x8an\x8nd\x8d·/\x8/B\x8BL\x8LO\x8OC\x8CK\x8K·are·used·to·create·block·macros, | ||
6 | ·_\x8T_\x8u_\x8t_\x8o_\x8r_\x8i_\x8a_\x8l··················which·are·similar·in·use·to·_\x8S_\x8E_\x8T·macros,·but·can·be | ||
7 | ·_\x8U_\x8s_\x8a_\x8g_\x8e·····················multi-line·definitions. | ||
8 | ·HTP·Tags··················Any·text·and·formatting·may·be·set·inside·the | ||
9 | · ···_\x8A_\x8L_\x8T_\x8T_\x8E_\x8X_\x8T···············block.·You·can·use·any·htp·or·user·defined·metatag | ||
10 | ·[>]·_\x8B_\x8L_\x8O_\x8C_\x8K·················including·_\x8F_\x8I_\x8L_\x8E_\x8·_\x8I_\x8N_\x8C_\x8L_\x8U_\x8D_\x8E.·The·metatags·won't·be | ||
11 | · ···_\x8B_\x8L_\x8O_\x8C_\x8K_\x8D_\x8E_\x8F··············expanded·before·the·block·is·USEd·except·if·you | ||
12 | · ···_\x8D_\x8E_\x8F···················give·the·_\x8E_\x8X_\x8P_\x8A_\x8N_\x8D·parameter. | ||
13 | · ···_\x8F_\x8I_\x8L_\x8E··················The·block·macro·is·dereferenced·(expanded)·with·the | ||
14 | · ···_\x8I_\x8F····················_\x8U_\x8S_\x8E_\x8·_\x8t_\x8a_\x8g_\x8·_\x8o_\x8r_\x8·_\x8t_\x8h_\x8e_\x8·_\x8'_\x8$_\x8'_\x8·_\x8o_\x8p_\x8e_\x8r_\x8a_\x8t_\x8o_\x8r.·See·the·notes·on·the | ||
15 | · ···_\x8I_\x8N_\x8C···················_\x8U_\x8S_\x8E·tag·on·how·to·pass·parameters·to·a·block·macro. | ||
16 | · | 4 | ·_.I_.n_.t_.r_.o_.d_.u_.c_.t_.i_.o_.n·············· <_.[_.[_.r_.e_.f_.]_.]_.d_.e_.f·name="imghr"> |
5 | ·_\x8L_\x8i_\x8c_\x8e_\x8n_\x8s_\x8e··················· · <table·border="0"·cellspacing="0" | ||
6 | ·_\x8T_\x8u_\x8t_\x8o_\x8r_\x8i_\x8a_\x8l··················cellpadding="0"> | ||
7 | ·_\x8U_\x8s_\x8a_\x8g_\x8e····················· · <tr> | ||
8 | ·HTP·Tags·················· · ·<td·width=10><_\x8[_\x8[_\x8r_\x8e_\x8f_\x8]_\x8]_\x8i_\x8m_\x8g·src="leftsep.png"></ | ||
9 | · ···_\x8A_\x8L_\x8T_\x8T_\x8E_\x8X_\x8T···············td> | ||
10 | ·[>]·_\x8B_\x8L_\x8O_\x8C_\x8K················· · ·<td·width="95%" | ||
11 | · ···_\x8B_\x8L_\x8O_\x8C_\x8K_\x8D_\x8E_\x8F··············background="midsep.png"> </td> | ||
12 | · ···_\x8D_\x8E_\x8F··················· · ·<td·width=10><_\x8[_\x8[_\x8r_\x8e_\x8f_\x8]_\x8]_\x8i_\x8m_\x8g·src="rightsep.png"></ | ||
13 | · ···_\x8F_\x8I_\x8L_\x8E··················td> | ||
14 | · ···_\x8I_\x8F···················· · </tr> | ||
15 | · ···_\x8I_\x8N_\x8C··················· · </table> | ||
16 | · ···_\x8I_\x8M_\x8G··················· <_\x8[_\x8[_\x8r_\x8e_\x8f_\x8]_\x8]_\x8/_\x8d_\x8e_\x8f> | ||
17 | · ···_\x8I_\x8M_\x8A_\x8G_\x8E_\x8U_\x8R_\x8L | 17 | · ···_\x8I_\x8M_\x8A_\x8G_\x8E_\x8U_\x8R_\x8L |
18 | · ···_\x8O_\x8P_\x8T | ||
19 | · ···_\x8O_\x8U_\x8T_\x8P_\x8U_\x8T | ||
20 | · ···_\x8Q_\x8U_\x8O_\x8T_\x8E | ||
21 | · ···_\x8S_\x8E_\x8T | ||
22 | · ···_\x8U_\x8N_\x8D_\x8E_\x8F | ||
23 | · ···_\x8U_\x8N_\x8S_\x8E_\x8T | ||
24 | · ···_\x8U_\x8S_\x8E_\x8,_\x8·_\x8$ | ||
25 | · ···_\x8W_\x8H_\x8I_\x8L_\x8E | ||
26 | · ···_\x8<_\x8!_\x8-_\x8-_\x8- | ||
27 | ·_\x8H_\x8i_\x8s_\x8t_\x8o_\x8r_\x8y | ||
28 | ·_\x8W_\x8i_\x8s_\x8h_\x8·_\x8l_\x8i_\x8s_\x8t | ||
29 | ·_. | 18 | · ···_.O_.P_.T··················· paragraph |
19 | · ···_\x8O_\x8U_\x8T_\x8P_\x8U_\x8T················ <imghr> | ||
20 | · ···_\x8Q_\x8U_\x8O_\x8T_\x8E················· paragraph | ||
21 | · ···_\x8S_\x8E_\x8T···················*\x8**\x8**\x8**\x8**\x8*·s\x8sy\x8yn\x8no\x8op\x8ps\x8si\x8is\x8s·*\x8**\x8**\x8**\x8**\x8* | ||
22 | · ···_\x8U_\x8N_\x8D_\x8E_\x8F·················B\x8BL\x8LO\x8OC\x8CK\x8K·a\x8an\x8nd\x8d·/\x8/B\x8BL\x8LO\x8OC\x8CK\x8K·are·used·to·create·block·macros, | ||
23 | · ···_\x8U_\x8N_\x8S_\x8E_\x8T·················which·are·similar·in·use·to·_\x8S_\x8E_\x8T·macros,·but·can·be | ||
24 | · ···_\x8U_\x8S_\x8E_\x8,_\x8·_\x8$················multi-line·definitions. | ||
25 | · ···_\x8W_\x8H_\x8I_\x8L_\x8E·················Any·text·and·formatting·may·be·set·inside·the | ||
26 | · ···_\x8<_\x8!_\x8-_\x8-_\x8-·················block.·You·can·use·any·htp·or·user·defined·metatag | ||
27 | ·_\x8H_\x8i_\x8s_\x8t_\x8o_\x8r_\x8y···················including·_\x8F_\x8I_\x8L_\x8E_\x8·_\x8I_\x8N_\x8C_\x8L_\x8U_\x8D_\x8E.·The·metatags·won't·be | ||
28 | ·_\x8W_\x8i_\x8s_\x8h_\x8·_\x8l_\x8i_\x8s_\x8t·················expanded·before·the·block·is·USEd·except·if·you | ||
29 | ·_\x8B_\x8u_\x8g_\x8s······················give·the·_\x8E_\x8X_\x8P_\x8A_\x8N_\x8D·parameter. | ||
30 | ····························The·block·macro·is·dereferenced·(expanded)·with·the | ||
31 | ····························_\x8U_\x8S_\x8E_\x8·_\x8t_\x8a_\x8g_\x8·_\x8o_\x8r_\x8·_\x8t_\x8h_\x8e_\x8·_\x8'_\x8$_\x8'_\x8·_\x8o_\x8p_\x8e_\x8r_\x8a_\x8t_\x8o_\x8r.·See·the·notes·on·the | ||
32 | ····························_\x8U_\x8S_\x8E·tag·on·how·to·pass·parameters·to·a·block·macro. | ||
30 | ·_\x8p_\x8a_\x8g_\x8e_\x8·_\x8s_\x8o_\x8u_\x8r_\x8c_\x8e | 33 | ·_\x8p_\x8a_\x8g_\x8e_\x8·_\x8s_\x8o_\x8u_\x8r_\x8c_\x8e |
Offset 114, 34 lines modified | Offset 114, 48 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="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> | ||
130 | <br> | ||
131 | paragraph<br> | ||
132 | <span·class="htp-tag"><imghr></span><br> | ||
133 | paragraph<br> | ||
121 | </code></p> | 134 | </code></p> |
122 | <h2>synopsis</h2> | 135 | <h2>synopsis</h2> |
123 | <strong>BLOCKDEF</strong>·creates·block·<A | 136 | <strong>BLOCKDEF</strong>·creates·block·<A |
124 | HREF="metatag.html">metatags</A>,·which·is·a·fancy·way·of·saying·it | 137 | HREF="metatag.html">metatags</A>,·which·is·a·fancy·way·of·saying·it |
125 | creates·new·block·tags.··A·block·tag·is·a·tag·that·takes·a·whole·block | 138 | creates·new·block·tags.··A·block·tag·is·a·tag·that·takes·a·whole·block |
126 | as·additional·parameter.··This·block·is·surrounded·by·<tagname>·and | 139 | as·additional·parameter.··This·block·is·surrounded·by·<tagname>·and |
127 | </tagname>.··The·contents·of·this·block·are·automatically·stored | 140 | </tagname>.··The·contents·of·this·block·are·automatically·stored |
128 | in·the·block·macro·named·BLOCK. | 141 | in·the·block·macro·named·BLOCK. |
129 | <P>·For·example:</P> | 142 | <P>·For·example:</P> |
130 | ··<p><code> | 143 | ··<p><code> |
144 | ·<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> | ||
145 | · ·...<br> | ||
131 | · ·<span·class="htp-tag"><<a·href=" | 146 | · ·<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> |
132 | · ·<span·class="htp-tag"><p·<span·class="htp-attrib">align</span>=<span·class="htp-value">center</span>></span><br> | ||
133 | · | 147 | ·<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> |
148 | <br> | ||
134 | <br> | 149 | <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·class="htp-attrib">name</span>=<span·class="htp-string">"/bigfont"</span>></span><br> | ||
135 | · ·<span·class="htp-tag">< | 151 | · ·<span·class="htp-tag"></font></span><br> |
152 | ·<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> | ||
136 | · ·This·text·is·centered.<br> | ||
137 | (CONDENSE|SEMICONDENSE|NOCONDENSE)><br> | ||
138 | <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> | ||
139 | <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> | ||
140 | <br> | 153 | <br> |
154 | ·<span·class="htp-tag"><bigfont></span>Some·large·text<span·class="htp-tag"></bigfont></span><br> | ||
141 | </code></p> | 155 | </code></p> |
142 | <p> | 156 | <p> |
143 | All·block·metatags·have·the·implicit·option·<a | 157 | All·block·metatags·have·the·implicit·option·<a |
144 | href="expand.html">EXPAND</A>,·which·tells·htp·to·expand·the·contents | 158 | href="expand.html">EXPAND</A>,·which·tells·htp·to·expand·the·contents |
145 | of·the·block·before·the·definition·is·expanded. | 159 | of·the·block·before·the·definition·is·expanded. |
146 | </p> | 160 | </p> |
147 | <p> | 161 | <p> |
Offset 1, 36 lines modified | Offset 1, 54 lines modified | ||
1 | [HTP] | 1 | [HTP] |
2 | *\x8**\x8**\x8**\x8**\x8**\x8*·h\x8ht\x8tp\x8p·o\x8on\x8n-\x8-l\x8li\x8in\x8ne\x8e·r\x8re\x8ef\x8fe\x8er\x8re\x8en\x8nc\x8ce\x8e·:\x8:·B\x8BL\x8LO\x8OC\x8CK\x8KD\x8DE\x8EF\x8F,\x8,·/\x8/B\x8BL\x8LO\x8OC\x8CK\x8KD\x8DE\x8EF\x8F·*\x8**\x8**\x8**\x8**\x8**\x8* | 2 | *\x8**\x8**\x8**\x8**\x8**\x8*·h\x8ht\x8tp\x8p·o\x8on\x8n-\x8-l\x8li\x8in\x8ne\x8e·r\x8re\x8ef\x8fe\x8er\x8re\x8en\x8nc\x8ce\x8e·:\x8:·B\x8BL\x8LO\x8OC\x8CK\x8KD\x8DE\x8EF\x8F,\x8,·/\x8/B\x8BL\x8LO\x8OC\x8CK\x8KD\x8DE\x8EF\x8F·*\x8**\x8**\x8**\x8**\x8**\x8* |
3 | _\x8T_\x8a_\x8b_\x8l_\x8e_\x8·_\x8o_\x8f_\x8·_\x8C_\x8o_\x8n_\x8t_\x8e_\x8n_\x8t_\x8s···········*\x8**\x8**\x8**\x8**\x8*·s\x8sy\x8yn\x8nt\x8ta\x8ax\x8x·*\x8**\x8**\x8**\x8**\x8* | 3 | _\x8T_\x8a_\x8b_\x8l_\x8e_\x8·_\x8o_\x8f_\x8·_\x8C_\x8o_\x8n_\x8t_\x8e_\x8n_\x8t_\x8s···········*\x8**\x8**\x8**\x8**\x8*·s\x8sy\x8yn\x8nt\x8ta\x8ax\x8x·*\x8**\x8**\x8**\x8**\x8* |
4 | ·_\x8I_\x8n_\x8t_\x8r_\x8o_\x8d_\x8u_\x8c_\x8t_\x8i_\x8o_\x8n··············*\x8**\x8**\x8**\x8**\x8*·s\x8sy\x8yn\x8no\x8op\x8ps\x8si\x8is\x8s·*\x8**\x8**\x8**\x8**\x8* | ||
5 | ·_\x8L_\x8i_\x8c_\x8e_\x8n_\x8s_\x8e···················B\x8BL\x8LO\x8OC\x8CK\x8KD\x8DE\x8EF\x8F·creates·block·_\x8m_\x8e_\x8t_\x8a_\x8t_\x8a_\x8g_\x8s,·which·is·a·fancy | ||
6 | ·_\x8T_\x8u_\x8t_\x8o_\x8r_\x8i_\x8a_\x8l··················way·of·saying·it·creates·new·block·tags.·A·block | ||
7 | ·_\x8U_\x8s_\x8a_\x8g_\x8e·····················tag·is·a·tag·that·takes·a·whole·block·as·additional | ||
8 | ·HTP·Tags··················parameter.·This·block·is·surrounded·by·<tagname> | ||
9 | · ···_\x8A_\x8L_\x8T_\x8T_\x8E_\x8X_\x8T···············and·</tagname>.·The·contents·of·this·block·are | ||
10 | · ···_\x8B_\x8L_\x8O_\x8C_\x8K·················automatically·stored·in·the·block·macro·named | ||
11 | ·[>]·_\x8B_\x8L_\x8O_\x8C_\x8K_\x8D_\x8E_\x8F··············BLOCK. | ||
12 | · ···_\x8D_\x8E_\x8F···················For·example: | ||
13 | · | 4 | ·_.I_.n_.t_.r_.o_.d_.u_.c_.t_.i_.o_.n·············· <_.[_.[_.r_.e_.f_.]_.]_.d_.e_.f·name="imghr"> |
5 | ·_\x8L_\x8i_\x8c_\x8e_\x8n_\x8s_\x8e··················· · <table·border="0"·cellspacing="0" | ||
6 | ·_\x8T_\x8u_\x8t_\x8o_\x8r_\x8i_\x8a_\x8l··················cellpadding="0"> | ||
7 | ·_\x8U_\x8s_\x8a_\x8g_\x8e····················· · <tr> | ||
8 | ·HTP·Tags·················· · ·<td·width=10><_\x8[_\x8[_\x8r_\x8e_\x8f_\x8]_\x8]_\x8i_\x8m_\x8g·src="leftsep.png"></ | ||
9 | · ···_\x8A_\x8L_\x8T_\x8T_\x8E_\x8X_\x8T···············td> | ||
10 | · ···_\x8B_\x8L_\x8O_\x8C_\x8K················· · ·<td·width="95%" | ||
11 | ·[>]·_\x8B_\x8L_\x8O_\x8C_\x8K_\x8D_\x8E_\x8F··············background="midsep.png"> </td> | ||
12 | · ···_\x8D_\x8E_\x8F··················· · ·<td·width=10><_\x8[_\x8[_\x8r_\x8e_\x8f_\x8]_\x8]_\x8i_\x8m_\x8g·src="rightsep.png"></ | ||
13 | · ···_\x8F_\x8I_\x8L_\x8E··················td> | ||
14 | · ···_\x8I_\x8F···················· · | 14 | · ···_\x8I_\x8F···················· · </tr> |
15 | · ···_\x8I_\x8N_\x8C··················· · </table> | ||
15 | · ···_\x8I_\x8 | 16 | · ···_\x8I_\x8M_.G··················· <_\x8[_\x8[_\x8r_\x8e_\x8f_\x8]_\x8]_\x8/_\x8d_\x8e_\x8f> |
16 | · ···_\x8I_\x8M_\x8G | ||
17 | · ···_\x8I_\x8M_\x8A_\x8G_\x8E_\x8U_\x8R_\x8L·············· · ·<centered> | ||
18 | · ···_\x8O_\x8P_\x8T··················· · ·This·text·is·centered. | ||
19 | · ···_\x8O_\x8U_\x8T_\x8P_\x8U_\x8T················(CONDENSE|SEMICONDENSE|NOCONDENSE)> | ||
20 | · ···_\x8Q_\x8U_\x8O_\x8T_\x8E·················<_\x8[_\x8[_\x8r_\x8e_\x8f_\x8]_\x8]_\x8O_\x8P_\x8T·DELIM=(HTML|SQUARE|CURLY)> | ||
21 | · ···_\x8S_\x8E_\x8T···················<_\x8[_\x8[_\x8r_\x8e_\x8f_\x8]_\x8]_\x8O_\x8P_\x8T·(XML|XML=FALSE)> | ||
22 | · ···_\x8 | 17 | · ···_\x8I_.M_.A_.G_.E_.U_.R_.L |
18 | · ···_\x8O_\x8P_\x8T··················· paragraph | ||
19 | · ···_\x8O_\x8U_\x8T_\x8P_\x8U_\x8T················ <imghr> | ||
20 | · ···_\x8Q_\x8U_\x8O_\x8T_\x8E················· paragraph | ||
21 | · ···_\x8S_\x8E_\x8T···················*\x8**\x8**\x8**\x8**\x8*·s\x8sy\x8yn\x8no\x8op\x8ps\x8si\x8is\x8s·*\x8**\x8**\x8**\x8**\x8* | ||
22 | · ···_\x8U_\x8N_\x8D_\x8E_\x8F·················B\x8BL\x8LO\x8OC\x8CK\x8KD\x8DE\x8EF\x8F·creates·block·_\x8m_\x8e_\x8t_\x8a_\x8t_\x8a_\x8g_\x8s,·which·is·a·fancy | ||
23 | · ···_\x8U_\x8N_\x8S_\x8E_\x8T·················way·of·saying·it·creates·new·block·tags.·A·block | ||
24 | · ···_\x8U_\x8S_\x8E_\x8,_\x8·_\x8$················tag·is·a·tag·that·takes·a·whole·block·as·additional | ||
25 | · ···_\x8W_\x8H_\x8I_\x8L_\x8E·················parameter.·This·block·is·surrounded·by·<tagname> | ||
26 | · ···_\x8<_\x8!_\x8-_\x8-_\x8-·················and·</tagname>.·The·contents·of·this·block·are | ||
27 | ·_\x8H_\x8i_\x8s_\x8t_\x8o_\x8r_\x8y···················automatically·stored·in·the·block·macro·named | ||
28 | ·_\x8W_\x8i_\x8s_\x8h_\x8·_\x8l_\x8i_\x8s_\x8t·················BLOCK. | ||
29 | ·_\x8B_\x8u_\x8g_\x8s······················For·example: | ||
30 | ···························· ·<_\x8[_\x8[_\x8r_\x8e_\x8f_\x8]_\x8]_\x8W_\x8H_\x8I_\x8L_\x8E·NOT·i="10"> | ||
31 | ···························· · ·... | ||
32 | ···························· · ·<_\x8[_\x8[_\x8r_\x8e_\x8f_\x8]_\x8]_\x8I_\x8N_\x8C·i> | ||
33 | ···························· ·<_\x8[_\x8[_\x8r_\x8e_\x8f_\x8]_\x8]_\x8/_\x8W_\x8H_\x8I_\x8L_\x8E> | ||
34 | ···························· ·<_\x8[_\x8[_\x8r_\x8e_\x8f_\x8]_\x8]_\x8d_\x8e_\x8f·name="/bigfont"> | ||
35 | ···························· · ·</font> | ||
36 | ···························· ·<_\x8[_\x8[_\x8r_\x8e_\x8f_\x8]_\x8]_\x8/_\x8d_\x8e_\x8f> | ||
37 | ···························· ·<bigfont>Some·large·text</bigfont> | ||
23 | 38 | ····························All·block·metatags·have·the·implicit·option·_\x8E_\x8X_\x8P_\x8A_\x8N_\x8D, | |
24 | 39 | ····························which·tells·htp·to·expand·the·contents·of·the·block | |
25 | 40 | ····························before·the·definition·is·expanded. | |
26 | 41 | ····························A·more·thorough·discussion·and·more·elaborate | |
27 | 42 | ····························examples·are·discussed·in·the·_\x8m_\x8e_\x8t_\x8a_\x8t_\x8a_\x8g·section. | |
28 | ·_\x8W_\x8i_\x8s_\x8h_\x8·_\x8l_\x8i_\x8s_\x8t | ||
29 | ·_\x8B_\x8u_\x8g_\x8s | ||
Offset 114, 14 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="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> | ||
130 | <br> | ||
131 | paragraph<br> | ||
132 | <span·class="htp-tag"><imghr></span><br> | ||
133 | paragraph<br> | ||
121 | </code></p> | 134 | </code></p> |
122 | <h2>synopsis</h2> | 135 | <h2>synopsis</h2> |
123 | <p> | 136 | <p> |
124 | This·is·a·simple·comment·that·is·not·included·in·the·output.··This·is·useful | 137 | This·is·a·simple·comment·that·is·not·included·in·the·output.··This·is·useful |
125 | when·commenting·metatags,·since·the·metatags·do·not·appear·the·output·either. | 138 | when·commenting·metatags,·since·the·metatags·do·not·appear·the·output·either. |
126 | Example: | 139 | Example: |
127 | </p> | 140 | </p> |
Offset 129, 14 lines modified | Offset 142, 38 lines modified | ||
129 | </code></p> | 142 | </code></p> |
130 | <p> | 143 | <p> |
131 | Note·that·these·comments·should·not·include·<·or·>,·that·is·you | 144 | Note·that·these·comments·should·not·include·<·or·>,·that·is·you |
132 | should·not·use·it·to·comment·out·htp·code.··For·that·purpose·use·something | 145 | should·not·use·it·to·comment·out·htp·code.··For·that·purpose·use·something |
133 | like·this: | 146 | like·this: |
134 | </p> | 147 | </p> |
135 | ··<p><code> | 148 | ··<p><code> |
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·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> | ||
150 | · ·<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> | ||
151 | · · · ·<span·class="htp-tag"><FONT·<span·class="htp-attrib">SIZE</span>=<span·class="htp-value"><span·class="htp-macro">${size}</span></span>></span><br> | ||
152 | · ·<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> | ||
153 | · ·<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> | ||
154 | · ·<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> | ||
155 | · ·<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> | ||
156 | · · · ·<span·class="htp-tag"></FONT></span><br> | ||
157 | · ·<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> | ||
158 | ·<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> | ||
159 | <br> | ||
160 | ·<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> | ||
161 | <br> | ||
162 | ·<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> | ||
163 | <br> | ||
164 | ·This·will·fail:<br> | ||
165 | ·<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> | ||
166 | <br> | ||
167 | ·Instead,·use·*·like·this:<br> | ||
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">"MYIMG"</span>·<span·class="htp-attrib">OPTION</span>=<span·class="htp-string">"SRC·*"</span>></span><br> | ||
169 | · ·<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> | ||
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"><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> | ||
136 | </code></p> | 173 | </code></p> |
137 | <p>Make·sure·that·the·variable·is·never·defined·and·xyz·should·be·the | 174 | <p>Make·sure·that·the·variable·is·never·defined·and·xyz·should·be·the |
138 | reason·why·you·don't·want·to·include·this·block</p> | 175 | reason·why·you·don't·want·to·include·this·block</p> |
139 | <p> | 176 | <p> |
140 | </td> | 177 | </td> |
141 | </tr> | 178 | </tr> |
142 | <tr> | 179 | <tr> |
Offset 1, 36 lines modified | Offset 1, 81 lines modified | ||
1 | [HTP] | 1 | [HTP] |
2 | *\x8**\x8**\x8**\x8**\x8**\x8*·h\x8ht\x8tp\x8p·o\x8on\x8n-\x8-l\x8li\x8in\x8ne\x8e·r\x8re\x8ef\x8fe\x8er\x8re\x8en\x8nc\x8ce\x8e·:\x8:·<\x8<!\x8!-\x8--\x8--\x8-·*\x8**\x8**\x8**\x8**\x8**\x8* | 2 | *\x8**\x8**\x8**\x8**\x8**\x8*·h\x8ht\x8tp\x8p·o\x8on\x8n-\x8-l\x8li\x8in\x8ne\x8e·r\x8re\x8ef\x8fe\x8er\x8re\x8en\x8nc\x8ce\x8e·:\x8:·<\x8<!\x8!-\x8--\x8--\x8-·*\x8**\x8**\x8**\x8**\x8**\x8* |
3 | _\x8T_\x8a_\x8b_\x8l_\x8e_\x8·_\x8o_\x8f_\x8·_\x8C_\x8o_\x8n_\x8t_\x8e_\x8n_\x8t_\x8s···········*\x8**\x8**\x8**\x8**\x8*·s\x8sy\x8yn\x8nt\x8ta\x8ax\x8x·*\x8**\x8**\x8**\x8**\x8* | 3 | _\x8T_\x8a_\x8b_\x8l_\x8e_\x8·_\x8o_\x8f_\x8·_\x8C_\x8o_\x8n_\x8t_\x8e_\x8n_\x8t_\x8s···········*\x8**\x8**\x8**\x8**\x8*·s\x8sy\x8yn\x8nt\x8ta\x8ax\x8x·*\x8**\x8**\x8**\x8**\x8* |
4 | ·_\x8I_\x8n_\x8t_\x8r_\x8o_\x8d_\x8u_\x8c_\x8t_\x8i_\x8o_\x8n··············*\x8**\x8**\x8**\x8**\x8*·s\x8sy\x8yn\x8no\x8op\x8ps\x8si\x8is\x8s·*\x8**\x8**\x8**\x8**\x8* | ||
5 | ·_\x8L_\x8i_\x8c_\x8e_\x8n_\x8s_\x8e···················This·is·a·simple·comment·that·is·not·included·in | ||
6 | ·_\x8T_\x8u_\x8t_\x8o_\x8r_\x8i_\x8a_\x8l··················the·output.·This·is·useful·when·commenting | ||
7 | ·_\x8U_\x8s_\x8a_\x8g_\x8e·····················metatags,·since·the·metatags·do·not·appear·the | ||
8 | ·HTP·Tags··················output·either.·Example: | ||
9 | · ···_\x8A_\x8L_\x8T_\x8T_\x8E_\x8X_\x8T···············Note·that·these·comments·should·not·include·<·or·>, | ||
10 | · ···_\x8B_\x8L_\x8O_\x8C_\x8K·················that·is·you·should·not·use·it·to·comment·out·htp | ||
11 | · ···_\x8B_\x8L_\x8O_\x8C_\x8K_\x8D_\x8E_\x8F··············code.·For·that·purpose·use·something·like·this: | ||
12 | · ···_\x8D_\x8E_\x8F···················Make·sure·that·the·variable·is·never·defined·and | ||
13 | · | 4 | ·_.I_.n_.t_.r_.o_.d_.u_.c_.t_.i_.o_.n·············· <_.[_.[_.r_.e_.f_.]_.]_.d_.e_.f·name="imghr"> |
5 | ·_\x8L_\x8i_\x8c_\x8e_\x8n_\x8s_\x8e··················· · <table·border="0"·cellspacing="0" | ||
6 | ·_\x8T_\x8u_\x8t_\x8o_\x8r_\x8i_\x8a_\x8l··················cellpadding="0"> | ||
7 | ·_\x8U_\x8s_\x8a_\x8g_\x8e····················· · <tr> | ||
8 | ·HTP·Tags·················· · ·<td·width=10><_\x8[_\x8[_\x8r_\x8e_\x8f_\x8]_\x8]_\x8i_\x8m_\x8g·src="leftsep.png"></ | ||
9 | · ···_\x8A_\x8L_\x8T_\x8T_\x8E_\x8X_\x8T···············td> | ||
10 | · ···_\x8B_\x8L_\x8O_\x8C_\x8K················· · ·<td·width="95%" | ||
11 | · ···_\x8B_\x8L_\x8O_\x8C_\x8K_\x8D_\x8E_\x8F··············background="midsep.png"> </td> | ||
12 | · ···_\x8D_\x8E_\x8F··················· · ·<td·width=10><_\x8[_\x8[_\x8r_\x8e_\x8f_\x8]_\x8]_\x8i_\x8m_\x8g·src="rightsep.png"></ | ||
13 | · ···_\x8F_\x8I_\x8L_\x8E··················td> | ||
14 | · ···_\x8I_\x8F···················· | 14 | · ···_\x8I_\x8F···················· · </tr> |
15 | · ···_\x8I_\x8N_\x8C | ||
16 | · ···_\x8I_\x8 | 15 | · ···_\x8I_\x8N_.C··················· · </table> |
16 | · ···_\x8I_\x8M_\x8G··················· <_\x8[_\x8[_\x8r_\x8e_\x8f_\x8]_\x8]_\x8/_\x8d_\x8e_\x8f> | ||
17 | · ···_\x8I_\x8M_\x8A_\x8G_\x8E_\x8U_\x8R_\x8L | 17 | · ···_\x8I_\x8M_\x8A_\x8G_\x8E_\x8U_\x8R_\x8L |
18 | · ···_\x8O_\x8P_\x8T | ||
19 | · ···_\x8O_\x8U_\x8T_\x8P_\x8U_\x8T | ||
20 | · ···_\x8Q_\x8U_\x8O_\x8T_\x8E | ||
21 | · ···_\x8S_\x8E_\x8T | ||
22 | · ···_\x8U_\x8N_\x8D_\x8E_\x8F | ||
23 | · ···_\x8U_\x8N_\x8S_\x8E_\x8T | ||
24 | · ···_\x8U_\x8S_\x8E_\x8,_\x8·_\x8$ | ||
25 | · ···_\x8W_\x8H_\x8I_\x8L_\x8E | ||
26 | ·[>]·_\x8<_\x8!_\x8-_\x8-_\x8- | ||
27 | ·_\x8H_\x8i_\x8s_\x8t_\x8o_\x8r_\x8y | ||
28 | ·_\x8W_\x8i_\x8s_\x8h_\x8·_\x8l_\x8i_\x8s_\x8t | ||
29 | ·_. | 18 | · ···_.O_.P_.T··················· paragraph |
19 | · ···_\x8O_\x8U_\x8T_\x8P_\x8U_\x8T················ <imghr> | ||
20 | · ···_\x8Q_\x8U_\x8O_\x8T_\x8E················· paragraph | ||
21 | · ···_\x8S_\x8E_\x8T···················*\x8**\x8**\x8**\x8**\x8*·s\x8sy\x8yn\x8no\x8op\x8ps\x8si\x8is\x8s·*\x8**\x8**\x8**\x8**\x8* | ||
22 | · ···_\x8U_\x8N_\x8D_\x8E_\x8F·················This·is·a·simple·comment·that·is·not·included·in | ||
23 | · ···_\x8U_\x8N_\x8S_\x8E_\x8T·················the·output.·This·is·useful·when·commenting | ||
24 | · ···_\x8U_\x8S_\x8E_\x8,_\x8·_\x8$················metatags,·since·the·metatags·do·not·appear·the | ||
25 | · ···_\x8W_\x8H_\x8I_\x8L_\x8E·················output·either.·Example: | ||
26 | ·[>]·_\x8<_\x8!_\x8-_\x8-_\x8-·················Note·that·these·comments·should·not·include·<·or·>, | ||
27 | ·_\x8H_\x8i_\x8s_\x8t_\x8o_\x8r_\x8y···················that·is·you·should·not·use·it·to·comment·out·htp | ||
28 | ·_\x8W_\x8i_\x8s_\x8h_\x8·_\x8l_\x8i_\x8s_\x8t·················code.·For·that·purpose·use·something·like·this: | ||
29 | ·_\x8B_\x8u_\x8g_\x8s······················ ·<_\x8[_\x8[_\x8r_\x8e_\x8f_\x8]_\x8]_\x8D_\x8E_\x8F·NAME="HEADERIMG"·OPTION="SRC·TITLE | ||
30 | ····························SIZE"> | ||
31 | ···························· · ·<_\x8[_\x8[_\x8r_\x8e_\x8f_\x8]_\x8]_\x8I_\x8F·size> | ||
32 | ···························· · · · ·<FONT·SIZE=${size}> | ||
33 | ···························· · ·<_\x8[_\x8[_\x8r_\x8e_\x8f_\x8]_\x8]_\x8/_\x8I_\x8F> | ||
34 | ···························· · ·<_\x8[_\x8[_\x8r_\x8e_\x8f_\x8]_\x8]_\x8I_\x8M_\x8G·SRC=pics/${src}> | ||
35 | ···························· · ·<_\x8[_\x8[_\x8r_\x8e_\x8f_\x8]_\x8]_\x8U_\x8S_\x8E·title> | ||
36 | ···························· · ·<_\x8[_\x8[_\x8r_\x8e_\x8f_\x8]_\x8]_\x8I_\x8F·size> | ||
37 | ···························· · · · ·</FONT> | ||
38 | ···························· · ·<_\x8[_\x8[_\x8r_\x8e_\x8f_\x8]_\x8]_\x8/_\x8I_\x8F> | ||
39 | ···························· ·<_\x8[_\x8[_\x8r_\x8e_\x8f_\x8]_\x8]_\x8/_\x8D_\x8E_\x8F> | ||
40 | ···························· ·<HEADERIMG·SRC="logo.gif"·SIZE="+2"·TITLE="A | ||
41 | ····························title"> | ||
42 | ···························· ·<HEADERIMG·SRC="logo.gif"·TITLE="Normal·sized | ||
43 | ····························title"> | ||
44 | ···························· ·This·will·fail: | ||
45 | ···························· ·<HEADERIMG·SRC="logo.gif"·ALT="Our·logo" | ||
46 | ····························TITLE="Another·title"> | ||
47 | ···························· ·Instead,·use·*·like·this: | ||
48 | ···························· ·<_\x8[_\x8[_\x8r_\x8e_\x8f_\x8]_\x8]_\x8D_\x8E_\x8F·NAME="MYIMG"·OPTION="SRC·*"> | ||
49 | ···························· · ·<_\x8[_\x8[_\x8r_\x8e_\x8f_\x8]_\x8]_\x8I_\x8M_\x8G·SRC="pics/${src}"·$*> | ||
50 | ···························· ·<_\x8[_\x8[_\x8r_\x8e_\x8f_\x8]_\x8]_\x8/_\x8D_\x8E_\x8F> | ||
51 | ···························· · | ||
52 | ···························· ·<MYIMG·SRC="logo.gif"·ALT="Our·logo"> | ||
53 | ····························Make·sure·that·the·variable·is·never·defined·and | ||
54 | ····························xyz·should·be·the·reason·why·you·don't·want·to | ||
55 | ····························include·this·block | ||
30 | ·_\x8p_\x8a_\x8g_\x8e_\x8·_\x8s_\x8o_\x8u_\x8r_\x8c_\x8e | 56 | ·_\x8p_\x8a_\x8g_\x8e_\x8·_\x8s_\x8o_\x8u_\x8r_\x8c_\x8e |
31 | ·_\x8h_\x8t_\x8p_\x8·_\x8p_\x8r_\x8o_\x8j_\x8e_\x8c_\x8t | 57 | ·_\x8h_\x8t_\x8p_\x8·_\x8p_\x8r_\x8o_\x8j_\x8e_\x8c_\x8t |
Offset 124, 23 lines modified | Offset 124, 18 lines modified | ||
124 | <strong>DEF</strong>·creates·<a·href="metatag.html">metatags</a>,·which·is·a | 124 | <strong>DEF</strong>·creates·<a·href="metatag.html">metatags</a>,·which·is·a |
125 | fancy·way·of·saying·it·creates·new·tags.··The·mechanism·is·very·similar·to | 125 | fancy·way·of·saying·it·creates·new·tags.··The·mechanism·is·very·similar·to |
126 | <a·href="block.html">BLOCK</a>·macros,·except·that·the·<a·href="use.html">USE</a> | 126 | <a·href="block.html">BLOCK</a>·macros,·except·that·the·<a·href="use.html">USE</a> |
127 | tag·is·not·used·to·expand·them.··Instead,·they·are·expanded·by·their·own·name. | 127 | tag·is·not·used·to·expand·them.··Instead,·they·are·expanded·by·their·own·name. |
128 | For·example: | 128 | For·example: |
129 | </p> | 129 | </p> |
130 | ··<p><code> | 130 | ··<p><code> |
131 | · ·<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·class="htp-string">"1"</span>·<span·class="htp-attrib">j</span>=<span·class="htp-string">"-1"</span>></span><br> | ||
132 | ers·...]·[noexpand]><br> | ||
133 | <span·class="htp-tag"><...·<span·class="htp-attrib"><span·class="htp-macro">$macroname</span></span>·<span·class="htp-attrib">...</span>></span><br> | ||
134 | <span·class="htp-tag"><...·<span·class="htp-attrib"><span·class="htp-macro">${macroname}</span></span>·<span·class="htp-attrib">...</span>></span><br> | ||
131 | · ·<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> | ||
132 | · ·<span·class="htp-tag"><p·<span·class="htp-attrib">align</span>=<span·class="htp-value">center</span>></span><br> | ||
133 | · ·<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> | ||
135 | · ·<span·class="htp-tag"><centered></span><br> | ||
136 | · ·This·text·is·centered.<br> | ||
137 | (CONDENSE|SEMICONDENSE|NOCONDENSE)><br> | ||
138 | <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> | ||
139 | <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> | ||
140 | <br> | 135 | <br> |
141 | </code></p> | 136 | </code></p> |
142 | <P> | 137 | <P> |
143 | Some·metatags·will·require·an·opening·and·closing·tag·(comparable·to | 138 | Some·metatags·will·require·an·opening·and·closing·tag·(comparable·to |
144 | <TITLE>·and·</TITLE>).··In·this·case,·you·should·use·the·<A | 139 | <TITLE>·and·</TITLE>).··In·this·case,·you·should·use·the·<A |
145 | HREF="blockdef.html">BLOCKDEF</A>·macro.··Another·slightly·faster | 140 | HREF="blockdef.html">BLOCKDEF</A>·macro.··Another·slightly·faster |
146 | alternative·is·to·use·two·metatags,·the·opening·tag·and·the·closing | 141 | alternative·is·to·use·two·metatags,·the·opening·tag·and·the·closing |
Offset 153, 15 lines modified | Offset 148, 16 lines modified | ||
153 | <P> | 148 | <P> |
154 | Options·can·be·passed·to·a·metatag,·which·can·then·expand·as·if·it·were | 149 | Options·can·be·passed·to·a·metatag,·which·can·then·expand·as·if·it·were |
155 | a·<A·HREF="set.html">SET</A>·macro.··Option·names·are·parameterized·with | 150 | a·<A·HREF="set.html">SET</A>·macro.··Option·names·are·parameterized·with |
156 | the·OPTION·attribute.··Multiple·options·can·be·listed·by·separating·their | 151 | the·OPTION·attribute.··Multiple·options·can·be·listed·by·separating·their |
157 | name·with·a·space·(which·therefore·requires·they·be·surrounded·by·quotes.) | 152 | name·with·a·space·(which·therefore·requires·they·be·surrounded·by·quotes.) |
158 | </P> | 153 | </P> |
159 | ··<p><code> | 154 | ··<p><code> |
160 | 155 | <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> | |
156 | <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> | ||
161 | </code></p> | 157 | </code></p> |
162 | <P> | 158 | <P> |
163 | htp·will·do·very·specific·checking·of·parameters·when·a·metatag·is | 159 | htp·will·do·very·specific·checking·of·parameters·when·a·metatag·is |
164 | invoked.··htp·assumes·that·all·parameter·options·to·the·metatag·are | 160 | invoked.··htp·assumes·that·all·parameter·options·to·the·metatag·are |
165 | optional.··This·is·why·the·HEADERIMG·definition·uses·IF·to·verify·the | 161 | optional.··This·is·why·the·HEADERIMG·definition·uses·IF·to·verify·the |
166 | SIZE·option·is·defined·before·expanding·it·in·the·block.··If·a | 162 | SIZE·option·is·defined·before·expanding·it·in·the·block.··If·a |
167 | parameter·is·required,·simply·expand·it·without·first·checking.··When | 163 | parameter·is·required,·simply·expand·it·without·first·checking.··When |
Offset 3, 40 lines modified | Offset 3, 37 lines modified | ||
3 | _\x8T_\x8a_\x8b_\x8l_\x8e_\x8·_\x8o_\x8f_\x8·_\x8C_\x8o_\x8n_\x8t_\x8e_\x8n_\x8t_\x8s···········*\x8**\x8**\x8**\x8**\x8*·s\x8sy\x8yn\x8nt\x8ta\x8ax\x8x·*\x8**\x8**\x8**\x8**\x8* | 3 | _\x8T_\x8a_\x8b_\x8l_\x8e_\x8·_\x8o_\x8f_\x8·_\x8C_\x8o_\x8n_\x8t_\x8e_\x8n_\x8t_\x8s···········*\x8**\x8**\x8**\x8**\x8*·s\x8sy\x8yn\x8nt\x8ta\x8ax\x8x·*\x8**\x8**\x8**\x8**\x8* |
4 | ·_\x8I_\x8n_\x8t_\x8r_\x8o_\x8d_\x8u_\x8c_\x8t_\x8i_\x8o_\x8n··············*\x8**\x8**\x8**\x8**\x8*·s\x8sy\x8yn\x8no\x8op\x8ps\x8si\x8is\x8s·*\x8**\x8**\x8**\x8**\x8* | 4 | ·_\x8I_\x8n_\x8t_\x8r_\x8o_\x8d_\x8u_\x8c_\x8t_\x8i_\x8o_\x8n··············*\x8**\x8**\x8**\x8**\x8*·s\x8sy\x8yn\x8no\x8op\x8ps\x8si\x8is\x8s·*\x8**\x8**\x8**\x8**\x8* |
5 | ·_\x8L_\x8i_\x8c_\x8e_\x8n_\x8s_\x8e···················D\x8DE\x8EF\x8F·creates·_\x8m_\x8e_\x8t_\x8a_\x8t_\x8a_\x8g_\x8s,·which·is·a·fancy·way·of | 5 | ·_\x8L_\x8i_\x8c_\x8e_\x8n_\x8s_\x8e···················D\x8DE\x8EF\x8F·creates·_\x8m_\x8e_\x8t_\x8a_\x8t_\x8a_\x8g_\x8s,·which·is·a·fancy·way·of |
6 | ·_\x8T_\x8u_\x8t_\x8o_\x8r_\x8i_\x8a_\x8l··················saying·it·creates·new·tags.·The·mechanism·is·very | 6 | ·_\x8T_\x8u_\x8t_\x8o_\x8r_\x8i_\x8a_\x8l··················saying·it·creates·new·tags.·The·mechanism·is·very |
7 | ·_\x8U_\x8s_\x8a_\x8g_\x8e·····················similar·to·_\x8B_\x8L_\x8O_\x8C_\x8K·macros,·except·that·the·_\x8U_\x8S_\x8E·tag·is | 7 | ·_\x8U_\x8s_\x8a_\x8g_\x8e·····················similar·to·_\x8B_\x8L_\x8O_\x8C_\x8K·macros,·except·that·the·_\x8U_\x8S_\x8E·tag·is |
8 | ·HTP·Tags··················not·used·to·expand·them.·Instead,·they·are·expanded | 8 | ·HTP·Tags··················not·used·to·expand·them.·Instead,·they·are·expanded |
9 | · ···_\x8A_\x8L_\x8T_\x8T_\x8E_\x8X_\x8T···············by·their·own·name.·For·example: | 9 | · ···_\x8A_\x8L_\x8T_\x8T_\x8E_\x8X_\x8T···············by·their·own·name.·For·example: |
10 | · ···_\x8B_\x8L_\x8O_\x8C_\x8K················· · ·<_\x8[_\x8[_\x8r_\x8e_\x8f_\x8]_\x8]_\x8 | 10 | · ···_\x8B_\x8L_\x8O_\x8C_\x8K················· · ·<_\x8[_\x8[_\x8r_\x8e_\x8f_\x8]_\x8]_\x8I_.N_.C·i="1"·j="-1"> |
11 | · ···_\x8B_\x8L_\x8O_\x8C_\x8K_\x8D_\x8E_\x8F··············ers·...]·[noexpand]> | ||
12 | ·[>]·_\x8D_\x8E_\x8F···················<...·$macroname·...> | ||
13 | · ···_\x8F_\x8I_\x8L_\x8E··················<...·${macroname}·...> | ||
14 | · ···_\x8I_\x8F | ||
11 | · ···_\x8B_\x8L_\x8O_\x8C_\x8K_\x8D_\x8E_\x8F·············· · ·<p·align=center> | ||
12 | ·[>]·_\x8D_\x8E_\x8F··················· · ·<_\x8[_\x8[_\x8r_\x8e_\x8f_\x8]_\x8]_\x8/_\x8d_\x8e_\x8f> | ||
13 | · ···_\x8F_\x8I_\x8L_\x8E | ||
14 | · ···_\x8I_\x8F···················· · ·<centered> | ||
15 | · ···_\x8I_\x8N_\x8C··················· · ·This·text·is·centered. | ||
16 | · ···_\x8I_\x8M_\x8G···················(CONDENSE|SEMICONDENSE|NOCONDENSE)> | ||
17 | · ···_\x8I_\x8M_\x8A_\x8G_\x8E_\x8U_\x8R_\x8L··············<_\x8[_\x8[_\x8r_\x8e_\x8f_\x8]_\x8]_\x8O_\x8P_\x8T·DELIM=(HTML|SQUARE|CURLY)> | ||
18 | · ···_\x8O_\x8P_\x8T···················<_\x8[_\x8[_\x8r_\x8e_\x8f_\x8]_\x8]_\x8O_\x8P_\x8T·(XML|XML=FALSE)> | ||
19 | · ···_\x8O_\x8U_\x8T_\x8P_\x8U_\x8T | ||
20 | · ···_\x8 | 15 | · ···_\x8I_.N_.C···················Some·metatags·will·require·an·opening·and·closing |
21 | · ···_\x8 | 16 | · ···_\x8I_.M_.G···················tag·(comparable·to |
22 | · ···_\x8 | 17 | · ···_\x8I_.M_.A_.G_.E_.U_.R_.L··············and |
23 | · ···_\x8 | 18 | · ···_\x8O_.P_.T···················).·In·this·case,·you·should·use·the·_\x8B_\x8L_\x8O_\x8C_\x8K_\x8D_\x8E_\x8F·macro. |
24 | · ···_\x8 | 19 | · ···_\x8O_.U_.T_.P_.U_.T················Another·slightly·faster·alternative·is·to·use·two |
25 | · ···_\x8 | 20 | · ···_\x8Q_.U_.O_.T_\x8E·················metatags,·the·opening·tag·and·the·closing·tag·with |
26 | · ···_\x8 | 21 | · ···_\x8S_.E_.T···················a·preceding·slash.·For·example: |
27 | · | 22 | · ···_.U_.N_.D_.E_.F·················You·should·really·use·_\x8B_\x8L_\x8O_\x8C_\x8K_\x8D_\x8E_\x8F,·though,·as·it·will |
28 | · | 23 | · ···_.U_.N_.S_.E_.T·················check·for·matching·end·tag.·It·is·not·that·slower. |
29 | ·_. | 24 | · ···_.U_.S_.E_.,_.·_.$················Options·can·be·passed·to·a·metatag,·which·can·then |
30 | ···· | 25 | · ···_.W_.H_.I_.L_.E·················expand·as·if·it·were·a·_\x8S_\x8E_\x8T·macro.·Option·names·are |
31 | ···· | 26 | · ···_.<_.!_.-_.-_.-·················parameterized·with·the·OPTION·attribute.·Multiple |
32 | · | 27 | ·_.H_.i_.s_.t_.o_.r_.y···················options·can·be·listed·by·separating·their·name·with |
33 | ·· | 28 | ·_.W_.i_.s_.h_.·_.l_.i_.s_.t·················a·space·(which·therefore·requires·they·be |
34 | · | 29 | ·_.B_.u_.g_.s······················surrounded·by·quotes.) |
35 | ···························· | 30 | ····························<a·href="mailto:$email">mailto·hyperlink</a> |
31 | ····························<a·href="http://$domain/~${username}/">another | ||
32 | ····························hyperlink</a> | ||
36 | ····························htp·will·do·very·specific·checking·of·parameters | 33 | ····························htp·will·do·very·specific·checking·of·parameters |
37 | ····························when·a·metatag·is·invoked.·htp·assumes·that·all | 34 | ····························when·a·metatag·is·invoked.·htp·assumes·that·all |
38 | ····························parameter·options·to·the·metatag·are·optional.·This | 35 | ····························parameter·options·to·the·metatag·are·optional.·This |
39 | ····························is·why·the·HEADERIMG·definition·uses·IF·to·verify | 36 | ····························is·why·the·HEADERIMG·definition·uses·IF·to·verify |
40 | ····························the·SIZE·option·is·defined·before·expanding·it·in | 37 | ····························the·SIZE·option·is·defined·before·expanding·it·in |
41 | ····························the·block.·If·a·parameter·is·required,·simply | 38 | ····························the·block.·If·a·parameter·is·required,·simply |
42 | ····························expand·it·without·first·checking.·When·htp·expands | 39 | ····························expand·it·without·first·checking.·When·htp·expands |
Offset 98, 17 lines modified | Offset 98, 31 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="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> | ||
106 | <font·size="-2"> 2.·</font> · <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> | ||
107 | <font·size="-2"> 3.·</font> · <span·class="htp-tag"><tr></span><br> | ||
108 | <font·size="-2"> 4.·</font> · ·<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> | ||
109 | <font·size="-2"> 5.·</font> · ·<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> | ||
110 | <font·size="-2"> 6.·</font> · ·<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> | ||
111 | <font·size="-2"> 7.·</font> · <span·class="htp-tag"></tr></span><br> | ||
112 | <font·size="-2"> 8.·</font> · <span·class="htp-tag"></table></span><br> | ||
113 | <font·size="-2"> 9.·</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> | ||
114 | <font·size="-2">10.·</font><br> | ||
115 | <font·size="-2">11.·</font> paragraph<br> | ||
116 | <font·size="-2">12.·</font> <span·class="htp-tag"><imghr></span><br> | ||
117 | <font·size="-2">13.·</font> paragraph<br> | ||
105 | </code></p> | 118 | </code></p> |
106 | This·produces·the·following: | 119 | This·produces·the·following: |
107 | ··<p><code> | 120 | ··<p><code> |
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">email_addr</span>></span><br> | ||
108 | </code></p> | 122 | </code></p> |
109 | <P> | 123 | <P> |
110 | When·block·a·and·block·b·are·defined·in·lines·2-7·the·contents·of·a | 124 | When·block·a·and·block·b·are·defined·in·lines·2-7·the·contents·of·a |
111 | are·taken·literally,·however,·the·contents·for·b·are·already·expanded | 125 | are·taken·literally,·however,·the·contents·for·b·are·already·expanded |
112 | so·the·macro·<code>time</code>·is·evaluated.··So·a·is·expanded·when·it | 126 | so·the·macro·<code>time</code>·is·evaluated.··So·a·is·expanded·when·it |
113 | is·used,·while·the·contents·of·b·are·already·expanded. | 127 | is·used,·while·the·contents·of·b·are·already·expanded. |
114 | </P> | 128 | </P> |
Offset 24, 15 lines modified | Offset 24, 33 lines modified | ||
24 | ····························However,·if·the·block·tag·is·marked·with·the·expand | 24 | ····························However,·if·the·block·tag·is·marked·with·the·expand |
25 | ····························modifier·it·is·expanded·immediately.·This·is·useful | 25 | ····························modifier·it·is·expanded·immediately.·This·is·useful |
26 | ····························if·you·want·to·store·something·in·a·block·macro, | 26 | ····························if·you·want·to·store·something·in·a·block·macro, |
27 | ····························that·depends·on·the·current·value·of·another·macro. | 27 | ····························that·depends·on·the·current·value·of·another·macro. |
28 | ····························This·other·macro·may·no·longer·have·the·correct | 28 | ····························This·other·macro·may·no·longer·have·the·correct |
29 | ····························value·when·the·macro·is·expanded.·Here·is·some·code | 29 | ····························value·when·the·macro·is·expanded.·Here·is·some·code |
30 | ····························that·demonstrate·when·the·htp·tags·are·expanded: | 30 | ····························that·demonstrate·when·the·htp·tags·are·expanded: |
31 | ···························· 1.· <_\x8[_\x8[_\x8r_\x8e_\x8f_\x8]_\x8]_\x8d_\x8e_\x8f·name="imghr"> | ||
32 | ···························· 2.· · <table·border="0"·cellspacing="0" | ||
33 | ····························cellpadding="0"> | ||
34 | ···························· 3.· · <tr> | ||
35 | ···························· 4.· · ·<td·width=10><_\x8[_\x8[_\x8r_\x8e_\x8f_\x8]_\x8]_\x8i_\x8m_\x8g | ||
36 | ····························src="leftsep.png"></td> | ||
37 | ···························· 5.· · ·<td·width="95%" | ||
38 | ····························background="midsep.png"> </td> | ||
39 | ···························· 6.· · ·<td·width=10><_\x8[_\x8[_\x8r_\x8e_\x8f_\x8]_\x8]_\x8i_\x8m_\x8g | ||
40 | ····························src="rightsep.png"></td> | ||
41 | ···························· 7.· · </tr> | ||
42 | ···························· 8.· · </table> | ||
43 | ···························· 9.· <_\x8[_\x8[_\x8r_\x8e_\x8f_\x8]_\x8]_\x8/_\x8d_\x8e_\x8f> | ||
44 | ····························10. | ||
45 | ····························11.· paragraph | ||
46 | ····························12.· <imghr> | ||
47 | ····························13.· paragraph | ||
31 | ····························This·produces·the·following: | 48 | ····························This·produces·the·following: |
49 | ···························· · ·<_\x8[_\x8[_\x8r_\x8e_\x8f_\x8]_\x8]_\x8u_\x8n_\x8s_\x8e_\x8t·email_addr> | ||
32 | ····························When·block·a·and·block·b·are·defined·in·lines·2- | 50 | ····························When·block·a·and·block·b·are·defined·in·lines·2- |
33 | ····························7·the·contents·of·a·are·taken·literally,·however, | 51 | ····························7·the·contents·of·a·are·taken·literally,·however, |
34 | ····························the·contents·for·b·are·already·expanded·so·the | 52 | ····························the·contents·for·b·are·already·expanded·so·the |
35 | ····························macro·time·is·evaluated.·So·a·is·expanded·when·it | 53 | ····························macro·time·is·evaluated.·So·a·is·expanded·when·it |
36 | ····························is·used,·while·the·contents·of·b·are·already | 54 | ····························is·used,·while·the·contents·of·b·are·already |
37 | ····························expanded. | 55 | ····························expanded. |
38 | ····························In·line·10·and·12·the·_\x8[_\x8[_\x8r_\x8e_\x8f_\x8]_\x8]_\x8u_\x8s_\x8e·tag·is·used·with | 56 | ····························In·line·10·and·12·the·_\x8[_\x8[_\x8r_\x8e_\x8f_\x8]_\x8]_\x8u_\x8s_\x8e·tag·is·used·with |
Offset 124, 29 lines modified | Offset 124, 57 lines modified | ||
124 | The·output·file's·name,·the·current·date·and·time,·and·the·contents·of | 124 | The·output·file's·name,·the·current·date·and·time,·and·the·contents·of |
125 | another·file·may·be·included.··Another·file's·time,·date,·or·size·may·be | 125 | another·file·may·be·included.··Another·file's·time,·date,·or·size·may·be |
126 | added·to·the·output·file·as·well. | 126 | added·to·the·output·file·as·well. |
127 | <P> | 127 | <P> |
128 | As·with·all·HTML,·these·tags·do·not·have·to·be·on·their·own·line,·so·the | 128 | As·with·all·HTML,·these·tags·do·not·have·to·be·on·their·own·line,·so·the |
129 | following·is·perfectly·acceptable: | 129 | following·is·perfectly·acceptable: |
130 | ··<p><code> | 130 | ··<p><code> |
131 | <span·class="htp-tag"><<a·href=" | 131 | ·<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> |
132 | · ·...<br> | ||
133 | · ·<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> | ||
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><br> | ||
132 | <br> | 135 | <br> |
133 | expand]><br> | ||
134 | <span·class="htp-tag"><...·<span·class="htp-attrib"><span·class="htp-macro">$macroname</span></span>·<span·class="htp-attrib">...</span>></span><br> | ||
135 | <span·class="htp-tag"><...·<span·class="htp-attrib"><span·class="htp-macro">${macroname}</span></span>·<span·class="htp-attrib">...</span>></span><br> | ||
136 | <br> | 136 | <br> |
137 | ·<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> | ||
138 | · ·<span·class="htp-tag"></font></span><br> | ||
139 | ·<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> | ||
140 | <br> | ||
141 | ·<span·class="htp-tag"><bigfont></span>Some·large·text<span·class="htp-tag"></bigfont></span><br> | ||
137 | </code></p> | 142 | </code></p> |
138 | <P> | 143 | <P> |
139 | <h3><a·name="name">NAME</a>,·TIME,·SIZE</h3> | 144 | <h3><a·name="name">NAME</a>,·TIME,·SIZE</h3> |
140 | <P> | 145 | <P> |
141 | To·include·information·about·another·file,·such·as·an·archive·file·or | 146 | To·include·information·about·another·file,·such·as·an·archive·file·or |
142 | graphic·image,·specify·its·name·with·the·NAME·attribute·followed·by·the | 147 | graphic·image,·specify·its·name·with·the·NAME·attribute·followed·by·the |
143 | type·of·information·to·be·displayed: | 148 | type·of·information·to·be·displayed: |
144 | ··<p><code> | 149 | ··<p><code> |
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·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> | ||
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">size</span>></span><br> | ||
152 | · · · ·<span·class="htp-tag"><FONT·<span·class="htp-attrib">SIZE</span>=<span·class="htp-value"><span·class="htp-macro">${size}</span></span>></span><br> | ||
153 | · ·<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> | ||
154 | · ·<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> | ||
145 | · ·<span·class="htp-tag"><<a·href="u | 155 | · ·<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> |
156 | · ·<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> | ||
157 | · · · ·<span·class="htp-tag"></FONT></span><br> | ||
158 | · ·<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> | ||
159 | ·<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> | ||
160 | <br> | ||
161 | ·<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> | ||
162 | <br> | ||
163 | ·<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> | ||
164 | <br> | ||
165 | ·This·will·fail:<br> | ||
166 | ·<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> | ||
167 | <br> | ||
168 | ·Instead,·use·*·like·this:<br> | ||
169 | ·<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> | ||
170 | · ·<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> | ||
171 | ·<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> | ||
172 | · ·<br> | ||
173 | ·<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> | ||
146 | </code></p> | 174 | </code></p> |
147 | <P> | 175 | <P> |
148 | For·file·size·information,·the·value·BYTE,·KBYTE,·etc.·dictates·how·the | 176 | For·file·size·information,·the·value·BYTE,·KBYTE,·etc.·dictates·how·the |
149 | information·is·displayed.··In·anything·other·than·byte·format,·the·information | 177 | information·is·displayed.··In·anything·other·than·byte·format,·the·information |
150 | is·displayed·in·floating-point·notation.··The·amount·of·precision·(the·number | 178 | is·displayed·in·floating-point·notation.··The·amount·of·precision·(the·number |
151 | of·digits·to·the·right·of·the·decimal·point)·can·be·set·with·the·optional | 179 | of·digits·to·the·right·of·the·decimal·point)·can·be·set·with·the·optional |
152 | PRECISION·attribute.··The·default·precision·is·zero·(0),·which·means·no | 180 | PRECISION·attribute.··The·default·precision·is·zero·(0),·which·means·no |
Offset 175, 14 lines modified | Offset 203, 21 lines modified | ||
175 | <P> | 203 | <P> |
176 | Additional·parameters·can·be·set·in·the·FILE·INCLUDE·tag,·which·are | 204 | Additional·parameters·can·be·set·in·the·FILE·INCLUDE·tag,·which·are |
177 | interpreted·as·macros·that·are·"passed"·to·the·included·file.··The·macros | 205 | interpreted·as·macros·that·are·"passed"·to·the·included·file.··The·macros |
178 | are·available·only·to·the·include·file·(and·any·macros·or·included·files·it | 206 | are·available·only·to·the·include·file·(and·any·macros·or·included·files·it |
179 | holds).··After·the·file·is·completely·included,·the·macros·are·no·longer | 207 | holds).··After·the·file·is·completely·included,·the·macros·are·no·longer |
180 | available.··So: | 208 | available.··So: |
181 | ··<p><code> | 209 | ··<p><code> |
210 | <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> | ||
211 | ·<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> | ||
212 | ·<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> | ||
213 | · ·<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> | ||
214 | · ·<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> | ||
215 | ·<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> | ||
216 | <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> | ||
182 | </code></p> | 217 | </code></p> |
183 | <P> | 218 | <P> |
184 | Macros·named·"name"·and·"email"·are·set,·and·available·inside·the·included | 219 | Macros·named·"name"·and·"email"·are·set,·and·available·inside·the·included |
185 | file.··They·are·not·available,·however,·past·the·tag·(which·is·why·the | 220 | file.··They·are·not·available,·however,·past·the·tag·(which·is·why·the |
186 | second·statement·will·fail.) | 221 | second·statement·will·fail.) |
187 | <P> | 222 | <P> |
188 | <h3><a·name="template">TEMPLATE</a></h3> | 223 | <h3><a·name="template">TEMPLATE</a></h3> |
Offset 6, 31 lines modified | Offset 6, 63 lines modified | ||
6 | ·_\x8T_\x8u_\x8t_\x8o_\x8r_\x8i_\x8a_\x8l··················purpose.·The·output·file's·name,·the·current·date | 6 | ·_\x8T_\x8u_\x8t_\x8o_\x8r_\x8i_\x8a_\x8l··················purpose.·The·output·file's·name,·the·current·date |
7 | ·_\x8U_\x8s_\x8a_\x8g_\x8e·····················and·time,·and·the·contents·of·another·file·may·be | 7 | ·_\x8U_\x8s_\x8a_\x8g_\x8e·····················and·time,·and·the·contents·of·another·file·may·be |
8 | ·HTP·Tags··················included.·Another·file's·time,·date,·or·size·may·be | 8 | ·HTP·Tags··················included.·Another·file's·time,·date,·or·size·may·be |
9 | · ···_\x8A_\x8L_\x8T_\x8T_\x8E_\x8X_\x8T···············added·to·the·output·file·as·well. | 9 | · ···_\x8A_\x8L_\x8T_\x8T_\x8E_\x8X_\x8T···············added·to·the·output·file·as·well. |
10 | · ···_\x8B_\x8L_\x8O_\x8C_\x8K·················As·with·all·HTML,·these·tags·do·not·have·to·be·on | 10 | · ···_\x8B_\x8L_\x8O_\x8C_\x8K·················As·with·all·HTML,·these·tags·do·not·have·to·be·on |
11 | · ···_\x8B_\x8L_\x8O_\x8C_\x8K_\x8D_\x8E_\x8F··············their·own·line,·so·the·following·is·perfectly | 11 | · ···_\x8B_\x8L_\x8O_\x8C_\x8K_\x8D_\x8E_\x8F··············their·own·line,·so·the·following·is·perfectly |
12 | · ···_\x8D_\x8E_\x8F···················acceptable: | 12 | · ···_\x8D_\x8E_\x8F···················acceptable: |
13 | ·[>]·_\x8F_\x8I_\x8L_\x8E··················<_.[_.[_.r_.e_.f_.]_.]_. | 13 | ·[>]·_\x8F_\x8I_\x8L_\x8E·················· ·<_.[_.[_.r_.e_.f_.]_.]_.W_.H_.I_.L_.E·NOT·i="10"> |
14 | · ···_\x8I_\x8F | ||
15 | · ···_\x8I_\x8N_\x8C···················expand]> | ||
16 | · ···_\x8I_\x8 | 14 | · ···_\x8I_\x8F···················· · ·... |
17 | · ···_\x8I_\x8 | 15 | · ···_\x8I_\x8N_.C··················· · ·<_.[_.[_.r_.e_.f_.]_.]_.I_.N_.C·i> |
16 | · ···_\x8I_\x8M_\x8G··················· ·<_\x8[_\x8[_\x8r_\x8e_\x8f_\x8]_\x8]_\x8/_\x8W_\x8H_\x8I_\x8L_\x8E> | ||
17 | · ···_\x8I_\x8M_\x8A_\x8G_\x8E_\x8U_\x8R_\x8L | ||
18 | · ···_\x8O_\x8P_\x8T | 18 | · ···_\x8O_\x8P_\x8T |
19 | · ···_\x8O_\x8U_\x8T_\x8P_\x8U_\x8T················ ·<_\x8[_\x8[_\x8r_\x8e_\x8f_\x8]_\x8]_\x8d_\x8e_\x8f·name="/bigfont"> | ||
20 | · ···_\x8Q_\x8U_\x8O_\x8T_\x8E················· · ·</font> | ||
21 | · ···_\x8S_\x8E_\x8T··················· ·<_\x8[_\x8[_\x8r_\x8e_\x8f_\x8]_\x8]_\x8/_\x8d_\x8e_\x8f> | ||
22 | · ···_\x8U_\x8N_\x8D_\x8E_\x8F | ||
23 | · ···_\x8U_\x8N_\x8S_\x8E_\x8T················· ·<bigfont>Some·large·text</bigfont> | ||
19 | · ···_\x8 | 24 | · ···_\x8U_.S_.E_.,_.·_.$················*\x8**\x8**\x8**\x8*·N\x8NA\x8AM\x8ME\x8E,\x8,·T\x8TI\x8IM\x8ME\x8E,\x8,·S\x8SI\x8IZ\x8ZE\x8E·*\x8**\x8**\x8**\x8* |
20 | · ···_\x8 | 25 | · ···_\x8W_.H_.I_.L_\x8E·················To·include·information·about·another·file,·such·as |
21 | · ···_\x8 | 26 | · ···_\x8<_.!_.-_.-_.-·················an·archive·file·or·graphic·image,·specify·its·name |
22 | · | 27 | ·_.H_.i_.s_.t_.o_.r_.y···················with·the·NAME·attribute·followed·by·the·type·of |
23 | · | 28 | ·_.W_.i_.s_.h_.·_.l_.i_.s_.t·················information·to·be·displayed: |
24 | · | 29 | ·_.B_.u_.g_.s······················ ·<_.[_.[_.r_.e_.f_.]_.]_.D_.E_.F·NAME="HEADERIMG"·OPTION="SRC·TITLE |
30 | ····························SIZE"> | ||
31 | ···························· · ·<_\x8[_\x8[_\x8r_\x8e_\x8f_\x8]_\x8]_\x8I_\x8F·size> | ||
32 | ···························· · · · ·<FONT·SIZE=${size}> | ||
33 | ···························· · ·<_\x8[_\x8[_\x8r_\x8e_\x8f_\x8]_\x8]_\x8/_\x8I_\x8F> | ||
34 | ···························· · ·<_\x8[_\x8[_\x8r_\x8e_\x8f_\x8]_\x8]_\x8I_\x8M_\x8G·SRC=pics/${src}> | ||
35 | ···························· · ·<_\x8[_\x8[_\x8r_\x8e_\x8f_\x8]_\x8]_\x8U_\x8S_\x8E·title> | ||
36 | ···························· · ·<_\x8[_\x8[_\x8r_\x8e_\x8f_\x8]_\x8]_\x8I_\x8F·size> | ||
37 | ···························· · · · ·</FONT> | ||
38 | ···························· · ·<_\x8[_\x8[_\x8r_\x8e_\x8f_\x8]_\x8]_\x8/_\x8I_\x8F> | ||
39 | ···························· ·<_\x8[_\x8[_\x8r_\x8e_\x8f_\x8]_\x8]_\x8/_\x8D_\x8E_\x8F> | ||
40 | ···························· ·<HEADERIMG·SRC="logo.gif"·SIZE="+2"·TITLE="A | ||
41 | ····························title"> | ||
42 | ···························· ·<HEADERIMG·SRC="logo.gif"·TITLE="Normal·sized | ||
43 | ····························title"> | ||
44 | ···························· ·This·will·fail: | ||
45 | ···························· ·<HEADERIMG·SRC="logo.gif"·ALT="Our·logo" | ||
46 | ····························TITLE="Another·title"> | ||
47 | ···························· ·Instead,·use·*·like·this: | ||
48 | ···························· ·<_\x8[_\x8[_\x8r_\x8e_\x8f_\x8]_\x8]_\x8D_\x8E_\x8F·NAME="MYIMG"·OPTION="SRC·*"> | ||
49 | ···························· · ·<_\x8[_\x8[_\x8r_\x8e_\x8f_\x8]_\x8]_\x8I_\x8M_\x8G·SRC="pics/${src}"·$*> | ||
50 | ···························· ·<_\x8[_\x8[_\x8r_\x8e_\x8f_\x8]_\x8]_\x8/_\x8D_\x8E_\x8F> | ||
51 | ···························· · | ||
52 | ···························· ·<MYIMG·SRC="logo.gif"·ALT="Our·logo"> | ||
25 | 53 | ····························For·file·size·information,·the·value·BYTE,·KBYTE, | |
26 | 54 | ····························etc.·dictates·how·the·information·is·displayed.·In | |
27 | 55 | ····························anything·other·than·byte·format,·the·information·is | |
28 | 56 | ····························displayed·in·floating-point·notation.·The·amount·of | |
29 | 57 | ····························precision·(the·number·of·digits·to·the·right·of·the | |
30 | ····························decimal·point)·can·be·set·with·the·optional | 58 | ····························decimal·point)·can·be·set·with·the·optional |
31 | ····························PRECISION·attribute.·The·default·precision·is·zero | 59 | ····························PRECISION·attribute.·The·default·precision·is·zero |
32 | ····························(0),·which·means·no·fractional·portion·is | 60 | ····························(0),·which·means·no·fractional·portion·is |
33 | ····························displayed. | 61 | ····························displayed. |
34 | ····························At·the·request·of·many·people,·the·TIME·and·DATE | 62 | ····························At·the·request·of·many·people,·the·TIME·and·DATE |
35 | ····························attributes·will·now·accept·formatting·characters | 63 | ····························attributes·will·now·accept·formatting·characters |
36 | ····························that·are·passed·directly·into·the·ANSI·C·library | 64 | ····························that·are·passed·directly·into·the·ANSI·C·library |
Offset 56, 14 lines modified | Offset 88, 21 lines modified | ||
56 | ····························Additional·parameters·can·be·set·in·the·FILE | 88 | ····························Additional·parameters·can·be·set·in·the·FILE |
57 | ····························INCLUDE·tag,·which·are·interpreted·as·macros·that | 89 | ····························INCLUDE·tag,·which·are·interpreted·as·macros·that |
58 | ····························are·"passed"·to·the·included·file.·The·macros·are | 90 | ····························are·"passed"·to·the·included·file.·The·macros·are |
59 | ····························available·only·to·the·include·file·(and·any·macros | 91 | ····························available·only·to·the·include·file·(and·any·macros |
60 | ····························or·included·files·it·holds).·After·the·file·is | 92 | ····························or·included·files·it·holds).·After·the·file·is |
61 | ····························completely·included,·the·macros·are·no·longer | 93 | ····························completely·included,·the·macros·are·no·longer |
62 | ····························available.·So: | 94 | ····························available.·So: |
95 | ····························<_\x8[_\x8[_\x8r_\x8e_\x8f_\x8]_\x8]_\x8f_\x8i_\x8l_\x8e·include="header.hti"> | ||
96 | ···························· ·<_\x8[_\x8[_\x8r_\x8e_\x8f_\x8]_\x8]_\x8s_\x8e_\x8t·sect-ctr="1"> | ||
97 | ···························· ·<_\x8[_\x8[_\x8r_\x8e_\x8f_\x8]_\x8]_\x8w_\x8h_\x8i_\x8l_\x8e·sect-${sect-ctr}> | ||
98 | ···························· · ·<_\x8[_\x8[_\x8r_\x8e_\x8f_\x8]_\x8]_\x8u_\x8s_\x8e·sect-${sect-ctr}> | ||
99 | ···························· · ·<_\x8[_\x8[_\x8r_\x8e_\x8f_\x8]_\x8]_\x8i_\x8n_\x8c·sect-ctr> | ||
100 | ···························· ·<_\x8[_\x8[_\x8r_\x8e_\x8f_\x8]_\x8]_\x8/_\x8w_\x8h_\x8i_\x8l_\x8e> | ||
101 | ····························<_\x8[_\x8[_\x8r_\x8e_\x8f_\x8]_\x8]_\x8f_\x8i_\x8l_\x8e·include="footer.hti"> | ||
63 | ····························Macros·named·"name"·and·"email"·are·set,·and | 102 | ····························Macros·named·"name"·and·"email"·are·set,·and |
64 | ····························available·inside·the·included·file.·They·are·not | 103 | ····························available·inside·the·included·file.·They·are·not |
65 | ····························available,·however,·past·the·tag·(which·is·why·the | 104 | ····························available,·however,·past·the·tag·(which·is·why·the |
66 | ····························second·statement·will·fail.) | 105 | ····························second·statement·will·fail.) |
67 | ····························*\x8**\x8**\x8**\x8*·T\x8TE\x8EM\x8MP\x8PL\x8LA\x8AT\x8TE\x8E·*\x8**\x8**\x8**\x8* | 106 | ····························*\x8**\x8**\x8**\x8*·T\x8TE\x8EM\x8MP\x8PL\x8LA\x8AT\x8TE\x8E·*\x8**\x8**\x8**\x8* |
68 | ····························A·template·file·is·nothing·more·than·a·default | 107 | ····························A·template·file·is·nothing·more·than·a·default |
69 | ····························include·file,·one·that·is·included·once·the·input | 108 | ····························include·file,·one·that·is·included·once·the·input |
Offset 122, 26 lines modified | Offset 122, 29 lines modified | ||
122 | <h2>synopsis</h2> | 122 | <h2>synopsis</h2> |
123 | <STRONG>IF,·NOT,·ELSEIF,·ELSE,·and·/IF</STRONG>·are·the·building | 123 | <STRONG>IF,·NOT,·ELSEIF,·ELSE,·and·/IF</STRONG>·are·the·building |
124 | blocks·for·conditional·processing.··The·basic·form·is·shown·above. | 124 | blocks·for·conditional·processing.··The·basic·form·is·shown·above. |
125 | <P>·"Conditional"·is·either·a·"compare"·or·"is·defined"·operation.··A | 125 | <P>·"Conditional"·is·either·a·"compare"·or·"is·defined"·operation.··A |
126 | compare·operator·is·a·test·of·the·value·of·a·macro·against·a·literal | 126 | compare·operator·is·a·test·of·the·value·of·a·macro·against·a·literal |
127 | string: | 127 | string: |
128 | ··<p><code> | 128 | ··<p><code> |
129 | <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> | ||
130 | ·...<br> | ||
131 | <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> | ||
129 | <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> | ||
130 | <br> | ||
131 | expand]><br> | ||
132 | <span·class="htp-tag"><...·<span·class="htp-attrib"><span·class="htp-macro">$macroname</span></span>·<span·class="htp-attrib">...</span>></span><br> | ||
133 | <span·class="htp-tag"><...·<span·class="htp-attrib"><span·class="htp-macro">${macroname}</span></span>·<span·class="htp-attrib">...</span>></span><br> | ||
134 | <br> | ||
135 | </code></p> | 132 | </code></p> |
136 | <P> | 133 | <P> |
137 | and·a·defined·operator·is·a·test·of·a·macro's·existance: | 134 | and·a·defined·operator·is·a·test·of·a·macro's·existance: |
138 | <P> | 135 | <P> |
139 | ··<p><code> | 136 | ··<p><code> |
137 | ·<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">"0"</span>></span><br> | ||
138 | ·<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><br> | ||
140 | · ·<span·class="htp-tag"><<a·href=" | 139 | · ·<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> |
140 | · ·<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">"sect-<span·class="htp-macro">${sect-ctr}</span>"</span>·<span·class="htp-attrib">expand</span>·<span·class="htp-attrib">global</span>></span><br> | ||
141 | · · ·<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·class="htp-attrib">noexpand</span>></span><br> | ||
142 | · ·<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> | ||
143 | ·<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> | ||
141 | </code></p> | 144 | </code></p> |
142 | <P> | 145 | <P> |
143 | If·the·NOT·tag·is·present·in·the·IF·markup,·the·evaluation·of·the | 146 | If·the·NOT·tag·is·present·in·the·IF·markup,·the·evaluation·of·the |
144 | conditional·is·reversed.··The·first·IF·or·ELSEIF·condition·that | 147 | conditional·is·reversed.··The·first·IF·or·ELSEIF·condition·that |
145 | evaluates·to·true·is·chosen.··If·none·of·the·conditions·is·true·the | 148 | evaluates·to·true·is·chosen.··If·none·of·the·conditions·is·true·the |
146 | ELSE·block·is·taken·if·it·is·present.··A·conditional·block | 149 | ELSE·block·is·taken·if·it·is·present.··A·conditional·block |
147 | <EM>must</EM>·be·closed·with·the·/IF·tag.··IF·tags·can·be·nested. | 150 | <EM>must</EM>·be·closed·with·the·/IF·tag.··IF·tags·can·be·nested. |
Offset 4, 33 lines modified | Offset 4, 37 lines modified | ||
4 | ·_\x8I_\x8n_\x8t_\x8r_\x8o_\x8d_\x8u_\x8c_\x8t_\x8i_\x8o_\x8n··············*\x8**\x8**\x8**\x8**\x8*·s\x8sy\x8yn\x8no\x8op\x8ps\x8si\x8is\x8s·*\x8**\x8**\x8**\x8**\x8* | 4 | ·_\x8I_\x8n_\x8t_\x8r_\x8o_\x8d_\x8u_\x8c_\x8t_\x8i_\x8o_\x8n··············*\x8**\x8**\x8**\x8**\x8*·s\x8sy\x8yn\x8no\x8op\x8ps\x8si\x8is\x8s·*\x8**\x8**\x8**\x8**\x8* |
5 | ·_\x8L_\x8i_\x8c_\x8e_\x8n_\x8s_\x8e···················I\x8IF\x8F,\x8,·N\x8NO\x8OT\x8T,\x8,·E\x8EL\x8LS\x8SE\x8EI\x8IF\x8F,\x8,·E\x8EL\x8LS\x8SE\x8E,\x8,·a\x8an\x8nd\x8d·/\x8/I\x8IF\x8F·are·the·building | 5 | ·_\x8L_\x8i_\x8c_\x8e_\x8n_\x8s_\x8e···················I\x8IF\x8F,\x8,·N\x8NO\x8OT\x8T,\x8,·E\x8EL\x8LS\x8SE\x8EI\x8IF\x8F,\x8,·E\x8EL\x8LS\x8SE\x8E,\x8,·a\x8an\x8nd\x8d·/\x8/I\x8IF\x8F·are·the·building |
6 | ·_\x8T_\x8u_\x8t_\x8o_\x8r_\x8i_\x8a_\x8l··················blocks·for·conditional·processing.·The·basic·form | 6 | ·_\x8T_\x8u_\x8t_\x8o_\x8r_\x8i_\x8a_\x8l··················blocks·for·conditional·processing.·The·basic·form |
7 | ·_\x8U_\x8s_\x8a_\x8g_\x8e·····················is·shown·above. | 7 | ·_\x8U_\x8s_\x8a_\x8g_\x8e·····················is·shown·above. |
8 | ·HTP·Tags··················"Conditional"·is·either·a·"compare"·or·"is·defined" | 8 | ·HTP·Tags··················"Conditional"·is·either·a·"compare"·or·"is·defined" |
9 | · ···_\x8A_\x8L_\x8T_\x8T_\x8E_\x8X_\x8T···············operation.·A·compare·operator·is·a·test·of·the | 9 | · ···_\x8A_\x8L_\x8T_\x8T_\x8E_\x8X_\x8T···············operation.·A·compare·operator·is·a·test·of·the |
10 | · ···_\x8B_\x8L_\x8O_\x8C_\x8K·················value·of·a·macro·against·a·literal·string: | 10 | · ···_\x8B_\x8L_\x8O_\x8C_\x8K·················value·of·a·macro·against·a·literal·string: |
11 | · ···_\x8B_\x8L_\x8O_\x8C_\x8K_\x8D_\x8E_\x8F··············<_\x8[_\x8[_\x8r_\x8e_\x8f_\x8]_\x8]_\x8i_\x8f·disabled_because_xyz> | ||
12 | · ···_\x8D_\x8E_\x8F··················· ·... | ||
13 | · ···_\x8F_\x8I_\x8L_\x8E··················<_\x8[_\x8[_\x8r_\x8e_\x8f_\x8]_\x8]_\x8/_\x8i_\x8f> | ||
11 | · ···_\x8B_\x8L_\x8O_\x8C_\x8K_\x8D_\x8E_\x8F··············<_\x8[_\x8[_\x8r_\x8e_\x8f_\x8]_\x8]_\x8Q_\x8U_\x8O_\x8T_\x8E·TAG·[ATTRIBUTE=VALUE·...]> | ||
12 | · ···_\x8D_\x8E_\x8F | ||
13 | · ···_\x8F_\x8I_\x8L_\x8E··················expand]> | ||
14 | ·[>]·_\x8I_\x8F····················<...·$macroname·...> | ||
15 | · ···_\x8I_\x8N_\x8C···················<...·${macroname}·...> | ||
16 | · ···_\x8I_\x8M_\x8G | ||
17 | · | 14 | ·[>]·_.I_.F····················and·a·defined·operator·is·a·test·of·a·macro's |
18 | · ···_\x8 | 15 | · ···_\x8I_.N_.C···················existance: |
16 | · ···_\x8I_\x8M_\x8G··················· ·<_\x8[_\x8[_\x8r_\x8e_\x8f_\x8]_\x8]_\x8s_\x8e_\x8t·sect-ctr="0"> | ||
17 | · ···_\x8I_\x8M_\x8A_\x8G_\x8E_\x8U_\x8R_\x8L·············· ·<_\x8[_\x8[_\x8r_\x8e_\x8f_\x8]_\x8]_\x8b_\x8l_\x8o_\x8c_\x8k_\x8d_\x8e_\x8f·name="section"> | ||
18 | · ···_\x8O_\x8P_\x8T··················· · ·<_\x8[_\x8[_\x8r_\x8e_\x8f_\x8]_\x8]_\x8i_\x8n_\x8c·sect-ctr> | ||
19 | · ···_\x8O_\x8U_\x8T_\x8P_\x8U_\x8T················ · ·<_\x8[_\x8[_\x8r_\x8e_\x8f_\x8]_\x8]_\x8b_\x8l_\x8o_\x8c_\x8k·name="sect-${sect-ctr}"·expand | ||
20 | · ···_\x8Q_\x8U_\x8O_\x8T_\x8E·················global> | ||
21 | · ···_\x8S_\x8E_\x8T··················· · · ·<_\x8[_\x8[_\x8r_\x8e_\x8f_\x8]_\x8]_\x8u_\x8s_\x8e·block·noexpand> | ||
19 | · ···_\x8 | 22 | · ···_\x8U_.N_.D_.E_.F················· · ·<_.[_.[_.r_.e_.f_.]_.]_./_.b_.l_.o_.c_.k> |
23 | · ···_\x8U_\x8N_\x8S_\x8E_\x8T················· ·<_\x8[_\x8[_\x8r_\x8e_\x8f_\x8]_\x8]_\x8/_\x8b_\x8l_\x8o_\x8c_\x8k_\x8d_\x8e_\x8f> | ||
20 | · ···_\x8 | 24 | · ···_\x8U_.S_.E_.,_.·_.$················If·the·NOT·tag·is·present·in·the·IF·markup,·the |
21 | · ···_\x8 | 25 | · ···_\x8W_.H_.I_.L_.E·················evaluation·of·the·conditional·is·reversed.·The |
22 | · ···_\x8 | 26 | · ···_\x8<_.!_.-_.-_.-·················first·IF·or·ELSEIF·condition·that·evaluates·to·true |
23 | · | 27 | ·_.H_.i_.s_.t_.o_.r_.y···················is·chosen.·If·none·of·the·conditions·is·true·the |
24 | · | 28 | ·_.W_.i_.s_.h_.·_.l_.i_.s_.t·················ELSE·block·is·taken·if·it·is·present.·A·conditional |
25 | · | 29 | ·_.B_.u_.g_.s······················block·m\x8mu\x8us\x8st\x8t·be·closed·with·the·/IF·tag.·IF·tags·can |
26 | · ···_\x8<_\x8!_\x8-_\x8-_\x8-·················be·nested. | ||
27 | ·_\x8H_\x8i_\x8s_\x8t_\x8o_\x8r_\x8y | ||
28 | ·_\x8W_\x8i_\x8s_\x8h_\x8·_\x8l_\x8i_\x8s_\x8t | ||
29 | 30 | ····························be·nested. | |
Offset 114, 14 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="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> | ||
124 | <br> | ||
121 | </code></p> | 125 | </code></p> |
122 | <h2>synopsis</h2> | 126 | <h2>synopsis</h2> |
123 | <P>·<STRONG>img</STRONG>·is·a·standard·HTML·tag.··htp·can·add·the·specified | 127 | <P>·<STRONG>img</STRONG>·is·a·standard·HTML·tag.··htp·can·add·the·specified |
124 | image's·width·and·height·to·the·tag·automatically.··This·has·the·advantage | 128 | image's·width·and·height·to·the·tag·automatically.··This·has·the·advantage |
125 | of·not·having·to·determine·each·image's·size·manually,·which·is·especially | 129 | of·not·having·to·determine·each·image's·size·manually,·which·is·especially |
126 | useful·if·the·image·may·change·frequently.·</P> | 130 | useful·if·the·image·may·change·frequently.·</P> |
127 | <P>·htp·adds·this·information·with·the·WIDTH·and·HEIGHT·markup | 131 | <P>·htp·adds·this·information·with·the·WIDTH·and·HEIGHT·markup |
Offset 1, 36 lines modified | Offset 1, 41 lines modified | ||
1 | [HTP] | 1 | [HTP] |
2 | *\x8**\x8**\x8**\x8**\x8**\x8*·h\x8ht\x8tp\x8p·o\x8on\x8n-\x8-l\x8li\x8in\x8ne\x8e·r\x8re\x8ef\x8fe\x8er\x8re\x8en\x8nc\x8ce\x8e·:\x8:·I\x8IM\x8MG\x8G·*\x8**\x8**\x8**\x8**\x8**\x8* | 2 | *\x8**\x8**\x8**\x8**\x8**\x8*·h\x8ht\x8tp\x8p·o\x8on\x8n-\x8-l\x8li\x8in\x8ne\x8e·r\x8re\x8ef\x8fe\x8er\x8re\x8en\x8nc\x8ce\x8e·:\x8:·I\x8IM\x8MG\x8G·*\x8**\x8**\x8**\x8**\x8**\x8* |
3 | _\x8T_\x8a_\x8b_\x8l_\x8e_\x8·_\x8o_\x8f_\x8·_\x8C_\x8o_\x8n_\x8t_\x8e_\x8n_\x8t_\x8s···········*\x8**\x8**\x8**\x8**\x8*·s\x8sy\x8yn\x8nt\x8ta\x8ax\x8x·*\x8**\x8**\x8**\x8**\x8* | 3 | _\x8T_\x8a_\x8b_\x8l_\x8e_\x8·_\x8o_\x8f_\x8·_\x8C_\x8o_\x8n_\x8t_\x8e_\x8n_\x8t_\x8s···········*\x8**\x8**\x8**\x8**\x8*·s\x8sy\x8yn\x8nt\x8ta\x8ax\x8x·*\x8**\x8**\x8**\x8**\x8* |
4 | ·_\x8I_\x8n_\x8t_\x8r_\x8o_\x8d_\x8u_\x8c_\x8t_\x8i_\x8o_\x8n··············<_\x8[_\x8[_\x8r_\x8e_\x8f_\x8]_\x8]_\x8O_\x8U_\x8T_\x8P_\x8U_\x8T·FILE="outputfilename"·[APPEND] | ||
5 | ·_\x8L_\x8i_\x8c_\x8e_\x8n_\x8s_\x8e···················[EXPAND]> | ||
6 | ·_\x8T_\x8u_\x8t_\x8o_\x8r_\x8i_\x8a_\x8l··················text·block | ||
7 | ·_\x8U_\x8s_\x8a_\x8g_\x8e·····················<_\x8[_\x8[_\x8r_\x8e_\x8f_\x8]_\x8]_\x8/_\x8O_\x8U_\x8T_\x8P_\x8U_\x8T> | ||
8 | ·HTP·Tags | ||
4 | · | 9 | · ···_.A_.L_.T_.T_.E_.X_.T···············*\x8**\x8**\x8**\x8**\x8*·s\x8sy\x8yn\x8no\x8op\x8ps\x8si\x8is\x8s·*\x8**\x8**\x8**\x8**\x8* |
5 | · | 10 | · ···_.B_.L_.O_.C_.K·················i\x8im\x8mg\x8g·is·a·standard·HTML·tag.·htp·can·add·the |
6 | · | 11 | · ···_.B_.L_.O_.C_.K_.D_.E_.F··············specified·image's·width·and·height·to·the·tag |
7 | · | 12 | · ···_.D_.E_.F···················automatically.·This·has·the·advantage·of·not·having |
8 | · | 13 | · ···_.F_.I_.L_.E··················to·determine·each·image's·size·manually,·which·is |
9 | · ···_\x8 | 14 | · ···_\x8I_.F····················especially·useful·if·the·image·may·change |
10 | · ···_\x8 | 15 | · ···_\x8I_.N_.C···················frequently. |
11 | · | 16 | ·[>]·_.I_.M_.G···················htp·adds·this·information·with·the·WIDTH·and·HEIGHT |
12 | · ···_\x8 | 17 | · ···_\x8I_.M_.A_.G_.E_.U_.R_.L··············markup·attributes.·If·htp·detects·these·attributes |
13 | · ···_\x8 | 18 | · ···_\x8O_.P_.T···················are·already·present·in·the·tag,·it·will·n\x8no\x8ot\x8t·modify |
14 | · ···_\x8 | 19 | · ···_\x8O_.U_.T_.P_.U_.T················the·values.·If·htp·cannot·find·the·image·file,·it |
15 | · ···_\x8 | 20 | · ···_\x8Q_.U_.O_.T_.E·················will·issue·a·warning·but·not·halt·processing. |
16 | · | 21 | · ···_.S_.E_.T···················At·this·time,·GIF·(Graphic·Interchange·Format),·PNG |
17 | · ···_\x8 | 22 | · ···_\x8U_.N_.D_.E_.F·················(Portable·Network·Graphics),·and·JFIF·(JPEG·File |
18 | · ···_\x8 | 23 | · ···_\x8U_.N_.S_.E_.T·················Interchange·Format)·are·supported. |
19 | · ···_\x8 | 24 | · ···_\x8U_.S_.E_.,_.·_.$················The·_\x8I_\x8M_\x8G_\x8X_\x8Y_\x8·_\x8a_\x8n_\x8d_\x8·_\x8N_\x8O_\x8I_\x8M_\x8G_\x8X_\x8Y·options·control·whether·or |
20 | · ···_\x8 | 25 | · ···_\x8W_.H_.I_.L_\x8E·················not·htp·actually·adds·this·information·as·it |
21 | · ···_\x8 | 26 | · ···_\x8<_.!_.-_.-_.-·················executes. |
22 | · | 27 | ·_.H_.i_.s_.t_.o_.r_.y···················Since·htp·is·able·to·lookup·files·only·in·the·local |
23 | · | 28 | ·_.W_.i_.s_.h_.·_.l_.i_.s_.t·················filesystem,·the·_\x8I_\x8M_\x8A_\x8G_\x8E_\x8U_\x8R_\x8L·tag·may·be·used·to·map |
24 | · | 29 | ·_.B_.u_.g_.s······················URLs·to·local·files. |
25 | 30 | ····························htp·can·also·add·default·ALT·text·to·IMG·tags·using | |
26 | 31 | ····························_\x8A_\x8L_\x8T_\x8T_\x8E_\x8X_\x8T. | |
27 | ·_\x8H_\x8i_\x8s_\x8t_\x8o_\x8r_\x8y | ||
28 | ·_\x8W_\x8i_\x8s_\x8h_\x8·_\x8l_\x8i_\x8s_\x8t | ||
29 | ·_\x8B_\x8u_\x8g_\x8s | ||
Offset 114, 24 lines modified | Offset 114, 14 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="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> | ||
124 | <br> | ||
125 | · ·<span·class="htp-tag"><centered></span><br> | ||
126 | · ·This·text·is·centered.<br> | ||
127 | (CONDENSE|SEMICONDENSE|NOCONDENSE)><br> | ||
128 | <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> | ||
129 | <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> | ||
130 | <br> | ||
131 | </code></p> | 121 | </code></p> |
132 | <h2>synopsis</h2> | 122 | <h2>synopsis</h2> |
133 | The·<STRONG>INC</STRONG>·can·be·used·for·incrementing/decrementing·a | 123 | The·<STRONG>INC</STRONG>·can·be·used·for·incrementing/decrementing·a |
134 | variable·or·for·variable·addition.··The·basic·form·is·shown·above. | 124 | variable·or·for·variable·addition.··The·basic·form·is·shown·above. |
135 | <P> | 125 | <P> |
136 | The·"increment"·is·anything·that·evaluates·to·a·integer.··It·can·be·a | 126 | The·"increment"·is·anything·that·evaluates·to·a·integer.··It·can·be·a |
137 | literal·string·or·a·macro·preceeded·by·the·'$'-operator.··The | 127 | literal·string·or·a·macro·preceeded·by·the·'$'-operator.··The |
Offset 1, 46 lines modified | Offset 1, 36 lines modified | ||
1 | [HTP] | 1 | [HTP] |
2 | *\x8**\x8**\x8**\x8**\x8**\x8*·h\x8ht\x8tp\x8p·o\x8on\x8n-\x8-l\x8li\x8in\x8ne\x8e·r\x8re\x8ef\x8fe\x8er\x8re\x8en\x8nc\x8ce\x8e·:\x8:·I\x8IN\x8NC\x8C·*\x8**\x8**\x8**\x8**\x8**\x8* | 2 | *\x8**\x8**\x8**\x8**\x8**\x8*·h\x8ht\x8tp\x8p·o\x8on\x8n-\x8-l\x8li\x8in\x8ne\x8e·r\x8re\x8ef\x8fe\x8er\x8re\x8en\x8nc\x8ce\x8e·:\x8:·I\x8IN\x8NC\x8C·*\x8**\x8**\x8**\x8**\x8**\x8* |
3 | _\x8T_\x8a_\x8b_\x8l_\x8e_\x8·_\x8o_\x8f_\x8·_\x8C_\x8o_\x8n_\x8t_\x8e_\x8n_\x8t_\x8s···········*\x8**\x8**\x8**\x8**\x8*·s\x8sy\x8yn\x8nt\x8ta\x8ax\x8x·*\x8**\x8**\x8**\x8**\x8* | 3 | _\x8T_\x8a_\x8b_\x8l_\x8e_\x8·_\x8o_\x8f_\x8·_\x8C_\x8o_\x8n_\x8t_\x8e_\x8n_\x8t_\x8s···········*\x8**\x8**\x8**\x8**\x8*·s\x8sy\x8yn\x8nt\x8ta\x8ax\x8x·*\x8**\x8**\x8**\x8**\x8* |
4 | ·_\x8I_\x8n_\x8t_\x8r_\x8o_\x8d_\x8u_\x8c_\x8t_\x8i_\x8o_\x8n·············· · ·<_\x8[_\x8[_\x8r_\x8e_\x8f_\x8]_\x8]_\x8d_\x8e_\x8f·name="centered"> | ||
5 | ·_\x8L_\x8i_\x8c_\x8e_\x8n_\x8s_\x8e··················· · ·<p·align=center> | ||
6 | ·_\x8T_\x8u_\x8t_\x8o_\x8r_\x8i_\x8a_\x8l·················· · ·<_\x8[_\x8[_\x8r_\x8e_\x8f_\x8]_\x8]_\x8/_\x8d_\x8e_\x8f> | ||
7 | ·_\x8U_\x8s_\x8a_\x8g_\x8e | ||
8 | ·HTP·Tags·················· · ·<centered> | ||
9 | · ···_\x8A_\x8L_\x8T_\x8T_\x8E_\x8X_\x8T··············· · ·This·text·is·centered. | ||
10 | · ···_\x8B_\x8L_\x8O_\x8C_\x8K·················(CONDENSE|SEMICONDENSE|NOCONDENSE)> | ||
11 | · ···_\x8B_\x8L_\x8O_\x8C_\x8K_\x8D_\x8E_\x8F··············<_\x8[_\x8[_\x8r_\x8e_\x8f_\x8]_\x8]_\x8O_\x8P_\x8T·DELIM=(HTML|SQUARE|CURLY)> | ||
12 | · ···_\x8D_\x8E_\x8F···················<_\x8[_\x8[_\x8r_\x8e_\x8f_\x8]_\x8]_\x8O_\x8P_\x8T·(XML|XML=FALSE)> | ||
13 | · ···_\x8F_\x8I_\x8L_\x8E | ||
14 | · | 4 | ·_.I_.n_.t_.r_.o_.d_.u_.c_.t_.i_.o_.n··············*\x8**\x8**\x8**\x8**\x8*·s\x8sy\x8yn\x8no\x8op\x8ps\x8si\x8is\x8s·*\x8**\x8**\x8**\x8**\x8* |
15 | · | 5 | ·_.L_.i_.c_.e_.n_.s_.e···················The·I\x8IN\x8NC\x8C·can·be·used·for·incrementing/decrementing·a |
16 | · | 6 | ·_.T_.u_.t_.o_.r_.i_.a_.l··················variable·or·for·variable·addition.·The·basic·form |
17 | · | 7 | ·_.U_.s_.a_.g_.e·····················is·shown·above. |
18 | · | 8 | ·HTP·Tags··················The·"increment"·is·anything·that·evaluates·to·a |
19 | · ···_\x8 | 9 | · ···_\x8A_.L_.T_.T_.E_.X_.T···············integer.·It·can·be·a·literal·string·or·a·macro |
20 | · ···_\x8 | 10 | · ···_\x8B_.L_.O_.C_.K·················preceeded·by·the·'$'-operator.·The·macroname·must |
21 | · ···_\x8 | 11 | · ···_\x8B_.L_.O_.C_.K_.D_.E_.F··············be·the·name·of·a·defined·macro·that·contains·an |
22 | · ···_\x8 | 12 | · ···_\x8D_.E_.F···················integer.·If·the·increment·is·ommitted·it·defaults |
23 | · ···_\x8 | 13 | · ···_\x8F_.I_.L_.E··················to·1.·The·effect·of·this·operation·is·that·the |
24 | · ···_\x8 | 14 | · ···_\x8I_.F····················macro·is·redefined·to·contain·the·sum·of·its |
25 | · | 15 | ·[>]·_.I_.N_.C···················previous·value·and·its·increment. |
26 | · ···_\x8 | 16 | · ···_\x8I_.M_.G···················To·increment·or·decrement·a·variable·you·can·use |
27 | · | 17 | · ···_.I_.M_.A_.G_.E_.U_.R_.L··············this·form: |
28 | · | 18 | · ···_.O_.P_.T···················Note·that·INC·doesn't·check·if·the·strings·really |
29 | ·_. | 19 | · ···_.O_.U_.T_.P_.U_.T················denote·integers.·It·may·give·weired·results·when |
30 | ···· | 20 | · ···_.Q_.U_.O_.T_.E·················used·on·arbitrary·strings.·The·integer·values·are |
31 | ···· | 21 | · ···_.S_.E_.T···················limited·to·the·range·-2^31..2^31. |
32 | ···· | 22 | · ···_.U_.N_.D_.E_.F·················Note·further·that·htp·wasn't·designed·to·do |
33 | ···· | 23 | · ···_.U_.N_.S_.E_.T·················extensive·calculations.·The·INC·tag·is·useful·in |
34 | ···· | 24 | · ···_.U_.S_.E_.,_.·_.$················conjunction·with·WHILE·to·iterate·over·the·defined |
35 | ····························blocks. | ||
25 | · ···_\x8W_\x8H_\x8I_\x8L_\x8E·················blocks. | ||
26 | · ···_\x8<_\x8!_\x8-_\x8-_\x8- | ||
27 | ·_\x8H_\x8i_\x8s_\x8t_\x8o_\x8r_\x8y | ||
28 | ·_\x8W_\x8i_\x8s_\x8h_\x8·_\x8l_\x8i_\x8s_\x8t | ||
29 | ·_\x8B_\x8u_\x8g_\x8s | ||
Offset 105, 37 lines modified | Offset 105, 56 lines modified | ||
105 | file</a>.··</p> | 105 | file</a>.··</p> |
106 | <P>·Often·you·want·to·define·tags·that·have·an·opening·and·a·closing | 106 | <P>·Often·you·want·to·define·tags·that·have·an·opening·and·a·closing |
107 | 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 | 107 | 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 |
108 | encounters·a·blockdef·tag·it·will·automatically·search·for·the | 108 | encounters·a·blockdef·tag·it·will·automatically·search·for·the |
109 | matching·closing·tag·and·put·everything·between·these·tags·in·a·block | 109 | matching·closing·tag·and·put·everything·between·these·tags·in·a·block |
110 | macro·named·<code>block</code>.··Here·is·an·example·for·this.··</P> | 110 | macro·named·<code>block</code>.··Here·is·an·example·for·this.··</P> |
111 | ··<p><code> | 111 | ··<p><code> |
112 | <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> | ||
113 | <font·size="-2"> 2.·</font><br> | ||
114 | <font·size="-2"> 3.·</font>expand]><br> | ||
115 | <font·size="-2"> 4.·</font><span·class="htp-tag"><...·<span·class="htp-attrib"><span·class="htp-macro">$macroname</span></span>·<span·class="htp-attrib">...</span>></span><br> | ||
116 | <font·size="-2"> 5.·</font><span·class="htp-tag"><...·<span·class="htp-attrib"><span·class="htp-macro">${macroname}</span></span>·<span·class="htp-attrib">...</span>></span><br> | ||
117 | <font·size="-2"> 6.·</font><br> | ||
118 | </code></p> | 112 | </code></p> |
119 | <h2>Using·parameters</h2> | 113 | <h2>Using·parameters</h2> |
120 | <p>·More·sophisticated·tags·accept·parameters.··The | 114 | <p>·More·sophisticated·tags·accept·parameters.··The |
121 | <code>option</code>·parameter·lets·multiple·metatag·parameters·be | 115 | <code>option</code>·parameter·lets·multiple·metatag·parameters·be |
122 | named·and·expanded·inside·the·<code>def</code>·or | 116 | named·and·expanded·inside·the·<code>def</code>·or |
123 | <code>blockdef</code>·block:·</p> | 117 | <code>blockdef</code>·block:·</p> |
124 | ··<p><code> | 118 | ··<p><code> |
119 | <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> | ||
120 | <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> | ||
121 | <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> | ||
125 | <font·size="-2"> | 122 | <font·size="-2"> 4.·</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> |
123 | <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> | ||
124 | <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> | ||
125 | <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> | ||
126 | <font·size="-2"> 8.·</font> · · · ·<span·class="htp-tag"></FONT></span><br> | ||
127 | <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> | ||
128 | <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> | ||
129 | <font·size="-2">11.·</font><br> | ||
130 | <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> | ||
131 | <font·size="-2">13.·</font><br> | ||
132 | <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> | ||
133 | <font·size="-2">15.·</font><br> | ||
134 | <font·size="-2">16.·</font> ·This·will·fail:<br> | ||
135 | <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> | ||
136 | <font·size="-2">18.·</font><br> | ||
137 | <font·size="-2">19.·</font> ·Instead,·use·*·like·this:<br> | ||
138 | <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> | ||
139 | <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> | ||
140 | <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> | ||
141 | <font·size="-2">23.·</font> · ·<br> | ||
142 | <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> | ||
126 | </code></p> | 143 | </code></p> |
127 | <h2>Saving·blocks·for·later</h2> | 144 | <h2>Saving·blocks·for·later</h2> |
128 | <p>When·you·are·using·templates,·the·html·should·only·be·written·by | 145 | <p>When·you·are·using·templates,·the·html·should·only·be·written·by |
129 | the·template·file.··The·normal·htp·files·should·just·define·macros | 146 | the·template·file.··The·normal·htp·files·should·just·define·macros |
130 | that·are·used·later·in·the·template.··So·you·may·want·to·write·block | 147 | that·are·used·later·in·the·template.··So·you·may·want·to·write·block |
131 | tags·that·just·save·the·block·in·a·macro·for·later·use.··Although·this | 148 | tags·that·just·save·the·block·in·a·macro·for·later·use.··Although·this |
132 | is·possible·with·htp·it·is·quite·tricky,·so·here·we·present·the·way·to | 149 | is·possible·with·htp·it·is·quite·tricky,·so·here·we·present·the·way·to |
133 | do·this:</p> | 150 | do·this:</p> |
134 | ··<p><code> | 151 | ··<p><code> |
152 | <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> | ||
153 | <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> | ||
135 | </code></p> | 154 | </code></p> |
136 | <p>·This·defines·a·block·macro·named·section.··This·macro·uses·a | 155 | <p>·This·defines·a·block·macro·named·section.··This·macro·uses·a |
137 | counter·<code>sect-ctr</code>·that·enumerates·the·sections.··It·is | 156 | counter·<code>sect-ctr</code>·that·enumerates·the·sections.··It·is |
138 | increased·for·every·section·(line·3)·and·then·the·block·macro·name·is | 157 | increased·for·every·section·(line·3)·and·then·the·block·macro·name·is |
139 | build·from·this·counter.··So·the·first·section·is·stored·in·block | 158 | build·from·this·counter.··So·the·first·section·is·stored·in·block |
140 | 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 | 159 | 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 |
141 | in·line·4·tells·htp·that·these·macros·should·be·defined·globally | 160 | in·line·4·tells·htp·that·these·macros·should·be·defined·globally |
Offset 154, 18 lines modified | Offset 173, 15 lines modified | ||
154 | contents·of·block·to·be·expanded·twice.··If·you·omit·it,·it·would·be | 173 | contents·of·block·to·be·expanded·twice.··If·you·omit·it,·it·would·be |
155 | expanded·when·defining·the·sect-1·macro·and·when·using·it·later·in·the | 174 | expanded·when·defining·the·sect-1·macro·and·when·using·it·later·in·the |
156 | template.··Generally·it·is·a·good·idea·to·use·noexpand·whenever·you | 175 | template.··Generally·it·is·a·good·idea·to·use·noexpand·whenever·you |
157 | use·expand·in·a·block·around·it.</p> | 176 | use·expand·in·a·block·around·it.</p> |
158 | <p>To·close·this·example·we·show·how·to·expand·the | 177 | <p>To·close·this·example·we·show·how·to·expand·the |
159 | <code>sect-${sect-ctr}</code>·blocks·in·the·template:</p> | 178 | <code>sect-${sect-ctr}</code>·blocks·in·the·template:</p> |
160 | ··<p><code> | 179 | ··<p><code> |
180 | <font·size="-2"> 1.·</font> · ·<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> | ||
161 | <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> | ||
162 | <font·size="-2"> 2.·</font> · ·...<br> | ||
163 | <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> | ||
164 | <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> | ||
165 | </code></p> | 181 | </code></p> |
166 | <p> | 182 | <p> |
167 | 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 | 183 | 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·macro·sect-${sect-ctr}·is·defined.··If·it·is·defined·the·body·is | 184 | the·macro·sect-${sect-ctr}·is·defined.··If·it·is·defined·the·body·is |
169 | evaluated,·which·expands·the·macro·and·increases·sect-ctr.··Afterwards | 185 | evaluated,·which·expands·the·macro·and·increases·sect-ctr.··Afterwards |
170 | the·while·condition·is·checked·again·to·check·for·sect-2·macro.··This | 186 | the·while·condition·is·checked·again·to·check·for·sect-2·macro.··This |
171 | repeats·until·sect-${sect-ctr}·is·not·defined. | 187 | repeats·until·sect-${sect-ctr}·is·not·defined. |
Offset 27, 34 lines modified | Offset 27, 58 lines modified | ||
27 | ····························Often·you·want·to·define·tags·that·have·an·opening | 27 | ····························Often·you·want·to·define·tags·that·have·an·opening |
28 | ····························and·a·closing·variant.·For·this·purpose·you·should | 28 | ····························and·a·closing·variant.·For·this·purpose·you·should |
29 | ····························use·the·_\x8[_\x8[_\x8r_\x8e_\x8f_\x8]_\x8]_\x8b_\x8l_\x8o_\x8c_\x8k_\x8d_\x8e_\x8f·tag.·When·htp·encounters·a | 29 | ····························use·the·_\x8[_\x8[_\x8r_\x8e_\x8f_\x8]_\x8]_\x8b_\x8l_\x8o_\x8c_\x8k_\x8d_\x8e_\x8f·tag.·When·htp·encounters·a |
30 | ····························blockdef·tag·it·will·automatically·search·for·the | 30 | ····························blockdef·tag·it·will·automatically·search·for·the |
31 | ····························matching·closing·tag·and·put·everything·between | 31 | ····························matching·closing·tag·and·put·everything·between |
32 | ····························these·tags·in·a·block·macro·named·block.·Here·is·an | 32 | ····························these·tags·in·a·block·macro·named·block.·Here·is·an |
33 | ····························example·for·this. | 33 | ····························example·for·this. |
34 | ···························· 1.·<_\x8[_\x8[_\x8r_\x8e_\x8f_\x8]_\x8]_\x8Q_\x8U_\x8O_\x8T_\x8E·TAG·[ATTRIBUTE=VALUE·...]> | ||
35 | ···························· 2. | ||
36 | ···························· 3.·expand]> | ||
37 | ···························· 4.·<...·$macroname·...> | ||
38 | ···························· 5.·<...·${macroname}·...> | ||
39 | ···························· 6. | ||
40 | ····························*\x8**\x8**\x8**\x8**\x8*·U\x8Us\x8si\x8in\x8ng\x8g·p\x8pa\x8ar\x8ra\x8am\x8me\x8et\x8te\x8er\x8rs\x8s·*\x8**\x8**\x8**\x8**\x8* | 34 | ····························*\x8**\x8**\x8**\x8**\x8*·U\x8Us\x8si\x8in\x8ng\x8g·p\x8pa\x8ar\x8ra\x8am\x8me\x8et\x8te\x8er\x8rs\x8s·*\x8**\x8**\x8**\x8**\x8* |
41 | ····························More·sophisticated·tags·accept·parameters.·The | 35 | ····························More·sophisticated·tags·accept·parameters.·The |
42 | ····························option·parameter·lets·multiple·metatag·parameters | 36 | ····························option·parameter·lets·multiple·metatag·parameters |
43 | ····························be·named·and·expanded·inside·the·def·or·blockdef | 37 | ····························be·named·and·expanded·inside·the·def·or·blockdef |
44 | ····························block: | 38 | ····························block: |
39 | ···························· 1.· ·<_\x8[_\x8[_\x8r_\x8e_\x8f_\x8]_\x8]_\x8D_\x8E_\x8F·NAME="HEADERIMG"·OPTION="SRC | ||
40 | ····························TITLE·SIZE"> | ||
41 | ···························· 2.· · ·<_\x8[_\x8[_\x8r_\x8e_\x8f_\x8]_\x8]_\x8I_\x8F·size> | ||
42 | ···························· 3.· · · · ·<FONT·SIZE=${size}> | ||
45 | ···························· | 43 | ···························· 4.· · ·<_.[_.[_.r_.e_.f_.]_.]_./_.I_.F> |
44 | ···························· 5.· · ·<_\x8[_\x8[_\x8r_\x8e_\x8f_\x8]_\x8]_\x8I_\x8M_\x8G·SRC=pics/${src}> | ||
45 | ···························· 6.· · ·<_\x8[_\x8[_\x8r_\x8e_\x8f_\x8]_\x8]_\x8U_\x8S_\x8E·title> | ||
46 | ···························· 7.· · ·<_\x8[_\x8[_\x8r_\x8e_\x8f_\x8]_\x8]_\x8I_\x8F·size> | ||
47 | ···························· 8.· · · · ·</FONT> | ||
48 | ···························· 9.· · ·<_\x8[_\x8[_\x8r_\x8e_\x8f_\x8]_\x8]_\x8/_\x8I_\x8F> | ||
49 | ····························10.· ·<_\x8[_\x8[_\x8r_\x8e_\x8f_\x8]_\x8]_\x8/_\x8D_\x8E_\x8F> | ||
50 | ····························11. | ||
51 | ····························12.· ·<HEADERIMG·SRC="logo.gif"·SIZE="+2"·TITLE="A | ||
52 | ····························title"> | ||
53 | ····························13. | ||
54 | ····························14.· ·<HEADERIMG·SRC="logo.gif"·TITLE="Normal·sized | ||
55 | ····························title"> | ||
56 | ····························15. | ||
57 | ····························16.· ·This·will·fail: | ||
58 | ····························17.· ·<HEADERIMG·SRC="logo.gif"·ALT="Our·logo" | ||
59 | ····························TITLE="Another·title"> | ||
60 | ····························18. | ||
61 | ····························19.· ·Instead,·use·*·like·this: | ||
62 | ····························20.· ·<_\x8[_\x8[_\x8r_\x8e_\x8f_\x8]_\x8]_\x8D_\x8E_\x8F·NAME="MYIMG"·OPTION="SRC·*"> | ||
63 | ····························21.· · ·<_\x8[_\x8[_\x8r_\x8e_\x8f_\x8]_\x8]_\x8I_\x8M_\x8G·SRC="pics/${src}"·$*> | ||
64 | ····························22.· ·<_\x8[_\x8[_\x8r_\x8e_\x8f_\x8]_\x8]_\x8/_\x8D_\x8E_\x8F> | ||
65 | ····························23.· · | ||
66 | ····························24.· ·<MYIMG·SRC="logo.gif"·ALT="Our·logo"> | ||
46 | ····························*\x8**\x8**\x8**\x8**\x8*·S\x8Sa\x8av\x8vi\x8in\x8ng\x8g·b\x8bl\x8lo\x8oc\x8ck\x8ks\x8s·f\x8fo\x8or\x8r·l\x8la\x8at\x8te\x8er\x8r·*\x8**\x8**\x8**\x8**\x8* | 67 | ····························*\x8**\x8**\x8**\x8**\x8*·S\x8Sa\x8av\x8vi\x8in\x8ng\x8g·b\x8bl\x8lo\x8oc\x8ck\x8ks\x8s·f\x8fo\x8or\x8r·l\x8la\x8at\x8te\x8er\x8r·*\x8**\x8**\x8**\x8**\x8* |
47 | ····························When·you·are·using·templates,·the·html·should·only | 68 | ····························When·you·are·using·templates,·the·html·should·only |
48 | ····························be·written·by·the·template·file.·The·normal·htp | 69 | ····························be·written·by·the·template·file.·The·normal·htp |
49 | ····························files·should·just·define·macros·that·are·used·later | 70 | ····························files·should·just·define·macros·that·are·used·later |
50 | ····························in·the·template.·So·you·may·want·to·write·block | 71 | ····························in·the·template.·So·you·may·want·to·write·block |
51 | ····························tags·that·just·save·the·block·in·a·macro·for·later | 72 | ····························tags·that·just·save·the·block·in·a·macro·for·later |
52 | ····························use.·Although·this·is·possible·with·htp·it·is·quite | 73 | ····························use.·Although·this·is·possible·with·htp·it·is·quite |
53 | ····························tricky,·so·here·we·present·the·way·to·do·this: | 74 | ····························tricky,·so·here·we·present·the·way·to·do·this: |
75 | ···························· 1.·<a·href="mailto:$email">mailto·hyperlink</a> | ||
76 | ···························· 2.·<a·href="http://$domain/~${username}/">another | ||
77 | ····························hyperlink</a> | ||
54 | ····························This·defines·a·block·macro·named·section.·This | 78 | ····························This·defines·a·block·macro·named·section.·This |
55 | ····························macro·uses·a·counter·sect-ctr·that·enumerates·the | 79 | ····························macro·uses·a·counter·sect-ctr·that·enumerates·the |
56 | ····························sections.·It·is·increased·for·every·section·(line | 80 | ····························sections.·It·is·increased·for·every·section·(line |
57 | ····························3)·and·then·the·block·macro·name·is·build·from·this | 81 | ····························3)·and·then·the·block·macro·name·is·build·from·this |
58 | ····························counter.·So·the·first·section·is·stored·in·block | 82 | ····························counter.·So·the·first·section·is·stored·in·block |
59 | ····························sect-1,·the·second·in·sect-2·and·so·on.·The·_\x8[ | 83 | ····························sect-1,·the·second·in·sect-2·and·so·on.·The·_\x8[ |
60 | ····························_\x8[_\x8r_\x8e_\x8f_\x8]_\x8]_\x8g_\x8l_\x8o_\x8b_\x8a_\x8l·flag·in·line·4·tells·htp·that·these | 84 | ····························_\x8[_\x8r_\x8e_\x8f_\x8]_\x8]_\x8g_\x8l_\x8o_\x8b_\x8a_\x8l·flag·in·line·4·tells·htp·that·these |
Offset 77, 18 lines modified | Offset 101, 15 lines modified | ||
77 | ····························block·to·be·expanded·twice.·If·you·omit·it,·it | 101 | ····························block·to·be·expanded·twice.·If·you·omit·it,·it |
78 | ····························would·be·expanded·when·defining·the·sect-1·macro | 102 | ····························would·be·expanded·when·defining·the·sect-1·macro |
79 | ····························and·when·using·it·later·in·the·template.·Generally | 103 | ····························and·when·using·it·later·in·the·template.·Generally |
80 | ····························it·is·a·good·idea·to·use·noexpand·whenever·you·use | 104 | ····························it·is·a·good·idea·to·use·noexpand·whenever·you·use |
81 | ····························expand·in·a·block·around·it. | 105 | ····························expand·in·a·block·around·it. |
82 | ····························To·close·this·example·we·show·how·to·expand·the | 106 | ····························To·close·this·example·we·show·how·to·expand·the |
83 | ····························sect-${sect-ctr}·blocks·in·the·template: | 107 | ····························sect-${sect-ctr}·blocks·in·the·template: |
108 | ···························· 1.· · ·<${tagName}·${attrName}=${value$ctr}> | ||
84 | ···························· 1.· ·<_\x8[_\x8[_\x8r_\x8e_\x8f_\x8]_\x8]_\x8W_\x8H_\x8I_\x8L_\x8E·NOT·i="10"> | ||
85 | ···························· 2.· · ·... | ||
86 | ···························· 3.· · ·<_\x8[_\x8[_\x8r_\x8e_\x8f_\x8]_\x8]_\x8I_\x8N_\x8C·i> | ||
87 | ···························· 4.· ·<_\x8[_\x8[_\x8r_\x8e_\x8f_\x8]_\x8]_\x8/_\x8W_\x8H_\x8I_\x8L_\x8E> | ||
88 | ····························The·_\x8[_\x8[_\x8r_\x8e_\x8f_\x8]_\x8]_\x8w_\x8h_\x8i_\x8l_\x8e·tag·in·line·3·checks·whether·the | 109 | ····························The·_\x8[_\x8[_\x8r_\x8e_\x8f_\x8]_\x8]_\x8w_\x8h_\x8i_\x8l_\x8e·tag·in·line·3·checks·whether·the |
89 | ····························macro·sect-${sect-ctr}·is·defined.·If·it·is·defined | 110 | ····························macro·sect-${sect-ctr}·is·defined.·If·it·is·defined |
90 | ····························the·body·is·evaluated,·which·expands·the·macro·and | 111 | ····························the·body·is·evaluated,·which·expands·the·macro·and |
91 | ····························increases·sect-ctr.·Afterwards·the·while·condition | 112 | ····························increases·sect-ctr.·Afterwards·the·while·condition |
92 | ····························is·checked·again·to·check·for·sect-2·macro.·This | 113 | ····························is·checked·again·to·check·for·sect-2·macro.·This |
93 | ····························repeats·until·sect-${sect-ctr}·is·not·defined. | 114 | ····························repeats·until·sect-${sect-ctr}·is·not·defined. |
94 | ····························*\x8**\x8**\x8**\x8**\x8*·C\x8Co\x8on\x8nc\x8cl\x8lu\x8us\x8si\x8io\x8on\x8ns\x8s·*\x8**\x8**\x8**\x8**\x8* | 115 | ····························*\x8**\x8**\x8**\x8**\x8*·C\x8Co\x8on\x8nc\x8cl\x8lu\x8us\x8si\x8io\x8on\x8ns\x8s·*\x8**\x8**\x8**\x8**\x8* |
Offset 114, 14 lines modified | Offset 114, 36 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 | ·<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> | ||
123 | <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> | ||
121 | </code></p> | 143 | </code></p> |
122 | <h2>synopsis</h2> | 144 | <h2>synopsis</h2> |
123 | <STRONG>QUOTE</STRONG>·is·used·to·quote·a·macro·that·would·otherwise | 145 | <STRONG>QUOTE</STRONG>·is·used·to·quote·a·macro·that·would·otherwise |
124 | be·interpreted·by·HTP.··It·may·be·useful·in·conjunction·with·a | 146 | be·interpreted·by·HTP.··It·may·be·useful·in·conjunction·with·a |
125 | surrounding·<a·href="expand.html">EXPAND</a>ed·block·to·prevent·early | 147 | surrounding·<a·href="expand.html">EXPAND</a>ed·block·to·prevent·early |
126 | expansion·of·some·contained·blocks.··Note·that·'$'·evaluation·is·still | 148 | expansion·of·some·contained·blocks.··Note·that·'$'·evaluation·is·still |
127 | done·inside·a·quote·block. | 149 | done·inside·a·quote·block. |
Offset 1, 36 lines modified | Offset 1, 71 lines modified | ||
1 | [HTP] | 1 | [HTP] |
2 | *\x8**\x8**\x8**\x8**\x8**\x8*·h\x8ht\x8tp\x8p·o\x8on\x8n-\x8-l\x8li\x8in\x8ne\x8e·r\x8re\x8ef\x8fe\x8er\x8re\x8en\x8nc\x8ce\x8e·:\x8:·Q\x8QU\x8UO\x8OT\x8TE\x8E·*\x8**\x8**\x8**\x8**\x8**\x8* | 2 | *\x8**\x8**\x8**\x8**\x8**\x8*·h\x8ht\x8tp\x8p·o\x8on\x8n-\x8-l\x8li\x8in\x8ne\x8e·r\x8re\x8ef\x8fe\x8er\x8re\x8en\x8nc\x8ce\x8e·:\x8:·Q\x8QU\x8UO\x8OT\x8TE\x8E·*\x8**\x8**\x8**\x8**\x8**\x8* |
3 | _\x8T_\x8a_\x8b_\x8l_\x8e_\x8·_\x8o_\x8f_\x8·_\x8C_\x8o_\x8n_\x8t_\x8e_\x8n_\x8t_\x8s···········*\x8**\x8**\x8**\x8**\x8*·s\x8sy\x8yn\x8nt\x8ta\x8ax\x8x·*\x8**\x8**\x8**\x8**\x8* | 3 | _\x8T_\x8a_\x8b_\x8l_\x8e_\x8·_\x8o_\x8f_\x8·_\x8C_\x8o_\x8n_\x8t_\x8e_\x8n_\x8t_\x8s···········*\x8**\x8**\x8**\x8**\x8*·s\x8sy\x8yn\x8nt\x8ta\x8ax\x8x·*\x8**\x8**\x8**\x8**\x8* |
4 | ·_\x8I_\x8n_\x8t_\x8r_\x8o_\x8d_\x8u_\x8c_\x8t_\x8i_\x8o_\x8n··············*\x8**\x8**\x8**\x8**\x8*·s\x8sy\x8yn\x8no\x8op\x8ps\x8si\x8is\x8s·*\x8**\x8**\x8**\x8**\x8* | ||
5 | ·_\x8L_\x8i_\x8c_\x8e_\x8n_\x8s_\x8e···················Q\x8QU\x8UO\x8OT\x8TE\x8E·is·used·to·quote·a·macro·that·would·otherwise | ||
6 | ·_\x8T_\x8u_\x8t_\x8o_\x8r_\x8i_\x8a_\x8l··················be·interpreted·by·HTP.·It·may·be·useful·in | ||
7 | ·_\x8U_\x8s_\x8a_\x8g_\x8e·····················conjunction·with·a·surrounding·_\x8E_\x8X_\x8P_\x8A_\x8N_\x8Ded·block·to | ||
8 | ·HTP·Tags··················prevent·early·expansion·of·some·contained·blocks. | ||
9 | · ···_\x8A_\x8L_\x8T_\x8T_\x8E_\x8X_\x8T···············Note·that·'$'·evaluation·is·still·done·inside·a | ||
10 | · ···_\x8B_\x8L_\x8O_\x8C_\x8K·················quote·block. | ||
11 | · ···_\x8B_\x8L_\x8O_\x8C_\x8K_\x8D_\x8E_\x8F | ||
12 | · | 4 | ·_.I_.n_.t_.r_.o_.d_.u_.c_.t_.i_.o_.n·············· ·<_.[_.[_.r_.e_.f_.]_.]_.i_.m_.a_.g_.e_.u_.r_.l·url="http://my.domain.org/ |
5 | ·_\x8L_\x8i_\x8c_\x8e_\x8n_\x8s_\x8e···················"·path="/var/www/my.domain/"> | ||
6 | ·_\x8T_\x8u_\x8t_\x8o_\x8r_\x8i_\x8a_\x8l·················· ·<_\x8[_\x8[_\x8r_\x8e_\x8f_\x8]_\x8]_\x8i_\x8m_\x8a_\x8g_\x8e_\x8u_\x8r_\x8l·url="other.domain.org/"·path="/ | ||
7 | ·_\x8U_\x8s_\x8a_\x8g_\x8e·····················var/www/other.domain/"> | ||
8 | ·HTP·Tags | ||
9 | · ···_\x8A_\x8L_\x8T_\x8T_\x8E_\x8X_\x8T··············· ·For·this·line:·<_\x8[_\x8[_\x8r_\x8e_\x8f_\x8]_\x8]_\x8i_\x8m_\x8g·src="logo.gif"> | ||
10 | · ···_\x8B_\x8L_\x8O_\x8C_\x8K················· ·the·local·filename·"logo.gif"·will·be·used·to | ||
11 | · ···_\x8B_\x8L_\x8O_\x8C_\x8K_\x8D_\x8E_\x8F··············determine·image·dimensions | ||
12 | · ···_\x8D_\x8E_\x8F··················· ·(no·URL·replacement). | ||
13 | · ···_\x8F_\x8I_\x8L_\x8E | 13 | · ···_\x8F_\x8I_\x8L_\x8E |
14 | · ···_\x8I_\x8F | ||
15 | · ···_\x8I_\x8N_\x8C | ||
16 | · ···_\x8I_\x8M_\x8G | ||
17 | · ···_\x8I_\x8 | 14 | · ···_\x8I_\x8F···················· ·For·this·line:·<_.[_.[_.r_.e_.f_.]_.]_.i_.m_.g·src="http:// |
15 | · ···_\x8I_\x8N_\x8C···················my.domain.org/logo.gif"> | ||
16 | · ···_\x8I_\x8M_\x8G··················· ·the·local·filename·"/var/www/my.domain/logo.gif" | ||
17 | · ···_\x8I_\x8M_\x8A_\x8G_\x8E_\x8U_\x8R_\x8L··············will·be·used. | ||
18 | · ···_\x8O_\x8P_\x8T | 18 | · ···_\x8O_\x8P_\x8T |
19 | · ···_\x8O_\x8U_\x8T_\x8P_\x8U_\x8T | ||
20 | ·[>]·_\x8Q_\x8U_\x8O_\x8T_\x8E | ||
21 | · ···_\x8S_\x8E_\x8T | ||
22 | · ···_\x8U_\x8N_\x8D_\x8E_\x8F | ||
23 | · ···_\x8U_. | 19 | · ···_\x8O_.U_.T_.P_.U_.T················ ·But·for·this·line:·<_.[_.[_.r_.e_.f_.]_.]_.i_.m_.g·src="http:// |
20 | ·[>]·_\x8Q_\x8U_\x8O_\x8T_\x8E·················other.domain.org/logo.gif"> | ||
21 | · ···_\x8S_\x8E_\x8T··················· ·the·local·file·cannot·be·found·(no·prefix·match), | ||
22 | · ···_\x8U_\x8N_\x8D_\x8E_\x8F·················so·the·image·dimensions | ||
23 | · ···_\x8U_\x8N_\x8S_\x8E_\x8T················· ·will·not·be·added. | ||
24 | · ···_\x8U_\x8S_\x8E_\x8,_\x8·_\x8$ | 24 | · ···_\x8U_\x8S_\x8E_\x8,_\x8·_\x8$ |
25 | · ···_\x8W_\x8H_\x8I_\x8L_\x8E | ||
26 | · ···_\x8<_\x8!_\x8-_\x8-_\x8- | ||
27 | ·_\x8H_\x8i_\x8s_\x8t_\x8o_\x8r_\x8y | ||
28 | ·_\x8W_\x8i_\x8s_\x8h_\x8·_\x8l_\x8i_\x8s_\x8t | ||
29 | ·_. | 25 | · ···_.W_.H_.I_.L_.E················· ·Order·is·important;·last·IMAGEURL·tag·takes |
26 | · ···_\x8<_\x8!_\x8-_\x8-_\x8-·················precedence: | ||
27 | ·_\x8H_\x8i_\x8s_\x8t_\x8o_\x8r_\x8y··················· ·<_\x8[_\x8[_\x8r_\x8e_\x8f_\x8]_\x8]_\x8i_\x8m_\x8a_\x8g_\x8e_\x8u_\x8r_\x8l·url="/"·path="/var/www/htdocs/"> | ||
28 | ·_\x8W_\x8i_\x8s_\x8h_\x8·_\x8l_\x8i_\x8s_\x8t················· ·<_\x8[_\x8[_\x8r_\x8e_\x8f_\x8]_\x8]_\x8i_\x8m_\x8a_\x8g_\x8e_\x8u_\x8r_\x8l·url="/test/"·path="/var/www/ | ||
29 | ·_\x8B_\x8u_\x8g_\x8s······················test/"> | ||
30 | ···························· ·<_\x8[_\x8[_\x8r_\x8e_\x8f_\x8]_\x8]_\x8i_\x8m_\x8g·src="/image.gif"> and·<_\x8[_\x8[_\x8r_\x8e_\x8f_\x8]_\x8]_\x8i_\x8m_\x8g | ||
31 | ····························src="/test/image.gif"> are·mapped·to | ||
32 | ···························· ·/var/www/htdocs/image.gif·and·/var/www/test/ | ||
33 | ····························image.gif,·resp. | ||
34 | ···························· ·If·the·order·of·the·imageurl·lines·would·be | ||
35 | ····························swapped,·the·second | ||
36 | ···························· ·image·would·be·mapped·to·/var/www/htdocs/test/ | ||
37 | ····························image.gif. | ||
38 | ····························*\x8**\x8**\x8**\x8**\x8*·s\x8sy\x8yn\x8no\x8op\x8ps\x8si\x8is\x8s·*\x8**\x8**\x8**\x8**\x8* | ||
39 | ····························Q\x8QU\x8UO\x8OT\x8TE\x8E·is·used·to·quote·a·macro·that·would·otherwise | ||
40 | ····························be·interpreted·by·HTP.·It·may·be·useful·in | ||
41 | ····························conjunction·with·a·surrounding·_\x8E_\x8X_\x8P_\x8A_\x8N_\x8Ded·block·to | ||
42 | ····························prevent·early·expansion·of·some·contained·blocks. | ||
43 | ····························Note·that·'$'·evaluation·is·still·done·inside·a | ||
44 | ····························quote·block. | ||
30 | ·_\x8p_\x8a_\x8g_\x8e_\x8·_\x8s_\x8o_\x8u_\x8r_\x8c_\x8e | 45 | ·_\x8p_\x8a_\x8g_\x8e_\x8·_\x8s_\x8o_\x8u_\x8r_\x8c_\x8e |
31 | ·_\x8h_\x8t_\x8p_\x8·_\x8p_\x8r_\x8o_\x8j_\x8e_\x8c_\x8t | 46 | ·_\x8h_\x8t_\x8p_\x8·_\x8p_\x8r_\x8o_\x8j_\x8e_\x8c_\x8t |
32 | ·_\x8h_\x8t_\x8p_\x8·_\x8h_\x8o_\x8m_\x8e_\x8p_\x8a_\x8g_\x8e | 47 | ·_\x8h_\x8t_\x8p_\x8·_\x8h_\x8o_\x8m_\x8e_\x8p_\x8a_\x8g_\x8e |
33 | hosted·by | 48 | hosted·by |
34 | _\x8S_\x8o_\x8u_\x8r_\x8c_\x8e_\x8f_\x8o_\x8r_\x8g_\x8e | 49 | _\x8S_\x8o_\x8u_\x8r_\x8c_\x8e_\x8f_\x8o_\x8r_\x8g_\x8e |
35 | HTML·coding_\x8[_\x8P_\x8o_\x8w_\x8e_\x8r_\x8e_\x8d_\x8·_\x8b_\x8y | 50 | HTML·coding_\x8[_\x8P_\x8o_\x8w_\x8e_\x8r_\x8e_\x8d_\x8·_\x8b_\x8y |
Offset 114, 20 lines modified | Offset 114, 54 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 | · | 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="htp-attrib">NOT</span>·<span·class="htp-attrib">i</span>=<span·class="htp-string">"10"</span>></span><br> |
122 | · ·...<br> | ||
123 | · ·<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> | ||
124 | ·<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> | ||
125 | <br> | ||
126 | <br> | ||
127 | ·<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> | ||
128 | · ·<span·class="htp-tag"></font></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> | ||
130 | <br> | ||
131 | ·<span·class="htp-tag"><bigfont></span>Some·large·text<span·class="htp-tag"></bigfont></span><br> | ||
122 | </code></p> | 132 | </code></p> |
123 | <h2>synopsis</h2> | 133 | <h2>synopsis</h2> |
124 | <STRONG>SET</STRONG>·creates·a·macro·definition·that·can·later·be·expanded | 134 | <STRONG>SET</STRONG>·creates·a·macro·definition·that·can·later·be·expanded |
125 | anywhere·in·the·HTML·document.··To·create·a·macro: | 135 | anywhere·in·the·HTML·document.··To·create·a·macro: |
126 | ··<p><code> | 136 | ··<p><code> |
137 | ·<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> | ||
138 | · ·<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> | ||
139 | · · · ·<span·class="htp-tag"><FONT·<span·class="htp-attrib">SIZE</span>=<span·class="htp-value"><span·class="htp-macro">${size}</span></span>></span><br> | ||
140 | · ·<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> | ||
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-value">pics/<span·class="htp-macro">${src}</span></span>></span><br> | ||
142 | · ·<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> | ||
143 | · ·<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> | ||
144 | · · · ·<span·class="htp-tag"></FONT></span><br> | ||
145 | · ·<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> | ||
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"><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> | ||
149 | <br> | ||
150 | ·<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> | ||
151 | <br> | ||
152 | ·This·will·fail:<br> | ||
153 | ·<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> | ||
154 | <br> | ||
155 | ·Instead,·use·*·like·this:<br> | ||
156 | ·<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> | ||
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">"pics/<span·class="htp-macro">${src}</span>"</span>·<span·class="htp-attrib"><span·class="htp-macro">$*</span></span>></span><br> | ||
158 | ·<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> | ||
159 | · ·<br> | ||
160 | ·<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> | ||
127 | </code></p> | 161 | </code></p> |
128 | <P> | 162 | <P> |
129 | The·macro·"emailaddr"·can·then·be·expanded·later.··The·<A·HREF="use.html"> | 163 | The·macro·"emailaddr"·can·then·be·expanded·later.··The·<A·HREF="use.html"> |
130 | USE</A>·tag·is·used·to·expand·the·macro·outside·a·tag·(i.e.,·into·the·regular | 164 | USE</A>·tag·is·used·to·expand·the·macro·outside·a·tag·(i.e.,·into·the·regular |
131 | text).··If·the·macro·needs·to·be·expanded·inside·a·markup·tag,·use·the | 165 | text).··If·the·macro·needs·to·be·expanded·inside·a·markup·tag,·use·the |
132 | <A·HREF="use.html">'$'</A>·operator. | 166 | <A·HREF="use.html">'$'</A>·operator. |
133 | <P> | 167 | <P> |
Offset 1, 36 lines modified | Offset 1, 74 lines modified | ||
1 | [HTP] | 1 | [HTP] |
2 | *\x8**\x8**\x8**\x8**\x8**\x8*·h\x8ht\x8tp\x8p·o\x8on\x8n-\x8-l\x8li\x8in\x8ne\x8e·r\x8re\x8ef\x8fe\x8er\x8re\x8en\x8nc\x8ce\x8e·:\x8:·S\x8SE\x8ET\x8T·*\x8**\x8**\x8**\x8**\x8**\x8* | 2 | *\x8**\x8**\x8**\x8**\x8**\x8*·h\x8ht\x8tp\x8p·o\x8on\x8n-\x8-l\x8li\x8in\x8ne\x8e·r\x8re\x8ef\x8fe\x8er\x8re\x8en\x8nc\x8ce\x8e·:\x8:·S\x8SE\x8ET\x8T·*\x8**\x8**\x8**\x8**\x8**\x8* |
3 | _\x8T_\x8a_\x8b_\x8l_\x8e_\x8·_\x8o_\x8f_\x8·_\x8C_\x8o_\x8n_\x8t_\x8e_\x8n_\x8t_\x8s···········*\x8**\x8**\x8**\x8**\x8*·s\x8sy\x8yn\x8nt\x8ta\x8ax\x8x·*\x8**\x8**\x8**\x8**\x8* | 3 | _\x8T_\x8a_\x8b_\x8l_\x8e_\x8·_\x8o_\x8f_\x8·_\x8C_\x8o_\x8n_\x8t_\x8e_\x8n_\x8t_\x8s···········*\x8**\x8**\x8**\x8**\x8*·s\x8sy\x8yn\x8nt\x8ta\x8ax\x8x·*\x8**\x8**\x8**\x8**\x8* |
4 | ·_\x8I_\x8n_\x8t_\x8r_\x8o_\x8d_\x8u_\x8c_\x8t_\x8i_\x8o_\x8n·············· · | 4 | ·_\x8I_\x8n_\x8t_\x8r_\x8o_\x8d_\x8u_\x8c_\x8t_\x8i_\x8o_\x8n·············· ·<_.[_.[_.r_.e_.f_.]_.]_.W_.H_.I_.L_.E·NOT·i="10"> |
5 | ·_\x8L_\x8i_\x8c_\x8e_\x8n_\x8s_\x8e··················· · ·... | ||
6 | ·_\x8T_\x8u_\x8t_\x8o_\x8r_\x8i_\x8a_\x8l·················· · ·<_\x8[_\x8[_\x8r_\x8e_\x8f_\x8]_\x8]_\x8I_\x8N_\x8C·i> | ||
7 | ·_\x8U_\x8s_\x8a_\x8g_\x8e····················· ·<_\x8[_\x8[_\x8r_\x8e_\x8f_\x8]_\x8]_\x8/_\x8W_\x8H_\x8I_\x8L_\x8E> | ||
8 | ·HTP·Tags | ||
9 | · ···_\x8A_\x8L_\x8T_\x8T_\x8E_\x8X_\x8T | ||
10 | · ···_\x8B_\x8L_\x8O_\x8C_\x8K················· ·<_\x8[_\x8[_\x8r_\x8e_\x8f_\x8]_\x8]_\x8d_\x8e_\x8f·name="/bigfont"> | ||
11 | · ···_\x8B_\x8L_\x8O_\x8C_\x8K_\x8D_\x8E_\x8F·············· · ·</font> | ||
12 | · ···_\x8D_\x8E_\x8F··················· ·<_\x8[_\x8[_\x8r_\x8e_\x8f_\x8]_\x8]_\x8/_\x8d_\x8e_\x8f> | ||
13 | · ···_\x8F_\x8I_\x8L_\x8E | ||
14 | · ···_\x8I_\x8F···················· ·<bigfont>Some·large·text</bigfont> | ||
5 | · | 15 | · ···_.I_.N_.C···················*\x8**\x8**\x8**\x8**\x8*·s\x8sy\x8yn\x8no\x8op\x8ps\x8si\x8is\x8s·*\x8**\x8**\x8**\x8**\x8* |
6 | · | 16 | · ···_.I_.M_.G···················S\x8SE\x8ET\x8T·creates·a·macro·definition·that·can·later·be |
7 | ·_. | 17 | · ···_.I_.M_.A_.G_.E_.U_.R_.L··············expanded·anywhere·in·the·HTML·document.·To·create·a |
8 | · | 18 | · ···_.O_.P_.T···················macro: |
19 | · ···_\x8O_\x8U_\x8T_\x8P_\x8U_\x8T················ ·<_\x8[_\x8[_\x8r_\x8e_\x8f_\x8]_\x8]_\x8D_\x8E_\x8F·NAME="HEADERIMG"·OPTION="SRC·TITLE | ||
20 | · ···_\x8Q_\x8U_\x8O_\x8T_\x8E·················SIZE"> | ||
21 | ·[>]·_\x8S_\x8E_\x8T··················· · ·<_\x8[_\x8[_\x8r_\x8e_\x8f_\x8]_\x8]_\x8I_\x8F·size> | ||
22 | · ···_\x8U_\x8N_\x8D_\x8E_\x8F················· · · · ·<FONT·SIZE=${size}> | ||
23 | · ···_\x8U_\x8N_\x8S_\x8E_\x8T················· · ·<_\x8[_\x8[_\x8r_\x8e_\x8f_\x8]_\x8]_\x8/_\x8I_\x8F> | ||
24 | · ···_\x8U_\x8S_\x8E_\x8,_\x8·_\x8$················ · ·<_\x8[_\x8[_\x8r_\x8e_\x8f_\x8]_\x8]_\x8I_\x8M_\x8G·SRC=pics/${src}> | ||
25 | · ···_\x8W_\x8H_\x8I_\x8L_\x8E················· · ·<_\x8[_\x8[_\x8r_\x8e_\x8f_\x8]_\x8]_\x8U_\x8S_\x8E·title> | ||
26 | · ···_\x8<_\x8!_\x8-_\x8-_\x8-················· · ·<_\x8[_\x8[_\x8r_\x8e_\x8f_\x8]_\x8]_\x8I_\x8F·size> | ||
27 | ·_\x8H_\x8i_\x8s_\x8t_\x8o_\x8r_\x8y··················· · · · ·</FONT> | ||
28 | ·_\x8W_\x8i_\x8s_\x8h_\x8·_\x8l_\x8i_\x8s_\x8t················· · ·<_\x8[_\x8[_\x8r_\x8e_\x8f_\x8]_\x8]_\x8/_\x8I_\x8F> | ||
29 | ·_\x8B_\x8u_\x8g_\x8s······················ ·<_\x8[_\x8[_\x8r_\x8e_\x8f_\x8]_\x8]_\x8/_\x8D_\x8E_\x8F> | ||
30 | ···························· ·<HEADERIMG·SRC="logo.gif"·SIZE="+2"·TITLE="A | ||
31 | ····························title"> | ||
32 | ···························· ·<HEADERIMG·SRC="logo.gif"·TITLE="Normal·sized | ||
33 | ····························title"> | ||
34 | ···························· ·This·will·fail: | ||
35 | ···························· ·<HEADERIMG·SRC="logo.gif"·ALT="Our·logo" | ||
36 | ····························TITLE="Another·title"> | ||
37 | ···························· ·Instead,·use·*·like·this: | ||
38 | ···························· ·<_\x8[_\x8[_\x8r_\x8e_\x8f_\x8]_\x8]_\x8D_\x8E_\x8F·NAME="MYIMG"·OPTION="SRC·*"> | ||
39 | ···························· · ·<_\x8[_\x8[_\x8r_\x8e_\x8f_\x8]_\x8]_\x8I_\x8M_\x8G·SRC="pics/${src}"·$*> | ||
40 | ···························· ·<_\x8[_\x8[_\x8r_\x8e_\x8f_\x8]_\x8]_\x8/_\x8D_\x8E_\x8F> | ||
41 | ···························· · | ||
42 | ···························· ·<MYIMG·SRC="logo.gif"·ALT="Our·logo"> | ||
9 | 43 | ····························The·macro·"emailaddr"·can·then·be·expanded·later. | |
10 | 44 | ····························The·_\x8U_\x8S_\x8E·tag·is·used·to·expand·the·macro·outside·a | |
11 | 45 | ····························tag·(i.e.,·into·the·regular·text).·If·the·macro | |
12 | 46 | ····························needs·to·be·expanded·inside·a·markup·tag,·use·the | |
13 | 47 | ····························_\x8'_\x8$_\x8'·operator. | |
14 | 48 | ····························Multiple·macros·can·be·declared·in·a·single·markup | |
15 | 49 | ····························tag,·as·the·second·syntax·line·shows. | |
16 | 50 | ····························SET·should·only·be·used·for·a·single·line's·worth | |
17 | 51 | ····························of·text.·Multi-line·macros·can·be·defined·with·the | |
18 | 52 | ····························_\x8B_\x8L_\x8O_\x8C_\x8K·tag.·The·_\x8B_\x8L_\x8O_\x8C_\x8K·tag·is·also·useful·if·the | |
19 | 53 | ····························macro·contains·a·quotation·character·and·you·don't | |
20 | 54 | ····························want·to·fool·around·with·special·escape·characters. | |
21 | 55 | ····························Macros·can·be·redefined·by·using·another·SET | |
22 | 56 | ····························command·with·the·same·macro·name.·The·prior | |
23 | 57 | ····························definition·will·be·destroyed,·however.·Also,·the | |
24 | 58 | ····························macro·can·be·removed·(destroyed)·with·the·_\x8U_\x8N_\x8S_\x8E_\x8T | |
25 | · ···_\x8W_\x8H_\x8I_\x8L_\x8E·················tag. | ||
26 | · ···_\x8<_\x8!_\x8-_\x8-_\x8- | ||
27 | ·_\x8H_\x8i_\x8s_\x8t_\x8o_\x8r_\x8y | ||
28 | ·_\x8W_\x8i_\x8s_\x8h_\x8·_\x8l_\x8i_\x8s_\x8t | ||
29 | 59 | ····························tag. | |
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·Apr·10,·2026 |
24 | ·</body> | 24 | ·</body> |
25 | </html> | 25 | </html> |
Offset 1, 8 lines modified | Offset 1, 8 lines modified | ||
1 | ···············*\x8**\x8**\x8**\x8**\x8**\x8*·J\x8Jo\x8oc\x8ch\x8he\x8en\x8n·H\x8Ho\x8oe\x8en\x8ni\x8ic\x8ck\x8ke\x8e·*\x8**\x8**\x8**\x8**\x8**\x8* | 1 | ···············*\x8**\x8**\x8**\x8**\x8**\x8*·J\x8Jo\x8oc\x8ch\x8he\x8en\x8n·H\x8Ho\x8oe\x8en\x8ni\x8ic\x8ck\x8ke\x8e·*\x8**\x8**\x8**\x8**\x8**\x8* |
2 | Navigation·bar·[Photo] | 2 | Navigation·bar·[Photo] |
3 | _\x8M_\x8a_\x8i_\x8n···········R\x8Ro\x8oo\x8om\x8m:\x8:··Bld.52·00-020 | 3 | _\x8M_\x8a_\x8i_\x8n···········R\x8Ro\x8oo\x8om\x8m:\x8:··Bld.52·00-020 |
4 | _\x8E_\x8x_\x8a_\x8m_\x8p_\x8l_\x8e········P\x8Ph\x8ho\x8on\x8ne\x8e:\x8:·+49·761·203-8243 | 4 | _\x8E_\x8x_\x8a_\x8m_\x8p_\x8l_\x8e········P\x8Ph\x8ho\x8on\x8ne\x8e:\x8:·+49·761·203-8243 |
5 | ···············F\x8Fa\x8ax\x8x:\x8:···+49·761·203-8242 | 5 | ···············F\x8Fa\x8ax\x8x:\x8:···+49·761·203-8242 |
6 | =============================================================================== | 6 | =============================================================================== |
7 | Copyright·by·_\x8J_\x8o_\x8e_\x8·_\x8D_\x8o_\x8e. | 7 | Copyright·by·_\x8J_\x8o_\x8e_\x8·_\x8D_\x8o_\x8e. |
8 | last·updated· | 8 | last·updated·Fri·Apr·10,·2026 |
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·Apr·10,·2026 |
13 | </body> | 13 | </body> |
Offset 1, 3 lines modified | Offset 1, 3 lines modified | ||
1 | This·page·was·produced·by·htp. | 1 | This·page·was·produced·by·htp. |
2 | =============================================================================== | 2 | =============================================================================== |
3 | Copyright·by·Joe·Doe,·_\x8w_\x8e_\x8b_\x8m_\x8a_\x8s_\x8t_\x8e_\x8r_\x8@_\x8d_\x8o_\x8m_\x8a_\x8i_\x8n_\x8._\x8c_\x8o_\x8m,·last·updated· | 3 | Copyright·by·Joe·Doe,·_\x8w_\x8e_\x8b_\x8m_\x8a_\x8s_\x8t_\x8e_\x8r_\x8@_\x8d_\x8o_\x8m_\x8a_\x8i_\x8n_\x8._\x8c_\x8o_\x8m,·last·updated·Fri·Apr·10,·2026 |
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·Apr·10,·2026 |
21 | ·</body> | 21 | ·</body> |
22 | </html> | 22 | </html> |
Offset 1, 6 lines modified | Offset 1, 6 lines modified | ||
1 | Navigation·bar·*\x8**\x8**\x8**\x8**\x8*·H\x8He\x8er\x8re\x8e·i\x8is\x8s·t\x8th\x8he\x8e·c\x8co\x8on\x8nt\x8te\x8en\x8nt\x8t·*\x8**\x8**\x8**\x8**\x8* | 1 | Navigation·bar·*\x8**\x8**\x8**\x8**\x8*·H\x8He\x8er\x8re\x8e·i\x8is\x8s·t\x8th\x8he\x8e·c\x8co\x8on\x8nt\x8te\x8en\x8nt\x8t·*\x8**\x8**\x8**\x8**\x8* |
2 | _\x8M_\x8a_\x8i_\x8n···········As·you·can·see·the·file·contains·almost·only·the·contents. | 2 | _\x8M_\x8a_\x8i_\x8n···········As·you·can·see·the·file·contains·almost·only·the·contents. |
3 | _\x8E_\x8x_\x8a_\x8m_\x8p_\x8l_\x8e | 3 | _\x8E_\x8x_\x8a_\x8m_\x8p_\x8l_\x8e |
4 | =============================================================================== | 4 | =============================================================================== |
5 | Copyright·by·_\x8J_\x8o_\x8e_\x8·_\x8D_\x8o_\x8e. | 5 | Copyright·by·_\x8J_\x8o_\x8e_\x8·_\x8D_\x8o_\x8e. |
6 | last·updated· | 6 | last·updated·Fri·Apr·10,·2026 |
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·Apr·10,·2026 |
21 | ·</body> | 21 | ·</body> |
22 | </html> | 22 | </html> |
Offset 1, 6 lines modified | Offset 1, 6 lines modified | ||
1 | Navigation·bar·*\x8**\x8**\x8**\x8**\x8*·H\x8He\x8er\x8re\x8e·a\x8ar\x8re\x8e·t\x8th\x8he\x8e·c\x8co\x8on\x8nt\x8te\x8en\x8nt\x8ts\x8s·*\x8**\x8**\x8**\x8**\x8* | 1 | Navigation·bar·*\x8**\x8**\x8**\x8**\x8*·H\x8He\x8er\x8re\x8e·a\x8ar\x8re\x8e·t\x8th\x8he\x8e·c\x8co\x8on\x8nt\x8te\x8en\x8nt\x8ts\x8s·*\x8**\x8**\x8**\x8**\x8* |
2 | _\x8M_\x8a_\x8i_\x8n···········As·you·can·see·the·file·contains·almost·only·the·contents. | 2 | _\x8M_\x8a_\x8i_\x8n···········As·you·can·see·the·file·contains·almost·only·the·contents. |
3 | _\x8E_\x8x_\x8a_\x8m_\x8p_\x8l_\x8e | 3 | _\x8E_\x8x_\x8a_\x8m_\x8p_\x8l_\x8e |
4 | =============================================================================== | 4 | =============================================================================== |
5 | Copyright·by·_\x8J_\x8o_\x8e_\x8·_\x8D_\x8o_\x8e. | 5 | Copyright·by·_\x8J_\x8o_\x8e_\x8·_\x8D_\x8o_\x8e. |
6 | last·updated· | 6 | last·updated·Fri·Apr·10,·2026 |
Offset 114, 15 lines modified | Offset 114, 19 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="inc.html"·><img·src="pic/manual.png"·border=0·alt="[ref]"·width="10"·height="10">INC</a>·<span·class="htp-attrib">i</span>=<span·class="htp-string">"1"</span>·<span·class="htp-attrib">j</span>=<span·class="htp-string">"-1"</span>></span><br> |
122 | ers·...]·[noexpand]><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 | <span·class="htp-tag"><...·<span·class="htp-attrib"><span·class="htp-macro">${macroname}</span></span>·<span·class="htp-attrib">...</span>></span><br> | ||
125 | <br> | ||
122 | </code></p> | 126 | </code></p> |
123 | <h2>synopsis</h2> | 127 | <h2>synopsis</h2> |
124 | <P><STRONG>UNDEF</STRONG>·removes·a·metatag·definition.··Metatags | 128 | <P><STRONG>UNDEF</STRONG>·removes·a·metatag·definition.··Metatags |
125 | created·by·<A·HREF="def.html">DEF</A>·and·<A | 129 | created·by·<A·HREF="def.html">DEF</A>·and·<A |
126 | HREF="blockdef.html">BLOCKDEF</A>·can·be·removed·with·the·UNDEF | 130 | HREF="blockdef.html">BLOCKDEF</A>·can·be·removed·with·the·UNDEF |
127 | command.··Once·removed,·the·metatag·will·no·longer·be·recognized·by | 131 | command.··Once·removed,·the·metatag·will·no·longer·be·recognized·by |
128 | htp·until·it·is·reassigned.··</P> | 132 | htp·until·it·is·reassigned.··</P> |
Offset 1, 22 lines modified | Offset 1, 22 lines modified | ||
1 | [HTP] | 1 | [HTP] |
2 | *\x8**\x8**\x8**\x8**\x8**\x8*·h\x8ht\x8tp\x8p·o\x8on\x8n-\x8-l\x8li\x8in\x8ne\x8e·r\x8re\x8ef\x8fe\x8er\x8re\x8en\x8nc\x8ce\x8e·:\x8:·U\x8UN\x8ND\x8DE\x8EF\x8F·*\x8**\x8**\x8**\x8**\x8**\x8* | 2 | *\x8**\x8**\x8**\x8**\x8**\x8*·h\x8ht\x8tp\x8p·o\x8on\x8n-\x8-l\x8li\x8in\x8ne\x8e·r\x8re\x8ef\x8fe\x8er\x8re\x8en\x8nc\x8ce\x8e·:\x8:·U\x8UN\x8ND\x8DE\x8EF\x8F·*\x8**\x8**\x8**\x8**\x8**\x8* |
3 | _\x8T_\x8a_\x8b_\x8l_\x8e_\x8·_\x8o_\x8f_\x8·_\x8C_\x8o_\x8n_\x8t_\x8e_\x8n_\x8t_\x8s···········*\x8**\x8**\x8**\x8**\x8*·s\x8sy\x8yn\x8nt\x8ta\x8ax\x8x·*\x8**\x8**\x8**\x8**\x8* | 3 | _\x8T_\x8a_\x8b_\x8l_\x8e_\x8·_\x8o_\x8f_\x8·_\x8C_\x8o_\x8n_\x8t_\x8e_\x8n_\x8t_\x8s···········*\x8**\x8**\x8**\x8**\x8*·s\x8sy\x8yn\x8nt\x8ta\x8ax\x8x·*\x8**\x8**\x8**\x8**\x8* |
4 | ·_\x8I_\x8n_\x8t_\x8r_\x8o_\x8d_\x8u_\x8c_\x8t_\x8i_\x8o_\x8n·············· · ·<_\x8[_\x8[_\x8r_\x8e_\x8f_\x8]_\x8]_\x8 | 4 | ·_\x8I_\x8n_\x8t_\x8r_\x8o_\x8d_\x8u_\x8c_\x8t_\x8i_\x8o_\x8n·············· · ·<_\x8[_\x8[_\x8r_\x8e_\x8f_\x8]_\x8]_\x8I_.N_.C·i="1"·j="-1"> |
5 | ·_\x8L_\x8i_\x8c_\x8e_\x8n_\x8s_\x8e···················ers·...]·[noexpand]> | ||
6 | ·_\x8T_\x8u_\x8t_\x8o_\x8r_\x8i_\x8a_\x8l··················<...·$macroname·...> | ||
7 | ·_\x8U_\x8s_\x8a_\x8g_\x8e·····················<...·${macroname}·...> | ||
8 | ·HTP·Tags | ||
5 | · | 9 | · ···_.A_.L_.T_.T_.E_.X_.T···············*\x8**\x8**\x8**\x8**\x8*·s\x8sy\x8yn\x8no\x8op\x8ps\x8si\x8is\x8s·*\x8**\x8**\x8**\x8**\x8* |
6 | · | 10 | · ···_.B_.L_.O_.C_.K·················U\x8UN\x8ND\x8DE\x8EF\x8F·removes·a·metatag·definition.·Metatags |
7 | ·_. | 11 | · ···_.B_.L_.O_.C_.K_.D_.E_.F··············created·by·_\x8D_\x8E_\x8F·and·_\x8B_\x8L_\x8O_\x8C_\x8K_\x8D_\x8E_\x8F·can·be·removed·with·the |
8 | · | 12 | · ···_.D_.E_.F···················UNDEF·command.·Once·removed,·the·metatag·will·no |
9 | · ···_\x8 | 13 | · ···_\x8F_.I_.L_.E··················longer·be·recognized·by·htp·until·it·is·reassigned. |
10 | · ···_\x8 | 14 | · ···_\x8I_.F····················Multiple·metatags·can·be·removed·by·placing·each |
11 | · ···_\x8 | 15 | · ···_\x8I_.N_.C···················name·as·an·attribute. |
12 | · ···_\x8D_\x8E_\x8F | ||
13 | · ···_\x8F_\x8I_\x8L_\x8E | ||
14 | · ···_\x8I_\x8F | ||
15 | · ···_\x8I_\x8N_\x8C | ||
16 | · ···_\x8I_\x8M_\x8G | 16 | · ···_\x8I_\x8M_\x8G |
17 | · ···_\x8I_\x8M_\x8A_\x8G_\x8E_\x8U_\x8R_\x8L | 17 | · ···_\x8I_\x8M_\x8A_\x8G_\x8E_\x8U_\x8R_\x8L |
18 | · ···_\x8O_\x8P_\x8T | 18 | · ···_\x8O_\x8P_\x8T |
19 | · ···_\x8O_\x8U_\x8T_\x8P_\x8U_\x8T | 19 | · ···_\x8O_\x8U_\x8T_\x8P_\x8U_\x8T |
20 | · ···_\x8Q_\x8U_\x8O_\x8T_\x8E | 20 | · ···_\x8Q_\x8U_\x8O_\x8T_\x8E |
21 | · ···_\x8S_\x8E_\x8T | 21 | · ···_\x8S_\x8E_\x8T |
22 | ·[>]·_\x8U_\x8N_\x8D_\x8E_\x8F | 22 | ·[>]·_\x8U_\x8N_\x8D_\x8E_\x8F |
Offset 25, 14 lines modified | Offset 25, 18 lines modified | ||
25 | · ···_\x8W_\x8H_\x8I_\x8L_\x8E | 25 | · ···_\x8W_\x8H_\x8I_\x8L_\x8E |
26 | · ···_\x8<_\x8!_\x8-_\x8-_\x8- | 26 | · ···_\x8<_\x8!_\x8-_\x8-_\x8- |
27 | ·_\x8H_\x8i_\x8s_\x8t_\x8o_\x8r_\x8y | 27 | ·_\x8H_\x8i_\x8s_\x8t_\x8o_\x8r_\x8y |
28 | ·_\x8W_\x8i_\x8s_\x8h_\x8·_\x8l_\x8i_\x8s_\x8t | 28 | ·_\x8W_\x8i_\x8s_\x8h_\x8·_\x8l_\x8i_\x8s_\x8t |
29 | ·_\x8B_\x8u_\x8g_\x8s | 29 | ·_\x8B_\x8u_\x8g_\x8s |
30 | ·_\x8p_\x8a_\x8g_\x8e_\x8·_\x8s_\x8o_\x8u_\x8r_\x8c_\x8e | 30 | ·_\x8p_\x8a_\x8g_\x8e_\x8·_\x8s_\x8o_\x8u_\x8r_\x8c_\x8e |
31 | ·_\x8h_\x8t_\x8p_\x8·_\x8p_\x8r_\x8o_\x8j_\x8e_\x8c_\x8t | 31 | ·_\x8h_\x8t_\x8p_\x8·_\x8p_\x8r_\x8o_\x8j_\x8e_\x8c_\x8t |
32 | ·_\x8h_\x8t_\x8p_\x8·_\x8h_\x8o_\x8m_\x8e_\x8p_\x8a_\x8g_\x8e | 32 | ·_\x8h_\x8t_\x8p_\x8·_\x8h_\x8o_\x8m_\x8e_\x8p_\x8a_\x8g_\x8e |
33 | hosted·by | 33 | hosted·by |
34 | _\x8S_\x8o_\x8u_\x8r_\x8c_\x8e_\x8f_\x8o_\x8r_\x8g_\x8e | 34 | _\x8S_\x8o_\x8u_\x8r_\x8c_\x8e_\x8f_\x8o_\x8r_\x8g_\x8e |
35 | HTML·coding_\x8[_\x8P_\x8o_\x8w_\x8e_\x8r_\x8e_\x8d_\x8·_\x8b_\x8y | 35 | HTML·coding_\x8[_\x8P_\x8o_\x8w_\x8e_\x8r_\x8e_\x8d_\x8·_\x8b_\x8y |
36 | _\x8h_\x8t_\x8p_\x8] | 36 | _\x8h_\x8t_\x8p_\x8] |
Offset 114, 36 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=" | 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">i</span>=<span·class="htp-string">"1"</span>·<span·class="htp-attrib">j</span>=<span·class="htp-string">"-1"</span>></span><br> |
122 | ers·...]·[noexpand]><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 | <span·class="htp-tag"><...·<span·class="htp-attrib"><span·class="htp-macro">${macroname}</span></span>·<span·class="htp-attrib">...</span>></span><br> | ||
125 | <br> | ||
122 | </code></p> | 126 | </code></p> |
123 | <h2>synopsis</h2> | 127 | <h2>synopsis</h2> |
124 | <STRONG>UNSET</STRONG>·removes·(or·deletes)·a·macro·and·it's·definition. | 128 | <STRONG>UNSET</STRONG>·removes·(or·deletes)·a·macro·and·it's·definition. |
125 | The·macro·is·subsequently·not·available·for·use·in·the·pre-processed·files. | 129 | The·macro·is·subsequently·not·available·for·use·in·the·pre-processed·files. |
126 | (Note·that·simply·redefining·the·macro·with·another·<A·HREF="set.html">SET</A>·or | 130 | (Note·that·simply·redefining·the·macro·with·another·<A·HREF="set.html">SET</A>·or |
127 | <A·HREF="block.html">BLOCK</A>·definition·with·the·same·name·is·acceptable.··The | 131 | <A·HREF="block.html">BLOCK</A>·definition·with·the·same·name·is·acceptable.··The |
128 | old·macro·definition·will·be·removed·automatically.) | 132 | old·macro·definition·will·be·removed·automatically.) |
129 | <P> | 133 | <P> |
130 | For·example: | 134 | For·example: |
131 | ··<p><code> | 135 | ··<p><code> |
132 | </code></p> | 136 | </code></p> |
133 | <P> | 137 | <P> |
134 | More·than·one·macro·may·be·removed·in·the·same·tag: | 138 | More·than·one·macro·may·be·removed·in·the·same·tag: |
135 | ··<p><code> | 139 | ··<p><code> |
140 | <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> | ||
141 | <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> | ||
136 | <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> | ||
137 | ·<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> | ||
138 | ·<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> | ||
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">sect-<span·class="htp-macro">${sect-ctr}</span></span>></span><br> | ||
140 | · ·<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> | ||
141 | ·<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> | ||
142 | <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> | ||
143 | </code></p> | 142 | </code></p> |
144 | <p> | 143 | <p> |
145 | </td> | 144 | </td> |
146 | </tr> | 145 | </tr> |
147 | <tr> | 146 | <tr> |
148 | <td·width="20%"·bgcolor="white"·valign="bottom"> | 147 | <td·width="20%"·bgcolor="white"·valign="bottom"> |
149 | ·<table·border="0"·cellspacing="0"·cellpadding="0"·width="100%"> | 148 | ·<table·border="0"·cellspacing="0"·cellpadding="0"·width="100%"> |
Offset 1, 28 lines modified | Offset 1, 28 lines modified | ||
1 | [HTP] | 1 | [HTP] |
2 | *\x8**\x8**\x8**\x8**\x8**\x8*·h\x8ht\x8tp\x8p·o\x8on\x8n-\x8-l\x8li\x8in\x8ne\x8e·r\x8re\x8ef\x8fe\x8er\x8re\x8en\x8nc\x8ce\x8e·:\x8:·U\x8UN\x8NS\x8SE\x8ET\x8T·*\x8**\x8**\x8**\x8**\x8**\x8* | 2 | *\x8**\x8**\x8**\x8**\x8**\x8*·h\x8ht\x8tp\x8p·o\x8on\x8n-\x8-l\x8li\x8in\x8ne\x8e·r\x8re\x8ef\x8fe\x8er\x8re\x8en\x8nc\x8ce\x8e·:\x8:·U\x8UN\x8NS\x8SE\x8ET\x8T·*\x8**\x8**\x8**\x8**\x8**\x8* |
3 | _\x8T_\x8a_\x8b_\x8l_\x8e_\x8·_\x8o_\x8f_\x8·_\x8C_\x8o_\x8n_\x8t_\x8e_\x8n_\x8t_\x8s···········*\x8**\x8**\x8**\x8**\x8*·s\x8sy\x8yn\x8nt\x8ta\x8ax\x8x·*\x8**\x8**\x8**\x8**\x8* | 3 | _\x8T_\x8a_\x8b_\x8l_\x8e_\x8·_\x8o_\x8f_\x8·_\x8C_\x8o_\x8n_\x8t_\x8e_\x8n_\x8t_\x8s···········*\x8**\x8**\x8**\x8**\x8*·s\x8sy\x8yn\x8nt\x8ta\x8ax\x8x·*\x8**\x8**\x8**\x8**\x8* |
4 | ·_\x8I_\x8n_\x8t_\x8r_\x8o_\x8d_\x8u_\x8c_\x8t_\x8i_\x8o_\x8n·············· · ·<_\x8[_\x8[_\x8r_\x8e_\x8f_\x8]_\x8]_\x8 | 4 | ·_\x8I_\x8n_\x8t_\x8r_\x8o_\x8d_\x8u_\x8c_\x8t_\x8i_\x8o_\x8n·············· · ·<_\x8[_\x8[_\x8r_\x8e_\x8f_\x8]_\x8]_\x8I_.N_.C·i="1"·j="-1"> |
5 | ·_\x8L_\x8i_\x8c_\x8e_\x8n_\x8s_\x8e···················ers·...]·[noexpand]> | ||
6 | ·_\x8T_\x8u_\x8t_\x8o_\x8r_\x8i_\x8a_\x8l··················<...·$macroname·...> | ||
7 | ·_\x8U_\x8s_\x8a_\x8g_\x8e·····················<...·${macroname}·...> | ||
8 | ·HTP·Tags | ||
5 | · | 9 | · ···_.A_.L_.T_.T_.E_.X_.T···············*\x8**\x8**\x8**\x8**\x8*·s\x8sy\x8yn\x8no\x8op\x8ps\x8si\x8is\x8s·*\x8**\x8**\x8**\x8**\x8* |
6 | · | 10 | · ···_.B_.L_.O_.C_.K·················U\x8UN\x8NS\x8SE\x8ET\x8T·removes·(or·deletes)·a·macro·and·it's |
7 | ·_. | 11 | · ···_.B_.L_.O_.C_.K_.D_.E_.F··············definition.·The·macro·is·subsequently·not·available |
8 | · | 12 | · ···_.D_.E_.F···················for·use·in·the·pre-processed·files.·(Note·that |
9 | · ···_\x8 | 13 | · ···_\x8F_.I_.L_.E··················simply·redefining·the·macro·with·another·_\x8S_\x8E_\x8T·or |
10 | · ···_\x8 | 14 | · ···_\x8I_.F····················_\x8B_\x8L_\x8O_\x8C_\x8K·definition·with·the·same·name·is·acceptable. |
11 | · ···_\x8 | 15 | · ···_\x8I_.N_.C···················The·old·macro·definition·will·be·removed |
12 | · ···_\x8 | 16 | · ···_\x8I_.M_.G···················automatically.) |
13 | · ···_\x8 | 17 | · ···_\x8I_.M_.A_.G_.E_.U_.R_.L··············For·example: |
14 | · ···_\x8 | 18 | · ···_\x8O_.P_.T···················More·than·one·macro·may·be·removed·in·the·same·tag: |
19 | · ···_\x8O_\x8U_\x8T_\x8P_\x8U_\x8T················<a·href="mailto:$email">mailto·hyperlink</a> | ||
20 | · ···_\x8Q_\x8U_\x8O_\x8T_\x8E·················<a·href="http://$domain/~${username}/">another | ||
21 | · ···_\x8S_\x8E_\x8T···················hyperlink</a> | ||
15 | · ···_\x8I_\x8N_\x8C···················<_\x8[_\x8[_\x8r_\x8e_\x8f_\x8]_\x8]_\x8f_\x8i_\x8l_\x8e·include="header.hti"> | ||
16 | · ···_\x8I_\x8M_\x8G··················· ·<_\x8[_\x8[_\x8r_\x8e_\x8f_\x8]_\x8]_\x8s_\x8e_\x8t·sect-ctr="1"> | ||
17 | · ···_\x8I_\x8M_\x8A_\x8G_\x8E_\x8U_\x8R_\x8L·············· ·<_\x8[_\x8[_\x8r_\x8e_\x8f_\x8]_\x8]_\x8w_\x8h_\x8i_\x8l_\x8e·sect-${sect-ctr}> | ||
18 | · ···_\x8O_\x8P_\x8T··················· · ·<_\x8[_\x8[_\x8r_\x8e_\x8f_\x8]_\x8]_\x8u_\x8s_\x8e·sect-${sect-ctr}> | ||
19 | · ···_\x8O_\x8U_\x8T_\x8P_\x8U_\x8T················ · ·<_\x8[_\x8[_\x8r_\x8e_\x8f_\x8]_\x8]_\x8i_\x8n_\x8c·sect-ctr> | ||
20 | · ···_\x8Q_\x8U_\x8O_\x8T_\x8E················· ·<_\x8[_\x8[_\x8r_\x8e_\x8f_\x8]_\x8]_\x8/_\x8w_\x8h_\x8i_\x8l_\x8e> | ||
21 | · ···_\x8S_\x8E_\x8T···················<_\x8[_\x8[_\x8r_\x8e_\x8f_\x8]_\x8]_\x8f_\x8i_\x8l_\x8e·include="footer.hti"> | ||
22 | · ···_\x8U_\x8N_\x8D_\x8E_\x8F | 22 | · ···_\x8U_\x8N_\x8D_\x8E_\x8F |
23 | ·[>]·_\x8U_\x8N_\x8S_\x8E_\x8T | 23 | ·[>]·_\x8U_\x8N_\x8S_\x8E_\x8T |
24 | · ···_\x8U_\x8S_\x8E_\x8,_\x8·_\x8$ | 24 | · ···_\x8U_\x8S_\x8E_\x8,_\x8·_\x8$ |
25 | · ···_\x8W_\x8H_\x8I_\x8L_\x8E | 25 | · ···_\x8W_\x8H_\x8I_\x8L_\x8E |
26 | · ···_\x8<_\x8!_\x8-_\x8-_\x8- | 26 | · ···_\x8<_\x8!_\x8-_\x8-_\x8- |
27 | ·_\x8H_\x8i_\x8s_\x8t_\x8o_\x8r_\x8y | 27 | ·_\x8H_\x8i_\x8s_\x8t_\x8o_\x8r_\x8y |
28 | ·_\x8W_\x8i_\x8s_\x8h_\x8·_\x8l_\x8i_\x8s_\x8t | 28 | ·_\x8W_\x8i_\x8s_\x8h_\x8·_\x8l_\x8i_\x8s_\x8t |
Offset 133, 14 lines modified | Offset 133, 21 lines modified | ||
133 | attribute·to·prevent·further·expansion.··</p> | 133 | attribute·to·prevent·further·expansion.··</p> |
134 | <p>·USE·will·accept·additional·parameters,·which·are·"local"·macros | 134 | <p>·USE·will·accept·additional·parameters,·which·are·"local"·macros |
135 | for·the·expanded·macro.··This·is·only·valid·for·<A | 135 | for·the·expanded·macro.··This·is·only·valid·for·<A |
136 | HREF="block.html">BLOCK</A>·macros.··Macros·created·using·<A | 136 | HREF="block.html">BLOCK</A>·macros.··Macros·created·using·<A |
137 | HREF="set.html">SET</A>·cannot·have·parameters·passed.··For | 137 | HREF="set.html">SET</A>·cannot·have·parameters·passed.··For |
138 | example:</p> | 138 | example:</p> |
139 | ··<p><code> | 139 | ··<p><code> |
140 | <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">sect-ctr</span>=<span·class="htp-string">"0"</span>></span><br> | ||
141 | <font·size="-2"> 2.·</font> ·<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><br> | ||
142 | <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">sect-ctr</span>></span><br> | ||
143 | <font·size="-2"> 4.·</font> · ·<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">"sect-<span·class="htp-macro">${sect-ctr}</span>"</span>·<span·class="htp-attrib">expand</span>·<span·class="htp-attrib">global</span>></span><br> | ||
144 | <font·size="-2"> 5.·</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">block</span>·<span·class="htp-attrib">noexpand</span>></span><br> | ||
145 | <font·size="-2"> 6.·</font> · ·<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> | ||
146 | <font·size="-2"> 7.·</font> ·<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> | ||
140 | </code></p> | 147 | </code></p> |
141 | <P> | 148 | <P> |
142 | (See·below·for·a·description·of·the·'$'·operator.)··The·example·on | 149 | (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 | 150 | 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 | 151 | 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 | 152 | fails·because·the·"email"·macro·is·unavailable·once·the·block·macro·is |
146 | completely·expanded,·and·cannot·be·passed·to·a·SET·macro. | 153 | completely·expanded,·and·cannot·be·passed·to·a·SET·macro. |
Offset 179, 18 lines modified | Offset 186, 15 lines modified | ||
179 | delimiting·the·text·as·if·it·were·additional·markup·attributes. | 186 | delimiting·the·text·as·if·it·were·additional·markup·attributes. |
180 | If·the·'$'·macro·is·surrounded·by·other·text·(as·in·the·two·examples·above), | 187 | If·the·'$'·macro·is·surrounded·by·other·text·(as·in·the·two·examples·above), |
181 | quotation·marks·are·not·automatically·supplied. | 188 | quotation·marks·are·not·automatically·supplied. |
182 | <P> | 189 | <P> |
183 | Note·that·a·'$'·macro·can·be·placed·anywhere·in·a·markup·tag·and·can | 190 | Note·that·a·'$'·macro·can·be·placed·anywhere·in·a·markup·tag·and·can |
184 | be·nested.··This·is·valid: | 191 | be·nested.··This·is·valid: |
185 | ··<p><code> | 192 | ··<p><code> |
193 | · ·<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> | ||
186 | ·<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> | ||
187 | · ·...<br> | ||
188 | · ·<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> | ||
189 | ·<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> | ||
190 | </code></p> | 194 | </code></p> |
191 | <P>·The·tagName·macro·can·contain·any·tag·name,·even·a·self-defined | 195 | <P>·The·tagName·macro·can·contain·any·tag·name,·even·a·self-defined |
192 | metatag.··Note·that·<code>$ctr</code>·is·expanded·before·the·valueX | 196 | metatag.··Note·that·<code>$ctr</code>·is·expanded·before·the·valueX |
193 | macro·is·expanded,·so·assuming·that·ctr·was·set·to·1·it·will·expand | 197 | macro·is·expanded,·so·assuming·that·ctr·was·set·to·1·it·will·expand |
194 | value1. | 198 | value1. |
195 | <p> | 199 | <p> |
196 | </td> | 200 | </td> |
Offset 15, 22 lines modified | Offset 15, 30 lines modified | ||
15 | · ···_\x8I_\x8N_\x8C···················inside·a·block·which·_\x8e_\x8x_\x8p_\x8a_\x8n_\x8d_\x8s·itself.·You·can·use | 15 | · ···_\x8I_\x8N_\x8C···················inside·a·block·which·_\x8e_\x8x_\x8p_\x8a_\x8n_\x8d_\x8s·itself.·You·can·use |
16 | · ···_\x8I_\x8M_\x8G···················the·noexpand·attribute·to·prevent·further | 16 | · ···_\x8I_\x8M_\x8G···················the·noexpand·attribute·to·prevent·further |
17 | · ···_\x8I_\x8M_\x8A_\x8G_\x8E_\x8U_\x8R_\x8L··············expansion. | 17 | · ···_\x8I_\x8M_\x8A_\x8G_\x8E_\x8U_\x8R_\x8L··············expansion. |
18 | · ···_\x8O_\x8P_\x8T···················USE·will·accept·additional·parameters,·which·are | 18 | · ···_\x8O_\x8P_\x8T···················USE·will·accept·additional·parameters,·which·are |
19 | · ···_\x8O_\x8U_\x8T_\x8P_\x8U_\x8T················"local"·macros·for·the·expanded·macro.·This·is·only | 19 | · ···_\x8O_\x8U_\x8T_\x8P_\x8U_\x8T················"local"·macros·for·the·expanded·macro.·This·is·only |
20 | · ···_\x8Q_\x8U_\x8O_\x8T_\x8E·················valid·for·_\x8B_\x8L_\x8O_\x8C_\x8K·macros.·Macros·created·using·_\x8S_\x8E_\x8T | 20 | · ···_\x8Q_\x8U_\x8O_\x8T_\x8E·················valid·for·_\x8B_\x8L_\x8O_\x8C_\x8K·macros.·Macros·created·using·_\x8S_\x8E_\x8T |
21 | · ···_\x8S_\x8E_\x8T···················cannot·have·parameters·passed.·For·example: | 21 | · ···_\x8S_\x8E_\x8T···················cannot·have·parameters·passed.·For·example: |
22 | · ···_\x8U_\x8N_\x8D_\x8E_\x8F················· 1.· ·<_\x8[_\x8[_\x8r_\x8e_\x8f_\x8]_\x8]_\x8s_\x8e_\x8t·sect-ctr="0"> | ||
23 | · ···_\x8U_\x8N_\x8S_\x8E_\x8T················· 2.· ·<_\x8[_\x8[_\x8r_\x8e_\x8f_\x8]_\x8]_\x8b_\x8l_\x8o_\x8c_\x8k_\x8d_\x8e_\x8f·name="section"> | ||
24 | ·[>]·_\x8U_\x8S_\x8E_\x8,_\x8·_\x8$················ 3.· · ·<_\x8[_\x8[_\x8r_\x8e_\x8f_\x8]_\x8]_\x8i_\x8n_\x8c·sect-ctr> | ||
25 | · ···_\x8W_\x8H_\x8I_\x8L_\x8E················· 4.· · ·<_\x8[_\x8[_\x8r_\x8e_\x8f_\x8]_\x8]_\x8b_\x8l_\x8o_\x8c_\x8k·name="sect-${sect-ctr}" | ||
26 | · ···_\x8<_\x8!_\x8-_\x8-_\x8-·················expand·global> | ||
27 | ·_\x8H_\x8i_\x8s_\x8t_\x8o_\x8r_\x8y··················· 5.· · · ·<_\x8[_\x8[_\x8r_\x8e_\x8f_\x8]_\x8]_\x8u_\x8s_\x8e·block·noexpand> | ||
28 | ·_\x8W_\x8i_\x8s_\x8h_\x8·_\x8l_\x8i_\x8s_\x8t················· 6.· · ·<_\x8[_\x8[_\x8r_\x8e_\x8f_\x8]_\x8]_\x8/_\x8b_\x8l_\x8o_\x8c_\x8k> | ||
29 | ·_\x8B_\x8u_\x8g_\x8s······················ 7.· ·<_\x8[_\x8[_\x8r_\x8e_\x8f_\x8]_\x8]_\x8/_\x8b_\x8l_\x8o_\x8c_\x8k_\x8d_\x8e_\x8f> | ||
22 | 30 | ····························(See·below·for·a·description·of·the·'$'·operator.) | |
23 | 31 | ····························The·example·on·line·7·works·because·"stuff"·has | |
24 | 32 | ····························been·declared·as·a·block·macro,·and·the·tag·is | |
25 | 33 | ····························passing·the·"email"·macro·to·the·"stuff"·macro. | |
26 | 34 | ····························Line·8·fails·because·the·"email"·macro·is | |
27 | 35 | ····························unavailable·once·the·block·macro·is·completely | |
28 | 36 | ····························expanded,·and·cannot·be·passed·to·a·SET·macro. | |
29 | 37 | ····························Note·that·the·"email"·macro·is·available·to·other | |
30 | ····························macros·or·included·files·called·within·the·"stuff" | 38 | ····························macros·or·included·files·called·within·the·"stuff" |
31 | ····························block. | 39 | ····························block. |
32 | ····························Inside·a·markup·tag,·like·_\x8I_\x8M_\x8G,·A·(anchor),·or·any | 40 | ····························Inside·a·markup·tag,·like·_\x8I_\x8M_\x8G,·A·(anchor),·or·any |
33 | ····························other·standard·HTML·or·htp·tag,·the·'$'·operator | 41 | ····························other·standard·HTML·or·htp·tag,·the·'$'·operator |
34 | ····························must·be·used.·The·'$'·should·be·immediately | 42 | ····························must·be·used.·The·'$'·should·be·immediately |
35 | ····························followed·by·the·macro·name,·which·may·or·may·not·be | 43 | ····························followed·by·the·macro·name,·which·may·or·may·not·be |
36 | ····························surrounded·by·curly·braces.·When·htp·encounters | 44 | ····························surrounded·by·curly·braces.·When·htp·encounters |
Offset 58, 18 lines modified | Offset 66, 15 lines modified | ||
58 | ····························it·with·quotation·marks·to·prevent·spaces·from | 66 | ····························it·with·quotation·marks·to·prevent·spaces·from |
59 | ····························delimiting·the·text·as·if·it·were·additional·markup | 67 | ····························delimiting·the·text·as·if·it·were·additional·markup |
60 | ····························attributes.·If·the·'$'·macro·is·surrounded·by·other | 68 | ····························attributes.·If·the·'$'·macro·is·surrounded·by·other |
61 | ····························text·(as·in·the·two·examples·above),·quotation | 69 | ····························text·(as·in·the·two·examples·above),·quotation |
62 | ····························marks·are·not·automatically·supplied. | 70 | ····························marks·are·not·automatically·supplied. |
63 | ····························Note·that·a·'$'·macro·can·be·placed·anywhere·in·a | 71 | ····························Note·that·a·'$'·macro·can·be·placed·anywhere·in·a |
64 | ····························markup·tag·and·can·be·nested.·This·is·valid: | 72 | ····························markup·tag·and·can·be·nested.·This·is·valid: |
73 | ···························· · ·<${tagName}·${attrName}=${value$ctr}> | ||
65 | ···························· ·<_\x8[_\x8[_\x8r_\x8e_\x8f_\x8]_\x8]_\x8W_\x8H_\x8I_\x8L_\x8E·sect-$i> | ||
66 | ···························· · ·... | ||
67 | ···························· · ·<_\x8[_\x8[_\x8r_\x8e_\x8f_\x8]_\x8]_\x8I_\x8N_\x8C·i> | ||
68 | ···························· ·<_\x8[_\x8[_\x8r_\x8e_\x8f_\x8]_\x8]_\x8/_\x8W_\x8H_\x8I_\x8L_\x8E> | ||
69 | ····························The·tagName·macro·can·contain·any·tag·name,·even·a | 74 | ····························The·tagName·macro·can·contain·any·tag·name,·even·a |
70 | ····························self-defined·metatag.·Note·that·$ctr·is·expanded | 75 | ····························self-defined·metatag.·Note·that·$ctr·is·expanded |
71 | ····························before·the·valueX·macro·is·expanded,·so·assuming | 76 | ····························before·the·valueX·macro·is·expanded,·so·assuming |
72 | ····························that·ctr·was·set·to·1·it·will·expand·value1. | 77 | ····························that·ctr·was·set·to·1·it·will·expand·value1. |
Offset 114, 44 lines modified | Offset 114, 41 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">i</span>=<span·class="htp-string">"1"</span>·<span·class="htp-attrib">j</span>=<span·class="htp-string">"-1"</span>></span><br> | ||
122 | ers·...]·[noexpand]><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 | <span·class="htp-tag"><...·<span·class="htp-attrib"><span·class="htp-macro">${macroname}</span></span>·<span·class="htp-attrib">...</span>></span><br> | ||
125 | <br> | ||
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> | ||
128 | </code></p> | 126 | </code></p> |
129 | <h2>synopsis</h2> | 127 | <h2>synopsis</h2> |
130 | <STRONG>WHILE</STRONG>·is·the·building·block·for·repeated·processing. | 128 | <STRONG>WHILE</STRONG>·is·the·building·block·for·repeated·processing. |
131 | The·basic·form·is·shown·above. | 129 | The·basic·form·is·shown·above. |
132 | <P> | 130 | <P> |
133 | "Conditional"·is·either·a·"compare"·or·"is·defined"·operation. | 131 | "Conditional"·is·either·a·"compare"·or·"is·defined"·operation. |
134 | A·compare·operator·is·a·test·of·the·value·of·a·macro·against·a·literal·string. | 132 | A·compare·operator·is·a·test·of·the·value·of·a·macro·against·a·literal·string. |
135 | If·the·NOT·tag·is·present·in·the·WHILE·markup,·the·evaluation·of·the | 133 | If·the·NOT·tag·is·present·in·the·WHILE·markup,·the·evaluation·of·the |
136 | conditional·is·reversed: | 134 | conditional·is·reversed: |
137 | ··<p><code> | 135 | ··<p><code> |
138 | ·<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> | ||
139 | · ·...<br> | ||
140 | · ·<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> | ||
141 | ·<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> | ||
142 | </code></p> | 136 | </code></p> |
143 | <P> | 137 | <P> |
144 | 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 | 138 | 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 |
145 | macro's·existance: | 139 | macro's·existance: |
146 | ··<p><code> | 140 | ··<p><code> |
141 | ·<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">"0"</span>></span><br> | ||
147 | ·<span·class="htp-tag"><<a·href=" | 142 | ·<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><br> |
148 | · ·...<br> | ||
149 | · ·<span·class="htp-tag"><<a·href="inc.html"·><img·src="pic/manual.png"·border=0·alt="[ref]"·width="10"·height="10"> | 143 | · ·<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> |
144 | · ·<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">"sect-<span·class="htp-macro">${sect-ctr}</span>"</span>·<span·class="htp-attrib">expand</span>·<span·class="htp-attrib">global</span>></span><br> | ||
145 | · · ·<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·class="htp-attrib">noexpand</span>></span><br> | ||
146 | · ·<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> | ||
150 | ·<span·class="htp-tag"><<a·href=" | 147 | ·<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> |
151 | </code></p> | 148 | </code></p> |
152 | <P> | 149 | <P> |
153 | If·the·condition·is·true,·the·block·is·evaluated·and·afterwards·the | 150 | If·the·condition·is·true,·the·block·is·evaluated·and·afterwards·the |
154 | WHILE·tag·is·evaluated·again.··If·the·'$'-operator·is·used·in·the | 151 | WHILE·tag·is·evaluated·again.··If·the·'$'-operator·is·used·in·the |
155 | WHILE·tag·it·is·also·reevaluated·on·each·iteration. | 152 | WHILE·tag·it·is·also·reevaluated·on·each·iteration. |
156 | <P> | 153 | <P> |
157 | A·loop·block·<EM>must</EM>·be·closed·with·the·/WHILE·tag. | 154 | A·loop·block·<EM>must</EM>·be·closed·with·the·/WHILE·tag. |
Offset 1, 38 lines modified | Offset 1, 36 lines modified | ||
1 | [HTP] | 1 | [HTP] |
2 | *\x8**\x8**\x8**\x8**\x8**\x8*·h\x8ht\x8tp\x8p·o\x8on\x8n-\x8-l\x8li\x8in\x8ne\x8e·r\x8re\x8ef\x8fe\x8er\x8re\x8en\x8nc\x8ce\x8e·:\x8:·W\x8WH\x8HI\x8IL\x8LE\x8E·*\x8**\x8**\x8**\x8**\x8**\x8* | 2 | *\x8**\x8**\x8**\x8**\x8**\x8*·h\x8ht\x8tp\x8p·o\x8on\x8n-\x8-l\x8li\x8in\x8ne\x8e·r\x8re\x8ef\x8fe\x8er\x8re\x8en\x8nc\x8ce\x8e·:\x8:·W\x8WH\x8HI\x8IL\x8LE\x8E·*\x8**\x8**\x8**\x8**\x8**\x8* |
3 | _\x8T_\x8a_\x8b_\x8l_\x8e_\x8·_\x8o_\x8f_\x8·_\x8C_\x8o_\x8n_\x8t_\x8e_\x8n_\x8t_\x8s···········*\x8**\x8**\x8**\x8**\x8*·s\x8sy\x8yn\x8nt\x8ta\x8ax\x8x·*\x8**\x8**\x8**\x8**\x8* | 3 | _\x8T_\x8a_\x8b_\x8l_\x8e_\x8·_\x8o_\x8f_\x8·_\x8C_\x8o_\x8n_\x8t_\x8e_\x8n_\x8t_\x8s···········*\x8**\x8**\x8**\x8**\x8*·s\x8sy\x8yn\x8nt\x8ta\x8ax\x8x·*\x8**\x8**\x8**\x8**\x8* |
4 | ·_\x8I_\x8n_\x8t_\x8r_\x8o_\x8d_\x8u_\x8c_\x8t_\x8i_\x8o_\x8n··············<_.[_.[_.r_.e_.f_.]_.] | 4 | ·_\x8I_\x8n_\x8t_\x8r_\x8o_\x8d_\x8u_\x8c_\x8t_\x8i_\x8o_\x8n·············· · ·<_.[_.[_.r_.e_.f_.]_.]_.I_.N_.C·i="1"·j="-1"> |
5 | ·_\x8L_\x8i_\x8c_\x8e_\x8n_\x8s_\x8e···················ers·...]·[noexpand]> | ||
6 | ·_\x8T_\x8u_\x8t_\x8o_\x8r_\x8i_\x8a_\x8l··················<...·$macroname·...> | ||
7 | ·_\x8U_\x8s_\x8a_\x8g_\x8e·····················<...·${macroname}·...> | ||
8 | ·HTP·Tags | ||
5 | ·_\x8L_\x8i_\x8c_\x8e_\x8n_\x8s_\x8e··················· ·<_\x8[_\x8[_\x8r_\x8e_\x8f_\x8]_\x8]_\x8s_\x8e_\x8t·sect-ctr="1"> | ||
6 | ·_\x8T_\x8u_\x8t_\x8o_\x8r_\x8i_\x8a_\x8l·················· ·<_\x8[_\x8[_\x8r_\x8e_\x8f_\x8]_\x8]_\x8w_\x8h_\x8i_\x8l_\x8e·sect-${sect-ctr}> | ||
7 | ·_\x8U_\x8s_\x8a_\x8g_\x8e····················· · ·<_\x8[_\x8[_\x8r_\x8e_\x8f_\x8]_\x8]_\x8u_\x8s_\x8e·sect-${sect-ctr}> | ||
8 | ·HTP·Tags·················· · ·<_\x8[_\x8[_\x8r_\x8e_\x8f_\x8]_\x8]_\x8i_\x8n_\x8c·sect-ctr> | ||
9 | · ···_\x8A_\x8L_\x8T_\x8T_\x8E_\x8X_\x8T··············· ·<_\x8[_\x8[_\x8r_\x8e_\x8f_\x8]_\x8]_\x8/_\x8w_\x8h_\x8i_\x8l_\x8e> | ||
10 | · ···_\x8B_\x8L_\x8O_\x8C_\x8K·················<_\x8[_\x8[_\x8r_\x8e_\x8f_\x8]_\x8]_\x8f_\x8i_\x8l_\x8e·include="footer.hti"> | ||
11 | · ···_\x8 | 9 | · ···_\x8A_.L_.T_.T_.E_.X_.T···············*\x8**\x8**\x8**\x8**\x8*·s\x8sy\x8yn\x8no\x8op\x8ps\x8si\x8is\x8s·*\x8**\x8**\x8**\x8**\x8* |
12 | · ···_\x8 | 10 | · ···_\x8B_.L_.O_.C_.K·················W\x8WH\x8HI\x8IL\x8LE\x8E·is·the·building·block·for·repeated |
13 | · ···_\x8 | 11 | · ···_\x8B_.L_.O_.C_.K_.D_.E_.F··············processing.·The·basic·form·is·shown·above. |
14 | · ···_\x8 | 12 | · ···_\x8D_.E_.F···················"Conditional"·is·either·a·"compare"·or·"is·defined" |
15 | · ···_\x8 | 13 | · ···_\x8F_.I_.L_.E··················operation.·A·compare·operator·is·a·test·of·the |
16 | · ···_\x8I_\x8 | 14 | · ···_\x8I_\x8F····················value·of·a·macro·against·a·literal·string.·If·the |
17 | · ···_\x8I_\x8 | 15 | · ···_\x8I_\x8N_.C···················NOT·tag·is·present·in·the·WHILE·markup,·the |
18 | · ···_\x8 | 16 | · ···_\x8I_.M_.G···················evaluation·of·the·conditional·is·reversed: |
19 | · ···_\x8O_\x8U_\x8T_\x8P_\x8U_\x8T················ ·<_\x8[_\x8[_\x8r_\x8e_\x8f_\x8]_\x8]_\x8W_\x8H_\x8I_\x8L_\x8E·NOT·i="10"> | ||
20 | · ···_\x8Q_\x8U_\x8O_\x8T_\x8E················· · ·... | ||
21 | · ···_\x8S_\x8E_\x8T··················· · ·<_\x8[_\x8[_\x8r_\x8e_\x8f_\x8]_\x8]_\x8I_\x8N_\x8C·i> | ||
22 | · ···_\x8U_\x8N_\x8D_\x8E_\x8F················· ·<_\x8[_\x8[_\x8r_\x8e_\x8f_\x8]_\x8]_\x8/_\x8W_\x8H_\x8I_\x8L_\x8E> | ||
23 | · ···_\x8 | 17 | · ···_\x8I_.M_.A_.G_.E_.U_.R_.L··············Just·as·with·_\x8[_\x8[_\x8r_\x8e_\x8f_\x8]_\x8]_\x8I_\x8F·you·can·also·check·for·a |
24 | · ···_\x8 | 18 | · ···_\x8O_.P_.T···················macro's·existance: |
19 | · ···_\x8O_\x8U_\x8T_\x8P_\x8U_\x8T················ ·<_\x8[_\x8[_\x8r_\x8e_\x8f_\x8]_\x8]_\x8s_\x8e_\x8t·sect-ctr="0"> | ||
20 | · ···_\x8Q_\x8U_\x8O_\x8T_\x8E················· ·<_\x8[_\x8[_\x8r_\x8e_\x8f_\x8]_\x8]_\x8b_\x8l_\x8o_\x8c_\x8k_\x8d_\x8e_\x8f·name="section"> | ||
21 | · ···_\x8S_\x8E_\x8T··················· · ·<_\x8[_\x8[_\x8r_\x8e_\x8f_\x8]_\x8]_\x8i_\x8n_\x8c·sect-ctr> | ||
22 | · ···_\x8U_\x8N_\x8D_\x8E_\x8F················· · ·<_\x8[_\x8[_\x8r_\x8e_\x8f_\x8]_\x8]_\x8b_\x8l_\x8o_\x8c_\x8k·name="sect-${sect-ctr}"·expand | ||
23 | · ···_\x8U_\x8N_\x8S_\x8E_\x8T·················global> | ||
24 | · ···_\x8U_\x8S_\x8E_\x8,_\x8·_\x8$················ · · ·<_\x8[_\x8[_\x8r_\x8e_\x8f_\x8]_\x8]_\x8u_\x8s_\x8e·block·noexpand> | ||
25 | ·[>]·_\x8W_\x8H_\x8I_\x8L_\x8E················· ·<_.[_.[_.r_.e_.f_.]_.]_. | 25 | ·[>]·_\x8W_\x8H_\x8I_\x8L_\x8E················· · ·<_.[_.[_.r_.e_.f_.]_.]_./_.b_.l_.o_.c_.k> |
26 | · ···_\x8<_\x8!_\x8-_\x8-_\x8-················· ·<_\x8[_\x8[_\x8r_\x8e_\x8f_\x8]_\x8]_\x8/_\x8b_\x8l_\x8o_\x8c_\x8k_\x8d_\x8e_\x8f> | ||
26 | · ···_\x8<_\x8!_\x8-_\x8-_\x8-················· · ·... | ||
27 | ·_\x8H_\x8i_\x8s_\x8t_\x8o_\x8r_\x8y··················· · ·<_\x8[_\x8[_\x8r_\x8e_\x8f_\x8]_\x8]_\x8I_\x8N_\x8C·i> | ||
28 | ·_\x8W_\x8i_\x8s_\x8h_\x8·_\x8l_\x8i_\x8s_\x8t················· ·<_\x8[_\x8[_\x8r_\x8e_\x8f_\x8]_\x8]_\x8/_\x8W_\x8H_\x8I_\x8L_\x8E> | ||
29 | ·_\x8 | 27 | ·_\x8H_.i_.s_.t_.o_.r_.y···················If·the·condition·is·true,·the·block·is·evaluated |
30 | ·· | 28 | ·_.W_.i_.s_.h_.·_.l_.i_.s_.t·················and·afterwards·the·WHILE·tag·is·evaluated·again.·If |
31 | · | 29 | ·_.B_.u_.g_.s······················the·'$'-operator·is·used·in·the·WHILE·tag·it·is |
32 | ····························also·reevaluated·on·each·iteration. | 30 | ····························also·reevaluated·on·each·iteration. |
33 | ····························A·loop·block·m\x8mu\x8us\x8st\x8t·be·closed·with·the·/WHILE·tag. | 31 | ····························A·loop·block·m\x8mu\x8us\x8st\x8t·be·closed·with·the·/WHILE·tag. |