Offset 1, 3 lines modified | Offset 1, 3 lines modified | ||
1 | ·4682c39bd695e83baa9df0c2a8cf2e48·71088·debug·optional·htp-dbgsym_1.19-8_amd64.deb | 1 | ·4682c39bd695e83baa9df0c2a8cf2e48·71088·debug·optional·htp-dbgsym_1.19-8_amd64.deb |
2 | · | 2 | ·dd70f28816b6519a3a2830f22a65d45c·116564·web·optional·htp_1.19-8_amd64.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·····361 | 2 | -rw-r--r--···0········0········0·····3612·2020-06-14·23:21:19.000000·control.tar.xz |
3 | -rw-r--r--···0········0········0···112 | 3 | -rw-r--r--···0········0········0···112760·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:·amd64 | 3 | Architecture:·amd64 |
4 | Maintainer:·Marcelo·Soares·Mota·<motasmarcelo@gmail.com> | 4 | Maintainer:·Marcelo·Soares·Mota·<motasmarcelo@gmail.com> |
5 | Installed-Size:·6 | 5 | Installed-Size:·642 |
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)····72104·2020-06-14·23:21:19.000000·./usr/bin/htp | 4 | -rwxr-xr-x···0·root·········(0)·root·········(0)····72104·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)·····9158·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)·····7882·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)·····8284·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)····11488·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)····1 | 20 | -rw-r--r--···0·root·········(0)·root·········(0)····13722·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 34, 41 lines modified | Offset 34, 41 lines modified | ||
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)·····7909·2020-06-14·23:21:19.000000·./usr/share/doc/htp/expand.html | 39 | -rw-r--r--···0·root·········(0)·root·········(0)·····7909·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)····15 | 41 | -rw-r--r--···0·root·········(0)·root·········(0)····15992·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)·····8401·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)····· | 50 | -rw-r--r--···0·root·········(0)·root·········(0)·····8969·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)·····8277·2020-06-14·23:21:19.000000·./usr/share/doc/htp/img.html | 52 | -rw-r--r--···0·root·········(0)·root·········(0)·····8277·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)·····8 | 54 | -rw-r--r--···0·root·········(0)·root·········(0)·····8592·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)····18818·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 81, 15 lines modified | Offset 81, 15 lines modified | ||
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)·····7503·2020-06-14·23:21:19.000000·./usr/share/doc/htp/quote.html | 86 | -rw-r--r--···0·root·········(0)·root·········(0)·····7503·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)·····8 | 88 | -rw-r--r--···0·root·········(0)·root·········(0)·····8234·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 104, 21 lines modified | Offset 104, 21 lines modified | ||
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)·····7559·2020-06-14·23:21:19.000000·./usr/share/doc/htp/undef.html | 109 | -rw-r--r--···0·root·········(0)·root·········(0)·····7559·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)·····8032·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)····15798·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)····1 | 117 | -rw-r--r--···0·root·········(0)·root·········(0)····11770·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, 29 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="co | 121 | <span·class="htp-tag"><<a·href="alttext.html"·><img·src="pic/manual.png"·border=0·alt="[ref]"·width="10"·height="10">alttext</a>·<span·class="htp-attrib">name</span>=<span·class="htp-string">"imagename"</span>·<span·class="ebnf">[</span>·<span·class="htp-attrib">tex[·...·truncated·by·diffoscope;·len:·80,·SHA:·0807d6c9d6211886b83c696d79971bcdef3cad0ddd3c91605b0cd1a4777c70e7·...·]></span><br> |
122 | <br> | ||
123 | lock<br> | ||
124 | <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> | ||
122 | <br> | 125 | <br> |
123 | </code></p> | 126 | </code></p> |
124 | <h2>synopsis</h2> | 127 | <h2>synopsis</h2> |
125 | <strong>ALTTEXT</strong>·declares·an·ALT·attribute·for·any·<A | 128 | <strong>ALTTEXT</strong>·declares·an·ALT·attribute·for·any·<A |
126 | HREF="img.html">IMG</A>·tag·with·a·SRC·matching·the·ALTTEXT·NAME. | 129 | 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 | 130 | Since·relative·paths·can·be·used·to·point·to·the·same·image,·only·the |
128 | filename·is·considered·in·all·comparisons. | 131 | filename·is·considered·in·all·comparisons. |
129 | <p> | 132 | <p> |
130 | When·an·IMG·tag·with·a·matching·source·is·encountered,·htp·will·add·an·ALT | 133 | When·an·IMG·tag·with·a·matching·source·is·encountered,·htp·will·add·an·ALT |
131 | attribute·only·if·one·is·not·already·present.··This·allows·for·ALT·text·to | 134 | attribute·only·if·one·is·not·already·present.··This·allows·for·ALT·text·to |
132 | be·overridden·on·specific·images·and·default·text·on·all·others. | 135 | be·overridden·on·specific·images·and·default·text·on·all·others. |
133 | <p> | 136 | <p> |
134 | For·example: | 137 | For·example: |
135 | ··<p><code> | 138 | ··<p><code> |
139 | <span·class="htp-tag"><<a·href="undef.html"·><img·src="pic/manual.png"·border=0·alt="[ref]"·width="10"·height="10">UNDEF</a>·<span·class="htp-attrib">tagname</span>></span><br> | ||
140 | <span·class="htp-tag"><<a·href="undef.html"·><img·src="pic/manual.png"·border=0·alt="[ref]"·width="10"·height="10">UNDEF</a>·<span·class="htp-attrib">tagname1</span>·<span·class="htp-attrib">tagname2</span>·<span·class="htp-attrib">...</span>·></span><br> | ||
141 | <br> | ||
136 | </code></p> | 142 | </code></p> |
137 | <p> | 143 | <p> |
138 | An·ALTTEXT·tag·with·a·name·but·no·text·attribute·removes·any·ALT | 144 | An·ALTTEXT·tag·with·a·name·but·no·text·attribute·removes·any·ALT |
139 | mapping·for·this·image.··Successing·IMG·tags·with·a·matching·SRC·name·are·not | 145 | mapping·for·this·image.··Successing·IMG·tags·with·a·matching·SRC·name·are·not |
140 | changed. | 146 | changed. |
141 | <p> | 147 | <p> |
142 | Since·this·is·useful·for·an·image·used·throughout·a·set·of·documents, | 148 | Since·this·is·useful·for·an·image·used·throughout·a·set·of·documents, |
Offset 1, 36 lines modified | Offset 1, 43 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··············<!---·comment·---> | ||
5 | ·_\x8 | 4 | ·_\x8I_.n_.t_.r_.o_.d_.u_.c_.t_.i_.o_.n··············<_.[_.[_.r_.e_.f_.]_.]_.a_.l_.t_.t_.e_.x_.t·name="imagename"·[·text="imagetext" |
5 | ·_\x8L_\x8i_\x8c_\x8e_\x8n_\x8s_\x8e···················]> | ||
6 | ·_\x8T_\x8u_\x8t_\x8o_\x8r_\x8i_\x8a_\x8l | ||
7 | ·_\x8U_\x8s_\x8a_\x8g_\x8e·····················lock | ||
8 | ·HTP·Tags··················<_\x8[_\x8[_\x8r_\x8e_\x8f_\x8]_\x8]_\x8/_\x8B_\x8L_\x8O_\x8C_\x8K> | ||
9 | ·[>]·_\x8A_\x8L_\x8T_\x8T_\x8E_\x8X_\x8T | ||
6 | · | 10 | · ···_.B_.L_.O_.C_.K·················*\x8**\x8**\x8**\x8**\x8*·s\x8sy\x8yn\x8no\x8op\x8ps\x8si\x8is\x8s·*\x8**\x8**\x8**\x8**\x8* |
7 | ·_. | 11 | · ···_.B_.L_.O_.C_.K_.D_.E_.F··············A\x8AL\x8LT\x8TT\x8TE\x8EX\x8XT\x8T·declares·an·ALT·attribute·for·any·_\x8I_\x8M_\x8G·tag |
8 | · | 12 | · ···_.D_.E_.F···················with·a·SRC·matching·the·ALTTEXT·NAME.·Since |
9 | · | 13 | · ···_.F_.I_.L_.E··················relative·paths·can·be·used·to·point·to·the·same |
10 | · ···_\x8 | 14 | · ···_\x8I_.F····················image,·only·the·filename·is·considered·in·all |
11 | · ···_\x8 | 15 | · ···_\x8I_.N_.C···················comparisons. |
12 | · ···_\x8 | 16 | · ···_\x8I_.M_.G···················When·an·IMG·tag·with·a·matching·source·is |
13 | · ···_\x8 | 17 | · ···_\x8I_.M_.A_.G_.E_.U_.R_.L··············encountered,·htp·will·add·an·ALT·attribute·only·if |
14 | · ···_\x8 | 18 | · ···_\x8O_.P_.T···················one·is·not·already·present.·This·allows·for·ALT |
15 | · ···_\x8 | 19 | · ···_\x8O_.U_.T_.P_.U_.T················text·to·be·overridden·on·specific·images·and |
16 | · ···_\x8 | 20 | · ···_\x8Q_.U_.O_.T_.E·················default·text·on·all·others. |
17 | · ···_\x8 | 21 | · ···_\x8S_.E_.T···················For·example: |
22 | · ···_\x8U_\x8N_\x8D_\x8E_\x8F·················<_\x8[_\x8[_\x8r_\x8e_\x8f_\x8]_\x8]_\x8U_\x8N_\x8D_\x8E_\x8F·tagname> | ||
23 | · ···_\x8U_\x8N_\x8S_\x8E_\x8T·················<_\x8[_\x8[_\x8r_\x8e_\x8f_\x8]_\x8]_\x8U_\x8N_\x8D_\x8E_\x8F·tagname1·tagname2·...·> | ||
24 | · ···_\x8U_\x8S_\x8E_\x8,_\x8·_\x8$ | ||
18 | · ···_\x8 | 25 | · ···_\x8W_.H_.I_.L_.E·················An·ALTTEXT·tag·with·a·name·but·no·text·attribute |
19 | · ···_\x8 | 26 | · ···_\x8<_.!_.-_.-_.-·················removes·any·ALT·mapping·for·this·image.·Successing |
20 | · | 27 | ·_.H_.i_.s_.t_.o_.r_.y···················IMG·tags·with·a·matching·SRC·name·are·not·changed. |
21 | · | 28 | ·_.W_.i_.s_.h_.·_.l_.i_.s_.t·················Since·this·is·useful·for·an·image·used·throughout·a |
22 | · | 29 | ·_.B_.u_.g_.s······················set·of·documents,·ALTTEXT·is·most·appropriate·in·an |
23 | 30 | ····························_\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. | |
24 | 31 | ····························In·addition·to·ALTTEXT,·htp·can·also·automatically | |
25 | 32 | ····························add·WIDTH·and·HEIGHT·attributes·to·_\x8I_\x8M_\x8G·tags. | |
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 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="alttext.html"·><img·src="pic/manual.png"·border=0·alt="[ref]"·width="10"·height="10">alttext</a>·<span·class="htp-attrib">name</span>=<span·class="htp-string">"logo.gif"</span>·<span·class="htp-attrib">text</span>=<span·class="htp-string">"Company·logo"</span>></span><br> | ||
122 | <br> | ||
123 | ·this·line:·<span·class="htp-tag"><<a·href="img.html"·><img·src="pic/manual.png"·border=0·alt="[ref]"·width="10"·height="10">img</a>·<span·class="htp-attrib">src</span>=<span·class="htp-string">"logo.gif"</span>></span><br> | ||
124 | ·becomes·this·after·processing:·<span·class="htp-tag"><<a·href="img.html"·><img·src="pic/manual.png"·border=0·alt="[ref]"·width="10"·height="10">img</a>·<span·class="htp-attrib">src</span>=<span·class="htp-string">"logo.gif"</span>·<span·class="htp-attrib">alt</span>=<span·class="htp-string">"Company·logo"</span>></span><br> | ||
125 | <br> | ||
126 | ·this·line:·<span·class="htp-tag"><<a·href="img.html"·><img·src="pic/manual.png"·border=0·alt="[ref]"·width="10"·height="10">img</a>·<span·class="htp-attrib">src</span>=<span·class="htp-string">"../image/logo.gif"</span>></span><br> | ||
127 | ·will·also·have·an·ALT·attribute·appended·to·it<br> | ||
128 | <br> | ||
129 | ·this·line:·<span·class="htp-tag"><<a·href="img.html"·><img·src="pic/manual.png"·border=0·alt="[ref]"·width="10"·height="10">img</a>·<span·class="htp-attrib">src</span>=<span·class="htp-string">"logo.gif"</span>·<span·class="htp-attrib">alt</span>=<span·class="htp-string">"Click·here·for·more·information!"</span>></span><br> | ||
130 | ·remains·unchanged.<br> | ||
131 | </code></p> | 121 | </code></p> |
132 | <h2>synopsis</h2> | 122 | <h2>synopsis</h2> |
133 | <P> | 123 | <P> |
134 | <STRONG>BLOCK·and·/BLOCK</STRONG>·are·used·to·create·block·macros,·which | 124 | <STRONG>BLOCK·and·/BLOCK</STRONG>·are·used·to·create·block·macros,·which |
135 | are·similar·in·use·to·<A·HREF="set.html">SET</A>·macros,·but·can·be | 125 | are·similar·in·use·to·<A·HREF="set.html">SET</A>·macros,·but·can·be |
136 | multi-line·definitions. | 126 | multi-line·definitions. |
137 | </P> | 127 | </P> |
Offset 1, 55 lines modified | Offset 1, 42 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[_\x8r_\x8e_\x8f_\x8]_\x8]_\x8a_\x8l_\x8t_\x8t_\x8e_\x8x_\x8t·name="logo.gif"·text="Company | ||
5 | ·_\x8L_\x8i_\x8c_\x8e_\x8n_\x8s_\x8e···················logo"> | ||
6 | ·_\x8T_\x8u_\x8t_\x8o_\x8r_\x8i_\x8a_\x8l | ||
7 | ·_\x8U_\x8s_\x8a_\x8g_\x8e····················· ·this·line:·<_\x8[_\x8[_\x8r_\x8e_\x8f_\x8]_\x8]_\x8i_\x8m_\x8g·src="logo.gif"> | ||
8 | ·HTP·Tags·················· ·becomes·this·after·processing:·<_\x8[_\x8[_\x8r_\x8e_\x8f_\x8]_\x8]_\x8i_\x8m_\x8g | ||
9 | · ···_\x8A_\x8L_\x8T_\x8T_\x8E_\x8X_\x8T···············src="logo.gif"·alt="Company·logo"> | ||
10 | ·[>]·_\x8B_\x8L_\x8O_\x8C_\x8K | ||
11 | · ···_\x8B_\x8L_\x8O_\x8C_\x8K_\x8D_\x8E_\x8F·············· ·this·line:·<_\x8[_\x8[_\x8r_\x8e_\x8f_\x8]_\x8]_\x8i_\x8m_\x8g·src="../image/logo.gif"> | ||
12 | · ···_\x8D_\x8E_\x8F··················· ·will·also·have·an·ALT·attribute·appended·to·it | ||
13 | · ···_\x8F_\x8I_\x8L_\x8E | ||
14 | · ···_\x8I_\x8F···················· ·this·line:·<_\x8[_\x8[_\x8r_\x8e_\x8f_\x8]_\x8]_\x8i_\x8m_\x8g·src="logo.gif"·alt="Click | ||
15 | · ···_\x8I_\x8N_\x8C···················here·for·more·information!"> | ||
16 | · ···_\x8I_\x8M_\x8G··················· ·remains·unchanged. | ||
17 | · | 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* |
18 | · | 5 | ·_.L_.i_.c_.e_.n_.s_.e···················B\x8BL\x8LO\x8OC\x8CK\x8K·a\x8an\x8nd\x8d·/\x8/B\x8BL\x8LO\x8OC\x8CK\x8K·are·used·to·create·block·macros, |
19 | · | 6 | ·_.T_.u_.t_.o_.r_.i_.a_.l··················which·are·similar·in·use·to·_\x8S_\x8E_\x8T·macros,·but·can·be |
20 | · | 7 | ·_.U_.s_.a_.g_.e·····················multi-line·definitions. |
21 | · | 8 | ·HTP·Tags··················Any·text·and·formatting·may·be·set·inside·the |
22 | · ···_\x8 | 9 | · ···_\x8A_.L_.T_.T_.E_.X_.T···············block.·You·can·use·any·htp·or·user·defined·metatag |
23 | · | 10 | ·[>]·_.B_.L_.O_.C_.K·················including·_\x8F_\x8I_\x8L_\x8E_\x8·_\x8I_\x8N_\x8C_\x8L_\x8U_\x8D_\x8E.·The·metatags·won't·be |
24 | · ···_\x8 | 11 | · ···_\x8B_.L_.O_.C_.K_.D_.E_.F··············expanded·before·the·block·is·USEd·except·if·you |
25 | · ···_\x8 | 12 | · ···_\x8D_.E_.F···················give·the·_\x8E_\x8X_\x8P_\x8A_\x8N_\x8D·parameter. |
26 | · ···_\x8 | 13 | · ···_\x8F_.I_.L_.E··················The·block·macro·is·dereferenced·(expanded)·with·the |
27 | · | 14 | · ···_.I_.F····················_\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 |
28 | · | 15 | · ···_.I_.N_.C···················_\x8U_\x8S_\x8E·tag·on·how·to·pass·parameters·to·a·block·macro. |
16 | · ···_\x8I_\x8M_\x8G | ||
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 | ·_\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 124, 14 lines modified | Offset 124, 17 lines modified | ||
124 | HREF="metatag.html">metatags</A>,·which·is·a·fancy·way·of·saying·it | 124 | 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 | 125 | 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 | 126 | as·additional·parameter.··This·block·is·surrounded·by·<tagname>·and |
127 | </tagname>.··The·contents·of·this·block·are·automatically·stored | 127 | </tagname>.··The·contents·of·this·block·are·automatically·stored |
128 | in·the·block·macro·named·BLOCK. | 128 | in·the·block·macro·named·BLOCK. |
129 | <P>·For·example:</P> | 129 | <P>·For·example:</P> |
130 | ··<p><code> | 130 | ··<p><code> |
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·class="htp-attrib">disabled_because_xyz</span>></span><br> | ||
132 | ·...<br> | ||
133 | <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> | ||
131 | </code></p> | 134 | </code></p> |
132 | <p> | 135 | <p> |
133 | All·block·metatags·have·the·implicit·option·<a | 136 | All·block·metatags·have·the·implicit·option·<a |
134 | href="expand.html">EXPAND</A>,·which·tells·htp·to·expand·the·contents | 137 | href="expand.html">EXPAND</A>,·which·tells·htp·to·expand·the·contents |
135 | of·the·block·before·the·definition·is·expanded. | 138 | of·the·block·before·the·definition·is·expanded. |
136 | </p> | 139 | </p> |
137 | <p> | 140 | <p> |
Offset 6, 22 lines modified | Offset 6, 22 lines modified | ||
6 | ·_\x8T_\x8u_\x8t_\x8o_\x8r_\x8i_\x8a_\x8l··················way·of·saying·it·creates·new·block·tags.·A·block | 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 | 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> | 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 | 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 | 10 | · ···_\x8B_\x8L_\x8O_\x8C_\x8K·················automatically·stored·in·the·block·macro·named |
11 | ·[>]·_\x8B_\x8L_\x8O_\x8C_\x8K_\x8D_\x8E_\x8F··············BLOCK. | 11 | ·[>]·_\x8B_\x8L_\x8O_\x8C_\x8K_\x8D_\x8E_\x8F··············BLOCK. |
12 | · ···_\x8D_\x8E_\x8F···················For·example: | 12 | · ···_\x8D_\x8E_\x8F···················For·example: |
13 | · ···_\x8F_\x8I_\x8L_\x8E··················<_\x8[_\x8[_\x8r_\x8e_\x8f_\x8]_\x8]_\x8i_\x8f·disabled_because_xyz> | ||
14 | · ···_\x8I_\x8F···················· ·... | ||
15 | · ···_\x8I_\x8N_\x8C···················<_\x8[_\x8[_\x8r_\x8e_\x8f_\x8]_\x8]_\x8/_\x8i_\x8f> | ||
13 | · ···_\x8 | 16 | · ···_\x8I_.M_.G···················All·block·metatags·have·the·implicit·option·_\x8E_\x8X_\x8P_\x8A_\x8N_\x8D, |
14 | · ···_\x8I_\x8 | 17 | · ···_\x8I_\x8M_.A_.G_.E_.U_.R_.L··············which·tells·htp·to·expand·the·contents·of·the·block |
15 | · ···_\x8 | 18 | · ···_\x8O_.P_.T···················before·the·definition·is·expanded. |
16 | · ···_\x8 | 19 | · ···_\x8O_.U_.T_.P_.U_.T················A·more·thorough·discussion·and·more·elaborate |
17 | · ···_\x8 | 20 | · ···_\x8Q_.U_.O_.T_.E·················examples·are·discussed·in·the·_\x8m_\x8e_\x8t_\x8a_\x8t_\x8a_\x8g·section. |
18 | · ···_\x8O_\x8P_\x8T | ||
19 | · ···_\x8O_\x8U_\x8T_\x8P_\x8U_\x8T | ||
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 |
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 |
Offset 30, 14 lines modified | Offset 30, 17 lines modified | ||
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 |
Offset 129, 14 lines modified | Offset 129, 38 lines modified | ||
129 | </code></p> | 129 | </code></p> |
130 | <p> | 130 | <p> |
131 | Note·that·these·comments·should·not·include·<·or·>,·that·is·you | 131 | 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 | 132 | should·not·use·it·to·comment·out·htp·code.··For·that·purpose·use·something |
133 | like·this: | 133 | like·this: |
134 | </p> | 134 | </p> |
135 | ··<p><code> | 135 | ··<p><code> |
136 | ·<span·class="htp-tag"><<a·href="def.html"·><img·src="pic/manual.png"·border=0·alt="[ref]"·width="10"·height="10">DEF</a>·<span·class="htp-attrib">NAME</span>=<span·class="htp-string">"HEADERIMG"</span>·<span·class="htp-attrib">OPTION</span>=<span·class="htp-string">"SRC·TITLE·SIZE"</span>></span><br> | ||
137 | · ·<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> | ||
138 | · · · ·<span·class="htp-tag"><FONT·<span·class="htp-attrib">SIZE</span>=<span·class="htp-value"><span·class="htp-macro">${size}</span></span>></span><br> | ||
139 | · ·<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> | ||
140 | · ·<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> | ||
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">title</span>></span><br> | ||
142 | · ·<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> | ||
143 | · · · ·<span·class="htp-tag"></FONT></span><br> | ||
144 | · ·<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> | ||
145 | ·<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> | ||
146 | <br> | ||
147 | ·<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> | ||
148 | <br> | ||
149 | ·<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> | ||
150 | <br> | ||
151 | ·This·will·fail:<br> | ||
152 | ·<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> | ||
153 | <br> | ||
154 | ·Instead,·use·*·like·this:<br> | ||
155 | ·<span·class="htp-tag"><<a·href="def.html"·><img·src="pic/manual.png"·border=0·alt="[ref]"·width="10"·height="10">DEF</a>·<span·class="htp-attrib">NAME</span>=<span·class="htp-string">"MYIMG"</span>·<span·class="htp-attrib">OPTION</span>=<span·class="htp-string">"SRC·*"</span>></span><br> | ||
156 | · ·<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> | ||
157 | ·<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> | ||
158 | · ·<br> | ||
159 | ·<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> | 160 | </code></p> |
137 | <p>Make·sure·that·the·variable·is·never·defined·and·xyz·should·be·the | 161 | <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> | 162 | reason·why·you·don't·want·to·include·this·block</p> |
139 | <p> | 163 | <p> |
140 | </td> | 164 | </td> |
141 | </tr> | 165 | </tr> |
142 | <tr> | 166 | <tr> |
Offset 5, 32 lines modified | Offset 5, 60 lines modified | ||
5 | ·_\x8L_\x8i_\x8c_\x8e_\x8n_\x8s_\x8e···················This·is·a·simple·comment·that·is·not·included·in | 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 | 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 | 7 | ·_\x8U_\x8s_\x8a_\x8g_\x8e·····················metatags,·since·the·metatags·do·not·appear·the |
8 | ·HTP·Tags··················output·either.·Example: | 8 | ·HTP·Tags··················output·either.·Example: |
9 | · ···_\x8A_\x8L_\x8T_\x8T_\x8E_\x8X_\x8T···············Note·that·these·comments·should·not·include·<·or·>, | 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 | 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: | 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 | · ···_\x8F_\x8I_\x8L_\x8E··················xyz·should·be·the·reason·why·you·don't·want·to | ||
14 | · ···_\x8I_\x8F····················include·this·block | ||
15 | · ···_\x8I_\x8N_\x8C | ||
16 | · ···_\x8I_\x8M_\x8G | ||
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 | · ···_\x8 | 12 | · ···_\x8D_.E_.F··················· ·<_.[_.[_.r_.e_.f_.]_.]_.D_.E_.F·NAME="HEADERIMG"·OPTION="SRC·TITLE |
13 | · ···_\x8F_\x8I_\x8L_\x8E··················SIZE"> | ||
14 | · ···_\x8I_\x8F···················· · ·<_\x8[_\x8[_\x8r_\x8e_\x8f_\x8]_\x8]_\x8I_\x8F·size> | ||
15 | · ···_\x8I_\x8N_\x8C··················· · · · ·<FONT·SIZE=${size}> | ||
16 | · ···_\x8I_\x8M_\x8G··················· · ·<_\x8[_\x8[_\x8r_\x8e_\x8f_\x8]_\x8]_\x8/_\x8I_\x8F> | ||
17 | · ···_\x8I_\x8M_\x8A_\x8G_\x8E_\x8U_\x8R_\x8L·············· · ·<_\x8[_\x8[_\x8r_\x8e_\x8f_\x8]_\x8]_\x8I_\x8M_\x8G·SRC=pics/${src}> | ||
18 | · ···_\x8O_\x8P_\x8T··················· · ·<_\x8[_\x8[_\x8r_\x8e_\x8f_\x8]_\x8]_\x8U_\x8S_\x8E·title> | ||
19 | · ···_\x8O_\x8U_\x8T_\x8P_\x8U_\x8T················ · ·<_\x8[_\x8[_\x8r_\x8e_\x8f_\x8]_\x8]_\x8I_\x8F·size> | ||
20 | · ···_\x8Q_\x8U_\x8O_\x8T_\x8E················· · · · ·</FONT> | ||
21 | · ···_\x8S_\x8E_\x8T··················· · ·<_\x8[_\x8[_\x8r_\x8e_\x8f_\x8]_\x8]_\x8/_\x8I_\x8F> | ||
22 | · ···_\x8U_\x8N_\x8D_\x8E_\x8F················· ·<_\x8[_\x8[_\x8r_\x8e_\x8f_\x8]_\x8]_\x8/_\x8D_\x8E_\x8F> | ||
23 | · ···_\x8U_\x8N_\x8S_\x8E_\x8T | 23 | · ···_\x8U_\x8N_\x8S_\x8E_\x8T |
24 | · ···_\x8U_\x8S_\x8E_\x8,_\x8·_\x8$ | ||
25 | · ···_\x8 | 24 | · ···_\x8U_.S_.E_.,_.·_.$················ ·<HEADERIMG·SRC="logo.gif"·SIZE="+2"·TITLE="A |
25 | · ···_\x8W_\x8H_\x8I_\x8L_\x8E·················title"> | ||
26 | ·[>]·_\x8<_\x8!_\x8-_\x8-_\x8- | 26 | ·[>]·_\x8<_\x8!_\x8-_\x8-_\x8- |
27 | ·_\x8H_\x8i_\x8s_\x8t_\x8o_\x8r_\x8y | ||
28 | ·_\x8 | 27 | ·_\x8H_.i_.s_.t_.o_.r_.y··················· ·<HEADERIMG·SRC="logo.gif"·TITLE="Normal·sized |
28 | ·_\x8W_\x8i_\x8s_\x8h_\x8·_\x8l_\x8i_\x8s_\x8t·················title"> | ||
29 | ·_\x8B_\x8u_\x8g_\x8s | 29 | ·_\x8B_\x8u_\x8g_\x8s |
30 | ···························· ·This·will·fail: | ||
31 | ···························· ·<HEADERIMG·SRC="logo.gif"·ALT="Our·logo" | ||
32 | ····························TITLE="Another·title"> | ||
33 | ···························· ·Instead,·use·*·like·this: | ||
34 | ···························· ·<_\x8[_\x8[_\x8r_\x8e_\x8f_\x8]_\x8]_\x8D_\x8E_\x8F·NAME="MYIMG"·OPTION="SRC·*"> | ||
35 | ···························· · ·<_\x8[_\x8[_\x8r_\x8e_\x8f_\x8]_\x8]_\x8I_\x8M_\x8G·SRC="pics/${src}"·$*> | ||
36 | ···························· ·<_\x8[_\x8[_\x8r_\x8e_\x8f_\x8]_\x8]_\x8/_\x8D_\x8E_\x8F> | ||
37 | ···························· · | ||
38 | ···························· ·<MYIMG·SRC="logo.gif"·ALT="Our·logo"> | ||
39 | ····························Make·sure·that·the·variable·is·never·defined·and | ||
40 | ····························xyz·should·be·the·reason·why·you·don't·want·to | ||
41 | ····························include·this·block | ||
30 | ·_\x8p_\x8a_\x8g_\x8e_\x8·_\x8s_\x8o_\x8u_\x8r_\x8c_\x8e | 42 | ·_\x8p_\x8a_\x8g_\x8e_\x8·_\x8s_\x8o_\x8u_\x8r_\x8c_\x8e |
31 | ·_\x8h_\x8t_\x8p_\x8·_\x8p_\x8r_\x8o_\x8j_\x8e_\x8c_\x8t | 43 | ·_\x8h_\x8t_\x8p_\x8·_\x8p_\x8r_\x8o_\x8j_\x8e_\x8c_\x8t |
Offset 133, 34 lines modified | Offset 133, 48 lines modified | ||
133 | Some·metatags·will·require·an·opening·and·closing·tag·(comparable·to | 133 | Some·metatags·will·require·an·opening·and·closing·tag·(comparable·to |
134 | <TITLE>·and·</TITLE>).··In·this·case,·you·should·use·the·<A | 134 | <TITLE>·and·</TITLE>).··In·this·case,·you·should·use·the·<A |
135 | HREF="blockdef.html">BLOCKDEF</A>·macro.··Another·slightly·faster | 135 | HREF="blockdef.html">BLOCKDEF</A>·macro.··Another·slightly·faster |
136 | alternative·is·to·use·two·metatags,·the·opening·tag·and·the·closing | 136 | alternative·is·to·use·two·metatags,·the·opening·tag·and·the·closing |
137 | tag·with·a·preceding·slash.·For·example: | 137 | tag·with·a·preceding·slash.·For·example: |
138 | </P> | 138 | </P> |
139 | ··<p><code> | 139 | ··<p><code> |
140 | · ·<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·class="htp-attrib">home_url</span>·<span·class="htp-attrib">login_name</span>></span><br> | ||
141 | IZE=KBYTE>·kilobytes<br> | ||
142 | · ·Last·modified·<span·class="htp-tag"><<a·href="file.html"·><img·src="pic/manual.png"·border=0·alt="[ref]"·width="10"·height="10">FILE</a>·<span·class="htp-attrib">NAME</span>=<span·class="htp-string">"image.gif"</span>·<span·class="htp-attrib">TIME</span>></span>,·<span·class="htp-tag"><<a·href="file.html"·><img·src="pic/manual.png"·border=0·alt="[ref]"·width="10"·height="10">FILE</a>·<span·class="htp-attrib">NAME</span>=<span·class="htp-string">"image.gif"</span>·<span·class="htp-attrib">DATE</span>></span><br> | ||
143 | </code></p> | 140 | </code></p> |
144 | <p>·You·should·really·use·<a·href="blockdef.html">BLOCKDEF</a>,·though, | 141 | <p>·You·should·really·use·<a·href="blockdef.html">BLOCKDEF</a>,·though, |
145 | as·it·will·check·for·matching·end·tag.·It·is·not·that·slower.··</p> | 142 | as·it·will·check·for·matching·end·tag.·It·is·not·that·slower.··</p> |
146 | <P> | 143 | <P> |
147 | Options·can·be·passed·to·a·metatag,·which·can·then·expand·as·if·it·were | 144 | Options·can·be·passed·to·a·metatag,·which·can·then·expand·as·if·it·were |
148 | a·<A·HREF="set.html">SET</A>·macro.··Option·names·are·parameterized·with | 145 | a·<A·HREF="set.html">SET</A>·macro.··Option·names·are·parameterized·with |
149 | the·OPTION·attribute.··Multiple·options·can·be·listed·by·separating·their | 146 | the·OPTION·attribute.··Multiple·options·can·be·listed·by·separating·their |
150 | name·with·a·space·(which·therefore·requires·they·be·surrounded·by·quotes.) | 147 | name·with·a·space·(which·therefore·requires·they·be·surrounded·by·quotes.) |
151 | </P> | 148 | </P> |
152 | ··<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> | ||
153 | <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> | ||
154 | ·<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> | ||
155 | ·<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> | ||
156 | · ·<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> | ||
157 | · ·<span·class="htp-tag"><<a·href="i | 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> | ||
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> | ||
158 | ·<span·class="htp-tag"><<a·href=" | 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> |
159 | < | 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> | ||
160 | </code></p> | 174 | </code></p> |
161 | <P> | 175 | <P> |
162 | htp·will·do·very·specific·checking·of·parameters·when·a·metatag·is | 176 | htp·will·do·very·specific·checking·of·parameters·when·a·metatag·is |
163 | invoked.··htp·assumes·that·all·parameter·options·to·the·metatag·are | 177 | invoked.··htp·assumes·that·all·parameter·options·to·the·metatag·are |
164 | optional.··This·is·why·the·HEADERIMG·definition·uses·IF·to·verify·the | 178 | optional.··This·is·why·the·HEADERIMG·definition·uses·IF·to·verify·the |
165 | SIZE·option·is·defined·before·expanding·it·in·the·block.··If·a | 179 | SIZE·option·is·defined·before·expanding·it·in·the·block.··If·a |
166 | parameter·is·required,·simply·expand·it·without·first·checking.··When | 180 | parameter·is·required,·simply·expand·it·without·first·checking.··When |
Offset 10, 33 lines modified | Offset 10, 50 lines modified | ||
10 | · ···_\x8B_\x8L_\x8O_\x8C_\x8K·················Some·metatags·will·require·an·opening·and·closing | 10 | · ···_\x8B_\x8L_\x8O_\x8C_\x8K·················Some·metatags·will·require·an·opening·and·closing |
11 | · ···_\x8B_\x8L_\x8O_\x8C_\x8K_\x8D_\x8E_\x8F··············tag·(comparable·to | 11 | · ···_\x8B_\x8L_\x8O_\x8C_\x8K_\x8D_\x8E_\x8F··············tag·(comparable·to |
12 | ·[>]·_\x8D_\x8E_\x8F···················and | 12 | ·[>]·_\x8D_\x8E_\x8F···················and |
13 | · ···_\x8F_\x8I_\x8L_\x8E··················).·In·this·case,·you·should·use·the·_\x8B_\x8L_\x8O_\x8C_\x8K_\x8D_\x8E_\x8F·macro. | 13 | · ···_\x8F_\x8I_\x8L_\x8E··················).·In·this·case,·you·should·use·the·_\x8B_\x8L_\x8O_\x8C_\x8K_\x8D_\x8E_\x8F·macro. |
14 | · ···_\x8I_\x8F····················Another·slightly·faster·alternative·is·to·use·two | 14 | · ···_\x8I_\x8F····················Another·slightly·faster·alternative·is·to·use·two |
15 | · ···_\x8I_\x8N_\x8C···················metatags,·the·opening·tag·and·the·closing·tag·with | 15 | · ···_\x8I_\x8N_\x8C···················metatags,·the·opening·tag·and·the·closing·tag·with |
16 | · ···_\x8I_\x8M_\x8G···················a·preceding·slash.·For·example: | 16 | · ···_\x8I_\x8M_\x8G···················a·preceding·slash.·For·example: |
17 | · ···_\x8I_\x8M_\x8A_\x8G_\x8E_\x8U_\x8R_\x8L·············· · ·<_\x8[_\x8[_\x8r_\x8e_\x8f_\x8]_\x8]_\x8u_\x8n_\x8s_\x8e_\x8t·email_addr·home_url·login_name> | ||
18 | · ···_\x8O_\x8P_\x8T···················IZE=KBYTE>·kilobytes | ||
19 | · ···_\x8O_\x8U_\x8T_\x8P_\x8U_\x8T················ · ·Last·modified·<_\x8[_\x8[_\x8r_\x8e_\x8f_\x8]_\x8]_\x8F_\x8I_\x8L_\x8E·NAME="image.gif" | ||
20 | · ···_\x8Q_\x8U_\x8O_\x8T_\x8E·················TIME>,·<_\x8[_\x8[_\x8r_\x8e_\x8f_\x8]_\x8]_\x8F_\x8I_\x8L_\x8E·NAME="image.gif"·DATE> | ||
21 | · ···_\x8 | 17 | · ···_\x8I_.M_.A_.G_.E_.U_.R_.L··············You·should·really·use·_\x8B_\x8L_\x8O_\x8C_\x8K_\x8D_\x8E_\x8F,·though,·as·it·will |
22 | · ···_\x8 | 18 | · ···_\x8O_.P_.T···················check·for·matching·end·tag.·It·is·not·that·slower. |
23 | · ···_\x8U_. | 19 | · ···_\x8O_.U_.T_.P_.U_.T················Options·can·be·passed·to·a·metatag,·which·can·then |
24 | · ···_\x8 | 20 | · ···_\x8Q_.U_.O_.T_.E·················expand·as·if·it·were·a·_\x8S_\x8E_\x8T·macro.·Option·names·are |
25 | · ···_\x8 | 21 | · ···_\x8S_.E_.T···················parameterized·with·the·OPTION·attribute.·Multiple |
26 | · ···_\x8 | 22 | · ···_\x8U_.N_.D_.E_.F·················options·can·be·listed·by·separating·their·name·with |
27 | · | 23 | · ···_.U_.N_.S_.E_.T·················a·space·(which·therefore·requires·they·be |
28 | · | 24 | · ···_.U_.S_.E_.,_.·_.$················surrounded·by·quotes.) |
25 | · ···_\x8W_\x8H_\x8I_\x8L_\x8E················· ·<_\x8[_\x8[_\x8r_\x8e_\x8f_\x8]_\x8]_\x8D_\x8E_\x8F·NAME="HEADERIMG"·OPTION="SRC·TITLE | ||
26 | · ···_\x8<_\x8!_\x8-_\x8-_\x8-·················SIZE"> | ||
27 | ·_\x8H_\x8i_\x8s_\x8t_\x8o_\x8r_\x8y··················· · ·<_\x8[_\x8[_\x8r_\x8e_\x8f_\x8]_\x8]_\x8I_\x8F·size> | ||
28 | ·_\x8W_\x8i_\x8s_\x8h_\x8·_\x8l_\x8i_\x8s_\x8t················· · · · ·<FONT·SIZE=${size}> | ||
29 | ·_\x8B_\x8u_\x8g_\x8s······················<_.[_.[_.r_.e_.f_.]_.] | 29 | ·_\x8B_\x8u_\x8g_\x8s······················ · ·<_.[_.[_.r_.e_.f_.]_.]_./_.I_.F> |
30 | ···························· ·<_\x8[_\x8[_\x8r_\x8e_\x8f_\x8]_\x8]_\x8s_\x8e_\x8t·sect-ctr="1"> | ||
31 | ···························· ·<_\x8[_\x8[_\x8r_\x8e_\x8f_\x8]_\x8]_\x8w_\x8h_\x8i_\x8l_\x8e·sect-${sect-ctr}> | ||
32 | ···························· · ·<_\x8[_\x8[_\x8r_\x8e_\x8f_\x8]_\x8]_\x8 | 30 | ···························· · ·<_\x8[_\x8[_\x8r_\x8e_\x8f_\x8]_\x8]_\x8I_.M_.G·SRC=pics/${src}> |
31 | ···························· · ·<_\x8[_\x8[_\x8r_\x8e_\x8f_\x8]_\x8]_\x8U_\x8S_\x8E·title> | ||
33 | ···························· · ·<_\x8[_\x8[_\x8r_\x8e_\x8f_\x8]_\x8]_\x8 | 32 | ···························· · ·<_\x8[_\x8[_\x8r_\x8e_\x8f_\x8]_\x8]_\x8I_.F·size> |
33 | ···························· · · · ·</FONT> | ||
34 | ···························· · ·<_\x8[_\x8[_\x8r_\x8e_\x8f_\x8]_\x8]_\x8/_\x8I_\x8F> | ||
34 | ···························· ·<_\x8[_\x8[_\x8r_\x8e_\x8f_\x8]_\x8]_\x8/_\x8 | 35 | ···························· ·<_\x8[_\x8[_\x8r_\x8e_\x8f_\x8]_\x8]_\x8/_\x8D_.E_.F> |
36 | ···························· ·<HEADERIMG·SRC="logo.gif"·SIZE="+2"·TITLE="A | ||
37 | ····························title"> | ||
38 | ···························· ·<HEADERIMG·SRC="logo.gif"·TITLE="Normal·sized | ||
39 | ····························title"> | ||
40 | ···························· ·This·will·fail: | ||
41 | ···························· ·<HEADERIMG·SRC="logo.gif"·ALT="Our·logo" | ||
42 | ····························TITLE="Another·title"> | ||
43 | ···························· ·Instead,·use·*·like·this: | ||
44 | ···························· ·<_\x8[_\x8[_\x8r_\x8e_\x8f_\x8]_\x8]_\x8D_\x8E_\x8F·NAME="MYIMG"·OPTION="SRC·*"> | ||
45 | ···························· · ·<_\x8[_\x8[_\x8r_\x8e_\x8f_\x8]_\x8]_\x8I_\x8M_\x8G·SRC="pics/${src}"·$*> | ||
35 | ····························<_.[_.[_.r_.e_.f_.]_.]_. | 46 | ···························· ·<_.[_.[_.r_.e_.f_.]_.]_./_.D_.E_.F> |
47 | ···························· · | ||
48 | ···························· ·<MYIMG·SRC="logo.gif"·ALT="Our·logo"> | ||
36 | ····························htp·will·do·very·specific·checking·of·parameters | 49 | ····························htp·will·do·very·specific·checking·of·parameters |
37 | ····························when·a·metatag·is·invoked.·htp·assumes·that·all | 50 | ····························when·a·metatag·is·invoked.·htp·assumes·that·all |
38 | ····························parameter·options·to·the·metatag·are·optional.·This | 51 | ····························parameter·options·to·the·metatag·are·optional.·This |
39 | ····························is·why·the·HEADERIMG·definition·uses·IF·to·verify | 52 | ····························is·why·the·HEADERIMG·definition·uses·IF·to·verify |
40 | ····························the·SIZE·option·is·defined·before·expanding·it·in | 53 | ····························the·SIZE·option·is·defined·before·expanding·it·in |
41 | ····························the·block.·If·a·parameter·is·required,·simply | 54 | ····························the·block.·If·a·parameter·is·required,·simply |
42 | ····························expand·it·without·first·checking.·When·htp·expands | 55 | ····························expand·it·without·first·checking.·When·htp·expands |
Offset 132, 21 lines modified | Offset 132, 14 lines modified | ||
132 | <P> | 132 | <P> |
133 | <h3><a·name="name">NAME</a>,·TIME,·SIZE</h3> | 133 | <h3><a·name="name">NAME</a>,·TIME,·SIZE</h3> |
134 | <P> | 134 | <P> |
135 | To·include·information·about·another·file,·such·as·an·archive·file·or | 135 | To·include·information·about·another·file,·such·as·an·archive·file·or |
136 | graphic·image,·specify·its·name·with·the·NAME·attribute·followed·by·the | 136 | graphic·image,·specify·its·name·with·the·NAME·attribute·followed·by·the |
137 | type·of·information·to·be·displayed: | 137 | type·of·information·to·be·displayed: |
138 | ··<p><code> | 138 | ··<p><code> |
139 | ·<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> | ||
140 | ·<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> | ||
141 | · ·<span·class="htp-tag"><<a·href="inc.html"·><img·src="pic/manual.png"·border=0·alt="[ref]"·width="10"·height="10">inc</a>·<span·class="htp-attrib">sect-ctr</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·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> | ||
143 | · · ·<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> | ||
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><br> | ||
145 | ·<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> | ||
146 | </code></p> | 139 | </code></p> |
147 | <P> | 140 | <P> |
148 | For·file·size·information,·the·value·BYTE,·KBYTE,·etc.·dictates·how·the | 141 | For·file·size·information,·the·value·BYTE,·KBYTE,·etc.·dictates·how·the |
149 | information·is·displayed.··In·anything·other·than·byte·format,·the·information | 142 | information·is·displayed.··In·anything·other·than·byte·format,·the·information |
150 | is·displayed·in·floating-point·notation.··The·amount·of·precision·(the·number | 143 | 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 | 144 | 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 | 145 | PRECISION·attribute.··The·default·precision·is·zero·(0),·which·means·no |
Offset 175, 21 lines modified | Offset 168, 38 lines modified | ||
175 | <P> | 168 | <P> |
176 | Additional·parameters·can·be·set·in·the·FILE·INCLUDE·tag,·which·are | 169 | 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 | 170 | 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 | 171 | 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 | 172 | holds).··After·the·file·is·completely·included,·the·macros·are·no·longer |
180 | available.··So: | 173 | available.··So: |
181 | ··<p><code> | 174 | ··<p><code> |
175 | ·<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> | ||
182 | <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> | ||
183 | ·<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> | ||
184 | ·<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> | ||
185 | · ·<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> | ||
186 | · ·<span·class="htp-tag"><<a·href="i | 176 | · ·<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> |
177 | · · · ·<span·class="htp-tag"><FONT·<span·class="htp-attrib">SIZE</span>=<span·class="htp-value"><span·class="htp-macro">${size}</span></span>></span><br> | ||
178 | · ·<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> | ||
179 | · ·<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> | ||
180 | · ·<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> | ||
181 | · ·<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> | ||
182 | · · · ·<span·class="htp-tag"></FONT></span><br> | ||
183 | · ·<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> | ||
187 | ·<span·class="htp-tag"><<a·href=" | 184 | ·<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> |
188 | < | 185 | <br> |
186 | ·<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> | ||
187 | <br> | ||
188 | ·<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> | ||
189 | <br> | ||
190 | ·This·will·fail:<br> | ||
191 | ·<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> | ||
192 | <br> | ||
193 | ·Instead,·use·*·like·this:<br> | ||
194 | ·<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> | ||
195 | · ·<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> | ||
196 | ·<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> | ||
197 | · ·<br> | ||
198 | ·<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> | ||
189 | </code></p> | 199 | </code></p> |
190 | <P> | 200 | <P> |
191 | Macros·named·"name"·and·"email"·are·set,·and·available·inside·the·included | 201 | Macros·named·"name"·and·"email"·are·set,·and·available·inside·the·included |
192 | file.··They·are·not·available,·however,·past·the·tag·(which·is·why·the | 202 | file.··They·are·not·available,·however,·past·the·tag·(which·is·why·the |
193 | second·statement·will·fail.) | 203 | second·statement·will·fail.) |
194 | <P> | 204 | <P> |
195 | <h3><a·name="template">TEMPLATE</a></h3> | 205 | <h3><a·name="template">TEMPLATE</a></h3> |
Offset 11, 34 lines modified | Offset 11, 26 lines modified | ||
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··················*\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* | 13 | ·[>]·_\x8F_\x8I_\x8L_\x8E··················*\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* |
14 | · ···_\x8I_\x8F····················To·include·information·about·another·file,·such·as | 14 | · ···_\x8I_\x8F····················To·include·information·about·another·file,·such·as |
15 | · ···_\x8I_\x8N_\x8C···················an·archive·file·or·graphic·image,·specify·its·name | 15 | · ···_\x8I_\x8N_\x8C···················an·archive·file·or·graphic·image,·specify·its·name |
16 | · ···_\x8I_\x8M_\x8G···················with·the·NAME·attribute·followed·by·the·type·of | 16 | · ···_\x8I_\x8M_\x8G···················with·the·NAME·attribute·followed·by·the·type·of |
17 | · ···_\x8I_\x8M_\x8A_\x8G_\x8E_\x8U_\x8R_\x8L··············information·to·be·displayed: | 17 | · ···_\x8I_\x8M_\x8A_\x8G_\x8E_\x8U_\x8R_\x8L··············information·to·be·displayed: |
18 | · ···_\x8O_\x8P_\x8T··················· ·<_\x8[_\x8[_\x8r_\x8e_\x8f_\x8]_\x8]_\x8s_\x8e_\x8t·sect-ctr="0"> | ||
19 | · ···_\x8O_\x8U_\x8T_\x8P_\x8U_\x8T················ ·<_\x8[_\x8[_\x8r_\x8e_\x8f_\x8]_\x8]_\x8b_\x8l_\x8o_\x8c_\x8k_\x8d_\x8e_\x8f·name="section"> | ||
20 | · ···_\x8Q_\x8U_\x8O_\x8T_\x8E················· · ·<_\x8[_\x8[_\x8r_\x8e_\x8f_\x8]_\x8]_\x8i_\x8n_\x8c·sect-ctr> | ||
21 | · ···_\x8S_\x8E_\x8T··················· · ·<_\x8[_\x8[_\x8r_\x8e_\x8f_\x8]_\x8]_\x8b_\x8l_\x8o_\x8c_\x8k·name="sect-${sect-ctr}"·expand | ||
22 | · ···_\x8U_\x8N_\x8D_\x8E_\x8F·················global> | ||
23 | · ···_\x8U_\x8N_\x8S_\x8E_\x8T················· · · ·<_\x8[_\x8[_\x8r_\x8e_\x8f_\x8]_\x8]_\x8u_\x8s_\x8e·block·noexpand> | ||
24 | · ···_\x8U_\x8S_\x8E_\x8,_\x8·_\x8$················ · ·<_\x8[_\x8[_\x8r_\x8e_\x8f_\x8]_\x8]_\x8/_\x8b_\x8l_\x8o_\x8c_\x8k> | ||
25 | · ···_\x8W_\x8H_\x8I_\x8L_\x8E················· ·<_\x8[_\x8[_\x8r_\x8e_\x8f_\x8]_\x8]_\x8/_\x8b_\x8l_\x8o_\x8c_\x8k_\x8d_\x8e_\x8f> | ||
26 | · ···_\x8 | 18 | · ···_\x8O_.P_.T···················For·file·size·information,·the·value·BYTE,·KBYTE, |
27 | · | 19 | · ···_.O_.U_.T_.P_.U_.T················etc.·dictates·how·the·information·is·displayed.·In |
28 | · | 20 | · ···_.Q_.U_.O_.T_.E·················anything·other·than·byte·format,·the·information·is |
29 | · | 21 | · ···_.S_.E_.T···················displayed·in·floating-point·notation.·The·amount·of |
30 | ···· | 22 | · ···_.U_.N_.D_.E_.F·················precision·(the·number·of·digits·to·the·right·of·the |
31 | ···· | 23 | · ···_.U_.N_.S_.E_.T·················decimal·point)·can·be·set·with·the·optional |
32 | ···· | 24 | · ···_.U_.S_.E_.,_.·_.$················PRECISION·attribute.·The·default·precision·is·zero |
33 | ···· | 25 | · ···_.W_.H_.I_.L_.E·················(0),·which·means·no·fractional·portion·is |
34 | ···· | 26 | · ···_.<_.!_.-_.-_.-·················displayed. |
35 | · | 27 | ·_.H_.i_.s_.t_.o_.r_.y···················At·the·request·of·many·people,·the·TIME·and·DATE |
36 | ·· | 28 | ·_.W_.i_.s_.h_.·_.l_.i_.s_.t·················attributes·will·now·accept·formatting·characters |
37 | · | 29 | ·_.B_.u_.g_.s······················that·are·passed·directly·into·the·ANSI·C·library |
38 | ····························function.·This·allows·for·the·time·and·date·to·be | 30 | ····························function.·This·allows·for·the·time·and·date·to·be |
39 | ····························displayed·in·virtually·any·format.·Users·not | 31 | ····························displayed·in·virtually·any·format.·Users·not |
40 | ····························wishing·to·mess·around·with·this·should·stick·to | 32 | ····························wishing·to·mess·around·with·this·should·stick·to |
41 | ····························the·default·format,·which·is·used·if·no·formatting | 33 | ····························the·default·format,·which·is·used·if·no·formatting |
42 | ····························value·is·specified·(i.e.,·just·using·05:04:11·PM). | 34 | ····························value·is·specified·(i.e.,·just·using·05:04:11·PM). |
43 | ····························Consult·any·C·programmer's·guide·discussing·the | 35 | ····························Consult·any·C·programmer's·guide·discussing·the |
44 | ····························standard·C·library·function·strftime()·for | 36 | ····························standard·C·library·function·strftime()·for |
Offset 57, 21 lines modified | Offset 49, 42 lines modified | ||
57 | ····························Additional·parameters·can·be·set·in·the·FILE | 49 | ····························Additional·parameters·can·be·set·in·the·FILE |
58 | ····························INCLUDE·tag,·which·are·interpreted·as·macros·that | 50 | ····························INCLUDE·tag,·which·are·interpreted·as·macros·that |
59 | ····························are·"passed"·to·the·included·file.·The·macros·are | 51 | ····························are·"passed"·to·the·included·file.·The·macros·are |
60 | ····························available·only·to·the·include·file·(and·any·macros | 52 | ····························available·only·to·the·include·file·(and·any·macros |
61 | ····························or·included·files·it·holds).·After·the·file·is | 53 | ····························or·included·files·it·holds).·After·the·file·is |
62 | ····························completely·included,·the·macros·are·no·longer | 54 | ····························completely·included,·the·macros·are·no·longer |
63 | ····························available.·So: | 55 | ····························available.·So: |
56 | ···························· ·<_\x8[_\x8[_\x8r_\x8e_\x8f_\x8]_\x8]_\x8D_\x8E_\x8F·NAME="HEADERIMG"·OPTION="SRC·TITLE | ||
57 | ····························SIZE"> | ||
64 | ····························<_\x8[_\x8[_\x8r_\x8e_\x8f_\x8]_\x8]_\x8f_\x8i_\x8l_\x8e·include="header.hti"> | ||
65 | ···························· ·<_\x8[_\x8[_\x8r_\x8e_\x8f_\x8]_\x8]_\x8s_\x8e_\x8t·sect-ctr="1"> | ||
66 | ···························· ·<_\x8[_\x8[_\x8r_\x8e_\x8f_\x8]_\x8]_\x8w_\x8h_\x8i_\x8l_\x8e·sect-${sect-ctr}> | ||
67 | ···························· · ·<_\x8[_\x8[_\x8r_\x8e_\x8f_\x8]_\x8]_\x8u_\x8s_\x8e·sect-${sect-ctr}> | ||
68 | ···························· · ·<_\x8[_\x8[_\x8r_\x8e_\x8f_\x8]_\x8]_\x8 | 58 | ···························· · ·<_\x8[_\x8[_\x8r_\x8e_\x8f_\x8]_\x8]_\x8I_.F·size> |
59 | ···························· · · · ·<FONT·SIZE=${size}> | ||
60 | ···························· · ·<_\x8[_\x8[_\x8r_\x8e_\x8f_\x8]_\x8]_\x8/_\x8I_\x8F> | ||
61 | ···························· · ·<_\x8[_\x8[_\x8r_\x8e_\x8f_\x8]_\x8]_\x8I_\x8M_\x8G·SRC=pics/${src}> | ||
62 | ···························· · ·<_\x8[_\x8[_\x8r_\x8e_\x8f_\x8]_\x8]_\x8U_\x8S_\x8E·title> | ||
63 | ···························· · ·<_\x8[_\x8[_\x8r_\x8e_\x8f_\x8]_\x8]_\x8I_\x8F·size> | ||
64 | ···························· · · · ·</FONT> | ||
65 | ···························· · ·<_\x8[_\x8[_\x8r_\x8e_\x8f_\x8]_\x8]_\x8/_\x8I_\x8F> | ||
69 | ···························· ·<_\x8[_\x8[_\x8r_\x8e_\x8f_\x8]_\x8]_\x8/_\x8 | 66 | ···························· ·<_\x8[_\x8[_\x8r_\x8e_\x8f_\x8]_\x8]_\x8/_\x8D_.E_.F> |
67 | ···························· ·<HEADERIMG·SRC="logo.gif"·SIZE="+2"·TITLE="A | ||
68 | ····························title"> | ||
69 | ···························· ·<HEADERIMG·SRC="logo.gif"·TITLE="Normal·sized | ||
70 | ····························title"> | ||
71 | ···························· ·This·will·fail: | ||
72 | ···························· ·<HEADERIMG·SRC="logo.gif"·ALT="Our·logo" | ||
73 | ····························TITLE="Another·title"> | ||
74 | ···························· ·Instead,·use·*·like·this: | ||
75 | ···························· ·<_\x8[_\x8[_\x8r_\x8e_\x8f_\x8]_\x8]_\x8D_\x8E_\x8F·NAME="MYIMG"·OPTION="SRC·*"> | ||
76 | ···························· · ·<_\x8[_\x8[_\x8r_\x8e_\x8f_\x8]_\x8]_\x8I_\x8M_\x8G·SRC="pics/${src}"·$*> | ||
70 | ····························<_.[_.[_.r_.e_.f_.]_.]_. | 77 | ···························· ·<_.[_.[_.r_.e_.f_.]_.]_./_.D_.E_.F> |
78 | ···························· · | ||
79 | ···························· ·<MYIMG·SRC="logo.gif"·ALT="Our·logo"> | ||
71 | ····························Macros·named·"name"·and·"email"·are·set,·and | 80 | ····························Macros·named·"name"·and·"email"·are·set,·and |
72 | ····························available·inside·the·included·file.·They·are·not | 81 | ····························available·inside·the·included·file.·They·are·not |
73 | ····························available,·however,·past·the·tag·(which·is·why·the | 82 | ····························available,·however,·past·the·tag·(which·is·why·the |
74 | ····························second·statement·will·fail.) | 83 | ····························second·statement·will·fail.) |
75 | ····························*\x8**\x8**\x8**\x8*·T\x8TE\x8EM\x8MP\x8PL\x8LA\x8AT\x8TE\x8E·*\x8**\x8**\x8**\x8* | 84 | ····························*\x8**\x8**\x8**\x8*·T\x8TE\x8EM\x8MP\x8PL\x8LA\x8AT\x8TE\x8E·*\x8**\x8**\x8**\x8* |
76 | ····························A·template·file·is·nothing·more·than·a·default | 85 | ····························A·template·file·is·nothing·more·than·a·default |
77 | ····························include·file,·one·that·is·included·once·the·input | 86 | ····························include·file,·one·that·is·included·once·the·input |
Offset 114, 33 lines modified | Offset 114, 30 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="undef.html"·><img·src="pic/manual.png"·border=0·alt="[ref]"·width="10"·height="10">UNDEF</a>·<span·class="htp-attrib">tagname</span>></span><br> | ||
122 | <span·class="htp-tag"><<a·href="undef.html"·><img·src="pic/manual.png"·border=0·alt="[ref]"·width="10"·height="10">UNDEF</a>·<span·class="htp-attrib">tagname1</span>·<span·class="htp-attrib">tagname2</span>·<span·class="htp-attrib">...</span>·></span><br> | ||
123 | <br> | ||
121 | </code></p> | 124 | </code></p> |
122 | <h2>synopsis</h2> | 125 | <h2>synopsis</h2> |
123 | <STRONG>IF,·NOT,·ELSEIF,·ELSE,·and·/IF</STRONG>·are·the·building | 126 | <STRONG>IF,·NOT,·ELSEIF,·ELSE,·and·/IF</STRONG>·are·the·building |
124 | blocks·for·conditional·processing.··The·basic·form·is·shown·above. | 127 | blocks·for·conditional·processing.··The·basic·form·is·shown·above. |
125 | <P>·"Conditional"·is·either·a·"compare"·or·"is·defined"·operation.··A | 128 | <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 | 129 | compare·operator·is·a·test·of·the·value·of·a·macro·against·a·literal |
127 | string: | 130 | string: |
128 | ··<p><code> | 131 | ··<p><code> |
129 | </code></p> | 132 | </code></p> |
130 | <P> | 133 | <P> |
131 | 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: |
132 | <P> | 135 | <P> |
133 | ··<p><code> | 136 | ··<p><code> |
134 | · ·<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·class="htp-attrib">home_url</span>·<span·class="htp-attrib">login_name</span>></span><br> | ||
135 | IZE=KBYTE>·kilobytes<br> | ||
136 | · ·Last·modified·<span·class="htp-tag"><<a·href="file.html"·><img·src="pic/manual.png"·border=0·alt="[ref]"·width="10"·height="10">FILE</a>·<span·class="htp-attrib">NAME</span>=<span·class="htp-string">"image.gif"</span>·<span·class="htp-attrib">TIME</span>></span>,·<span·class="htp-tag"><<a·href="file.html"·><img·src="pic/manual.png"·border=0·alt="[ref]"·width="10"·height="10">FILE</a>·<span·class="htp-attrib">NAME</span>=<span·class="htp-string">"image.gif"</span>·<span·class="htp-attrib">DATE</span>></span><br> | ||
137 | nd><br> | ||
138 | · ·<span·class="htp-tag"><<a·href="block.html"·><img·src="pic/manual.png"·border=0·alt="[ref]"·width="10"·height="10">/block</a>></span><br> | ||
139 | ·<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> | 137 | </code></p> |
141 | <P> | 138 | <P> |
142 | If·the·NOT·tag·is·present·in·the·IF·markup,·the·evaluation·of·the | 139 | If·the·NOT·tag·is·present·in·the·IF·markup,·the·evaluation·of·the |
143 | conditional·is·reversed.··The·first·IF·or·ELSEIF·condition·that | 140 | conditional·is·reversed.··The·first·IF·or·ELSEIF·condition·that |
144 | evaluates·to·true·is·chosen.··If·none·of·the·conditions·is·true·the | 141 | evaluates·to·true·is·chosen.··If·none·of·the·conditions·is·true·the |
145 | ELSE·block·is·taken·if·it·is·present.··A·conditional·block | 142 | ELSE·block·is·taken·if·it·is·present.··A·conditional·block |
146 | <EM>must</EM>·be·closed·with·the·/IF·tag.··IF·tags·can·be·nested. | 143 | <EM>must</EM>·be·closed·with·the·/IF·tag.··IF·tags·can·be·nested. |
Offset 1, 47 lines modified | Offset 1, 43 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\x8IF\x8F,\x8,·E\x8EL\x8LS\x8SE\x8EI\x8IF\x8F,\x8,·E\x8EL\x8LS\x8SE\x8E,\x8,·/\x8/I\x8IF\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:·I\x8IF\x8F,\x8,·E\x8EL\x8LS\x8SE\x8EI\x8IF\x8F,\x8,·E\x8EL\x8LS\x8SE\x8E,\x8,·/\x8/I\x8IF\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]_\x8U_\x8N_\x8D_\x8E_\x8F·tagname> | ||
5 | ·_\x8L_\x8i_\x8c_\x8e_\x8n_\x8s_\x8e···················<_\x8[_\x8[_\x8r_\x8e_\x8f_\x8]_\x8]_\x8U_\x8N_\x8D_\x8E_\x8F·tagname1·tagname2·...·> | ||
6 | ·_\x8T_\x8u_\x8t_\x8o_\x8r_\x8i_\x8a_\x8l | ||
4 | ·_\x8 | 7 | ·_\x8U_.s_.a_.g_.e·····················*\x8**\x8**\x8**\x8**\x8*·s\x8sy\x8yn\x8no\x8op\x8ps\x8si\x8is\x8s·*\x8**\x8**\x8**\x8**\x8* |
5 | · | 8 | ·HTP·Tags··················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 | · | 9 | · ···_.A_.L_.T_.T_.E_.X_.T···············blocks·for·conditional·processing.·The·basic·form |
7 | · | 10 | · ···_.B_.L_.O_.C_.K·················is·shown·above. |
8 | · | 11 | · ···_.B_.L_.O_.C_.K_.D_.E_.F··············"Conditional"·is·either·a·"compare"·or·"is·defined" |
9 | · ···_\x8 | 12 | · ···_\x8D_.E_.F···················operation.·A·compare·operator·is·a·test·of·the |
10 | · ···_\x8 | 13 | · ···_\x8F_.I_.L_.E··················value·of·a·macro·against·a·literal·string: |
11 | · | 14 | ·[>]·_.I_.F····················and·a·defined·operator·is·a·test·of·a·macro's |
12 | · ···_\x8 | 15 | · ···_\x8I_.N_.C···················existance: |
13 | · ···_\x8F_\x8I_\x8L_\x8E·················· · ·<_\x8[_\x8[_\x8r_\x8e_\x8f_\x8]_\x8]_\x8u_\x8n_\x8s_\x8e_\x8t·email_addr·home_url·login_name> | ||
14 | ·[>]·_\x8I_\x8F····················IZE=KBYTE>·kilobytes | ||
15 | · ···_\x8I_\x8N_\x8C··················· · ·Last·modified·<_\x8[_\x8[_\x8r_\x8e_\x8f_\x8]_\x8]_\x8F_\x8I_\x8L_\x8E·NAME="image.gif" | ||
16 | · ···_\x8I_\x8M_\x8G···················TIME>,·<_\x8[_\x8[_\x8r_\x8e_\x8f_\x8]_\x8]_\x8F_\x8I_\x8L_\x8E·NAME="image.gif"·DATE> | ||
17 | · ···_\x8I_\x8M_\x8A_\x8G_\x8E_\x8U_\x8R_\x8L··············nd> | ||
18 | · ···_\x8O_\x8P_\x8T··················· · ·<_\x8[_\x8[_\x8r_\x8e_\x8f_\x8]_\x8]_\x8/_\x8b_\x8l_\x8o_\x8c_\x8k> | ||
19 | · ···_\x8O_\x8U_\x8T_\x8P_\x8U_\x8T················ ·<_\x8[_\x8[_\x8r_\x8e_\x8f_\x8]_\x8]_\x8/_\x8b_\x8l_\x8o_\x8c_\x8k_\x8d_\x8e_\x8f> | ||
20 | · ···_\x8 | 16 | · ···_\x8I_.M_.G···················If·the·NOT·tag·is·present·in·the·IF·markup,·the |
21 | · ···_\x8 | 17 | · ···_\x8I_.M_.A_.G_.E_.U_.R_.L··············evaluation·of·the·conditional·is·reversed.·The |
22 | · ···_\x8 | 18 | · ···_\x8O_.P_.T···················first·IF·or·ELSEIF·condition·that·evaluates·to·true |
23 | · ···_\x8U_. | 19 | · ···_\x8O_.U_.T_.P_.U_.T················is·chosen.·If·none·of·the·conditions·is·true·the |
24 | · ···_\x8 | 20 | · ···_\x8Q_.U_.O_.T_.E·················ELSE·block·is·taken·if·it·is·present.·A·conditional |
25 | · ···_\x8 | 21 | · ···_\x8S_.E_.T···················block·m\x8mu\x8us\x8st\x8t·be·closed·with·the·/IF·tag.·IF·tags·can |
26 | · ···_\x8 | 22 | · ···_\x8U_.N_.D_.E_.F·················be·nested. |
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 | 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 |
Offset 114, 21 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 | · ·a·is·expanded·at·time·1.<br> | ||
122 | · ·b·is·expanded·at·time·0.<br> | ||
123 | ·contents·of·a:· ·a·is·expanded·at·time·<span·class="htp-tag"><<a·href="use.html"·><img·src="pic/manual.png"·border=0·alt="[ref]"·width="10"·height="10">use</a>·<span·class="htp-attrib">time</span>></span>.<br> | ||
124 | ·contents·of·b:· ·b·is·expanded·at·time·0.<br> | ||
125 | · ·c·is·expanded·at·time·1;· ·a·is·expanded·at·time·1.<br> | ||
126 | · ·d·is·expanded·at·time·1;· ·a·is·expanded·at·time·2.<br> | ||
127 | · ·e·is·expanded·at·time·2;· ·a·is·defined·for·the·2nd·time·<span·class="htp-tag"><<a·href="use.html"·><img·src="pic/manual.png"·border=0·alt="[ref]"·width="10"·height="10">use</a>·<span·class="htp-attrib">time</span>></span>.<br> | ||
128 | </code></p> | 121 | </code></p> |
129 | <h2>synopsis</h2> | 122 | <h2>synopsis</h2> |
130 | <P> | 123 | <P> |
131 | <STRONG>IMAGEURL</STRONG>·tells·htp,·where·to·find·images·on·the·local | 124 | <STRONG>IMAGEURL</STRONG>·tells·htp,·where·to·find·images·on·the·local |
132 | file·system.··declares·an·URL·replacement·that·is·used·for | 125 | file·system.··declares·an·URL·replacement·that·is·used·for |
133 | size·lookups·in·any·<A·HREF="img.html">IMG</A>·tag.·This·definitions | 126 | size·lookups·in·any·<A·HREF="img.html">IMG</A>·tag.·This·definitions |
134 | takes·effect·only·if·the·<A·HREF="opt.html">IMGXY</A>·option·is | 127 | takes·effect·only·if·the·<A·HREF="opt.html">IMGXY</A>·option·is |
Offset 142, 14 lines modified | Offset 135, 17 lines modified | ||
142 | checks·(case-insensitive)·if·it·is·a·prefix·of·the·image's·SRC | 135 | checks·(case-insensitive)·if·it·is·a·prefix·of·the·image's·SRC |
143 | attribute.·If·it·matches·this·prefix·is·replaced·by·the·given·PATH. | 136 | attribute.·If·it·matches·this·prefix·is·replaced·by·the·given·PATH. |
144 | If·no·IMAGEURL·matches·the·SRC·is·considered·as·relative·link·and | 137 | If·no·IMAGEURL·matches·the·SRC·is·considered·as·relative·link·and |
145 | looked·up·in·the·current·directory.</P> | 138 | looked·up·in·the·current·directory.</P> |
146 | <P> | 139 | <P> |
147 | For·example:</P> | 140 | For·example:</P> |
148 | ··<p><code> | 141 | ··<p><code> |
142 | <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> | ||
143 | ·...<br> | ||
144 | <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> | ||
149 | </code></p> | 145 | </code></p> |
150 | <P> | 146 | <P> |
151 | If·IMAGEURL·is·specified·with·a·URL·but·no·PATH·attribute,·it·is·treated·as | 147 | If·IMAGEURL·is·specified·with·a·URL·but·no·PATH·attribute,·it·is·treated·as |
152 | an·undefine,·and·is·removed.</P> | 148 | an·undefine,·and·is·removed.</P> |
153 | <P> | 149 | <P> |
154 | Since·you·usually·need·the·url·mapping·for·a·number·of·images·used·throughout | 150 | Since·you·usually·need·the·url·mapping·for·a·number·of·images·used·throughout |
155 | a·set·of·documents,·IMAGEURL·is·most·appropriately·put·into·an | 151 | a·set·of·documents,·IMAGEURL·is·most·appropriately·put·into·an |
Offset 1, 44 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\x8IM\x8MA\x8AG\x8GE\x8EU\x8UR\x8RL\x8L·*\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\x8MA\x8AG\x8GE\x8EU\x8UR\x8RL\x8L·*\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·············· · ·a·is·expanded·at·time·1. | ||
5 | ·_\x8L_\x8i_\x8c_\x8e_\x8n_\x8s_\x8e··················· · ·b·is·expanded·at·time·0. | ||
6 | ·_\x8T_\x8u_\x8t_\x8o_\x8r_\x8i_\x8a_\x8l·················· ·contents·of·a:· ·a·is·expanded·at·time·<_\x8[ | ||
7 | ·_\x8U_\x8s_\x8a_\x8g_\x8e·····················_\x8[_\x8r_\x8e_\x8f_\x8]_\x8]_\x8u_\x8s_\x8e·time>. | ||
8 | ·HTP·Tags·················· ·contents·of·b:· ·b·is·expanded·at·time·0. | ||
9 | · ···_\x8A_\x8L_\x8T_\x8T_\x8E_\x8X_\x8T··············· · ·c·is·expanded·at·time·1;· ·a·is·expanded·at | ||
10 | · ···_\x8B_\x8L_\x8O_\x8C_\x8K·················time·1. | ||
11 | · ···_\x8B_\x8L_\x8O_\x8C_\x8K_\x8D_\x8E_\x8F·············· · ·d·is·expanded·at·time·1;· ·a·is·expanded·at | ||
12 | · ···_\x8D_\x8E_\x8F···················time·2. | ||
13 | · ···_\x8F_\x8I_\x8L_\x8E·················· · ·e·is·expanded·at·time·2;· ·a·is·defined·for·the | ||
14 | · ···_\x8I_\x8F····················2nd·time·<_\x8[_\x8[_\x8r_\x8e_\x8f_\x8]_\x8]_\x8u_\x8s_\x8e·time>. | ||
15 | · | 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* |
16 | · | 5 | ·_.L_.i_.c_.e_.n_.s_.e···················I\x8IM\x8MA\x8AG\x8GE\x8EU\x8UR\x8RL\x8L·tells·htp,·where·to·find·images·on·the |
17 | · | 6 | ·_.T_.u_.t_.o_.r_.i_.a_.l··················local·file·system.·declares·an·URL·replacement·that |
18 | · | 7 | ·_.U_.s_.a_.g_.e·····················is·used·for·size·lookups·in·any·_\x8I_\x8M_\x8G·tag.·This |
19 | · | 8 | ·HTP·Tags··················definitions·takes·effect·only·if·the·_\x8I_\x8M_\x8G_\x8X_\x8Y·option |
20 | · ···_\x8 | 9 | · ···_\x8A_.L_.T_.T_.E_.X_.T···············is·enabled.·Beacause·htp·can't·lookup·files·in·the |
21 | · ···_\x8 | 10 | · ···_\x8B_.L_.O_.C_.K·················world·wide·web·you·have·to·map·absolute·image·URLs |
22 | · ···_\x8 | 11 | · ···_\x8B_.L_.O_.C_.K_.D_.E_.F··············to·a·directory·in·the·local·file·system. |
23 | · ···_\x8 | 12 | · ···_\x8D_.E_.F···················When·an·IMG·tag·is·encountered·where·htp·has·to |
24 | · ···_\x8 | 13 | · ···_\x8F_.I_.L_.E··················insert·width·and·height·the·defined·URL |
25 | · ···_\x8 | 14 | · ···_\x8I_.F····················replacements·will·be·taken·into·account·(later |
26 | · ···_\x8 | 15 | · ···_\x8I_.N_.C···················definitions·take·precedence·to·earlier):·For·each |
27 | · | 16 | · ···_.I_.M_.G···················defined·imageurl·it·checks·(case-insensitive)·if·it |
28 | · | 17 | ·[>]·_.I_.M_.A_.G_.E_.U_.R_.L··············is·a·prefix·of·the·image's·SRC·attribute.·If·it |
29 | · | 18 | · ···_.O_.P_.T···················matches·this·prefix·is·replaced·by·the·given·PATH. |
30 | ···· | 19 | · ···_.O_.U_.T_.P_.U_.T················If·no·IMAGEURL·matches·the·SRC·is·considered·as |
31 | ···· | 20 | · ···_.Q_.U_.O_.T_.E·················relative·link·and·looked·up·in·the·current |
32 | ···· | 21 | · ···_.S_.E_.T···················directory. |
33 | ···· | 22 | · ···_.U_.N_.D_.E_.F·················For·example: |
23 | · ···_\x8U_\x8N_\x8S_\x8E_\x8T·················<_\x8[_\x8[_\x8r_\x8e_\x8f_\x8]_\x8]_\x8i_\x8f·disabled_because_xyz> | ||
24 | · ···_\x8U_\x8S_\x8E_\x8,_\x8·_\x8$················ ·... | ||
25 | · ···_\x8W_\x8H_\x8I_\x8L_\x8E·················<_\x8[_\x8[_\x8r_\x8e_\x8f_\x8]_\x8]_\x8/_\x8i_\x8f> | ||
34 | ···· | 26 | · ···_.<_.!_.-_.-_.-·················If·IMAGEURL·is·specified·with·a·URL·but·no·PATH |
35 | · | 27 | ·_.H_.i_.s_.t_.o_.r_.y···················attribute,·it·is·treated·as·an·undefine,·and·is |
36 | ·· | 28 | ·_.W_.i_.s_.h_.·_.l_.i_.s_.t·················removed. |
37 | · | 29 | ·_.B_.u_.g_.s······················Since·you·usually·need·the·url·mapping·for·a·number |
38 | ····························of·images·used·throughout·a·set·of·documents, | 30 | ····························of·images·used·throughout·a·set·of·documents, |
39 | ····························IMAGEURL·is·most·appropriately·put·into·an·_\x8i_\x8n_\x8c_\x8l_\x8u_\x8d_\x8e | 31 | ····························IMAGEURL·is·most·appropriately·put·into·an·_\x8i_\x8n_\x8c_\x8l_\x8u_\x8d_\x8e |
40 | ····························_\x8f_\x8i_\x8l_\x8e·or·the·_\x8h_\x8t_\x8p_\x8._\x8d_\x8e_\x8f·file. | 32 | ····························_\x8f_\x8i_\x8l_\x8e·or·the·_\x8h_\x8t_\x8p_\x8._\x8d_\x8e_\x8f·file. |
41 | ····························In·addition·to·WIDTH·and·HEIGHT,·htp·can·also | 33 | ····························In·addition·to·WIDTH·and·HEIGHT,·htp·can·also |
42 | ····························(semi-)automatically·add·an·_\x8A_\x8L_\x8T_\x8·_\x8t_\x8e_\x8x_\x8t·attribute·to | 34 | ····························(semi-)automatically·add·an·_\x8A_\x8L_\x8T_\x8·_\x8t_\x8e_\x8x_\x8t·attribute·to |
43 | ····························_\x8I_\x8M_\x8G·tags. | 35 | ····························_\x8I_\x8M_\x8G·tags. |
Offset 114, 14 lines modified | Offset 114, 17 lines modified | ||
114 | ······<a·class="noline"·href="bugs.html">Bugs</a></td></tr> | 114 | ······<a·class="noline"·href="bugs.html">Bugs</a></td></tr> |
115 | ··</table> | 115 | ··</table> |
116 | ··</div> | 116 | ··</div> |
117 | </td> | 117 | </td> |
118 | <td·bgcolor="#f0f0d0"·rowspan="2"·valign="top"> | 118 | <td·bgcolor="#f0f0d0"·rowspan="2"·valign="top"> |
119 | <h2>syntax</h2> | 119 | <h2>syntax</h2> |
120 | ··<p><code> | 120 | ··<p><code> |
121 | <span·class="htp-tag"><<a·href="undef.html"·><img·src="pic/manual.png"·border=0·alt="[ref]"·width="10"·height="10">UNDEF</a>·<span·class="htp-attrib">tagname</span>></span><br> | ||
122 | <span·class="htp-tag"><<a·href="undef.html"·><img·src="pic/manual.png"·border=0·alt="[ref]"·width="10"·height="10">UNDEF</a>·<span·class="htp-attrib">tagname1</span>·<span·class="htp-attrib">tagname2</span>·<span·class="htp-attrib">...</span>·></span><br> | ||
123 | <br> | ||
121 | </code></p> | 124 | </code></p> |
122 | <h2>synopsis</h2> | 125 | <h2>synopsis</h2> |
123 | The·<STRONG>INC</STRONG>·can·be·used·for·incrementing/decrementing·a | 126 | The·<STRONG>INC</STRONG>·can·be·used·for·incrementing/decrementing·a |
124 | variable·or·for·variable·addition.··The·basic·form·is·shown·above. | 127 | variable·or·for·variable·addition.··The·basic·form·is·shown·above. |
125 | <P> | 128 | <P> |
126 | The·"increment"·is·anything·that·evaluates·to·a·integer.··It·can·be·a | 129 | The·"increment"·is·anything·that·evaluates·to·a·integer.··It·can·be·a |
127 | literal·string·or·a·macro·preceeded·by·the·'$'-operator.··The | 130 | literal·string·or·a·macro·preceeded·by·the·'$'-operator.··The |
Offset 1, 43 lines modified | Offset 1, 46 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]_\x8U_\x8N_\x8D_\x8E_\x8F·tagname> | ||
5 | ·_\x8L_\x8i_\x8c_\x8e_\x8n_\x8s_\x8e···················<_\x8[_\x8[_\x8r_\x8e_\x8f_\x8]_\x8]_\x8U_\x8N_\x8D_\x8E_\x8F·tagname1·tagname2·...·> | ||
6 | ·_\x8T_\x8u_\x8t_\x8o_\x8r_\x8i_\x8a_\x8l | ||
4 | ·_\x8 | 7 | ·_\x8U_.s_.a_.g_.e·····················*\x8**\x8**\x8**\x8**\x8*·s\x8sy\x8yn\x8no\x8op\x8ps\x8si\x8is\x8s·*\x8**\x8**\x8**\x8**\x8* |
5 | · | 8 | ·HTP·Tags··················The·I\x8IN\x8NC\x8C·can·be·used·for·incrementing/decrementing·a |
6 | · | 9 | · ···_.A_.L_.T_.T_.E_.X_.T···············variable·or·for·variable·addition.·The·basic·form |
7 | · | 10 | · ···_.B_.L_.O_.C_.K·················is·shown·above. |
8 | · | 11 | · ···_.B_.L_.O_.C_.K_.D_.E_.F··············The·"increment"·is·anything·that·evaluates·to·a |
9 | · ···_\x8 | 12 | · ···_\x8D_.E_.F···················integer.·It·can·be·a·literal·string·or·a·macro |
10 | · ···_\x8 | 13 | · ···_\x8F_.I_.L_.E··················preceeded·by·the·'$'-operator.·The·macroname·must |
11 | · ···_\x8 | 14 | · ···_\x8I_.F····················be·the·name·of·a·defined·macro·that·contains·an |
12 | · | 15 | ·[>]·_.I_.N_.C···················integer.·If·the·increment·is·ommitted·it·defaults |
13 | · ···_\x8 | 16 | · ···_\x8I_.M_.G···················to·1.·The·effect·of·this·operation·is·that·the |
14 | · ···_\x8I_\x8 | 17 | · ···_\x8I_\x8M_.A_.G_.E_.U_.R_.L··············macro·is·redefined·to·contain·the·sum·of·its |
15 | · | 18 | · ···_.O_.P_.T···················previous·value·and·its·increment. |
16 | · ···_\x8 | 19 | · ···_\x8O_.U_.T_.P_.U_.T················To·increment·or·decrement·a·variable·you·can·use |
17 | · ···_\x8 | 20 | · ···_\x8Q_.U_.O_.T_.E·················this·form: |
18 | · ···_\x8 | 21 | · ···_\x8S_.E_\x8T···················Note·that·INC·doesn't·check·if·the·strings·really |
19 | · ···_\x8 | 22 | · ···_\x8U_.N_.D_.E_.F·················denote·integers.·It·may·give·weired·results·when |
20 | · ···_\x8 | 23 | · ···_\x8U_.N_.S_.E_.T·················used·on·arbitrary·strings.·The·integer·values·are |
21 | · ···_\x8S_.E_. | 24 | · ···_\x8U_.S_.E_.,_.·_.$················limited·to·the·range·-2^31..2^31. |
22 | · ···_\x8 | 25 | · ···_\x8W_.H_.I_.L_.E·················Note·further·that·htp·wasn't·designed·to·do |
23 | · ···_\x8 | 26 | · ···_\x8<_.!_.-_.-_.-·················extensive·calculations.·The·INC·tag·is·useful·in |
24 | · | 27 | ·_.H_.i_.s_.t_.o_.r_.y···················conjunction·with·WHILE·to·iterate·over·the·defined |
25 | · | 28 | ·_.W_.i_.s_.h_.·_.l_.i_.s_.t·················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 | 29 | ·_\x8B_\x8u_\x8g_\x8s |
Offset 88, 16 lines modified | Offset 88, 17 lines modified | ||
88 | <P>·Metatags·are·defined·with·the·<a·href="def.html"·><img·src="pic/manual.png"·border=0·alt="[ref]"·width="10"·height="10"><code>def</code></a>·and·<a·href="blockdef.html"·><img·src="pic/manual.png"·border=0·alt="[ref]"·width="10"·height="10"><code>blockdef</code></a>·tags·and | 88 | <P>·Metatags·are·defined·with·the·<a·href="def.html"·><img·src="pic/manual.png"·border=0·alt="[ref]"·width="10"·height="10"><code>def</code></a>·and·<a·href="blockdef.html"·><img·src="pic/manual.png"·border=0·alt="[ref]"·width="10"·height="10"><code>blockdef</code></a>·tags·and |
89 | undefined·with·the·<a·href="undef.html"·><img·src="pic/manual.png"·border=0·alt="[ref]"·width="10"·height="10"><code>undef</code></a>·tag.··</P> | 89 | undefined·with·the·<a·href="undef.html"·><img·src="pic/manual.png"·border=0·alt="[ref]"·width="10"·height="10"><code>undef</code></a>·tag.··</P> |
90 | <P> | 90 | <P> |
91 | As·an·example·we·show·how·to·define·a·tag·that·builds·a | 91 | As·an·example·we·show·how·to·define·a·tag·that·builds·a |
92 | fancy·horizontal·rule·out·of·several·images. | 92 | fancy·horizontal·rule·out·of·several·images. |
93 | </P> | 93 | </P> |
94 | ··<p><code> | 94 | ··<p><code> |
95 | <font·size="-2"> 1.·</font><span·class="htp-tag"><<a·href=" | 95 | <font·size="-2"> 1.·</font><span·class="htp-tag"><<a·href="undef.html"·><img·src="pic/manual.png"·border=0·alt="[ref]"·width="10"·height="10">UNDEF</a>·<span·class="htp-attrib">tagname</span>></span><br> |
96 | <font·size="-2"> 2.·</font><span·class="htp-tag"><<a·href="undef.html"·><img·src="pic/manual.png"·border=0·alt="[ref]"·width="10"·height="10">UNDEF</a>·<span·class="htp-attrib">tagname1</span>·<span·class="htp-attrib">tagname2</span>·<span·class="htp-attrib">...</span>·></span><br> | ||
96 | <font·size="-2"> | 97 | <font·size="-2"> 3.·</font><br> |
97 | </code></p> | 98 | </code></p> |
98 | <P>·In·line·1·of·the·above·example·a·new·tag·named·imghr·is·defined. | 99 | <P>·In·line·1·of·the·above·example·a·new·tag·named·imghr·is·defined. |
99 | The·html·code·which·implements·this·rule·is·following·in·lines·2-8. | 100 | The·html·code·which·implements·this·rule·is·following·in·lines·2-8. |
100 | between·the·<a·href="def.html"·><img·src="pic/manual.png"·border=0·alt="[ref]"·width="10"·height="10"><code>def</code>·and | 101 | between·the·<a·href="def.html"·><img·src="pic/manual.png"·border=0·alt="[ref]"·width="10"·height="10"><code>def</code>·and |
101 | <code>/def</code></a>·tags.··You·don't·have·to·understand·this | 102 | <code>/def</code></a>·tags.··You·don't·have·to·understand·this |
102 | html·code,·but·you·should·understand·that·this·is·just·pure·html·to | 103 | html·code,·but·you·should·understand·that·this·is·just·pure·html·to |
103 | draw·the·fancy·rule.·Every·time·you·write·<code><imghr></code> | 104 | draw·the·fancy·rule.·Every·time·you·write·<code><imghr></code> |
Offset 114, 30 lines modified | Offset 115, 54 lines modified | ||
114 | </code></p> | 115 | </code></p> |
115 | <h2>Using·parameters</h2> | 116 | <h2>Using·parameters</h2> |
116 | <p>·More·sophisticated·tags·accept·parameters.··The | 117 | <p>·More·sophisticated·tags·accept·parameters.··The |
117 | <code>option</code>·parameter·lets·multiple·metatag·parameters·be | 118 | <code>option</code>·parameter·lets·multiple·metatag·parameters·be |
118 | named·and·expanded·inside·the·<code>def</code>·or | 119 | named·and·expanded·inside·the·<code>def</code>·or |
119 | <code>blockdef</code>·block:·</p> | 120 | <code>blockdef</code>·block:·</p> |
120 | ··<p><code> | 121 | ··<p><code> |
121 | <font·size="-2"> 1.·</font> · ·<span·class="htp-tag"><<a·href="unset.html"·><img·src="pic/manual.png"·border=0·alt="[ref]"·width="10"·height="10">unset</a>·<span·class="htp-attrib">email_addr</span>·<span·class="htp-attrib">home_url</span>·<span·class="htp-attrib">login_name</span>></span><br> | ||
122 | <font·size="-2"> 2.·</font>IZE=KBYTE>·kilobytes<br> | ||
123 | <font·size="-2"> | 122 | <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</s[·...·truncated·by·diffoscope;·len:·46,·SHA:·ffa205270aa09df992906a8500c8d5f23b1382cffb7b1281926f1387a0b48ba3·...·]</span>></span><br> |
123 | <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> | ||
124 | <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"> 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> | ||
126 | <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> | ||
127 | <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> | ||
128 | <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> | ||
129 | <font·size="-2"> 8.·</font> · · · ·<span·class="htp-tag"></FONT></span><br> | ||
130 | <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> | ||
131 | <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> | ||
132 | <font·size="-2">11.·</font><br> | ||
133 | <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> | ||
134 | <font·size="-2">13.·</font><br> | ||
135 | <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> | ||
136 | <font·size="-2">15.·</font><br> | ||
137 | <font·size="-2">16.·</font> ·This·will·fail:<br> | ||
138 | <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> | ||
139 | <font·size="-2">18.·</font><br> | ||
140 | <font·size="-2">19.·</font> ·Instead,·use·*·like·this:<br> | ||
141 | <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> | ||
142 | <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> | ||
143 | <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> | ||
144 | <font·size="-2">23.·</font> · ·<br> | ||
145 | <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> | ||
124 | </code></p> | 146 | </code></p> |
125 | <h2>Saving·blocks·for·later</h2> | 147 | <h2>Saving·blocks·for·later</h2> |
126 | <p>When·you·are·using·templates,·the·html·should·only·be·written·by | 148 | <p>When·you·are·using·templates,·the·html·should·only·be·written·by |
127 | the·template·file.··The·normal·htp·files·should·just·define·macros | 149 | the·template·file.··The·normal·htp·files·should·just·define·macros |
128 | that·are·used·later·in·the·template.··So·you·may·want·to·write·block | 150 | that·are·used·later·in·the·template.··So·you·may·want·to·write·block |
129 | tags·that·just·save·the·block·in·a·macro·for·later·use.··Although·this | 151 | tags·that·just·save·the·block·in·a·macro·for·later·use.··Although·this |
130 | is·possible·with·htp·it·is·quite·tricky,·so·here·we·present·the·way·to | 152 | is·possible·with·htp·it·is·quite·tricky,·so·here·we·present·the·way·to |
131 | do·this:</p> | 153 | do·this:</p> |
132 | ··<p><code> | 154 | ··<p><code> |
133 | <font·size="-2"> 1.·</font> ·<span·class="htp-tag"><<a· | 155 | <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> |
134 | <font·size="-2"> 2.·</font> | 156 | <font·size="-2"> 2.·</font>tion"><br> |
157 | <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> | ||
158 | <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> | ||
159 | <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> | ||
135 | <font·size="-2"> | 160 | <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> |
136 | <font·size="-2"> | 161 | <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> |
137 | </code></p> | 162 | </code></p> |
138 | <p>·This·defines·a·block·macro·named·section.··This·macro·uses·a | 163 | <p>·This·defines·a·block·macro·named·section.··This·macro·uses·a |
139 | counter·<code>sect-ctr</code>·that·enumerates·the·sections.··It·is | 164 | counter·<code>sect-ctr</code>·that·enumerates·the·sections.··It·is |
140 | increased·for·every·section·(line·3)·and·then·the·block·macro·name·is | 165 | increased·for·every·section·(line·3)·and·then·the·block·macro·name·is |
141 | build·from·this·counter.··So·the·first·section·is·stored·in·block | 166 | build·from·this·counter.··So·the·first·section·is·stored·in·block |
142 | sect-1,·the·second·in·sect-2·and·so·on.··The·<a·href="expand.html#global"·><img·src="pic/manual.png"·border=0·alt="[ref]"·width="10"·height="10"><code>global</code></a>·flag | 167 | sect-1,·the·second·in·sect-2·and·so·on.··The·<a·href="expand.html#global"·><img·src="pic/manual.png"·border=0·alt="[ref]"·width="10"·height="10"><code>global</code></a>·flag |
143 | in·line·4·tells·htp·that·these·macros·should·be·defined·globally | 168 | in·line·4·tells·htp·that·these·macros·should·be·defined·globally |
Offset 9, 17 lines modified | Offset 9, 17 lines modified | ||
9 | · ···_\x8T_\x8e_\x8m_\x8p_\x8l_\x8a_\x8t_\x8e_\x8s·············functionality. | 9 | · ···_\x8T_\x8e_\x8m_\x8p_\x8l_\x8a_\x8t_\x8e_\x8s·············functionality. |
10 | · ···_\x8F_\x8i_\x8l_\x8e_\x8s·················Metatags·are·defined·with·the·_\x8[_\x8[_\x8r_\x8e_\x8f_\x8]_\x8]_\x8d_\x8e_\x8f·and·_\x8[ | 10 | · ···_\x8F_\x8i_\x8l_\x8e_\x8s·················Metatags·are·defined·with·the·_\x8[_\x8[_\x8r_\x8e_\x8f_\x8]_\x8]_\x8d_\x8e_\x8f·and·_\x8[ |
11 | ·[>]·_\x8M_\x8e_\x8t_\x8a_\x8t_\x8a_\x8g_\x8s··············_\x8[_\x8r_\x8e_\x8f_\x8]_\x8]_\x8b_\x8l_\x8o_\x8c_\x8k_\x8d_\x8e_\x8f·tags·and·undefined·with·the·_\x8[ | 11 | ·[>]·_\x8M_\x8e_\x8t_\x8a_\x8t_\x8a_\x8g_\x8s··············_\x8[_\x8r_\x8e_\x8f_\x8]_\x8]_\x8b_\x8l_\x8o_\x8c_\x8k_\x8d_\x8e_\x8f·tags·and·undefined·with·the·_\x8[ |
12 | ·_\x8U_\x8s_\x8a_\x8g_\x8e·····················_\x8[_\x8r_\x8e_\x8f_\x8]_\x8]_\x8u_\x8n_\x8d_\x8e_\x8f·tag. | 12 | ·_\x8U_\x8s_\x8a_\x8g_\x8e·····················_\x8[_\x8r_\x8e_\x8f_\x8]_\x8]_\x8u_\x8n_\x8d_\x8e_\x8f·tag. |
13 | ·_\x8H_\x8T_\x8P_\x8·_\x8T_\x8a_\x8g_\x8s··················As·an·example·we·show·how·to·define·a·tag·that | 13 | ·_\x8H_\x8T_\x8P_\x8·_\x8T_\x8a_\x8g_\x8s··················As·an·example·we·show·how·to·define·a·tag·that |
14 | ·_\x8H_\x8i_\x8s_\x8t_\x8o_\x8r_\x8y···················builds·a·fancy·horizontal·rule·out·of·several | 14 | ·_\x8H_\x8i_\x8s_\x8t_\x8o_\x8r_\x8y···················builds·a·fancy·horizontal·rule·out·of·several |
15 | ·_\x8W_\x8i_\x8s_\x8h_\x8·_\x8l_\x8i_\x8s_\x8t·················images. | 15 | ·_\x8W_\x8i_\x8s_\x8h_\x8·_\x8l_\x8i_\x8s_\x8t·················images. |
16 | ·_\x8B_\x8u_\x8g_\x8s······················ 1.·<_\x8[_\x8[_\x8r_\x8e_\x8f_\x8]_\x8]_\x8 | 16 | ·_\x8B_\x8u_\x8g_\x8s······················ 1.·<_\x8[_\x8[_\x8r_\x8e_\x8f_\x8]_\x8]_\x8U_.N_.D_.E_.F·tagname> |
17 | ····························[ | 17 | ···························· 2.·<_.[_.[_.r_.e_.f_.]_.]_.U_.N_.D_.E_.F·tagname1·tagname2·...·> |
18 | ···························· | 18 | ···························· 3. |
19 | ····························In·line·1·of·the·above·example·a·new·tag·named | 19 | ····························In·line·1·of·the·above·example·a·new·tag·named |
20 | ····························imghr·is·defined.·The·html·code·which·implements | 20 | ····························imghr·is·defined.·The·html·code·which·implements |
21 | ····························this·rule·is·following·in·lines·2-8.·between·the·_\x8[ | 21 | ····························this·rule·is·following·in·lines·2-8.·between·the·_\x8[ |
22 | ····························_\x8[_\x8r_\x8e_\x8f_\x8]_\x8]_\x8d_\x8e_\x8f_\x8·_\x8a_\x8n_\x8d_\x8·_\x8/_\x8d_\x8e_\x8f·tags.·You·don't·have·to | 22 | ····························_\x8[_\x8r_\x8e_\x8f_\x8]_\x8]_\x8d_\x8e_\x8f_\x8·_\x8a_\x8n_\x8d_\x8·_\x8/_\x8d_\x8e_\x8f·tags.·You·don't·have·to |
23 | ····························understand·this·html·code,·but·you·should | 23 | ····························understand·this·html·code,·but·you·should |
24 | ····························understand·that·this·is·just·pure·html·to·draw·the | 24 | ····························understand·that·this·is·just·pure·html·to·draw·the |
25 | ····························fancy·rule.·Every·time·you·write·<imghr>·as·in·line | 25 | ····························fancy·rule.·Every·time·you·write·<imghr>·as·in·line |
Offset 35, 31 lines modified | Offset 35, 58 lines modified | ||
35 | ····························these·tags·in·a·block·macro·named·block.·Here·is·an | 35 | ····························these·tags·in·a·block·macro·named·block.·Here·is·an |
36 | ····························example·for·this. | 36 | ····························example·for·this. |
37 | ····························*\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* | 37 | ····························*\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* |
38 | ····························More·sophisticated·tags·accept·parameters.·The | 38 | ····························More·sophisticated·tags·accept·parameters.·The |
39 | ····························option·parameter·lets·multiple·metatag·parameters | 39 | ····························option·parameter·lets·multiple·metatag·parameters |
40 | ····························be·named·and·expanded·inside·the·def·or·blockdef | 40 | ····························be·named·and·expanded·inside·the·def·or·blockdef |
41 | ····························block: | 41 | ····························block: |
42 | ···························· 1.· ·<_\x8[_\x8[_\x8r_\x8e_\x8f_\x8]_\x8]_\x8D_\x8E_\x8F·NAME="HEADERIMG"·OPTION="SRC | ||
43 | ····························TITLE·SIZE"> | ||
44 | ···························· 2.· · ·<_\x8[_\x8[_\x8r_\x8e_\x8f_\x8]_\x8]_\x8I_\x8F·size> | ||
45 | ···························· 3.· · · · ·<FONT·SIZE=${size}> | ||
42 | ···························· | 46 | ···························· 4.· · ·<_.[_.[_.r_.e_.f_.]_.]_./_.I_.F> |
47 | ···························· 5.· · ·<_\x8[_\x8[_\x8r_\x8e_\x8f_\x8]_\x8]_\x8I_\x8M_\x8G·SRC=pics/${src}> | ||
48 | ···························· 6.· · ·<_\x8[_\x8[_\x8r_\x8e_\x8f_\x8]_\x8]_\x8U_\x8S_\x8E·title> | ||
49 | ···························· 7.· · ·<_\x8[_\x8[_\x8r_\x8e_\x8f_\x8]_\x8]_\x8I_\x8F·size> | ||
50 | ···························· 8.· · · · ·</FONT> | ||
51 | ···························· 9.· · ·<_\x8[_\x8[_\x8r_\x8e_\x8f_\x8]_\x8]_\x8/_\x8I_\x8F> | ||
52 | ····························10.· ·<_\x8[_\x8[_\x8r_\x8e_\x8f_\x8]_\x8]_\x8/_\x8D_\x8E_\x8F> | ||
53 | ····························11. | ||
54 | ····························12.· ·<HEADERIMG·SRC="logo.gif"·SIZE="+2"·TITLE="A | ||
43 | ···························· | 55 | ····························title"> |
44 | ···························· 2.·IZE=KBYTE>·kilobytes | ||
45 | ···························· 3.· · ·Last·modified·<_\x8[_\x8[_\x8r_\x8e_\x8f_\x8]_\x8]_\x8F_\x8I_\x8L_\x8E·NAME="image.gif" | ||
46 | ···························· | 56 | ····························13. |
57 | ····························14.· ·<HEADERIMG·SRC="logo.gif"·TITLE="Normal·sized | ||
58 | ····························title"> | ||
59 | ····························15. | ||
60 | ····························16.· ·This·will·fail: | ||
61 | ····························17.· ·<HEADERIMG·SRC="logo.gif"·ALT="Our·logo" | ||
62 | ····························TITLE="Another·title"> | ||
63 | ····························18. | ||
64 | ····························19.· ·Instead,·use·*·like·this: | ||
65 | ····························20.· ·<_\x8[_\x8[_\x8r_\x8e_\x8f_\x8]_\x8]_\x8D_\x8E_\x8F·NAME="MYIMG"·OPTION="SRC·*"> | ||
66 | ····························21.· · ·<_\x8[_\x8[_\x8r_\x8e_\x8f_\x8]_\x8]_\x8I_\x8M_\x8G·SRC="pics/${src}"·$*> | ||
67 | ····························22.· ·<_\x8[_\x8[_\x8r_\x8e_\x8f_\x8]_\x8]_\x8/_\x8D_\x8E_\x8F> | ||
68 | ····························23.· · | ||
69 | ····························24.· ·<MYIMG·SRC="logo.gif"·ALT="Our·logo"> | ||
47 | ····························*\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* | 70 | ····························*\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* |
48 | ····························When·you·are·using·templates,·the·html·should·only | 71 | ····························When·you·are·using·templates,·the·html·should·only |
49 | ····························be·written·by·the·template·file.·The·normal·htp | 72 | ····························be·written·by·the·template·file.·The·normal·htp |
50 | ····························files·should·just·define·macros·that·are·used·later | 73 | ····························files·should·just·define·macros·that·are·used·later |
51 | ····························in·the·template.·So·you·may·want·to·write·block | 74 | ····························in·the·template.·So·you·may·want·to·write·block |
52 | ····························tags·that·just·save·the·block·in·a·macro·for·later | 75 | ····························tags·that·just·save·the·block·in·a·macro·for·later |
53 | ····························use.·Although·this·is·possible·with·htp·it·is·quite | 76 | ····························use.·Although·this·is·possible·with·htp·it·is·quite |
54 | ····························tricky,·so·here·we·present·the·way·to·do·this: | 77 | ····························tricky,·so·here·we·present·the·way·to·do·this: |
55 | ···························· 1.· · | 78 | ···························· 1.· · ·<${tagName}·${attrName}=${value$ctr}> |
56 | ···························· 2.· | 79 | ···························· 2.·tion"> |
57 | ···························· 3.· · ·<_\x8[_\x8[_\x8r_\x8e_\x8f_\x8]_\x8]_\x8 | 80 | ···························· 3.· · ·<_\x8[_\x8[_\x8r_\x8e_\x8f_\x8]_\x8]_\x8i_.n_.c·sect-ctr> |
81 | ···························· 4.· · ·<_\x8[_\x8[_\x8r_\x8e_\x8f_\x8]_\x8]_\x8b_\x8l_\x8o_\x8c_\x8k·name="sect-${sect-ctr}" | ||
82 | ····························expand·global> | ||
83 | ···························· 5.· · · ·<_\x8[_\x8[_\x8r_\x8e_\x8f_\x8]_\x8]_\x8u_\x8s_\x8e·block·noexpand> | ||
58 | ···························· | 84 | ···························· 6.· · ·<_.[_.[_.r_.e_.f_.]_.]_./_.b_.l_.o_.c_.k> |
85 | ···························· 7.· ·<_\x8[_\x8[_\x8r_\x8e_\x8f_\x8]_\x8]_\x8/_\x8b_\x8l_\x8o_\x8c_\x8k_\x8d_\x8e_\x8f> | ||
59 | ····························This·defines·a·block·macro·named·section.·This | 86 | ····························This·defines·a·block·macro·named·section.·This |
60 | ····························macro·uses·a·counter·sect-ctr·that·enumerates·the | 87 | ····························macro·uses·a·counter·sect-ctr·that·enumerates·the |
61 | ····························sections.·It·is·increased·for·every·section·(line | 88 | ····························sections.·It·is·increased·for·every·section·(line |
62 | ····························3)·and·then·the·block·macro·name·is·build·from·this | 89 | ····························3)·and·then·the·block·macro·name·is·build·from·this |
63 | ····························counter.·So·the·first·section·is·stored·in·block | 90 | ····························counter.·So·the·first·section·is·stored·in·block |
64 | ····························sect-1,·the·second·in·sect-2·and·so·on.·The·_\x8[ | 91 | ····························sect-1,·the·second·in·sect-2·and·so·on.·The·_\x8[ |
65 | ····························_\x8[_\x8r_\x8e_\x8f_\x8]_\x8]_\x8g_\x8l_\x8o_\x8b_\x8a_\x8l·flag·in·line·4·tells·htp·that·these | 92 | ····························_\x8[_\x8r_\x8e_\x8f_\x8]_\x8]_\x8g_\x8l_\x8o_\x8b_\x8a_\x8l·flag·in·line·4·tells·htp·that·these |
Offset 114, 18 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="use.html"·><img·src="pic/manual.png"·border=0·alt="[ref]"·width="10"·height="10">use</a>·<span·class="htp-attrib">macroname</span>·<span·class="ebnf">[</span><span·class="htp-attrib">parameters</span>·<span·class="htp-attrib">...</span><span·class="ebnf">]</span>·<span·class="ebnf">[</span><span·class="htp-attrib">noexpand</span><span·class="ebnf">]</span>></span><br> | ||
122 | <span·class="htp-tag"><...·<span·class="htp-attrib"><span·class="htp-macro">$macroname</span></span>·<span·class="htp-attrib">...</span>></span><br> | ||
123 | <span·class="htp-tag"><...·<span·class="htp-attrib"><span·class="htp-macro">${macroname}</span></span>·<span·class="htp-attrib">...</span>></span><br> | ||
124 | <br> | ||
125 | </code></p> | 121 | </code></p> |
126 | <h2>synopsis</h2> | 122 | <h2>synopsis</h2> |
127 | <STRONG>SET</STRONG>·creates·a·macro·definition·that·can·later·be·expanded | 123 | <STRONG>SET</STRONG>·creates·a·macro·definition·that·can·later·be·expanded |
128 | anywhere·in·the·HTML·document.··To·create·a·macro: | 124 | anywhere·in·the·HTML·document.··To·create·a·macro: |
129 | ··<p><code> | 125 | ··<p><code> |
130 | </code></p> | 126 | </code></p> |
131 | <P> | 127 | <P> |
Offset 1, 47 lines modified | Offset 1, 43 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··············<_\x8[_\x8[_\x8r_\x8e_\x8f_\x8]_\x8]_\x8u_\x8s_\x8e·macroname·[parameters·...]·[noexpand]> | ||
5 | ·_\x8L_\x8i_\x8c_\x8e_\x8n_\x8s_\x8e···················<...·$macroname·...> | ||
6 | ·_\x8T_\x8u_\x8t_\x8o_\x8r_\x8i_\x8a_\x8l··················<...·${macroname}·...> | ||
7 | ·_\x8U_\x8s_\x8a_\x8g_\x8e | ||
8 | · | 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* |
9 | · | 5 | ·_.L_.i_.c_.e_.n_.s_.e···················S\x8SE\x8ET\x8T·creates·a·macro·definition·that·can·later·be |
10 | · | 6 | ·_.T_.u_.t_.o_.r_.i_.a_.l··················expanded·anywhere·in·the·HTML·document.·To·create·a |
11 | · | 7 | ·_.U_.s_.a_.g_.e·····················macro: |
12 | · | 8 | ·HTP·Tags··················The·macro·"emailaddr"·can·then·be·expanded·later. |
13 | · ···_\x8 | 9 | · ···_\x8A_.L_.T_.T_.E_.X_.T···············The·_\x8U_\x8S_\x8E·tag·is·used·to·expand·the·macro·outside·a |
14 | · ···_\x8 | 10 | · ···_\x8B_.L_.O_.C_.K·················tag·(i.e.,·into·the·regular·text).·If·the·macro |
15 | · ···_\x8 | 11 | · ···_\x8B_.L_.O_.C_.K_.D_.E_.F··············needs·to·be·expanded·inside·a·markup·tag,·use·the |
16 | · ···_\x8 | 12 | · ···_\x8D_.E_.F···················_\x8'_\x8$_\x8'·operator. |
17 | · ···_\x8 | 13 | · ···_\x8F_.I_.L_.E··················Multiple·macros·can·be·declared·in·a·single·markup |
18 | · ···_\x8 | 14 | · ···_\x8I_.F····················tag,·as·the·second·syntax·line·shows. |
19 | · ···_\x8 | 15 | · ···_\x8I_.N_.C···················SET·should·only·be·used·for·a·single·line's·worth |
20 | · ···_\x8 | 16 | · ···_\x8I_.M_.G···················of·text.·Multi-line·macros·can·be·defined·with·the |
21 | · | 17 | · ···_.I_.M_.A_.G_.E_.U_.R_.L··············_\x8B_\x8L_\x8O_\x8C_\x8K·tag.·The·_\x8B_\x8L_\x8O_\x8C_\x8K·tag·is·also·useful·if·the |
22 | · ···_\x8 | 18 | · ···_\x8O_.P_.T···················macro·contains·a·quotation·character·and·you·don't |
23 | · ···_\x8U_. | 19 | · ···_\x8O_.U_.T_.P_.U_.T················want·to·fool·around·with·special·escape·characters. |
24 | · ···_\x8 | 20 | · ···_\x8Q_.U_.O_.T_.E·················Macros·can·be·redefined·by·using·another·SET |
25 | · | 21 | ·[>]·_.S_.E_.T···················command·with·the·same·macro·name.·The·prior |
26 | · ···_\x8 | 22 | · ···_\x8U_.N_.D_.E_.F·················definition·will·be·destroyed,·however.·Also,·the |
27 | · | 23 | · ···_.U_.N_.S_.E_.T·················macro·can·be·removed·(destroyed)·with·the·_\x8U_\x8N_\x8S_\x8E_\x8T |
28 | · | 24 | · ···_.U_.S_.E_.,_.·_.$················tag. |
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 | ·_\x8B_\x8u_\x8g_\x8s | 29 | ·_\x8B_\x8u_\x8g_\x8s |
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·Mon·Jul·21,·2025 |
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·Mon·Jul·21,·2025 |
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·Mon·Jul·21,·2025 |
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·Mon·Jul·21,·2025 |
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·Mon·Jul·21,·2025 |
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·Mon·Jul·21,·2025 |
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·Mon·Jul·21,·2025 |
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·Mon·Jul·21,·2025 |
Offset 128, 21 lines modified | Offset 128, 17 lines modified | ||
128 | <P> | 128 | <P> |
129 | For·example: | 129 | For·example: |
130 | ··<p><code> | 130 | ··<p><code> |
131 | </code></p> | 131 | </code></p> |
132 | <P> | 132 | <P> |
133 | More·than·one·macro·may·be·removed·in·the·same·tag: | 133 | More·than·one·macro·may·be·removed·in·the·same·tag: |
134 | ··<p><code> | 134 | ··<p><code> |
135 | ·<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> | ||
136 | ·<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> | ||
137 | 135 | <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> | |
136 | ·...<br> | ||
138 | · ·<span·class="htp-tag"><<a·href="block.html"·><img·src="pic/manual.png"·border=0·alt="[ref]"·width="10"·height="10">block</a>·<span·class="htp-attrib">name</span>=<span·class="htp-string">"sect-<span·class="htp-macro">${sect-ctr}</span>"</span>·<span·class="htp-attrib">expand</span>·<span·class="htp-attrib">global</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">block</span>·<span·class="htp-attrib">noexpand</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><br> | ||
141 | 137 | <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> | |
142 | </code></p> | 138 | </code></p> |
143 | <p> | 139 | <p> |
144 | </td> | 140 | </td> |
145 | </tr> | 141 | </tr> |
146 | <tr> | 142 | <tr> |
147 | <td·width="20%"·bgcolor="white"·valign="bottom"> | 143 | <td·width="20%"·bgcolor="white"·valign="bottom"> |
148 | ·<table·border="0"·cellspacing="0"·cellpadding="0"·width="100%"> | 144 | ·<table·border="0"·cellspacing="0"·cellpadding="0"·width="100%"> |
Offset 7, 22 lines modified | Offset 7, 22 lines modified | ||
7 | ·_\x8U_\x8s_\x8a_\x8g_\x8e·····················for·use·in·the·pre-processed·files.·(Note·that | 7 | ·_\x8U_\x8s_\x8a_\x8g_\x8e·····················for·use·in·the·pre-processed·files.·(Note·that |
8 | ·HTP·Tags··················simply·redefining·the·macro·with·another·_\x8S_\x8E_\x8T·or | 8 | ·HTP·Tags··················simply·redefining·the·macro·with·another·_\x8S_\x8E_\x8T·or |
9 | · ···_\x8A_\x8L_\x8T_\x8T_\x8E_\x8X_\x8T···············_\x8B_\x8L_\x8O_\x8C_\x8K·definition·with·the·same·name·is·acceptable. | 9 | · ···_\x8A_\x8L_\x8T_\x8T_\x8E_\x8X_\x8T···············_\x8B_\x8L_\x8O_\x8C_\x8K·definition·with·the·same·name·is·acceptable. |
10 | · ···_\x8B_\x8L_\x8O_\x8C_\x8K·················The·old·macro·definition·will·be·removed | 10 | · ···_\x8B_\x8L_\x8O_\x8C_\x8K·················The·old·macro·definition·will·be·removed |
11 | · ···_\x8B_\x8L_\x8O_\x8C_\x8K_\x8D_\x8E_\x8F··············automatically.) | 11 | · ···_\x8B_\x8L_\x8O_\x8C_\x8K_\x8D_\x8E_\x8F··············automatically.) |
12 | · ···_\x8D_\x8E_\x8F···················For·example: | 12 | · ···_\x8D_\x8E_\x8F···················For·example: |
13 | · ···_\x8F_\x8I_\x8L_\x8E··················More·than·one·macro·may·be·removed·in·the·same·tag: | 13 | · ···_\x8F_\x8I_\x8L_\x8E··················More·than·one·macro·may·be·removed·in·the·same·tag: |
14 | · ···_\x8I_\x8F···················· | 14 | · ···_\x8I_\x8F····················<_.[_.[_.r_.e_.f_.]_.]_.i_.f·disabled_because_xyz> |
15 | · ···_\x8I_\x8N_\x8C··················· · | 15 | · ···_\x8I_\x8N_\x8C··················· ·... |
16 | · ···_\x8I_\x8M_\x8G··················· | 16 | · ···_\x8I_\x8M_\x8G···················<_.[_.[_.r_.e_.f_.]_.]_./_.i_.f> |
17 | · ···_\x8I_\x8M_\x8A_\x8G_\x8E_\x8U_\x8R_\x8L·············· · ·<_\x8[_\x8[_\x8r_\x8e_\x8f_\x8]_\x8]_\x8b_\x8l_\x8o_\x8c_\x8k·name="sect-${sect-ctr}"·expand | ||
18 | · ···_\x8O_\x8P_\x8T···················global> | ||
19 | · ···_\x8O_\x8U_\x8T_\x8P_\x8U_\x8T················ · · ·<_\x8[_\x8[_\x8r_\x8e_\x8f_\x8]_\x8]_\x8u_\x8s_\x8e·block·noexpand> | ||
20 | · ···_\x8Q_\x8U_\x8O_\x8T_\x8E················· · ·<_\x8[_\x8[_\x8r_\x8e_\x8f_\x8]_\x8]_\x8/_\x8b_\x8l_\x8o_\x8c_\x8k> | ||
21 | · ···_\x8 | 17 | · ···_\x8I_.M_.A_.G_.E_.U_.R_.L |
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 | 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 30, 19 lines modified | Offset 30, 14 lines modified | ||
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 131, 17 lines modified | Offset 131, 14 lines modified | ||
131 | attribute·to·prevent·further·expansion.··</p> | 131 | attribute·to·prevent·further·expansion.··</p> |
132 | <p>·USE·will·accept·additional·parameters,·which·are·"local"·macros | 132 | <p>·USE·will·accept·additional·parameters,·which·are·"local"·macros |
133 | for·the·expanded·macro.··This·is·only·valid·for·<A | 133 | for·the·expanded·macro.··This·is·only·valid·for·<A |
134 | HREF="block.html">BLOCK</A>·macros.··Macros·created·using·<A | 134 | HREF="block.html">BLOCK</A>·macros.··Macros·created·using·<A |
135 | HREF="set.html">SET</A>·cannot·have·parameters·passed.··For | 135 | HREF="set.html">SET</A>·cannot·have·parameters·passed.··For |
136 | example:</p> | 136 | example:</p> |
137 | ··<p><code> | 137 | ··<p><code> |
138 | <font·size="-2"> 1.·</font> · ·<span·class="htp-tag"><<a·href="unset.html"·><img·src="pic/manual.png"·border=0·alt="[ref]"·width="10"·height="10">unset</a>·<span·class="htp-attrib">email_addr</span>·<span·class="htp-attrib">home_url</span>·<span·class="htp-attrib">login_name</span>></span><br> | ||
139 | <font·size="-2"> 2.·</font>IZE=KBYTE>·kilobytes<br> | ||
140 | <font·size="-2"> 3.·</font> · ·Last·modified·<span·class="htp-tag"><<a·href="file.html"·><img·src="pic/manual.png"·border=0·alt="[ref]"·width="10"·height="10">FILE</a>·<span·class="htp-attrib">NAME</span>=<span·class="htp-string">"image.gif"</span>·<span·class="htp-attrib">TIME</span>></span>,·<span·class="htp-tag"><<a·href="file.html"·><img·src="pic/manual.png"·border=0·alt="[ref]"·width="10"·height="10">FILE</a>·<span·class="htp-attrib">NAME</span>=<span·class="htp-string">"image.gif"</span>·<span·class="htp-attrib">DATE</span>></span><br> | ||
141 | </code></p> | 138 | </code></p> |
142 | <P> | 139 | <P> |
143 | (See·below·for·a·description·of·the·'$'·operator.)··The·example·on | 140 | (See·below·for·a·description·of·the·'$'·operator.)··The·example·on |
144 | line·7·works·because·"stuff"·has·been·declared·as·a·block·macro,·and | 141 | line·7·works·because·"stuff"·has·been·declared·as·a·block·macro,·and |
145 | the·tag·is·passing·the·"email"·macro·to·the·"stuff"·macro.··Line·8 | 142 | the·tag·is·passing·the·"email"·macro·to·the·"stuff"·macro.··Line·8 |
146 | fails·because·the·"email"·macro·is·unavailable·once·the·block·macro·is | 143 | fails·because·the·"email"·macro·is·unavailable·once·the·block·macro·is |
147 | completely·expanded,·and·cannot·be·passed·to·a·SET·macro. | 144 | completely·expanded,·and·cannot·be·passed·to·a·SET·macro. |
Offset 152, 18 lines modified | Offset 149, 38 lines modified | ||
152 | Inside·a·markup·tag,·like·<a·href="img.html">IMG</a>,·A·(anchor),·or | 149 | Inside·a·markup·tag,·like·<a·href="img.html">IMG</a>,·A·(anchor),·or |
153 | any·other·standard·HTML·or·htp·tag,·the·'$'·operator·must·be·used. | 150 | any·other·standard·HTML·or·htp·tag,·the·'$'·operator·must·be·used. |
154 | The·'$'·should·be·immediately·followed·by·the·macro·name,·which·may·or | 151 | The·'$'·should·be·immediately·followed·by·the·macro·name,·which·may·or |
155 | may·not·be·surrounded·by·curly·braces.··When·htp·encounters·this·it | 152 | may·not·be·surrounded·by·curly·braces.··When·htp·encounters·this·it |
156 | replaces·the·macro·name·by·the·contents·of·the·macro·without·further | 153 | replaces·the·macro·name·by·the·contents·of·the·macro·without·further |
157 | processing·the·contents. | 154 | processing·the·contents. |
158 | ··<p><code> | 155 | ··<p><code> |
156 | <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> | ||
159 | <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">sect-<span·class="htp-macro">$i</span></span>></span><br> | ||
160 | <font·size="-2"> 2.·</font> · ·...<br> | ||
161 | <font·size="-2"> | 157 | <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> |
158 | <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> | ||
162 | <font·size="-2"> 4.·</font> ·<span·class="htp-tag"><<a·href=" | 159 | <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> |
160 | <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> | ||
161 | <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> | ||
162 | <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> | ||
163 | <font·size="-2"> 8.·</font> · · · ·<span·class="htp-tag"></FONT></span><br> | ||
164 | <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> | ||
165 | <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> | ||
166 | <font·size="-2">11.·</font><br> | ||
167 | <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> | ||
168 | <font·size="-2">13.·</font><br> | ||
169 | <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> | ||
170 | <font·size="-2">15.·</font><br> | ||
171 | <font·size="-2">16.·</font> ·This·will·fail:<br> | ||
172 | <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> | ||
173 | <font·size="-2">18.·</font><br> | ||
174 | <font·size="-2">19.·</font> ·Instead,·use·*·like·this:<br> | ||
175 | <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> | ||
176 | <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> | ||
177 | <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> | ||
178 | <font·size="-2">23.·</font> · ·<br> | ||
179 | <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> | ||
163 | </code></p> | 180 | </code></p> |
164 | <P> | 181 | <P> |
165 | The·use·of·curly·braces·is·encouraged,·since·it·is·more·robust·and | 182 | The·use·of·curly·braces·is·encouraged,·since·it·is·more·robust·and |
166 | should·never·cause·confusion·with·surrounding·text.··If·no·curly | 183 | should·never·cause·confusion·with·surrounding·text.··If·no·curly |
167 | braces·are·used·the·macro·name·consists·either·of·a·single·punctuation | 184 | braces·are·used·the·macro·name·consists·either·of·a·single·punctuation |
168 | character·or·the·maximum·sequence·of·letters,·digits,·"-" | 185 | character·or·the·maximum·sequence·of·letters,·digits,·"-" |
169 | and·"_"·that·follows·it. | 186 | and·"_"·that·follows·it. |
Offset 177, 21 lines modified | Offset 194, 21 lines modified | ||
177 | delimiting·the·text·as·if·it·were·additional·markup·attributes. | 194 | delimiting·the·text·as·if·it·were·additional·markup·attributes. |
178 | If·the·'$'·macro·is·surrounded·by·other·text·(as·in·the·two·examples·above), | 195 | If·the·'$'·macro·is·surrounded·by·other·text·(as·in·the·two·examples·above), |
179 | quotation·marks·are·not·automatically·supplied. | 196 | quotation·marks·are·not·automatically·supplied. |
180 | <P> | 197 | <P> |
181 | Note·that·a·'$'·macro·can·be·placed·anywhere·in·a·markup·tag·and·can | 198 | Note·that·a·'$'·macro·can·be·placed·anywhere·in·a·markup·tag·and·can |
182 | be·nested.··This·is·valid: | 199 | be·nested.··This·is·valid: |
183 | ··<p><code> | 200 | ··<p><code> |
201 | · ·<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> | ||
202 | tion"><br> | ||
184 | <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> | ||
185 | ·<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> | ||
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">${sect-ctr}</span></span>></span><br> | ||
187 | · ·<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> | ||
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">sect-ctr</span>></span><br> | 203 | · ·<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> |
204 | · ·<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> | ||
205 | · · ·<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> | ||
206 | · ·<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> | ||
189 | ·<span·class="htp-tag"><<a·href=" | 207 | ·<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> |
190 | <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> | ||
191 | </code></p> | 208 | </code></p> |
192 | <P>·The·tagName·macro·can·contain·any·tag·name,·even·a·self-defined | 209 | <P>·The·tagName·macro·can·contain·any·tag·name,·even·a·self-defined |
193 | metatag.··Note·that·<code>$ctr</code>·is·expanded·before·the·valueX | 210 | metatag.··Note·that·<code>$ctr</code>·is·expanded·before·the·valueX |
194 | macro·is·expanded,·so·assuming·that·ctr·was·set·to·1·it·will·expand | 211 | macro·is·expanded,·so·assuming·that·ctr·was·set·to·1·it·will·expand |
195 | value1. | 212 | value1. |
196 | <p> | 213 | <p> |
197 | </td> | 214 | </td> |
Offset 11, 40 lines modified | Offset 11, 59 lines modified | ||
11 | · ···_\x8B_\x8L_\x8O_\x8C_\x8K_\x8D_\x8E_\x8F··············inside·a·block·which·_\x8e_\x8x_\x8p_\x8a_\x8n_\x8d_\x8s·itself.·You·can·use | 11 | · ···_\x8B_\x8L_\x8O_\x8C_\x8K_\x8D_\x8E_\x8F··············inside·a·block·which·_\x8e_\x8x_\x8p_\x8a_\x8n_\x8d_\x8s·itself.·You·can·use |
12 | · ···_\x8D_\x8E_\x8F···················the·noexpand·attribute·to·prevent·further | 12 | · ···_\x8D_\x8E_\x8F···················the·noexpand·attribute·to·prevent·further |
13 | · ···_\x8F_\x8I_\x8L_\x8E··················expansion. | 13 | · ···_\x8F_\x8I_\x8L_\x8E··················expansion. |
14 | · ···_\x8I_\x8F····················USE·will·accept·additional·parameters,·which·are | 14 | · ···_\x8I_\x8F····················USE·will·accept·additional·parameters,·which·are |
15 | · ···_\x8I_\x8N_\x8C···················"local"·macros·for·the·expanded·macro.·This·is·only | 15 | · ···_\x8I_\x8N_\x8C···················"local"·macros·for·the·expanded·macro.·This·is·only |
16 | · ···_\x8I_\x8M_\x8G···················valid·for·_\x8B_\x8L_\x8O_\x8C_\x8K·macros.·Macros·created·using·_\x8S_\x8E_\x8T | 16 | · ···_\x8I_\x8M_\x8G···················valid·for·_\x8B_\x8L_\x8O_\x8C_\x8K·macros.·Macros·created·using·_\x8S_\x8E_\x8T |
17 | · ···_\x8I_\x8M_\x8A_\x8G_\x8E_\x8U_\x8R_\x8L··············cannot·have·parameters·passed.·For·example: | 17 | · ···_\x8I_\x8M_\x8A_\x8G_\x8E_\x8U_\x8R_\x8L··············cannot·have·parameters·passed.·For·example: |
18 | · ···_\x8O_\x8P_\x8T··················· 1.· · ·<_\x8[_\x8[_\x8r_\x8e_\x8f_\x8]_\x8]_\x8u_\x8n_\x8s_\x8e_\x8t·email_addr·home_url | ||
19 | · ···_\x8O_\x8U_\x8T_\x8P_\x8U_\x8T················login_name> | ||
20 | · ···_\x8Q_\x8U_\x8O_\x8T_\x8E················· 2.·IZE=KBYTE>·kilobytes | ||
21 | · ···_\x8S_\x8E_\x8T··················· 3.· · ·Last·modified·<_\x8[_\x8[_\x8r_\x8e_\x8f_\x8]_\x8]_\x8F_\x8I_\x8L_\x8E·NAME="image.gif" | ||
22 | · ···_\x8U_\x8N_\x8D_\x8E_\x8F·················TIME>,·<_\x8[_\x8[_\x8r_\x8e_\x8f_\x8]_\x8]_\x8F_\x8I_\x8L_\x8E·NAME="image.gif"·DATE> | ||
23 | · ···_\x8 | 18 | · ···_\x8O_.P_.T···················(See·below·for·a·description·of·the·'$'·operator.) |
24 | · | 19 | · ···_.O_.U_.T_.P_.U_.T················The·example·on·line·7·works·because·"stuff"·has |
25 | · ···_\x8 | 20 | · ···_\x8Q_.U_.O_.T_\x8E·················been·declared·as·a·block·macro,·and·the·tag·is |
26 | · ···_\x8 | 21 | · ···_\x8S_.E_.T···················passing·the·"email"·macro·to·the·"stuff"·macro. |
27 | · | 22 | · ···_.U_.N_.D_.E_.F·················Line·8·fails·because·the·"email"·macro·is |
28 | · | 23 | · ···_.U_.N_.S_.E_.T·················unavailable·once·the·block·macro·is·completely |
29 | ·_. | 24 | ·[>]·_.U_.S_.E_.,_.·_.$················expanded,·and·cannot·be·passed·to·a·SET·macro. |
30 | ···· | 25 | · ···_.W_.H_.I_.L_.E·················Note·that·the·"email"·macro·is·available·to·other |
31 | ···· | 26 | · ···_.<_.!_.-_.-_.-·················macros·or·included·files·called·within·the·"stuff" |
32 | · | 27 | ·_.H_.i_.s_.t_.o_.r_.y···················block. |
33 | ·· | 28 | ·_.W_.i_.s_.h_.·_.l_.i_.s_.t·················Inside·a·markup·tag,·like·_\x8I_\x8M_\x8G,·A·(anchor),·or·any |
34 | · | 29 | ·_.B_.u_.g_.s······················other·standard·HTML·or·htp·tag,·the·'$'·operator |
35 | ····························must·be·used.·The·'$'·should·be·immediately | 30 | ····························must·be·used.·The·'$'·should·be·immediately |
36 | ····························followed·by·the·macro·name,·which·may·or·may·not·be | 31 | ····························followed·by·the·macro·name,·which·may·or·may·not·be |
37 | ····························surrounded·by·curly·braces.·When·htp·encounters | 32 | ····························surrounded·by·curly·braces.·When·htp·encounters |
38 | ····························this·it·replaces·the·macro·name·by·the·contents·of | 33 | ····························this·it·replaces·the·macro·name·by·the·contents·of |
39 | ····························the·macro·without·further·processing·the·contents. | 34 | ····························the·macro·without·further·processing·the·contents. |
40 | ···························· 1.· ·<_\x8[_\x8[_\x8r_\x8e_\x8f_\x8]_\x8]_\x8W_\x8H_\x8I_\x8L_\x8E·sect-$i> | ||
41 | ···························· | 35 | ···························· 1.· ·<_.[_.[_.r_.e_.f_.]_.]_.D_.E_.F·NAME="HEADERIMG"·OPTION="SRC |
36 | ····························TITLE·SIZE"> | ||
42 | ···························· | 37 | ···························· 2.· · ·<_.[_.[_.r_.e_.f_.]_.]_.I_.F·size> |
38 | ···························· 3.· · · · ·<FONT·SIZE=${size}> | ||
43 | ···························· 4.· ·<_.[_.[_.r_.e_.f_.]_.]_./ | 39 | ···························· 4.· · ·<_.[_.[_.r_.e_.f_.]_.]_./_.I_.F> |
40 | ···························· 5.· · ·<_\x8[_\x8[_\x8r_\x8e_\x8f_\x8]_\x8]_\x8I_\x8M_\x8G·SRC=pics/${src}> | ||
41 | ···························· 6.· · ·<_\x8[_\x8[_\x8r_\x8e_\x8f_\x8]_\x8]_\x8U_\x8S_\x8E·title> | ||
42 | ···························· 7.· · ·<_\x8[_\x8[_\x8r_\x8e_\x8f_\x8]_\x8]_\x8I_\x8F·size> | ||
43 | ···························· 8.· · · · ·</FONT> | ||
44 | ···························· 9.· · ·<_\x8[_\x8[_\x8r_\x8e_\x8f_\x8]_\x8]_\x8/_\x8I_\x8F> | ||
45 | ····························10.· ·<_\x8[_\x8[_\x8r_\x8e_\x8f_\x8]_\x8]_\x8/_\x8D_\x8E_\x8F> | ||
46 | ····························11. | ||
47 | ····························12.· ·<HEADERIMG·SRC="logo.gif"·SIZE="+2"·TITLE="A | ||
48 | ····························title"> | ||
49 | ····························13. | ||
50 | ····························14.· ·<HEADERIMG·SRC="logo.gif"·TITLE="Normal·sized | ||
51 | ····························title"> | ||
52 | ····························15. | ||
53 | ····························16.· ·This·will·fail: | ||
54 | ····························17.· ·<HEADERIMG·SRC="logo.gif"·ALT="Our·logo" | ||
55 | ····························TITLE="Another·title"> | ||
56 | ····························18. | ||
57 | ····························19.· ·Instead,·use·*·like·this: | ||
58 | ····························20.· ·<_\x8[_\x8[_\x8r_\x8e_\x8f_\x8]_\x8]_\x8D_\x8E_\x8F·NAME="MYIMG"·OPTION="SRC·*"> | ||
59 | ····························21.· · ·<_\x8[_\x8[_\x8r_\x8e_\x8f_\x8]_\x8]_\x8I_\x8M_\x8G·SRC="pics/${src}"·$*> | ||
60 | ····························22.· ·<_\x8[_\x8[_\x8r_\x8e_\x8f_\x8]_\x8]_\x8/_\x8D_\x8E_\x8F> | ||
61 | ····························23.· · | ||
62 | ····························24.· ·<MYIMG·SRC="logo.gif"·ALT="Our·logo"> | ||
44 | ····························The·use·of·curly·braces·is·encouraged,·since·it·is | 63 | ····························The·use·of·curly·braces·is·encouraged,·since·it·is |
45 | ····························more·robust·and·should·never·cause·confusion·with | 64 | ····························more·robust·and·should·never·cause·confusion·with |
46 | ····························surrounding·text.·If·no·curly·braces·are·used·the | 65 | ····························surrounding·text.·If·no·curly·braces·are·used·the |
47 | ····························macro·name·consists·either·of·a·single·punctuation | 66 | ····························macro·name·consists·either·of·a·single·punctuation |
48 | ····························character·or·the·maximum·sequence·of·letters, | 67 | ····························character·or·the·maximum·sequence·of·letters, |
49 | ····························digits,·"-"·and·"_"·that·follows·it. | 68 | ····························digits,·"-"·and·"_"·that·follows·it. |
50 | ····························If·a·'$'·character·needs·to·be·kept·in·the·final | 69 | ····························If·a·'$'·character·needs·to·be·kept·in·the·final |
Offset 56, 21 lines modified | Offset 75, 22 lines modified | ||
56 | ····························it·with·quotation·marks·to·prevent·spaces·from | 75 | ····························it·with·quotation·marks·to·prevent·spaces·from |
57 | ····························delimiting·the·text·as·if·it·were·additional·markup | 76 | ····························delimiting·the·text·as·if·it·were·additional·markup |
58 | ····························attributes.·If·the·'$'·macro·is·surrounded·by·other | 77 | ····························attributes.·If·the·'$'·macro·is·surrounded·by·other |
59 | ····························text·(as·in·the·two·examples·above),·quotation | 78 | ····························text·(as·in·the·two·examples·above),·quotation |
60 | ····························marks·are·not·automatically·supplied. | 79 | ····························marks·are·not·automatically·supplied. |
61 | ····························Note·that·a·'$'·macro·can·be·placed·anywhere·in·a | 80 | ····························Note·that·a·'$'·macro·can·be·placed·anywhere·in·a |
62 | ····························markup·tag·and·can·be·nested.·This·is·valid: | 81 | ····························markup·tag·and·can·be·nested.·This·is·valid: |
82 | ···························· · ·<${tagName}·${attrName}=${value$ctr}> | ||
83 | ····························tion"> | ||
63 | ····························<_\x8[_\x8[_\x8r_\x8e_\x8f_\x8]_\x8]_\x8f_\x8i_\x8l_\x8e·include="header.hti"> | ||
64 | ···························· ·<_\x8[_\x8[_\x8r_\x8e_\x8f_\x8]_\x8]_\x8s_\x8e_\x8t·sect-ctr="1"> | ||
65 | ···························· ·<_\x8[_\x8[_\x8r_\x8e_\x8f_\x8]_\x8]_\x8w_\x8h_\x8i_\x8l_\x8e·sect-${sect-ctr}> | ||
66 | ···························· · ·<_\x8[_\x8[_\x8r_\x8e_\x8f_\x8]_\x8]_\x8u_\x8s_\x8e·sect-${sect-ctr}> | ||
67 | ···························· · ·<_\x8[_\x8[_\x8r_\x8e_\x8f_\x8]_\x8]_\x8i_\x8n_\x8c·sect-ctr> | 84 | ···························· · ·<_\x8[_\x8[_\x8r_\x8e_\x8f_\x8]_\x8]_\x8i_\x8n_\x8c·sect-ctr> |
85 | ···························· · ·<_\x8[_\x8[_\x8r_\x8e_\x8f_\x8]_\x8]_\x8b_\x8l_\x8o_\x8c_\x8k·name="sect-${sect-ctr}"·expand | ||
86 | ····························global> | ||
87 | ···························· · · ·<_\x8[_\x8[_\x8r_\x8e_\x8f_\x8]_\x8]_\x8u_\x8s_\x8e·block·noexpand> | ||
68 | ···························· ·<_.[_.[_.r_.e_.f_.]_.]_./_. | 88 | ···························· · ·<_.[_.[_.r_.e_.f_.]_.]_./_.b_.l_.o_.c_.k> |
69 | ····························<_.[_.[_.r_.e_.f_.]_.]_. | 89 | ···························· ·<_.[_.[_.r_.e_.f_.]_.]_./_.b_.l_.o_.c_.k_.d_.e_.f> |
70 | ····························The·tagName·macro·can·contain·any·tag·name,·even·a | 90 | ····························The·tagName·macro·can·contain·any·tag·name,·even·a |
71 | ····························self-defined·metatag.·Note·that·$ctr·is·expanded | 91 | ····························self-defined·metatag.·Note·that·$ctr·is·expanded |
72 | ····························before·the·valueX·macro·is·expanded,·so·assuming | 92 | ····························before·the·valueX·macro·is·expanded,·so·assuming |
73 | ····························that·ctr·was·set·to·1·it·will·expand·value1. | 93 | ····························that·ctr·was·set·to·1·it·will·expand·value1. |
Offset 124, 32 lines modified | Offset 124, 43 lines modified | ||
124 | The·basic·form·is·shown·above. | 124 | The·basic·form·is·shown·above. |
125 | <P> | 125 | <P> |
126 | "Conditional"·is·either·a·"compare"·or·"is·defined"·operation. | 126 | "Conditional"·is·either·a·"compare"·or·"is·defined"·operation. |
127 | A·compare·operator·is·a·test·of·the·value·of·a·macro·against·a·literal·string. | 127 | A·compare·operator·is·a·test·of·the·value·of·a·macro·against·a·literal·string. |
128 | If·the·NOT·tag·is·present·in·the·WHILE·markup,·the·evaluation·of·the | 128 | If·the·NOT·tag·is·present·in·the·WHILE·markup,·the·evaluation·of·the |
129 | conditional·is·reversed: | 129 | conditional·is·reversed: |
130 | ··<p><code> | 130 | ··<p><code> |
131 | · ·<span·class="htp-tag"><<a·href="unset.html"·><img·src="pic/manual.png"·border=0·alt="[ref]"·width="10"·height="10">unset</a>·<span·class="htp-attrib">email_addr</span>·<span·class="htp-attrib">home_url</span>·<span·class="htp-attrib">login_name</span>></span><br> | ||
132 | IZE=KBYTE>·kilobytes<br> | ||
133 | · ·Last·modified·<span·class="htp-tag"><<a·href="file.html"·><img·src="pic/manual.png"·border=0·alt="[ref]"·width="10"·height="10">FILE</a>·<span·class="htp-attrib">NAME</span>=<span·class="htp-string">"image.gif"</span>·<span·class="htp-attrib">TIME</span>></span>,·<span·class="htp-tag"><<a·href="file.html"·><img·src="pic/manual.png"·border=0·alt="[ref]"·width="10"·height="10">FILE</a>·<span·class="htp-attrib">NAME</span>=<span·class="htp-string">"image.gif"</span>·<span·class="htp-attrib">DATE</span>></span><br> | ||
134 | nd><br> | ||
135 | · ·<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> | ||
136 | ·<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> | ||
137 | </code></p> | 131 | </code></p> |
138 | <P> | 132 | <P> |
139 | 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 | 133 | 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 |
140 | macro's·existance: | 134 | macro's·existance: |
141 | ··<p><code> | 135 | ··<p><code> |
136 | ·<span·class="htp-tag"><<a·href="def.html"·><img·src="pic/manual.png"·border=0·alt="[ref]"·width="10"·height="10">DEF</a>·<span·class="htp-attrib">NAME</span>=<span·class="htp-string">"HEADERIMG"</span>·<span·class="htp-attrib">OPTION</span>=<span·class="htp-string">"SRC·TITLE·SIZE"</span>></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">"header.hti"</span>></span><br> | ||
143 | ·<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> | ||
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">sect-<span·class="htp-macro">${sect-ctr}</span></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">sect-<span·class="htp-macro">${sect-ctr}</span></span>></span><br> | ||
146 | · ·<span·class="htp-tag"><<a·href="i | 137 | · ·<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> |
138 | · · · ·<span·class="htp-tag"><FONT·<span·class="htp-attrib">SIZE</span>=<span·class="htp-value"><span·class="htp-macro">${size}</span></span>></span><br> | ||
139 | · ·<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> | ||
140 | · ·<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> | ||
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">title</span>></span><br> | ||
142 | · ·<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> | ||
143 | · · · ·<span·class="htp-tag"></FONT></span><br> | ||
144 | · ·<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> | ||
147 | ·<span·class="htp-tag"><<a·href=" | 145 | ·<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> |
148 | < | 146 | <br> |
147 | ·<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> | ||
148 | <br> | ||
149 | ·<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> | ||
150 | <br> | ||
151 | ·This·will·fail:<br> | ||
152 | ·<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> | ||
153 | <br> | ||
154 | ·Instead,·use·*·like·this:<br> | ||
155 | ·<span·class="htp-tag"><<a·href="def.html"·><img·src="pic/manual.png"·border=0·alt="[ref]"·width="10"·height="10">DEF</a>·<span·class="htp-attrib">NAME</span>=<span·class="htp-string">"MYIMG"</span>·<span·class="htp-attrib">OPTION</span>=<span·class="htp-string">"SRC·*"</span>></span><br> | ||
156 | · ·<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> | ||
157 | ·<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> | ||
158 | · ·<br> | ||
159 | ·<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> | ||
149 | </code></p> | 160 | </code></p> |
150 | <P> | 161 | <P> |
151 | If·the·condition·is·true,·the·block·is·evaluated·and·afterwards·the | 162 | If·the·condition·is·true,·the·block·is·evaluated·and·afterwards·the |
152 | WHILE·tag·is·evaluated·again.··If·the·'$'-operator·is·used·in·the | 163 | WHILE·tag·is·evaluated·again.··If·the·'$'-operator·is·used·in·the |
153 | WHILE·tag·it·is·also·reevaluated·on·each·iteration. | 164 | WHILE·tag·it·is·also·reevaluated·on·each·iteration. |
154 | <P> | 165 | <P> |
155 | A·loop·block·<EM>must</EM>·be·closed·with·the·/WHILE·tag. | 166 | A·loop·block·<EM>must</EM>·be·closed·with·the·/WHILE·tag. |
Offset 5, 32 lines modified | Offset 5, 46 lines modified | ||
5 | ·_\x8L_\x8i_\x8c_\x8e_\x8n_\x8s_\x8e···················W\x8WH\x8HI\x8IL\x8LE\x8E·is·the·building·block·for·repeated | 5 | ·_\x8L_\x8i_\x8c_\x8e_\x8n_\x8s_\x8e···················W\x8WH\x8HI\x8IL\x8LE\x8E·is·the·building·block·for·repeated |
6 | ·_\x8T_\x8u_\x8t_\x8o_\x8r_\x8i_\x8a_\x8l··················processing.·The·basic·form·is·shown·above. | 6 | ·_\x8T_\x8u_\x8t_\x8o_\x8r_\x8i_\x8a_\x8l··················processing.·The·basic·form·is·shown·above. |
7 | ·_\x8U_\x8s_\x8a_\x8g_\x8e·····················"Conditional"·is·either·a·"compare"·or·"is·defined" | 7 | ·_\x8U_\x8s_\x8a_\x8g_\x8e·····················"Conditional"·is·either·a·"compare"·or·"is·defined" |
8 | ·HTP·Tags··················operation.·A·compare·operator·is·a·test·of·the | 8 | ·HTP·Tags··················operation.·A·compare·operator·is·a·test·of·the |
9 | · ···_\x8A_\x8L_\x8T_\x8T_\x8E_\x8X_\x8T···············value·of·a·macro·against·a·literal·string.·If·the | 9 | · ···_\x8A_\x8L_\x8T_\x8T_\x8E_\x8X_\x8T···············value·of·a·macro·against·a·literal·string.·If·the |
10 | · ···_\x8B_\x8L_\x8O_\x8C_\x8K·················NOT·tag·is·present·in·the·WHILE·markup,·the | 10 | · ···_\x8B_\x8L_\x8O_\x8C_\x8K·················NOT·tag·is·present·in·the·WHILE·markup,·the |
11 | · ···_\x8B_\x8L_\x8O_\x8C_\x8K_\x8D_\x8E_\x8F··············evaluation·of·the·conditional·is·reversed: | 11 | · ···_\x8B_\x8L_\x8O_\x8C_\x8K_\x8D_\x8E_\x8F··············evaluation·of·the·conditional·is·reversed: |
12 | · ···_\x8D_\x8E_\x8F··················· · ·<_\x8[_\x8[_\x8r_\x8e_\x8f_\x8]_\x8]_\x8u_\x8n_\x8s_\x8e_\x8t·email_addr·home_url·login_name> | ||
13 | · ···_\x8F_\x8I_\x8L_\x8E··················IZE=KBYTE>·kilobytes | ||
14 | · ···_\x8I_\x8F···················· · ·Last·modified·<_\x8[_\x8[_\x8r_\x8e_\x8f_\x8]_\x8]_\x8F_\x8I_\x8L_\x8E·NAME="image.gif" | ||
15 | · ···_\x8I_\x8N_\x8C···················TIME>,·<_\x8[_\x8[_\x8r_\x8e_\x8f_\x8]_\x8]_\x8F_\x8I_\x8L_\x8E·NAME="image.gif"·DATE> | ||
16 | · ···_\x8I_\x8M_\x8G···················nd> | ||
17 | · ···_\x8I_\x8M_\x8A_\x8G_\x8E_\x8U_\x8R_\x8L·············· · ·<_\x8[_\x8[_\x8r_\x8e_\x8f_\x8]_\x8]_\x8/_\x8b_\x8l_\x8o_\x8c_\x8k> | ||
18 | · ···_\x8O_\x8P_\x8T··················· ·<_\x8[_\x8[_\x8r_\x8e_\x8f_\x8]_\x8]_\x8/_\x8b_\x8l_\x8o_\x8c_\x8k_\x8d_\x8e_\x8f> | ||
19 | · ···_\x8 | 12 | · ···_\x8D_.E_.F···················Just·as·with·_\x8[_\x8[_\x8r_\x8e_\x8f_\x8]_\x8]_\x8I_\x8F·you·can·also·check·for·a |
20 | · ···_\x8 | 13 | · ···_\x8F_.I_.L_.E··················macro's·existance: |
14 | · ···_\x8I_\x8F···················· ·<_\x8[_\x8[_\x8r_\x8e_\x8f_\x8]_\x8]_\x8D_\x8E_\x8F·NAME="HEADERIMG"·OPTION="SRC·TITLE | ||
15 | · ···_\x8I_\x8N_\x8C···················SIZE"> | ||
16 | · ···_\x8I_\x8M_\x8G··················· · ·<_\x8[_\x8[_\x8r_\x8e_\x8f_\x8]_\x8]_\x8I_\x8F·size> | ||
17 | · ···_\x8I_\x8M_\x8A_\x8G_\x8E_\x8U_\x8R_\x8L·············· · · · ·<FONT·SIZE=${size}> | ||
18 | · ···_\x8O_\x8P_\x8T··················· · ·<_\x8[_\x8[_\x8r_\x8e_\x8f_\x8]_\x8]_\x8/_\x8I_\x8F> | ||
19 | · ···_\x8O_\x8U_\x8T_\x8P_\x8U_\x8T················ · ·<_\x8[_\x8[_\x8r_\x8e_\x8f_\x8]_\x8]_\x8I_\x8M_\x8G·SRC=pics/${src}> | ||
20 | · ···_\x8Q_\x8U_\x8O_\x8T_\x8E················· · ·<_\x8[_\x8[_\x8r_\x8e_\x8f_\x8]_\x8]_\x8U_\x8S_\x8E·title> | ||
21 | · ···_\x8S_\x8E_\x8T···················<_.[_.[_.r_.e_.f_.]_.] | 21 | · ···_\x8S_\x8E_\x8T··················· · ·<_.[_.[_.r_.e_.f_.]_.]_.I_.F·size> |
22 | · ···_\x8U_\x8N_\x8D_\x8E_\x8F················· · · · ·</FONT> | ||
22 | · ···_\x8U_\x8N_\x8 | 23 | · ···_\x8U_\x8N_\x8S_.E_.T················· · ·<_.[_.[_.r_.e_.f_.]_.]_./_.I_.F> |
23 | · ···_\x8U_\x8N_\x8S_\x8E_\x8T················· ·<_\x8[_\x8[_\x8r_\x8e_\x8f_\x8]_\x8]_\x8w_\x8h_\x8i_\x8l_\x8e·sect-${sect-ctr}> | ||
24 | · ···_\x8U_\x8S_\x8E_\x8,_\x8·_\x8$················ · ·<_\x8[_\x8[_\x8r_\x8e_\x8f_\x8]_\x8]_\x8u_\x8s_\x8e·sect-${sect-ctr}> | ||
25 | ·[>]·_\x8W_\x8H_\x8I_\x8L_\x8E················· · ·<_\x8[_\x8[_\x8r_\x8e_\x8f_\x8]_\x8]_\x8i_\x8n_\x8c·sect-ctr> | ||
26 | · ···_\x8 | 24 | · ···_\x8U_.S_.E_.,_.·_.$················ ·<_.[_.[_.r_.e_.f_.]_.]_./_.D_.E_.F> |
27 | · | 25 | ·[>]·_.W_.H_.I_.L_.E |
26 | · ···_\x8<_\x8!_\x8-_\x8-_\x8-················· ·<HEADERIMG·SRC="logo.gif"·SIZE="+2"·TITLE="A | ||
27 | ·_\x8H_\x8i_\x8s_\x8t_\x8o_\x8r_\x8y···················title"> | ||
28 | ·_\x8W_\x8i_\x8s_\x8h_\x8·_\x8l_\x8i_\x8s_\x8t | ||
29 | ·_\x8B_\x8u_\x8g_\x8s······················ ·<HEADERIMG·SRC="logo.gif"·TITLE="Normal·sized | ||
30 | ····························title"> | ||
31 | ···························· ·This·will·fail: | ||
32 | ···························· ·<HEADERIMG·SRC="logo.gif"·ALT="Our·logo" | ||
33 | ····························TITLE="Another·title"> | ||
34 | ···························· ·Instead,·use·*·like·this: | ||
35 | ···························· ·<_\x8[_\x8[_\x8r_\x8e_\x8f_\x8]_\x8]_\x8D_\x8E_\x8F·NAME="MYIMG"·OPTION="SRC·*"> | ||
36 | ···························· · ·<_\x8[_\x8[_\x8r_\x8e_\x8f_\x8]_\x8]_\x8I_\x8M_\x8G·SRC="pics/${src}"·$*> | ||
37 | ···························· ·<_\x8[_\x8[_\x8r_\x8e_\x8f_\x8]_\x8]_\x8/_\x8D_\x8E_\x8F> | ||
38 | ···························· · | ||
39 | ···························· ·<MYIMG·SRC="logo.gif"·ALT="Our·logo"> | ||
28 | 40 | ····························If·the·condition·is·true,·the·block·is·evaluated | |
29 | 41 | ····························and·afterwards·the·WHILE·tag·is·evaluated·again.·If | |
30 | ····························the·'$'-operator·is·used·in·the·WHILE·tag·it·is | 42 | ····························the·'$'-operator·is·used·in·the·WHILE·tag·it·is |
31 | ····························also·reevaluated·on·each·iteration. | 43 | ····························also·reevaluated·on·each·iteration. |
32 | ····························A·loop·block·m\x8mu\x8us\x8st\x8t·be·closed·with·the·/WHILE·tag. | 44 | ····························A·loop·block·m\x8mu\x8us\x8st\x8t·be·closed·with·the·/WHILE·tag. |