Offset 1, 3 lines modified | Offset 1, 3 lines modified | ||
1 | ·41101fef328e61900b45c6ee5e2717ef·70972·debug·optional·htp-dbgsym_1.19-8_amd64.deb | 1 | ·41101fef328e61900b45c6ee5e2717ef·70972·debug·optional·htp-dbgsym_1.19-8_amd64.deb |
2 | · | 2 | ·48d568a52bf6b5afc72b12062435a5dd·116988·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·····3612·2020-06-14·23:21:19.000000·control.tar.xz | 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···11 | 3 | -rw-r--r--···0········0········0···113184·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:·643 |
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)····14427·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)·····7882·2020-06-14·23:21:19.000000·./usr/share/doc/htp/block.html | 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)·····7941·2020-06-14·23:21:19.000000·./usr/share/doc/htp/blockdef.html | 12 | -rw-r--r--···0·root·········(0)·root·········(0)·····7941·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)····15138·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)···· | 20 | -rw-r--r--···0·root·········(0)·root·········(0)····10964·2020-06-14·23:21:19.000000·./usr/share/doc/htp/def.html |
21 | -rw-r--r--···0·root·········(0)·root·········(0)·····3601·2020-06-14·23:21:19.000000·./usr/share/doc/htp/def.htp | 21 | -rw-r--r--···0·root·········(0)·root·········(0)·····3601·2020-06-14·23:21:19.000000·./usr/share/doc/htp/def.htp |
22 | -rw-r--r--···0·root·········(0)·root·········(0)·····8030·2020-06-14·23:21:19.000000·./usr/share/doc/htp/default.html | 22 | -rw-r--r--···0·root·········(0)·root·········(0)·····8030·2020-06-14·23:21:19.000000·./usr/share/doc/htp/default.html |
23 | -rw-r--r--···0·root·········(0)·root·········(0)·····3149·2020-06-14·23:21:19.000000·./usr/share/doc/htp/default.htp | 23 | -rw-r--r--···0·root·········(0)·root·········(0)·····3149·2020-06-14·23:21:19.000000·./usr/share/doc/htp/default.htp |
24 | drwxr-xr-x···0·root·········(0)·root·········(0)········0·2020-06-14·23:21:19.000000·./usr/share/doc/htp/examples/ | 24 | drwxr-xr-x···0·root·········(0)·root·········(0)········0·2020-06-14·23:21:19.000000·./usr/share/doc/htp/examples/ |
25 | -rw-r--r--···0·root·········(0)·root·········(0)······536·2015-05-16·17:04:11.000000·./usr/share/doc/htp/examples/Makefile.sub | 25 | -rw-r--r--···0·root·········(0)·root·········(0)······536·2015-05-16·17:04:11.000000·./usr/share/doc/htp/examples/Makefile.sub |
26 | -rw-r--r--···0·root·········(0)·root·········(0)·····2404·2015-05-16·17:04:11.000000·./usr/share/doc/htp/examples/album.hti | 26 | -rw-r--r--···0·root·········(0)·root·········(0)·····2404·2015-05-16·17:04:11.000000·./usr/share/doc/htp/examples/album.hti |
27 | -rw-r--r--···0·root·········(0)·root·········(0)·····1087·2015-05-16·17:04:11.000000·./usr/share/doc/htp/examples/album.htt | 27 | -rw-r--r--···0·root·········(0)·root·········(0)·····1087·2015-05-16·17:04:11.000000·./usr/share/doc/htp/examples/album.htt |
Offset 32, 43 lines modified | Offset 32, 43 lines modified | ||
32 | -rw-r--r--···0·root·········(0)·root·········(0)······818·2015-05-16·17:04:11.000000·./usr/share/doc/htp/examples/prime.htp | 32 | -rw-r--r--···0·root·········(0)·root·········(0)······818·2015-05-16·17:04:11.000000·./usr/share/doc/htp/examples/prime.htp |
33 | -rw-r--r--···0·root·········(0)·root·········(0)·····1576·2020-06-14·23:21:19.000000·./usr/share/doc/htp/examples/quine.html | 33 | -rw-r--r--···0·root·········(0)·root·········(0)·····1576·2020-06-14·23:21:19.000000·./usr/share/doc/htp/examples/quine.html |
34 | -rw-r--r--···0·root·········(0)·root·········(0)·····1576·2015-05-16·17:04:11.000000·./usr/share/doc/htp/examples/quine.htp | 34 | -rw-r--r--···0·root·········(0)·root·········(0)·····1576·2015-05-16·17:04:11.000000·./usr/share/doc/htp/examples/quine.htp |
35 | -rw-r--r--···0·root·········(0)·root·········(0)······604·2015-05-16·17:04:11.000000·./usr/share/doc/htp/examples/section.def | 35 | -rw-r--r--···0·root·········(0)·root·········(0)······604·2015-05-16·17:04:11.000000·./usr/share/doc/htp/examples/section.def |
36 | -rw-r--r--···0·root·········(0)·root·········(0)·····1189·2020-06-14·23:21:19.000000·./usr/share/doc/htp/examples/section.html | 36 | -rw-r--r--···0·root·········(0)·root·········(0)·····1189·2020-06-14·23:21:19.000000·./usr/share/doc/htp/examples/section.html |
37 | -rw-r--r--···0·root·········(0)·root·········(0)······918·2015-05-16·17:04:11.000000·./usr/share/doc/htp/examples/section.htp | 37 | -rw-r--r--···0·root·········(0)·root·········(0)······918·2015-05-16·17:04:11.000000·./usr/share/doc/htp/examples/section.htp |
38 | -rw-r--r--···0·root·········(0)·root·········(0)······375·2015-05-16·17:04:11.000000·./usr/share/doc/htp/examples/section.htt | 38 | -rw-r--r--···0·root·········(0)·root·········(0)······375·2015-05-16·17:04:11.000000·./usr/share/doc/htp/examples/section.htt |
39 | -rw-r--r--···0·root·········(0)·root·········(0)····· | 39 | -rw-r--r--···0·root·········(0)·root·········(0)·····8549·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)····12 | 41 | -rw-r--r--···0·root·········(0)·root·········(0)····12566·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)·····7951·2020-06-14·23:21:19.000000·./usr/share/doc/htp/if.html | 48 | -rw-r--r--···0·root·········(0)·root·········(0)·····7951·2020-06-14·23:21:19.000000·./usr/share/doc/htp/if.html |
49 | -rw-r--r--···0·root·········(0)·root·········(0)······932·2020-06-14·23:21:19.000000·./usr/share/doc/htp/if.htp | 49 | -rw-r--r--···0·root·········(0)·root·········(0)······932·2020-06-14·23:21:19.000000·./usr/share/doc/htp/if.htp |
50 | -rw-r--r--···0·root·········(0)·root·········(0)·····8626·2020-06-14·23:21:19.000000·./usr/share/doc/htp/imageurl.html | 50 | -rw-r--r--···0·root·········(0)·root·········(0)·····8626·2020-06-14·23:21:19.000000·./usr/share/doc/htp/imageurl.html |
51 | -rw-r--r--···0·root·········(0)·root·········(0)·····2507·2020-06-14·23:21:19.000000·./usr/share/doc/htp/imageurl.htp | 51 | -rw-r--r--···0·root·········(0)·root·········(0)·····2507·2020-06-14·23:21:19.000000·./usr/share/doc/htp/imageurl.htp |
52 | -rw-r--r--···0·root·········(0)·root·········(0)·····8 | 52 | -rw-r--r--···0·root·········(0)·root·········(0)·····8917·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)·····8466·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)····15258·2020-06-14·23:21:19.000000·./usr/share/doc/htp/metatag.html |
68 | -rw-r--r--···0·root·········(0)·root·········(0)·····2439·2020-06-14·23:21:19.000000·./usr/share/doc/htp/metatag.htp.gz | 68 | -rw-r--r--···0·root·········(0)·root·········(0)·····2439·2020-06-14·23:21:19.000000·./usr/share/doc/htp/metatag.htp.gz |
69 | -rw-r--r--···0·root·········(0)·root·········(0)·····7558·2020-06-14·23:21:19.000000·./usr/share/doc/htp/opt.html | 69 | -rw-r--r--···0·root·········(0)·root·········(0)·····7558·2020-06-14·23:21:19.000000·./usr/share/doc/htp/opt.html |
70 | -rw-r--r--···0·root·········(0)·root·········(0)······608·2020-06-14·23:21:19.000000·./usr/share/doc/htp/opt.htp | 70 | -rw-r--r--···0·root·········(0)·root·········(0)······608·2020-06-14·23:21:19.000000·./usr/share/doc/htp/opt.htp |
71 | -rw-r--r--···0·root·········(0)·root·········(0)·····7809·2020-06-14·23:21:19.000000·./usr/share/doc/htp/options.html | 71 | -rw-r--r--···0·root·········(0)·root·········(0)·····7809·2020-06-14·23:21:19.000000·./usr/share/doc/htp/options.html |
72 | -rw-r--r--···0·root·········(0)·root·········(0)·····3100·2020-06-14·23:21:19.000000·./usr/share/doc/htp/options.htp | 72 | -rw-r--r--···0·root·········(0)·root·········(0)·····3100·2020-06-14·23:21:19.000000·./usr/share/doc/htp/options.htp |
73 | -rw-r--r--···0·root·········(0)·root·········(0)·····7777·2020-06-14·23:21:19.000000·./usr/share/doc/htp/output.html | 73 | -rw-r--r--···0·root·········(0)·root·········(0)·····7777·2020-06-14·23:21:19.000000·./usr/share/doc/htp/output.html |
74 | -rw-r--r--···0·root·········(0)·root·········(0)······695·2020-06-14·23:21:19.000000·./usr/share/doc/htp/output.htp | 74 | -rw-r--r--···0·root·········(0)·root·········(0)······695·2020-06-14·23:21:19.000000·./usr/share/doc/htp/output.htp |
Offset 79, 15 lines modified | Offset 79, 15 lines modified | ||
79 | -rw-r--r--···0·root·········(0)·root·········(0)····25563·2020-06-14·23:21:19.000000·./usr/share/doc/htp/pic/logo.png | 79 | -rw-r--r--···0·root·········(0)·root·········(0)····25563·2020-06-14·23:21:19.000000·./usr/share/doc/htp/pic/logo.png |
80 | -rw-r--r--···0·root·········(0)·root·········(0)······455·2020-06-14·23:21:19.000000·./usr/share/doc/htp/pic/manbig.png | 80 | -rw-r--r--···0·root·········(0)·root·········(0)······455·2020-06-14·23:21:19.000000·./usr/share/doc/htp/pic/manbig.png |
81 | -rw-r--r--···0·root·········(0)·root·········(0)······491·2020-06-14·23:21:19.000000·./usr/share/doc/htp/pic/manual.png | 81 | -rw-r--r--···0·root·········(0)·root·········(0)······491·2020-06-14·23:21:19.000000·./usr/share/doc/htp/pic/manual.png |
82 | -rw-r--r--···0·root·········(0)·root·········(0)·····1313·2020-06-14·23:21:19.000000·./usr/share/doc/htp/pic/poweredbyhtp.png | 82 | -rw-r--r--···0·root·········(0)·root·········(0)·····1313·2020-06-14·23:21:19.000000·./usr/share/doc/htp/pic/poweredbyhtp.png |
83 | -rw-r--r--···0·root·········(0)·root·········(0)······679·2020-06-14·23:21:19.000000·./usr/share/doc/htp/pic/sficon.png | 83 | -rw-r--r--···0·root·········(0)·root·········(0)······679·2020-06-14·23:21:19.000000·./usr/share/doc/htp/pic/sficon.png |
84 | -rw-r--r--···0·root·········(0)·root·········(0)······492·2020-06-14·23:21:19.000000·./usr/share/doc/htp/pic/source.png | 84 | -rw-r--r--···0·root·········(0)·root·········(0)······492·2020-06-14·23:21:19.000000·./usr/share/doc/htp/pic/source.png |
85 | -rw-r--r--···0·root·········(0)·root·········(0)······523·2020-06-14·23:21:19.000000·./usr/share/doc/htp/pphtp.pl | 85 | -rw-r--r--···0·root·········(0)·root·········(0)······523·2020-06-14·23:21:19.000000·./usr/share/doc/htp/pphtp.pl |
86 | -rw-r--r--···0·root·········(0)·root·········(0)····· | 86 | -rw-r--r--···0·root·········(0)·root·········(0)·····8124·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)·····8234·2020-06-14·23:21:19.000000·./usr/share/doc/htp/set.html | 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 |
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)·····8947·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)····16160·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)···· | 117 | -rw-r--r--···0·root·········(0)·root·········(0)····13804·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 127, 14 lines modified | Offset 127, 42 lines modified | ||
127 | <p> | 127 | <p> |
128 | When·an·IMG·tag·with·a·matching·source·is·encountered,·htp·will·add·an·ALT | 128 | When·an·IMG·tag·with·a·matching·source·is·encountered,·htp·will·add·an·ALT |
129 | attribute·only·if·one·is·not·already·present.··This·allows·for·ALT·text·to | 129 | attribute·only·if·one·is·not·already·present.··This·allows·for·ALT·text·to |
130 | be·overridden·on·specific·images·and·default·text·on·all·others. | 130 | be·overridden·on·specific·images·and·default·text·on·all·others. |
131 | <p> | 131 | <p> |
132 | For·example: | 132 | For·example: |
133 | ··<p><code> | 133 | ··<p><code> |
134 | ·<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">time</span>=<span·class="htp-string">"0"</span>></span><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·class="htp-attrib">name</span>=<span·class="htp-value">a</span>></span><br> | ||
136 | · ·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> | ||
137 | ·<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> | ||
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-value">b</span>·<span·class="htp-attrib">expand</span>></span><br> | ||
139 | · ·b·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> | ||
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 | ·<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">time</span>=<span·class="htp-string">"1"</span>></span><br> | ||
142 | ·<span·class="htp-tag"><<a·href="use.html"·><img·src="pic/manual.png"·border=0·alt="[ref]"·width="10"·height="10">use</a>·<span·class="htp-attrib">a</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">b</span>></span><br> | ||
144 | ·contents·of·a:·<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">a</span>·<span·class="htp-attrib">noexpand</span>></span><br> | ||
145 | ·contents·of·b:·<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">b</span>·<span·class="htp-attrib">noexpand</span>></span><br> | ||
146 | ·<span·class="htp-tag"><<a·href="block.html"·><img·src="pic/manual.png"·border=0·alt="[ref]"·width="10"·height="10">block</a>·<span·class="htp-attrib">name</span>=<span·class="htp-value">c</span>·<span·class="htp-attrib">expand</span>></span><br> | ||
147 | · ·c·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>;·<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">a</span>></span><br> | ||
148 | ·<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> | ||
149 | ·<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-value">d</span>·<span·class="htp-attrib">expand</span>></span><br> | ||
150 | · ·d·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>;·<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">a</span>·<span·class="htp-attrib">noexpand</span>></span><br> | ||
151 | ·<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> | ||
152 | ·<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-value">e</span>></span><br> | ||
153 | · ·e·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>;·<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">a</span>·<span·class="htp-attrib">noexpand</span>></span><br> | ||
154 | ·<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> | ||
155 | ·<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">time</span>=<span·class="htp-string">"2"</span>></span><br> | ||
156 | ·<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-value">a</span>></span><br> | ||
157 | · ·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> | ||
158 | ·<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> | ||
159 | ·<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">c</span>></span><br> | ||
160 | ·<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">d</span>></span><br> | ||
161 | ·<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">e</span>></span><br> | ||
134 | </code></p> | 162 | </code></p> |
135 | <p> | 163 | <p> |
136 | An·ALTTEXT·tag·with·a·name·but·no·text·attribute·removes·any·ALT | 164 | An·ALTTEXT·tag·with·a·name·but·no·text·attribute·removes·any·ALT |
137 | mapping·for·this·image.··Successing·IMG·tags·with·a·matching·SRC·name·are·not | 165 | mapping·for·this·image.··Successing·IMG·tags·with·a·matching·SRC·name·are·not |
138 | changed. | 166 | changed. |
139 | <p> | 167 | <p> |
140 | Since·this·is·useful·for·an·image·used·throughout·a·set·of·documents, | 168 | Since·this·is·useful·for·an·image·used·throughout·a·set·of·documents, |
Offset 9, 28 lines modified | Offset 9, 60 lines modified | ||
9 | ·[>]·_\x8A_\x8L_\x8T_\x8T_\x8E_\x8X_\x8T···············comparisons. | 9 | ·[>]·_\x8A_\x8L_\x8T_\x8T_\x8E_\x8X_\x8T···············comparisons. |
10 | · ···_\x8B_\x8L_\x8O_\x8C_\x8K·················When·an·IMG·tag·with·a·matching·source·is | 10 | · ···_\x8B_\x8L_\x8O_\x8C_\x8K·················When·an·IMG·tag·with·a·matching·source·is |
11 | · ···_\x8B_\x8L_\x8O_\x8C_\x8K_\x8D_\x8E_\x8F··············encountered,·htp·will·add·an·ALT·attribute·only·if | 11 | · ···_\x8B_\x8L_\x8O_\x8C_\x8K_\x8D_\x8E_\x8F··············encountered,·htp·will·add·an·ALT·attribute·only·if |
12 | · ···_\x8D_\x8E_\x8F···················one·is·not·already·present.·This·allows·for·ALT | 12 | · ···_\x8D_\x8E_\x8F···················one·is·not·already·present.·This·allows·for·ALT |
13 | · ···_\x8F_\x8I_\x8L_\x8E··················text·to·be·overridden·on·specific·images·and | 13 | · ···_\x8F_\x8I_\x8L_\x8E··················text·to·be·overridden·on·specific·images·and |
14 | · ···_\x8I_\x8F····················default·text·on·all·others. | 14 | · ···_\x8I_\x8F····················default·text·on·all·others. |
15 | · ···_\x8I_\x8N_\x8C···················For·example: | 15 | · ···_\x8I_\x8N_\x8C···················For·example: |
16 | · ···_\x8I_\x8M_\x8G··················· ·<_\x8[_\x8[_\x8r_\x8e_\x8f_\x8]_\x8]_\x8s_\x8e_\x8t·time="0"> | ||
17 | · ···_\x8I_\x8M_\x8A_\x8G_\x8E_\x8U_\x8R_\x8L·············· ·<_\x8[_\x8[_\x8r_\x8e_\x8f_\x8]_\x8]_\x8b_\x8l_\x8o_\x8c_\x8k·name=a> | ||
18 | · ···_\x8O_\x8P_\x8T··················· · ·a·is·expanded·at·time·<_\x8[_\x8[_\x8r_\x8e_\x8f_\x8]_\x8]_\x8u_\x8s_\x8e·time>. | ||
19 | · ···_\x8O_\x8U_\x8T_\x8P_\x8U_\x8T················ ·<_\x8[_\x8[_\x8r_\x8e_\x8f_\x8]_\x8]_\x8/_\x8b_\x8l_\x8o_\x8c_\x8k> | ||
20 | · ···_\x8Q_\x8U_\x8O_\x8T_\x8E················· ·<_\x8[_\x8[_\x8r_\x8e_\x8f_\x8]_\x8]_\x8b_\x8l_\x8o_\x8c_\x8k·name=b·expand> | ||
21 | · ···_\x8S_\x8E_\x8T··················· · ·b·is·expanded·at·time·<_\x8[_\x8[_\x8r_\x8e_\x8f_\x8]_\x8]_\x8u_\x8s_\x8e·time>. | ||
22 | · ···_\x8U_\x8N_\x8D_\x8E_\x8F················· ·<_\x8[_\x8[_\x8r_\x8e_\x8f_\x8]_\x8]_\x8/_\x8b_\x8l_\x8o_\x8c_\x8k> | ||
23 | · ···_\x8U_\x8N_\x8S_\x8E_\x8T················· ·<_\x8[_\x8[_\x8r_\x8e_\x8f_\x8]_\x8]_\x8s_\x8e_\x8t·time="1"> | ||
24 | · ···_\x8U_\x8S_\x8E_\x8,_\x8·_\x8$················ ·<_\x8[_\x8[_\x8r_\x8e_\x8f_\x8]_\x8]_\x8u_\x8s_\x8e·a> | ||
25 | · ···_\x8W_\x8H_\x8I_\x8L_\x8E················· ·<_\x8[_\x8[_\x8r_\x8e_\x8f_\x8]_\x8]_\x8u_\x8s_\x8e·b> | ||
26 | · ···_\x8<_\x8!_\x8-_\x8-_\x8-················· ·contents·of·a:·<_\x8[_\x8[_\x8r_\x8e_\x8f_\x8]_\x8]_\x8u_\x8s_\x8e·a·noexpand> | ||
27 | ·_\x8H_\x8i_\x8s_\x8t_\x8o_\x8r_\x8y··················· ·contents·of·b:·<_\x8[_\x8[_\x8r_\x8e_\x8f_\x8]_\x8]_\x8u_\x8s_\x8e·b·noexpand> | ||
28 | ·_\x8W_\x8i_\x8s_\x8h_\x8·_\x8l_\x8i_\x8s_\x8t················· ·<_\x8[_\x8[_\x8r_\x8e_\x8f_\x8]_\x8]_\x8b_\x8l_\x8o_\x8c_\x8k·name=c·expand> | ||
29 | ·_\x8B_\x8u_\x8g_\x8s······················ · ·c·is·expanded·at·time·<_\x8[_\x8[_\x8r_\x8e_\x8f_\x8]_\x8]_\x8u_\x8s_\x8e·time>;·<_\x8[ | ||
30 | ····························_\x8[_\x8r_\x8e_\x8f_\x8]_\x8]_\x8u_\x8s_\x8e·a> | ||
31 | ···························· ·<_\x8[_\x8[_\x8r_\x8e_\x8f_\x8]_\x8]_\x8/_\x8b_\x8l_\x8o_\x8c_\x8k> | ||
32 | ···························· ·<_\x8[_\x8[_\x8r_\x8e_\x8f_\x8]_\x8]_\x8b_\x8l_\x8o_\x8c_\x8k·name=d·expand> | ||
33 | ···························· · ·d·is·expanded·at·time·<_\x8[_\x8[_\x8r_\x8e_\x8f_\x8]_\x8]_\x8u_\x8s_\x8e·time>;·<_\x8[ | ||
34 | ····························_\x8[_\x8r_\x8e_\x8f_\x8]_\x8]_\x8u_\x8s_\x8e·a·noexpand> | ||
35 | ···························· ·<_\x8[_\x8[_\x8r_\x8e_\x8f_\x8]_\x8]_\x8/_\x8b_\x8l_\x8o_\x8c_\x8k> | ||
36 | ···························· ·<_\x8[_\x8[_\x8r_\x8e_\x8f_\x8]_\x8]_\x8b_\x8l_\x8o_\x8c_\x8k·name=e> | ||
37 | ···························· · ·e·is·expanded·at·time·<_\x8[_\x8[_\x8r_\x8e_\x8f_\x8]_\x8]_\x8u_\x8s_\x8e·time>;·<_\x8[ | ||
38 | ····························_\x8[_\x8r_\x8e_\x8f_\x8]_\x8]_\x8u_\x8s_\x8e·a·noexpand> | ||
39 | ···························· ·<_\x8[_\x8[_\x8r_\x8e_\x8f_\x8]_\x8]_\x8/_\x8b_\x8l_\x8o_\x8c_\x8k> | ||
40 | ···························· ·<_\x8[_\x8[_\x8r_\x8e_\x8f_\x8]_\x8]_\x8s_\x8e_\x8t·time="2"> | ||
41 | ···························· ·<_\x8[_\x8[_\x8r_\x8e_\x8f_\x8]_\x8]_\x8b_\x8l_\x8o_\x8c_\x8k·name=a> | ||
42 | ···························· · ·a·is·defined·for·the·2nd·time·<_\x8[_\x8[_\x8r_\x8e_\x8f_\x8]_\x8]_\x8u_\x8s_\x8e | ||
43 | ····························time>. | ||
44 | ···························· ·<_\x8[_\x8[_\x8r_\x8e_\x8f_\x8]_\x8]_\x8/_\x8b_\x8l_\x8o_\x8c_\x8k> | ||
45 | ···························· ·<_\x8[_\x8[_\x8r_\x8e_\x8f_\x8]_\x8]_\x8u_\x8s_\x8e·c> | ||
46 | ···························· ·<_\x8[_\x8[_\x8r_\x8e_\x8f_\x8]_\x8]_\x8u_\x8s_\x8e·d> | ||
47 | ···························· ·<_\x8[_\x8[_\x8r_\x8e_\x8f_\x8]_\x8]_\x8u_\x8s_\x8e·e> | ||
16 | 48 | ····························An·ALTTEXT·tag·with·a·name·but·no·text·attribute | |
17 | 49 | ····························removes·any·ALT·mapping·for·this·image.·Successing | |
18 | 50 | ····························IMG·tags·with·a·matching·SRC·name·are·not·changed. | |
19 | 51 | ····························Since·this·is·useful·for·an·image·used·throughout·a | |
20 | 52 | ····························set·of·documents,·ALTTEXT·is·most·appropriate·in·an | |
21 | 53 | ····························_\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. | |
22 | 54 | ····························In·addition·to·ALTTEXT,·htp·can·also·automatically | |
23 | 55 | ····························add·WIDTH·and·HEIGHT·attributes·to·_\x8I_\x8M_\x8G·tags. | |
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 | ||
Offset 114, 29 lines modified | Offset 114, 66 lines modified | ||
114 | ······<a·class="noline"·href="bugs.html">Bugs</a></td></tr> | 114 | ······<a·class="noline"·href="bugs.html">Bugs</a></td></tr> |
115 | ··</table> | 115 | ··</table> |
116 | ··</div> | 116 | ··</div> |
117 | </td> | 117 | </td> |
118 | <td·bgcolor="#f0f0d0"·rowspan="2"·valign="top"> | 118 | <td·bgcolor="#f0f0d0"·rowspan="2"·valign="top"> |
119 | <h2>syntax</h2> | 119 | <h2>syntax</h2> |
120 | ··<p><code> | 120 | ··<p><code> |
121 | ·<span·class="htp-tag"><<a·href="set.html"·><img·src="pic/manual.png"·border=0·alt="[ref]"·width="10"·height="10">set</a>·<span·class="htp-attrib">time</span>=<span·class="htp-string">"0"</span>></span><br> | ||
122 | ·<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-value">a</span>></span><br> | ||
123 | · ·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 | ·<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> | ||
125 | ·<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-value">b</span>·<span·class="htp-attrib">expand</span>></span><br> | ||
126 | · ·b·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> | ||
127 | ·<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> | ||
128 | ·<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">time</span>=<span·class="htp-string">"1"</span>></span><br> | ||
129 | ·<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">a</span>></span><br> | ||
130 | ·<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">b</span>></span><br> | ||
131 | ·contents·of·a:·<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">a</span>·<span·class="htp-attrib">noexpand</span>></span><br> | ||
132 | ·contents·of·b:·<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">b</span>·<span·class="htp-attrib">noexpand</span>></span><br> | ||
133 | ·<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-value">c</span>·<span·class="htp-attrib">expand</span>></span><br> | ||
134 | · ·c·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>;·<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">a</span>></span><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="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-value">d</span>·<span·class="htp-attrib">expand</span>></span><br> | ||
137 | · ·d·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>;·<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">a</span>·<span·class="htp-attrib">noexpand</span>></span><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="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-value">e</span>></span><br> | ||
140 | · ·e·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>;·<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">a</span>·<span·class="htp-attrib">noexpand</span>></span><br> | ||
141 | ·<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> | ||
142 | ·<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">time</span>=<span·class="htp-string">"2"</span>></span><br> | ||
143 | ·<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-value">a</span>></span><br> | ||
144 | · ·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> | ||
145 | ·<span·class="htp-tag"><<a·href="block.html"·><img·src="pic/manual.png"·border=0·alt="[ref]"·width="10"·height="10">/block</a>></span><br> | ||
146 | ·<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">c</span>></span><br> | ||
147 | ·<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">d</span>></span><br> | ||
148 | ·<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">e</span>></span><br> | ||
121 | </code></p> | 149 | </code></p> |
122 | <h2>synopsis</h2> | 150 | <h2>synopsis</h2> |
123 | <p> | 151 | <p> |
124 | This·is·a·simple·comment·that·is·not·included·in·the·output.··This·is·useful | 152 | This·is·a·simple·comment·that·is·not·included·in·the·output.··This·is·useful |
125 | when·commenting·metatags,·since·the·metatags·do·not·appear·the·output·either. | 153 | when·commenting·metatags,·since·the·metatags·do·not·appear·the·output·either. |
126 | Example: | 154 | Example: |
127 | </p> | 155 | </p> |
128 | ··<p><code> | 156 | ··<p><code> |
157 | · ·a·is·expanded·at·time·1.<br> | ||
158 | · ·b·is·expanded·at·time·0.<br> | ||
159 | ·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> | ||
160 | ·contents·of·b:· ·b·is·expanded·at·time·0.<br> | ||
161 | · ·c·is·expanded·at·time·1;· ·a·is·expanded·at·time·1.<br> | ||
162 | · ·d·is·expanded·at·time·1;· ·a·is·expanded·at·time·2.<br> | ||
163 | · ·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> | ||
129 | </code></p> | 164 | </code></p> |
130 | <p> | 165 | <p> |
131 | Note·that·these·comments·should·not·include·<·or·>,·that·is·you | 166 | 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 | 167 | should·not·use·it·to·comment·out·htp·code.··For·that·purpose·use·something |
133 | like·this: | 168 | like·this: |
134 | </p> | 169 | </p> |
135 | ··<p><code> | 170 | ··<p><code> |
171 | <span·class="htp-tag"><<a·href="imageurl.html"·><img·src="pic/manual.png"·border=0·alt="[ref]"·width="10"·height="10">imageurl</a>·<span·class="htp-attrib">url</span>=<span·class="htp-string">"imageurl"</span>·<span·class="htp-attrib">[</span>·<span·class="htp-attrib">path</span>=<span·class="htp-string">"path/in/local/filesystem"</span>·<span·class="htp-attrib">]</span>></span><br> | ||
172 | <br> | ||
136 | </code></p> | 173 | </code></p> |
137 | <p>Make·sure·that·the·variable·is·never·defined·and·xyz·should·be·the | 174 | <p>Make·sure·that·the·variable·is·never·defined·and·xyz·should·be·the |
138 | reason·why·you·don't·want·to·include·this·block</p> | 175 | reason·why·you·don't·want·to·include·this·block</p> |
139 | <p> | 176 | <p> |
140 | </td> | 177 | </td> |
141 | </tr> | 178 | </tr> |
142 | <tr> | 179 | <tr> |
Offset 1, 36 lines modified | Offset 1, 82 lines modified | ||
1 | [HTP] | 1 | [HTP] |
2 | *\x8**\x8**\x8**\x8**\x8**\x8*·h\x8ht\x8tp\x8p·o\x8on\x8n-\x8-l\x8li\x8in\x8ne\x8e·r\x8re\x8ef\x8fe\x8er\x8re\x8en\x8nc\x8ce\x8e·:\x8:·<\x8<!\x8!-\x8--\x8--\x8-·*\x8**\x8**\x8**\x8**\x8**\x8* | 2 | *\x8**\x8**\x8**\x8**\x8**\x8*·h\x8ht\x8tp\x8p·o\x8on\x8n-\x8-l\x8li\x8in\x8ne\x8e·r\x8re\x8ef\x8fe\x8er\x8re\x8en\x8nc\x8ce\x8e·:\x8:·<\x8<!\x8!-\x8--\x8--\x8-·*\x8**\x8**\x8**\x8**\x8**\x8* |
3 | _\x8T_\x8a_\x8b_\x8l_\x8e_\x8·_\x8o_\x8f_\x8·_\x8C_\x8o_\x8n_\x8t_\x8e_\x8n_\x8t_\x8s···········*\x8**\x8**\x8**\x8**\x8*·s\x8sy\x8yn\x8nt\x8ta\x8ax\x8x·*\x8**\x8**\x8**\x8**\x8* | 3 | _\x8T_\x8a_\x8b_\x8l_\x8e_\x8·_\x8o_\x8f_\x8·_\x8C_\x8o_\x8n_\x8t_\x8e_\x8n_\x8t_\x8s···········*\x8**\x8**\x8**\x8**\x8*·s\x8sy\x8yn\x8nt\x8ta\x8ax\x8x·*\x8**\x8**\x8**\x8**\x8* |
4 | ·_\x8I_\x8n_\x8t_\x8r_\x8o_\x8d_\x8u_\x8c_\x8t_\x8i_\x8o_\x8n·············· | 4 | ·_\x8I_\x8n_\x8t_\x8r_\x8o_\x8d_\x8u_\x8c_\x8t_\x8i_\x8o_\x8n·············· ·<_.[_.[_.r_.e_.f_.]_.]_.s_.e_.t·time="0"> |
5 | ·_\x8L_\x8i_\x8c_\x8e_\x8n_\x8s_\x8e··················· ·<_\x8[_\x8[_\x8r_\x8e_\x8f_\x8]_\x8]_\x8b_\x8l_\x8o_\x8c_\x8k·name=a> | ||
6 | ·_\x8T_\x8u_\x8t_\x8o_\x8r_\x8i_\x8a_\x8l·················· · ·a·is·expanded·at·time·<_\x8[_\x8[_\x8r_\x8e_\x8f_\x8]_\x8]_\x8u_\x8s_\x8e·time>. | ||
7 | ·_\x8U_\x8s_\x8a_\x8g_\x8e····················· ·<_\x8[_\x8[_\x8r_\x8e_\x8f_\x8]_\x8]_\x8/_\x8b_\x8l_\x8o_\x8c_\x8k> | ||
8 | ·HTP·Tags·················· ·<_\x8[_\x8[_\x8r_\x8e_\x8f_\x8]_\x8]_\x8b_\x8l_\x8o_\x8c_\x8k·name=b·expand> | ||
9 | · ···_\x8A_\x8L_\x8T_\x8T_\x8E_\x8X_\x8T··············· · ·b·is·expanded·at·time·<_\x8[_\x8[_\x8r_\x8e_\x8f_\x8]_\x8]_\x8u_\x8s_\x8e·time>. | ||
10 | · ···_\x8B_\x8L_\x8O_\x8C_\x8K················· ·<_\x8[_\x8[_\x8r_\x8e_\x8f_\x8]_\x8]_\x8/_\x8b_\x8l_\x8o_\x8c_\x8k> | ||
11 | · ···_\x8B_\x8L_\x8O_\x8C_\x8K_\x8D_\x8E_\x8F·············· ·<_\x8[_\x8[_\x8r_\x8e_\x8f_\x8]_\x8]_\x8s_\x8e_\x8t·time="1"> | ||
12 | · ···_\x8D_\x8E_\x8F··················· ·<_\x8[_\x8[_\x8r_\x8e_\x8f_\x8]_\x8]_\x8u_\x8s_\x8e·a> | ||
13 | · ···_\x8F_\x8I_\x8L_\x8E·················· ·<_\x8[_\x8[_\x8r_\x8e_\x8f_\x8]_\x8]_\x8u_\x8s_\x8e·b> | ||
14 | · ···_\x8I_\x8F···················· ·contents·of·a:·<_\x8[_\x8[_\x8r_\x8e_\x8f_\x8]_\x8]_\x8u_\x8s_\x8e·a·noexpand> | ||
15 | · ···_\x8I_\x8N_\x8C··················· ·contents·of·b:·<_\x8[_\x8[_\x8r_\x8e_\x8f_\x8]_\x8]_\x8u_\x8s_\x8e·b·noexpand> | ||
16 | · ···_\x8I_\x8M_\x8G··················· ·<_\x8[_\x8[_\x8r_\x8e_\x8f_\x8]_\x8]_\x8b_\x8l_\x8o_\x8c_\x8k·name=c·expand> | ||
17 | · ···_\x8I_\x8M_\x8A_\x8G_\x8E_\x8U_\x8R_\x8L·············· · ·c·is·expanded·at·time·<_\x8[_\x8[_\x8r_\x8e_\x8f_\x8]_\x8]_\x8u_\x8s_\x8e·time>;·<_\x8[ | ||
18 | · ···_\x8O_\x8P_\x8T···················_\x8[_\x8r_\x8e_\x8f_\x8]_\x8]_\x8u_\x8s_\x8e·a> | ||
19 | · ···_\x8O_\x8U_\x8T_\x8P_\x8U_\x8T················ ·<_\x8[_\x8[_\x8r_\x8e_\x8f_\x8]_\x8]_\x8/_\x8b_\x8l_\x8o_\x8c_\x8k> | ||
20 | · ···_\x8Q_\x8U_\x8O_\x8T_\x8E················· ·<_\x8[_\x8[_\x8r_\x8e_\x8f_\x8]_\x8]_\x8b_\x8l_\x8o_\x8c_\x8k·name=d·expand> | ||
21 | · ···_\x8S_\x8E_\x8T··················· · ·d·is·expanded·at·time·<_\x8[_\x8[_\x8r_\x8e_\x8f_\x8]_\x8]_\x8u_\x8s_\x8e·time>;·<_\x8[ | ||
22 | · ···_\x8U_\x8N_\x8D_\x8E_\x8F·················_\x8[_\x8r_\x8e_\x8f_\x8]_\x8]_\x8u_\x8s_\x8e·a·noexpand> | ||
23 | · ···_\x8U_\x8N_\x8S_\x8E_\x8T················· ·<_\x8[_\x8[_\x8r_\x8e_\x8f_\x8]_\x8]_\x8/_\x8b_\x8l_\x8o_\x8c_\x8k> | ||
24 | · ···_\x8U_\x8S_\x8E_\x8,_\x8·_\x8$················ ·<_\x8[_\x8[_\x8r_\x8e_\x8f_\x8]_\x8]_\x8b_\x8l_\x8o_\x8c_\x8k·name=e> | ||
25 | · ···_\x8W_\x8H_\x8I_\x8L_\x8E················· · ·e·is·expanded·at·time·<_\x8[_\x8[_\x8r_\x8e_\x8f_\x8]_\x8]_\x8u_\x8s_\x8e·time>;·<_\x8[ | ||
26 | ·[>]·_\x8<_\x8!_\x8-_\x8-_\x8-·················_\x8[_\x8r_\x8e_\x8f_\x8]_\x8]_\x8u_\x8s_\x8e·a·noexpand> | ||
27 | ·_\x8H_\x8i_\x8s_\x8t_\x8o_\x8r_\x8y··················· ·<_\x8[_\x8[_\x8r_\x8e_\x8f_\x8]_\x8]_\x8/_\x8b_\x8l_\x8o_\x8c_\x8k> | ||
28 | ·_\x8W_\x8i_\x8s_\x8h_\x8·_\x8l_\x8i_\x8s_\x8t················· ·<_\x8[_\x8[_\x8r_\x8e_\x8f_\x8]_\x8]_\x8s_\x8e_\x8t·time="2"> | ||
29 | ·_\x8B_\x8u_\x8g_\x8s······················ ·<_\x8[_\x8[_\x8r_\x8e_\x8f_\x8]_\x8]_\x8b_\x8l_\x8o_\x8c_\x8k·name=a> | ||
30 | ···························· · ·a·is·defined·for·the·2nd·time·<_\x8[_\x8[_\x8r_\x8e_\x8f_\x8]_\x8]_\x8u_\x8s_\x8e | ||
31 | ····························time>. | ||
32 | ···························· ·<_\x8[_\x8[_\x8r_\x8e_\x8f_\x8]_\x8]_\x8/_\x8b_\x8l_\x8o_\x8c_\x8k> | ||
33 | ···························· ·<_\x8[_\x8[_\x8r_\x8e_\x8f_\x8]_\x8]_\x8u_\x8s_\x8e·c> | ||
34 | ···························· ·<_\x8[_\x8[_\x8r_\x8e_\x8f_\x8]_\x8]_\x8u_\x8s_\x8e·d> | ||
35 | ···························· ·<_\x8[_\x8[_\x8r_\x8e_\x8f_\x8]_\x8]_\x8u_\x8s_\x8e·e> | ||
36 | ····························*\x8**\x8**\x8**\x8**\x8*·s\x8sy\x8yn\x8no\x8op\x8ps\x8si\x8is\x8s·*\x8**\x8**\x8**\x8**\x8* | ||
5 | 37 | ····························This·is·a·simple·comment·that·is·not·included·in | |
6 | 38 | ····························the·output.·This·is·useful·when·commenting | |
7 | 39 | ····························metatags,·since·the·metatags·do·not·appear·the | |
8 | 40 | ····························output·either.·Example: | |
41 | ···························· · ·a·is·expanded·at·time·1. | ||
42 | ···························· · ·b·is·expanded·at·time·0. | ||
43 | ···························· ·contents·of·a:· ·a·is·expanded·at·time·<_\x8[ | ||
44 | ····························_\x8[_\x8r_\x8e_\x8f_\x8]_\x8]_\x8u_\x8s_\x8e·time>. | ||
45 | ···························· ·contents·of·b:· ·b·is·expanded·at·time·0. | ||
46 | ···························· · ·c·is·expanded·at·time·1;· ·a·is·expanded·at | ||
47 | ····························time·1. | ||
48 | ···························· · ·d·is·expanded·at·time·1;· ·a·is·expanded·at | ||
49 | ····························time·2. | ||
50 | ···························· · ·e·is·expanded·at·time·2;· ·a·is·defined·for·the | ||
51 | ····························2nd·time·<_\x8[_\x8[_\x8r_\x8e_\x8f_\x8]_\x8]_\x8u_\x8s_\x8e·time>. | ||
9 | 52 | ····························Note·that·these·comments·should·not·include·<·or·>, | |
10 | 53 | ····························that·is·you·should·not·use·it·to·comment·out·htp | |
11 | 54 | ····························code.·For·that·purpose·use·something·like·this: | |
55 | ····························<_\x8[_\x8[_\x8r_\x8e_\x8f_\x8]_\x8]_\x8i_\x8m_\x8a_\x8g_\x8e_\x8u_\x8r_\x8l·url="imageurl"·[·path="path/in/ | ||
56 | ····························local/filesystem"·]> | ||
12 | 57 | ····························Make·sure·that·the·variable·is·never·defined·and | |
13 | 58 | ····························xyz·should·be·the·reason·why·you·don't·want·to | |
14 | 59 | ····························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 | · ···_\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 | ||
30 | ·_\x8p_\x8a_\x8g_\x8e_\x8·_\x8s_\x8o_\x8u_\x8r_\x8c_\x8e | 60 | ·_\x8p_\x8a_\x8g_\x8e_\x8·_\x8s_\x8o_\x8u_\x8r_\x8c_\x8e |
31 | ·_\x8h_\x8t_\x8p_\x8·_\x8p_\x8r_\x8o_\x8j_\x8e_\x8c_\x8t | 61 | ·_\x8h_\x8t_\x8p_\x8·_\x8p_\x8r_\x8o_\x8j_\x8e_\x8c_\x8t |
Offset 114, 33 lines modified | Offset 114, 37 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="comment"><!---··This·comment·doesn't·appear·in·the·HTML·file·---></span><br> | ||
121 | </code></p> | 122 | </code></p> |
122 | <h2>synopsis</h2> | 123 | <h2>synopsis</h2> |
123 | <p> | 124 | <p> |
124 | <strong>DEF</strong>·creates·<a·href="metatag.html">metatags</a>,·which·is·a | 125 | <strong>DEF</strong>·creates·<a·href="metatag.html">metatags</a>,·which·is·a |
125 | fancy·way·of·saying·it·creates·new·tags.··The·mechanism·is·very·similar·to | 126 | fancy·way·of·saying·it·creates·new·tags.··The·mechanism·is·very·similar·to |
126 | <a·href="block.html">BLOCK</a>·macros,·except·that·the·<a·href="use.html">USE</a> | 127 | <a·href="block.html">BLOCK</a>·macros,·except·that·the·<a·href="use.html">USE</a> |
127 | tag·is·not·used·to·expand·them.··Instead,·they·are·expanded·by·their·own·name. | 128 | tag·is·not·used·to·expand·them.··Instead,·they·are·expanded·by·their·own·name. |
128 | For·example: | 129 | For·example: |
129 | </p> | 130 | </p> |
130 | ··<p><code> | 131 | ··<p><code> |
132 | · ·<span·class="htp-tag"><<a·href="inc.html"·><img·src="pic/manual.png"·border=0·alt="[ref]"·width="10"·height="10">INC</a>·<span·class="htp-attrib">i</span>=<span·class="htp-string">"1"</span>·<span·class="htp-attrib">j</span>=<span·class="htp-string">"-1"</span>></span><br> | ||
131 | </code></p> | 133 | </code></p> |
132 | <P> | 134 | <P> |
133 | Some·metatags·will·require·an·opening·and·closing·tag·(comparable·to | 135 | Some·metatags·will·require·an·opening·and·closing·tag·(comparable·to |
134 | <TITLE>·and·</TITLE>).··In·this·case,·you·should·use·the·<A | 136 | <TITLE>·and·</TITLE>).··In·this·case,·you·should·use·the·<A |
135 | HREF="blockdef.html">BLOCKDEF</A>·macro.··Another·slightly·faster | 137 | HREF="blockdef.html">BLOCKDEF</A>·macro.··Another·slightly·faster |
136 | alternative·is·to·use·two·metatags,·the·opening·tag·and·the·closing | 138 | alternative·is·to·use·two·metatags,·the·opening·tag·and·the·closing |
137 | tag·with·a·preceding·slash.·For·example: | 139 | tag·with·a·preceding·slash.·For·example: |
138 | </P> | 140 | </P> |
139 | ··<p><code> | 141 | ··<p><code> |
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">"include.hti"</span>·<span·class="htp-attrib">name</span>=<span·class="htp-string">"Jim·Nelson"</span>·<span·class="htp-attrib">email</span>=<span·class="htp-string">"jnelson@crl.com"</span>></span><br> | ||
143 | · ·This·tag·will·fail:·<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">name</span>></span><br> | ||
140 | </code></p> | 144 | </code></p> |
141 | <p>·You·should·really·use·<a·href="blockdef.html">BLOCKDEF</a>,·though, | 145 | <p>·You·should·really·use·<a·href="blockdef.html">BLOCKDEF</a>,·though, |
142 | as·it·will·check·for·matching·end·tag.·It·is·not·that·slower.··</p> | 146 | as·it·will·check·for·matching·end·tag.·It·is·not·that·slower.··</p> |
143 | <P> | 147 | <P> |
144 | Options·can·be·passed·to·a·metatag,·which·can·then·expand·as·if·it·were | 148 | Options·can·be·passed·to·a·metatag,·which·can·then·expand·as·if·it·were |
145 | a·<A·HREF="set.html">SET</A>·macro.··Option·names·are·parameterized·with | 149 | a·<A·HREF="set.html">SET</A>·macro.··Option·names·are·parameterized·with |
146 | the·OPTION·attribute.··Multiple·options·can·be·listed·by·separating·their | 150 | the·OPTION·attribute.··Multiple·options·can·be·listed·by·separating·their |
Offset 1, 36 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:·D\x8DE\x8EF\x8F,\x8,·/\x8/D\x8DE\x8EF\x8F·*\x8**\x8**\x8**\x8**\x8**\x8* | 2 | *\x8**\x8**\x8**\x8**\x8**\x8*·h\x8ht\x8tp\x8p·o\x8on\x8n-\x8-l\x8li\x8in\x8ne\x8e·r\x8re\x8ef\x8fe\x8er\x8re\x8en\x8nc\x8ce\x8e·:\x8:·D\x8DE\x8EF\x8F,\x8,·/\x8/D\x8DE\x8EF\x8F·*\x8**\x8**\x8**\x8**\x8**\x8* |
3 | _\x8T_\x8a_\x8b_\x8l_\x8e_\x8·_\x8o_\x8f_\x8·_\x8C_\x8o_\x8n_\x8t_\x8e_\x8n_\x8t_\x8s···········*\x8**\x8**\x8**\x8**\x8*·s\x8sy\x8yn\x8nt\x8ta\x8ax\x8x·*\x8**\x8**\x8**\x8**\x8* | 3 | _\x8T_\x8a_\x8b_\x8l_\x8e_\x8·_\x8o_\x8f_\x8·_\x8C_\x8o_\x8n_\x8t_\x8e_\x8n_\x8t_\x8s···········*\x8**\x8**\x8**\x8**\x8*·s\x8sy\x8yn\x8nt\x8ta\x8ax\x8x·*\x8**\x8**\x8**\x8**\x8* |
4 | ·_\x8I_\x8n_\x8t_\x8r_\x8o_\x8d_\x8u_\x8c_\x8t_\x8i_\x8o_\x8n··············<!---·This·comment·doesn't·appear·in·the·HTML·file | ||
5 | ·_\x8L_\x8i_\x8c_\x8e_\x8n_\x8s_\x8e···················---> | ||
4 | ·_\x8 | 6 | ·_\x8T_.u_.t_.o_.r_.i_.a_.l··················*\x8**\x8**\x8**\x8**\x8*·s\x8sy\x8yn\x8no\x8op\x8ps\x8si\x8is\x8s·*\x8**\x8**\x8**\x8**\x8* |
5 | ·_\x8 | 7 | ·_\x8U_.s_.a_.g_.e·····················D\x8DE\x8EF\x8F·creates·_\x8m_\x8e_\x8t_\x8a_\x8t_\x8a_\x8g_\x8s,·which·is·a·fancy·way·of |
6 | · | 8 | ·HTP·Tags··················saying·it·creates·new·tags.·The·mechanism·is·very |
7 | ·_. | 9 | · ···_.A_.L_.T_.T_.E_.X_.T···············similar·to·_\x8B_\x8L_\x8O_\x8C_\x8K·macros,·except·that·the·_\x8U_\x8S_\x8E·tag·is |
8 | · | 10 | · ···_.B_.L_.O_.C_.K·················not·used·to·expand·them.·Instead,·they·are·expanded |
9 | · ···_\x8 | 11 | · ···_\x8B_.L_.O_.C_.K_.D_.E_.F··············by·their·own·name.·For·example: |
12 | ·[>]·_\x8D_\x8E_\x8F··················· · ·<_\x8[_\x8[_\x8r_\x8e_\x8f_\x8]_\x8]_\x8I_\x8N_\x8C·i="1"·j="-1"> | ||
10 | · ···_\x8 | 13 | · ···_\x8F_.I_.L_.E··················Some·metatags·will·require·an·opening·and·closing |
11 | · ···_\x8 | 14 | · ···_\x8I_.F····················tag·(comparable·to |
12 | · | 15 | · ···_.I_.N_.C···················and |
13 | · ···_\x8 | 16 | · ···_\x8I_.M_.G···················).·In·this·case,·you·should·use·the·_\x8B_\x8L_\x8O_\x8C_\x8K_\x8D_\x8E_\x8F·macro. |
14 | · ···_\x8I_\x8 | 17 | · ···_\x8I_\x8M_.A_.G_.E_.U_.R_.L··············Another·slightly·faster·alternative·is·to·use·two |
15 | · ···_\x8 | 18 | · ···_\x8O_.P_.T···················metatags,·the·opening·tag·and·the·closing·tag·with |
16 | · ···_\x8 | 19 | · ···_\x8O_.U_.T_.P_.U_.T················a·preceding·slash.·For·example: |
20 | · ···_\x8Q_\x8U_\x8O_\x8T_\x8E················· · ·<_\x8[_\x8[_\x8r_\x8e_\x8f_\x8]_\x8]_\x8F_\x8I_\x8L_\x8E·INCLUDE="include.hti"·name="Jim | ||
21 | · ···_\x8S_\x8E_\x8T···················Nelson"·email="jnelson@crl.com"> | ||
22 | · ···_\x8U_\x8N_\x8D_\x8E_\x8F················· · ·This·tag·will·fail:·<_\x8[_\x8[_\x8r_\x8e_\x8f_\x8]_\x8]_\x8U_\x8S_\x8E·name> | ||
17 | · ···_\x8 | 23 | · ···_\x8U_.N_.S_.E_.T·················You·should·really·use·_\x8B_\x8L_\x8O_\x8C_\x8K_\x8D_\x8E_\x8F,·though,·as·it·will |
18 | · ···_\x8 | 24 | · ···_\x8U_.S_.E_.,_.·_.$················check·for·matching·end·tag.·It·is·not·that·slower. |
19 | · ···_\x8 | 25 | · ···_\x8W_.H_.I_.L_.E·················Options·can·be·passed·to·a·metatag,·which·can·then |
20 | · ···_\x8 | 26 | · ···_\x8<_.!_.-_.-_.-·················expand·as·if·it·were·a·_\x8S_\x8E_\x8T·macro.·Option·names·are |
21 | · | 27 | ·_.H_.i_.s_.t_.o_.r_.y···················parameterized·with·the·OPTION·attribute.·Multiple |
22 | · | 28 | ·_.W_.i_.s_.h_.·_.l_.i_.s_.t·················options·can·be·listed·by·separating·their·name·with |
23 | · | 29 | ·_.B_.u_.g_.s······················a·space·(which·therefore·requires·they·be |
24 | 30 | ····························surrounded·by·quotes.) | |
25 | 31 | ····························htp·will·do·very·specific·checking·of·parameters | |
26 | 32 | ····························when·a·metatag·is·invoked.·htp·assumes·that·all | |
27 | 33 | ····························parameter·options·to·the·metatag·are·optional.·This | |
28 | 34 | ····························is·why·the·HEADERIMG·definition·uses·IF·to·verify | |
29 | 35 | ····························the·SIZE·option·is·defined·before·expanding·it·in | |
30 | ····························the·block.·If·a·parameter·is·required,·simply | 36 | ····························the·block.·If·a·parameter·is·required,·simply |
31 | ····························expand·it·without·first·checking.·When·htp·expands | 37 | ····························expand·it·without·first·checking.·When·htp·expands |
32 | ····························the·metatag·and·the·macro·is·not·defined,·it·will | 38 | ····························the·metatag·and·the·macro·is·not·defined,·it·will |
33 | ····························halt·processing·and·complain·with·an·error·message | 39 | ····························halt·processing·and·complain·with·an·error·message |
34 | ····························and·the·required·macro·name.·Normally·htp·will·not | 40 | ····························and·the·required·macro·name.·Normally·htp·will·not |
35 | ····························allow·parameters·not·listed·in·the·OPTION·attribute | 41 | ····························allow·parameters·not·listed·in·the·OPTION·attribute |
36 | ····························to·be·added·to·the·tag.·This·is·why·the·third | 42 | ····························to·be·added·to·the·tag.·This·is·why·the·third |
Offset 101, 14 lines modified | Offset 101, 15 lines modified | ||
101 | another·macro.··This·other·macro·may·no·longer·have·the·correct·value | 101 | another·macro.··This·other·macro·may·no·longer·have·the·correct·value |
102 | when·the·macro·is·expanded.··Here·is·some·code·that·demonstrate·when | 102 | when·the·macro·is·expanded.··Here·is·some·code·that·demonstrate·when |
103 | the·htp·tags·are·expanded:·</P> | 103 | the·htp·tags·are·expanded:·</P> |
104 | ··<p><code> | 104 | ··<p><code> |
105 | </code></p> | 105 | </code></p> |
106 | This·produces·the·following: | 106 | This·produces·the·following: |
107 | ··<p><code> | 107 | ··<p><code> |
108 | · ·<span·class="htp-tag"><EM></span>File·"<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>"·last·updated·<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">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">DATE</span>></span><span·class="htp-tag"></EM></span><br> | ||
108 | </code></p> | 109 | </code></p> |
109 | <P> | 110 | <P> |
110 | When·block·a·and·block·b·are·defined·in·lines·2-7·the·contents·of·a | 111 | When·block·a·and·block·b·are·defined·in·lines·2-7·the·contents·of·a |
111 | are·taken·literally,·however,·the·contents·for·b·are·already·expanded | 112 | are·taken·literally,·however,·the·contents·for·b·are·already·expanded |
112 | so·the·macro·<code>time</code>·is·evaluated.··So·a·is·expanded·when·it | 113 | so·the·macro·<code>time</code>·is·evaluated.··So·a·is·expanded·when·it |
113 | is·used,·while·the·contents·of·b·are·already·expanded. | 114 | is·used,·while·the·contents·of·b·are·already·expanded. |
114 | </P> | 115 | </P> |
Offset 25, 14 lines modified | Offset 25, 16 lines modified | ||
25 | ····························modifier·it·is·expanded·immediately.·This·is·useful | 25 | ····························modifier·it·is·expanded·immediately.·This·is·useful |
26 | ····························if·you·want·to·store·something·in·a·block·macro, | 26 | ····························if·you·want·to·store·something·in·a·block·macro, |
27 | ····························that·depends·on·the·current·value·of·another·macro. | 27 | ····························that·depends·on·the·current·value·of·another·macro. |
28 | ····························This·other·macro·may·no·longer·have·the·correct | 28 | ····························This·other·macro·may·no·longer·have·the·correct |
29 | ····························value·when·the·macro·is·expanded.·Here·is·some·code | 29 | ····························value·when·the·macro·is·expanded.·Here·is·some·code |
30 | ····························that·demonstrate·when·the·htp·tags·are·expanded: | 30 | ····························that·demonstrate·when·the·htp·tags·are·expanded: |
31 | ····························This·produces·the·following: | 31 | ····························This·produces·the·following: |
32 | ···························· · ·<EM>File·"<_\x8[_\x8[_\x8r_\x8e_\x8f_\x8]_\x8]_\x8F_\x8I_\x8L_\x8E·NAME>"·last·updated·<_\x8[ | ||
33 | ····························_\x8[_\x8r_\x8e_\x8f_\x8]_\x8]_\x8F_\x8I_\x8L_\x8E·TIME>,·<_\x8[_\x8[_\x8r_\x8e_\x8f_\x8]_\x8]_\x8F_\x8I_\x8L_\x8E·DATE></EM> | ||
32 | ····························When·block·a·and·block·b·are·defined·in·lines·2- | 34 | ····························When·block·a·and·block·b·are·defined·in·lines·2- |
33 | ····························7·the·contents·of·a·are·taken·literally,·however, | 35 | ····························7·the·contents·of·a·are·taken·literally,·however, |
34 | ····························the·contents·for·b·are·already·expanded·so·the | 36 | ····························the·contents·for·b·are·already·expanded·so·the |
35 | ····························macro·time·is·evaluated.·So·a·is·expanded·when·it | 37 | ····························macro·time·is·evaluated.·So·a·is·expanded·when·it |
36 | ····························is·used,·while·the·contents·of·b·are·already | 38 | ····························is·used,·while·the·contents·of·b·are·already |
37 | ····························expanded. | 39 | ····························expanded. |
38 | ····························In·line·10·and·12·the·_\x8[_\x8[_\x8r_\x8e_\x8f_\x8]_\x8]_\x8u_\x8s_\x8e·tag·is·used·with | 40 | ····························In·line·10·and·12·the·_\x8[_\x8[_\x8r_\x8e_\x8f_\x8]_\x8]_\x8u_\x8s_\x8e·tag·is·used·with |
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="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> | ||
122 | ·...<br> | ||
123 | <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> | ||
121 | </code></p> | 124 | </code></p> |
122 | <h2>synopsis</h2> | 125 | <h2>synopsis</h2> |
123 | <STRONG>FILE</STRONG>·has·several·optional·parameters·of·differing·purpose. | 126 | <STRONG>FILE</STRONG>·has·several·optional·parameters·of·differing·purpose. |
124 | The·output·file's·name,·the·current·date·and·time,·and·the·contents·of | 127 | The·output·file's·name,·the·current·date·and·time,·and·the·contents·of |
125 | another·file·may·be·included.··Another·file's·time,·date,·or·size·may·be | 128 | another·file·may·be·included.··Another·file's·time,·date,·or·size·may·be |
126 | added·to·the·output·file·as·well. | 129 | added·to·the·output·file·as·well. |
127 | <P> | 130 | <P> |
Offset 1, 36 lines modified | Offset 1, 39 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:·F\x8FI\x8IL\x8LE\x8E·*\x8**\x8**\x8**\x8**\x8**\x8* | 2 | *\x8**\x8**\x8**\x8**\x8**\x8*·h\x8ht\x8tp\x8p·o\x8on\x8n-\x8-l\x8li\x8in\x8ne\x8e·r\x8re\x8ef\x8fe\x8er\x8re\x8en\x8nc\x8ce\x8e·:\x8:·F\x8FI\x8IL\x8LE\x8E·*\x8**\x8**\x8**\x8**\x8**\x8* |
3 | _\x8T_\x8a_\x8b_\x8l_\x8e_\x8·_\x8o_\x8f_\x8·_\x8C_\x8o_\x8n_\x8t_\x8e_\x8n_\x8t_\x8s···········*\x8**\x8**\x8**\x8**\x8*·s\x8sy\x8yn\x8nt\x8ta\x8ax\x8x·*\x8**\x8**\x8**\x8**\x8* | 3 | _\x8T_\x8a_\x8b_\x8l_\x8e_\x8·_\x8o_\x8f_\x8·_\x8C_\x8o_\x8n_\x8t_\x8e_\x8n_\x8t_\x8s···········*\x8**\x8**\x8**\x8**\x8*·s\x8sy\x8yn\x8nt\x8ta\x8ax\x8x·*\x8**\x8**\x8**\x8**\x8* |
4 | ·_\x8I_\x8n_\x8t_\x8r_\x8o_\x8d_\x8u_\x8c_\x8t_\x8i_\x8o_\x8n··············<_\x8[_\x8[_\x8r_\x8e_\x8f_\x8]_\x8]_\x8i_\x8f·disabled_because_xyz> | ||
5 | ·_\x8L_\x8i_\x8c_\x8e_\x8n_\x8s_\x8e··················· ·... | ||
6 | ·_\x8T_\x8u_\x8t_\x8o_\x8r_\x8i_\x8a_\x8l··················<_\x8[_\x8[_\x8r_\x8e_\x8f_\x8]_\x8]_\x8/_\x8i_\x8f> | ||
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··················F\x8FI\x8IL\x8LE\x8E·has·several·optional·parameters·of·differing |
6 | · | 9 | · ···_.A_.L_.T_.T_.E_.X_.T···············purpose.·The·output·file's·name,·the·current·date |
7 | · | 10 | · ···_.B_.L_.O_.C_.K·················and·time,·and·the·contents·of·another·file·may·be |
8 | · | 11 | · ···_.B_.L_.O_.C_.K_.D_.E_.F··············included.·Another·file's·time,·date,·or·size·may·be |
9 | · ···_\x8 | 12 | · ···_\x8D_.E_.F···················added·to·the·output·file·as·well. |
10 | · | 13 | ·[>]·_.F_.I_.L_.E··················As·with·all·HTML,·these·tags·do·not·have·to·be·on |
11 | · ···_\x8 | 14 | · ···_\x8I_.F····················their·own·line,·so·the·following·is·perfectly |
12 | · ···_\x8 | 15 | · ···_\x8I_.N_.C···················acceptable: |
13 | · | 16 | · ···_.I_.M_.G···················*\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_\x8 | 17 | · ···_\x8I_\x8M_.A_.G_.E_.U_.R_.L··············To·include·information·about·another·file,·such·as |
15 | · ···_\x8 | 18 | · ···_\x8O_.P_.T···················an·archive·file·or·graphic·image,·specify·its·name |
16 | · ···_\x8 | 19 | · ···_\x8O_.U_.T_.P_.U_.T················with·the·NAME·attribute·followed·by·the·type·of |
17 | · ···_\x8 | 20 | · ···_\x8Q_.U_.O_.T_.E·················information·to·be·displayed: |
18 | · ···_\x8 | 21 | · ···_\x8S_.E_\x8T···················For·file·size·information,·the·value·BYTE,·KBYTE, |
19 | · ···_\x8 | 22 | · ···_\x8U_.N_.D_.E_.F·················etc.·dictates·how·the·information·is·displayed.·In |
20 | · ···_\x8 | 23 | · ···_\x8U_.N_.S_.E_.T·················anything·other·than·byte·format,·the·information·is |
21 | · ···_\x8S_.E_. | 24 | · ···_\x8U_.S_.E_.,_.·_.$················displayed·in·floating-point·notation.·The·amount·of |
22 | · ···_\x8 | 25 | · ···_\x8W_.H_.I_.L_.E·················precision·(the·number·of·digits·to·the·right·of·the |
23 | · ···_\x8 | 26 | · ···_\x8<_.!_.-_.-_.-·················decimal·point)·can·be·set·with·the·optional |
24 | · | 27 | ·_.H_.i_.s_.t_.o_.r_.y···················PRECISION·attribute.·The·default·precision·is·zero |
25 | · | 28 | ·_.W_.i_.s_.h_.·_.l_.i_.s_.t·················(0),·which·means·no·fractional·portion·is |
26 | · | 29 | ·_.B_.u_.g_.s······················displayed. |
27 | 30 | ····························At·the·request·of·many·people,·the·TIME·and·DATE | |
28 | 31 | ····························attributes·will·now·accept·formatting·characters | |
29 | 32 | ····························that·are·passed·directly·into·the·ANSI·C·library | |
30 | ····························function.·This·allows·for·the·time·and·date·to·be | 33 | ····························function.·This·allows·for·the·time·and·date·to·be |
31 | ····························displayed·in·virtually·any·format.·Users·not | 34 | ····························displayed·in·virtually·any·format.·Users·not |
32 | ····························wishing·to·mess·around·with·this·should·stick·to | 35 | ····························wishing·to·mess·around·with·this·should·stick·to |
33 | ····························the·default·format,·which·is·used·if·no·formatting | 36 | ····························the·default·format,·which·is·used·if·no·formatting |
34 | ····························value·is·specified·(i.e.,·just·using·05:04:11·PM). | 37 | ····························value·is·specified·(i.e.,·just·using·05:04:11·PM). |
35 | ····························Consult·any·C·programmer's·guide·discussing·the | 38 | ····························Consult·any·C·programmer's·guide·discussing·the |
36 | ····························standard·C·library·function·strftime()·for | 39 | ····························standard·C·library·function·strftime()·for |
Offset 114, 14 lines modified | Offset 114, 15 lines modified | ||
114 | ······<a·class="noline"·href="bugs.html">Bugs</a></td></tr> | 114 | ······<a·class="noline"·href="bugs.html">Bugs</a></td></tr> |
115 | ··</table> | 115 | ··</table> |
116 | ··</div> | 116 | ··</div> |
117 | </td> | 117 | </td> |
118 | <td·bgcolor="#f0f0d0"·rowspan="2"·valign="top"> | 118 | <td·bgcolor="#f0f0d0"·rowspan="2"·valign="top"> |
119 | <h2>syntax</h2> | 119 | <h2>syntax</h2> |
120 | ··<p><code> | 120 | ··<p><code> |
121 | · ·<span·class="htp-tag"><EM></span>File·"<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>"·last·updated·<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">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">DATE</span>></span><span·class="htp-tag"></EM></span><br> | ||
121 | </code></p> | 122 | </code></p> |
122 | <h2>synopsis</h2> | 123 | <h2>synopsis</h2> |
123 | <P>·<STRONG>img</STRONG>·is·a·standard·HTML·tag.··htp·can·add·the·specified | 124 | <P>·<STRONG>img</STRONG>·is·a·standard·HTML·tag.··htp·can·add·the·specified |
124 | image's·width·and·height·to·the·tag·automatically.··This·has·the·advantage | 125 | image's·width·and·height·to·the·tag·automatically.··This·has·the·advantage |
125 | of·not·having·to·determine·each·image's·size·manually,·which·is·especially | 126 | of·not·having·to·determine·each·image's·size·manually,·which·is·especially |
126 | useful·if·the·image·may·change·frequently.·</P> | 127 | useful·if·the·image·may·change·frequently.·</P> |
127 | <P>·htp·adds·this·information·with·the·WIDTH·and·HEIGHT·markup | 128 | <P>·htp·adds·this·information·with·the·WIDTH·and·HEIGHT·markup |
Offset 1, 43 lines modified | Offset 1, 45 lines modified | ||
1 | [HTP] | 1 | [HTP] |
2 | *\x8**\x8**\x8**\x8**\x8**\x8*·h\x8ht\x8tp\x8p·o\x8on\x8n-\x8-l\x8li\x8in\x8ne\x8e·r\x8re\x8ef\x8fe\x8er\x8re\x8en\x8nc\x8ce\x8e·:\x8:·I\x8IM\x8MG\x8G·*\x8**\x8**\x8**\x8**\x8**\x8* | 2 | *\x8**\x8**\x8**\x8**\x8**\x8*·h\x8ht\x8tp\x8p·o\x8on\x8n-\x8-l\x8li\x8in\x8ne\x8e·r\x8re\x8ef\x8fe\x8er\x8re\x8en\x8nc\x8ce\x8e·:\x8:·I\x8IM\x8MG\x8G·*\x8**\x8**\x8**\x8**\x8**\x8* |
3 | _\x8T_\x8a_\x8b_\x8l_\x8e_\x8·_\x8o_\x8f_\x8·_\x8C_\x8o_\x8n_\x8t_\x8e_\x8n_\x8t_\x8s···········*\x8**\x8**\x8**\x8**\x8*·s\x8sy\x8yn\x8nt\x8ta\x8ax\x8x·*\x8**\x8**\x8**\x8**\x8* | 3 | _\x8T_\x8a_\x8b_\x8l_\x8e_\x8·_\x8o_\x8f_\x8·_\x8C_\x8o_\x8n_\x8t_\x8e_\x8n_\x8t_\x8s···········*\x8**\x8**\x8**\x8**\x8*·s\x8sy\x8yn\x8nt\x8ta\x8ax\x8x·*\x8**\x8**\x8**\x8**\x8* |
4 | ·_\x8I_\x8n_\x8t_\x8r_\x8o_\x8d_\x8u_\x8c_\x8t_\x8i_\x8o_\x8n·············· · ·<EM>File·"<_\x8[_\x8[_\x8r_\x8e_\x8f_\x8]_\x8]_\x8F_\x8I_\x8L_\x8E·NAME>"·last·updated·<_\x8[ | ||
5 | ·_\x8L_\x8i_\x8c_\x8e_\x8n_\x8s_\x8e···················_\x8[_\x8r_\x8e_\x8f_\x8]_\x8]_\x8F_\x8I_\x8L_\x8E·TIME>,·<_\x8[_\x8[_\x8r_\x8e_\x8f_\x8]_\x8]_\x8F_\x8I_\x8L_\x8E·DATE></EM> | ||
4 | ·_\x8 | 6 | ·_\x8T_.u_.t_.o_.r_.i_.a_.l··················*\x8**\x8**\x8**\x8**\x8*·s\x8sy\x8yn\x8no\x8op\x8ps\x8si\x8is\x8s·*\x8**\x8**\x8**\x8**\x8* |
5 | ·_\x8 | 7 | ·_\x8U_.s_.a_.g_.e·····················i\x8im\x8mg\x8g·is·a·standard·HTML·tag.·htp·can·add·the |
6 | · | 8 | ·HTP·Tags··················specified·image's·width·and·height·to·the·tag |
7 | ·_. | 9 | · ···_.A_.L_.T_.T_.E_.X_.T···············automatically.·This·has·the·advantage·of·not·having |
8 | · | 10 | · ···_.B_.L_.O_.C_.K·················to·determine·each·image's·size·manually,·which·is |
9 | · ···_\x8 | 11 | · ···_\x8B_.L_.O_.C_.K_.D_.E_.F··············especially·useful·if·the·image·may·change |
10 | · ···_\x8 | 12 | · ···_\x8D_.E_.F···················frequently. |
11 | · ···_\x8 | 13 | · ···_\x8F_.I_.L_.E··················htp·adds·this·information·with·the·WIDTH·and·HEIGHT |
12 | · ···_\x8 | 14 | · ···_\x8I_.F····················markup·attributes.·If·htp·detects·these·attributes |
13 | · ···_\x8 | 15 | · ···_\x8I_.N_.C···················are·already·present·in·the·tag,·it·will·n\x8no\x8ot\x8t·modify |
14 | · | 16 | ·[>]·_.I_.M_.G···················the·values.·If·htp·cannot·find·the·image·file,·it |
15 | · ···_\x8I_\x8 | 17 | · ···_\x8I_\x8M_.A_.G_.E_.U_.R_.L··············will·issue·a·warning·but·not·halt·processing. |
16 | · | 18 | · ···_.O_.P_.T···················At·this·time,·GIF·(Graphic·Interchange·Format),·PNG |
17 | · ···_\x8 | 19 | · ···_\x8O_.U_.T_.P_.U_.T················(Portable·Network·Graphics),·and·JFIF·(JPEG·File |
18 | · ···_\x8 | 20 | · ···_\x8Q_.U_.O_.T_.E·················Interchange·Format)·are·supported. |
19 | · ···_\x8 | 21 | · ···_\x8S_.E_.T···················The·_\x8I_\x8M_\x8G_\x8X_\x8Y_\x8·_\x8a_\x8n_\x8d_\x8·_\x8N_\x8O_\x8I_\x8M_\x8G_\x8X_\x8Y·options·control·whether·or |
20 | · ···_\x8 | 22 | · ···_\x8U_.N_.D_.E_.F·················not·htp·actually·adds·this·information·as·it |
21 | · ···_\x8S_.E_.T | 23 | · ···_\x8U_.N_.S_.E_.T·················executes. |
22 | · ···_\x8U_\x8 | 24 | · ···_\x8U_\x8S_.E_.,_.·_.$················Since·htp·is·able·to·lookup·files·only·in·the·local |
23 | · ···_\x8 | 25 | · ···_\x8W_.H_.I_.L_.E·················filesystem,·the·_\x8I_\x8M_\x8A_\x8G_\x8E_\x8U_\x8R_\x8L·tag·may·be·used·to·map |
24 | · ···_\x8 | 26 | · ···_\x8<_.!_.-_.-_.-·················URLs·to·local·files. |
25 | · | 27 | ·_.H_.i_.s_.t_.o_.r_.y···················htp·can·also·add·default·ALT·text·to·IMG·tags·using |
26 | · | 28 | ·_.W_.i_.s_.h_.·_.l_.i_.s_.t·················_\x8A_\x8L_\x8T_\x8T_\x8E_\x8X_\x8T. |
27 | ·_\x8H_\x8i_\x8s_\x8t_\x8o_\x8r_\x8y | ||
28 | ·_\x8W_\x8i_\x8s_\x8h_\x8·_\x8l_\x8i_\x8s_\x8t | ||
29 | ·_\x8B_\x8u_\x8g_\x8s | 29 | ·_\x8B_\x8u_\x8g_\x8s |
Offset 114, 14 lines modified | Offset 114, 15 lines modified | ||
114 | ······<a·class="noline"·href="bugs.html">Bugs</a></td></tr> | 114 | ······<a·class="noline"·href="bugs.html">Bugs</a></td></tr> |
115 | ··</table> | 115 | ··</table> |
116 | ··</div> | 116 | ··</div> |
117 | </td> | 117 | </td> |
118 | <td·bgcolor="#f0f0d0"·rowspan="2"·valign="top"> | 118 | <td·bgcolor="#f0f0d0"·rowspan="2"·valign="top"> |
119 | <h2>syntax</h2> | 119 | <h2>syntax</h2> |
120 | ··<p><code> | 120 | ··<p><code> |
121 | · ·<span·class="htp-tag"><<a·href="if.html"·><img·src="pic/manual.png"·border=0·alt="[ref]"·width="10"·height="10">IF</a>·<span·class="htp-attrib">name</span>></span>...<span·class="htp-tag"><<a·href="if.html"·><img·src="pic/manual.png"·border=0·alt="[ref]"·width="10"·height="10">/IF</a>></span><br> | ||
121 | </code></p> | 122 | </code></p> |
122 | <h2>synopsis</h2> | 123 | <h2>synopsis</h2> |
123 | The·<STRONG>INC</STRONG>·can·be·used·for·incrementing/decrementing·a | 124 | The·<STRONG>INC</STRONG>·can·be·used·for·incrementing/decrementing·a |
124 | variable·or·for·variable·addition.··The·basic·form·is·shown·above. | 125 | variable·or·for·variable·addition.··The·basic·form·is·shown·above. |
125 | <P> | 126 | <P> |
126 | The·"increment"·is·anything·that·evaluates·to·a·integer.··It·can·be·a | 127 | The·"increment"·is·anything·that·evaluates·to·a·integer.··It·can·be·a |
127 | literal·string·or·a·macro·preceeded·by·the·'$'-operator.··The | 128 | literal·string·or·a·macro·preceeded·by·the·'$'-operator.··The |
Offset 1, 43 lines modified | Offset 1, 44 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]_\x8I_\x8F·name>...<_\x8[_\x8[_\x8r_\x8e_\x8f_\x8]_\x8]_\x8/_\x8I_\x8F> | ||
4 | ·_\x8 | 5 | ·_\x8L_.i_.c_.e_.n_.s_.e···················*\x8**\x8**\x8**\x8**\x8*·s\x8sy\x8yn\x8no\x8op\x8ps\x8si\x8is\x8s·*\x8**\x8**\x8**\x8**\x8* |
5 | ·_\x8 | 6 | ·_\x8T_.u_.t_.o_.r_.i_.a_.l··················The·I\x8IN\x8NC\x8C·can·be·used·for·incrementing/decrementing·a |
6 | ·_\x8 | 7 | ·_\x8U_.s_.a_.g_.e·····················variable·or·for·variable·addition.·The·basic·form |
7 | · | 8 | ·HTP·Tags··················is·shown·above. |
8 | · | 9 | · ···_.A_.L_.T_.T_.E_.X_.T···············The·"increment"·is·anything·that·evaluates·to·a |
9 | · ···_\x8 | 10 | · ···_\x8B_.L_.O_.C_.K·················integer.·It·can·be·a·literal·string·or·a·macro |
10 | · ···_\x8B_\x8L_\x8O_\x8C_\x8K | 11 | · ···_\x8B_\x8L_\x8O_\x8C_\x8K_.D_.E_.F··············preceeded·by·the·'$'-operator.·The·macroname·must |
11 | · ···_\x8 | 12 | · ···_\x8D_.E_.F···················be·the·name·of·a·defined·macro·that·contains·an |
12 | · ···_\x8 | 13 | · ···_\x8F_.I_.L_.E··················integer.·If·the·increment·is·ommitted·it·defaults |
13 | · ···_\x8 | 14 | · ···_\x8I_.F····················to·1.·The·effect·of·this·operation·is·that·the |
14 | · | 15 | ·[>]·_.I_.N_.C···················macro·is·redefined·to·contain·the·sum·of·its |
15 | · | 16 | · ···_.I_.M_.G···················previous·value·and·its·increment. |
16 | · ···_\x8I_\x8M_\x8G | 17 | · ···_\x8I_\x8M_\x8A_.G_.E_.U_.R_.L··············To·increment·or·decrement·a·variable·you·can·use |
17 | · ···_\x8 | 18 | · ···_\x8O_.P_.T···················this·form: |
18 | · ···_\x8O_\x8P_. | 19 | · ···_\x8O_\x8U_.T_.P_.U_.T················Note·that·INC·doesn't·check·if·the·strings·really |
19 | · ···_\x8 | 20 | · ···_\x8Q_.U_.O_.T_.E·················denote·integers.·It·may·give·weired·results·when |
20 | · ···_\x8 | 21 | · ···_\x8S_.E_.T···················used·on·arbitrary·strings.·The·integer·values·are |
21 | · ···_\x8 | 22 | · ···_\x8U_.N_.D_.E_.F·················limited·to·the·range·-2^31..2^31. |
22 | · ···_\x8U_\x8N_\x8 | 23 | · ···_\x8U_\x8N_\x8S_.E_.T·················Note·further·that·htp·wasn't·designed·to·do |
23 | · ···_\x8U_\x8 | 24 | · ···_\x8U_\x8S_.E_.,_.·_.$················extensive·calculations.·The·INC·tag·is·useful·in |
24 | · ···_\x8 | 25 | · ···_\x8W_.H_.I_.L_.E·················conjunction·with·WHILE·to·iterate·over·the·defined |
25 | · ···_\x8 | 26 | · ···_\x8<_.!_.-_.-_.-·················blocks. |
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 |
Offset 105, 31 lines modified | Offset 105, 43 lines modified | ||
105 | file</a>.··</p> | 105 | file</a>.··</p> |
106 | <P>·Often·you·want·to·define·tags·that·have·an·opening·and·a·closing | 106 | <P>·Often·you·want·to·define·tags·that·have·an·opening·and·a·closing |
107 | variant.··For·this·purpose·you·should·use·the·<a·href="blockdef.html"·><img·src="pic/manual.png"·border=0·alt="[ref]"·width="10"·height="10"><code>blockdef</code></a>·tag.··When·htp | 107 | variant.··For·this·purpose·you·should·use·the·<a·href="blockdef.html"·><img·src="pic/manual.png"·border=0·alt="[ref]"·width="10"·height="10"><code>blockdef</code></a>·tag.··When·htp |
108 | encounters·a·blockdef·tag·it·will·automatically·search·for·the | 108 | encounters·a·blockdef·tag·it·will·automatically·search·for·the |
109 | matching·closing·tag·and·put·everything·between·these·tags·in·a·block | 109 | matching·closing·tag·and·put·everything·between·these·tags·in·a·block |
110 | macro·named·<code>block</code>.··Here·is·an·example·for·this.··</P> | 110 | macro·named·<code>block</code>.··Here·is·an·example·for·this.··</P> |
111 | ··<p><code> | 111 | ··<p><code> |
112 | <font·size="-2"> 1.·</font> ·<span·class="htp-tag"><<a·href="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> | ||
113 | <font·size="-2"> 2.·</font> · ·...<br> | ||
114 | <font·size="-2"> 3.·</font> · ·<span·class="htp-tag"><<a·href="inc.html"·><img·src="pic/manual.png"·border=0·alt="[ref]"·width="10"·height="10">INC</a>·<span·class="htp-attrib">i</span>></span><br> | ||
115 | <font·size="-2"> 4.·</font> ·<span·class="htp-tag"><<a·href="while.html"·><img·src="pic/manual.png"·border=0·alt="[ref]"·width="10"·height="10">/WHILE</a>></span><br> | ||
112 | </code></p> | 116 | </code></p> |
113 | <h2>Using·parameters</h2> | 117 | <h2>Using·parameters</h2> |
114 | <p>·More·sophisticated·tags·accept·parameters.··The | 118 | <p>·More·sophisticated·tags·accept·parameters.··The |
115 | <code>option</code>·parameter·lets·multiple·metatag·parameters·be | 119 | <code>option</code>·parameter·lets·multiple·metatag·parameters·be |
116 | named·and·expanded·inside·the·<code>def</code>·or | 120 | named·and·expanded·inside·the·<code>def</code>·or |
117 | <code>blockdef</code>·block:·</p> | 121 | <code>blockdef</code>·block:·</p> |
118 | ··<p><code> | 122 | ··<p><code> |
123 | <font·size="-2"> 1.·</font><span·class="htp-tag"><a·<span·class="htp-attrib">href</span>=<span·class="htp-string">"mailto:<span·class="htp-macro">$email</span>"</span>></span>mailto·hyperlink<span·class="htp-tag"></a></span><br> | ||
124 | <font·size="-2"> 2.·</font><span·class="htp-tag"><a·<span·class="htp-attrib">href</span>=<span·class="htp-string">"http://<span·class="htp-macro">$domain</span>/~<span·class="htp-macro">${username}</span>/"</span>></span>another·hyperlink<span·class="htp-tag"></a></span><br> | ||
119 | </code></p> | 125 | </code></p> |
120 | <h2>Saving·blocks·for·later</h2> | 126 | <h2>Saving·blocks·for·later</h2> |
121 | <p>When·you·are·using·templates,·the·html·should·only·be·written·by | 127 | <p>When·you·are·using·templates,·the·html·should·only·be·written·by |
122 | the·template·file.··The·normal·htp·files·should·just·define·macros | 128 | the·template·file.··The·normal·htp·files·should·just·define·macros |
123 | that·are·used·later·in·the·template.··So·you·may·want·to·write·block | 129 | that·are·used·later·in·the·template.··So·you·may·want·to·write·block |
124 | tags·that·just·save·the·block·in·a·macro·for·later·use.··Although·this | 130 | tags·that·just·save·the·block·in·a·macro·for·later·use.··Although·this |
125 | is·possible·with·htp·it·is·quite·tricky,·so·here·we·present·the·way·to | 131 | is·possible·with·htp·it·is·quite·tricky,·so·here·we·present·the·way·to |
126 | do·this:</p> | 132 | do·this:</p> |
127 | ··<p><code> | 133 | ··<p><code> |
128 | <font·size="-2"> 1.·</font> · | 134 | <font·size="-2"> 1.·</font> ·<span·class="htp-tag"><<a·href="set.html"·><img·src="pic/manual.png"·border=0·alt="[ref]"·width="10"·height="10">set</a>·<span·class="htp-attrib">sect-ctr</span>=<span·class="htp-string">"0"</span>></span><br> |
135 | <font·size="-2"> 2.·</font> ·<span·class="htp-tag"><<a·href="blockdef.html"·><img·src="pic/manual.png"·border=0·alt="[ref]"·width="10"·height="10">blockdef</a>·<span·class="htp-attrib">name</span>=<span·class="htp-string">"section"</span>></span><br> | ||
136 | <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> | ||
137 | <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> | ||
138 | <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> | ||
139 | <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> | ||
140 | <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> | ||
129 | </code></p> | 141 | </code></p> |
130 | <p>·This·defines·a·block·macro·named·section.··This·macro·uses·a | 142 | <p>·This·defines·a·block·macro·named·section.··This·macro·uses·a |
131 | counter·<code>sect-ctr</code>·that·enumerates·the·sections.··It·is | 143 | counter·<code>sect-ctr</code>·that·enumerates·the·sections.··It·is |
132 | increased·for·every·section·(line·3)·and·then·the·block·macro·name·is | 144 | increased·for·every·section·(line·3)·and·then·the·block·macro·name·is |
133 | build·from·this·counter.··So·the·first·section·is·stored·in·block | 145 | build·from·this·counter.··So·the·first·section·is·stored·in·block |
134 | 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 | 146 | 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 |
135 | in·line·4·tells·htp·that·these·macros·should·be·defined·globally | 147 | in·line·4·tells·htp·that·these·macros·should·be·defined·globally |
Offset 148, 14 lines modified | Offset 160, 21 lines modified | ||
148 | contents·of·block·to·be·expanded·twice.··If·you·omit·it,·it·would·be | 160 | contents·of·block·to·be·expanded·twice.··If·you·omit·it,·it·would·be |
149 | expanded·when·defining·the·sect-1·macro·and·when·using·it·later·in·the | 161 | expanded·when·defining·the·sect-1·macro·and·when·using·it·later·in·the |
150 | template.··Generally·it·is·a·good·idea·to·use·noexpand·whenever·you | 162 | template.··Generally·it·is·a·good·idea·to·use·noexpand·whenever·you |
151 | use·expand·in·a·block·around·it.</p> | 163 | use·expand·in·a·block·around·it.</p> |
152 | <p>To·close·this·example·we·show·how·to·expand·the | 164 | <p>To·close·this·example·we·show·how·to·expand·the |
153 | <code>sect-${sect-ctr}</code>·blocks·in·the·template:</p> | 165 | <code>sect-${sect-ctr}</code>·blocks·in·the·template:</p> |
154 | ··<p><code> | 166 | ··<p><code> |
167 | <font·size="-2"> 1.·</font><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> | ||
168 | <font·size="-2"> 2.·</font> ·<span·class="htp-tag"><<a·href="set.html"·><img·src="pic/manual.png"·border=0·alt="[ref]"·width="10"·height="10">set</a>·<span·class="htp-attrib">sect-ctr</span>=<span·class="htp-string">"1"</span>></span><br> | ||
169 | <font·size="-2"> 3.·</font> ·<span·class="htp-tag"><<a·href="while.html"·><img·src="pic/manual.png"·border=0·alt="[ref]"·width="10"·height="10">while</a>·<span·class="htp-attrib">sect-<span·class="htp-macro">${sect-ctr}</span></span>></span><br> | ||
170 | <font·size="-2"> 4.·</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">sect-<span·class="htp-macro">${sect-ctr}</span></span>></span><br> | ||
171 | <font·size="-2"> 5.·</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> | ||
172 | <font·size="-2"> 6.·</font> ·<span·class="htp-tag"><<a·href="while.html"·><img·src="pic/manual.png"·border=0·alt="[ref]"·width="10"·height="10">/while</a>></span><br> | ||
173 | <font·size="-2"> 7.·</font><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> | ||
155 | </code></p> | 174 | </code></p> |
156 | <p> | 175 | <p> |
157 | The·<a·href="while.html"·><img·src="pic/manual.png"·border=0·alt="[ref]"·width="10"·height="10">while</a>·tag·in·line·3·checks·whether | 176 | The·<a·href="while.html"·><img·src="pic/manual.png"·border=0·alt="[ref]"·width="10"·height="10">while</a>·tag·in·line·3·checks·whether |
158 | the·macro·sect-${sect-ctr}·is·defined.··If·it·is·defined·the·body·is | 177 | the·macro·sect-${sect-ctr}·is·defined.··If·it·is·defined·the·body·is |
159 | evaluated,·which·expands·the·macro·and·increases·sect-ctr.··Afterwards | 178 | evaluated,·which·expands·the·macro·and·increases·sect-ctr.··Afterwards |
160 | the·while·condition·is·checked·again·to·check·for·sect-2·macro.··This | 179 | the·while·condition·is·checked·again·to·check·for·sect-2·macro.··This |
161 | repeats·until·sect-${sect-ctr}·is·not·defined. | 180 | repeats·until·sect-${sect-ctr}·is·not·defined. |
Offset 27, 29 lines modified | Offset 27, 42 lines modified | ||
27 | ····························Often·you·want·to·define·tags·that·have·an·opening | 27 | ····························Often·you·want·to·define·tags·that·have·an·opening |
28 | ····························and·a·closing·variant.·For·this·purpose·you·should | 28 | ····························and·a·closing·variant.·For·this·purpose·you·should |
29 | ····························use·the·_\x8[_\x8[_\x8r_\x8e_\x8f_\x8]_\x8]_\x8b_\x8l_\x8o_\x8c_\x8k_\x8d_\x8e_\x8f·tag.·When·htp·encounters·a | 29 | ····························use·the·_\x8[_\x8[_\x8r_\x8e_\x8f_\x8]_\x8]_\x8b_\x8l_\x8o_\x8c_\x8k_\x8d_\x8e_\x8f·tag.·When·htp·encounters·a |
30 | ····························blockdef·tag·it·will·automatically·search·for·the | 30 | ····························blockdef·tag·it·will·automatically·search·for·the |
31 | ····························matching·closing·tag·and·put·everything·between | 31 | ····························matching·closing·tag·and·put·everything·between |
32 | ····························these·tags·in·a·block·macro·named·block.·Here·is·an | 32 | ····························these·tags·in·a·block·macro·named·block.·Here·is·an |
33 | ····························example·for·this. | 33 | ····························example·for·this. |
34 | ···························· 1.· ·<_\x8[_\x8[_\x8r_\x8e_\x8f_\x8]_\x8]_\x8W_\x8H_\x8I_\x8L_\x8E·sect-$i> | ||
35 | ···························· 2.· · ·... | ||
36 | ···························· 3.· · ·<_\x8[_\x8[_\x8r_\x8e_\x8f_\x8]_\x8]_\x8I_\x8N_\x8C·i> | ||
37 | ···························· 4.· ·<_\x8[_\x8[_\x8r_\x8e_\x8f_\x8]_\x8]_\x8/_\x8W_\x8H_\x8I_\x8L_\x8E> | ||
34 | ····························*\x8**\x8**\x8**\x8**\x8*·U\x8Us\x8si\x8in\x8ng\x8g·p\x8pa\x8ar\x8ra\x8am\x8me\x8et\x8te\x8er\x8rs\x8s·*\x8**\x8**\x8**\x8**\x8* | 38 | ····························*\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* |
35 | ····························More·sophisticated·tags·accept·parameters.·The | 39 | ····························More·sophisticated·tags·accept·parameters.·The |
36 | ····························option·parameter·lets·multiple·metatag·parameters | 40 | ····························option·parameter·lets·multiple·metatag·parameters |
37 | ····························be·named·and·expanded·inside·the·def·or·blockdef | 41 | ····························be·named·and·expanded·inside·the·def·or·blockdef |
38 | ····························block: | 42 | ····························block: |
43 | ···························· 1.·<a·href="mailto:$email">mailto·hyperlink</a> | ||
44 | ···························· 2.·<a·href="http://$domain/~${username}/">another | ||
45 | ····························hyperlink</a> | ||
39 | ····························*\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* | 46 | ····························*\x8**\x8**\x8**\x8**\x8*·S\x8Sa\x8av\x8vi\x8in\x8ng\x8g·b\x8bl\x8lo\x8oc\x8ck\x8ks\x8s·f\x8fo\x8or\x8r·l\x8la\x8at\x8te\x8er\x8r·*\x8**\x8**\x8**\x8**\x8* |
40 | ····························When·you·are·using·templates,·the·html·should·only | 47 | ····························When·you·are·using·templates,·the·html·should·only |
41 | ····························be·written·by·the·template·file.·The·normal·htp | 48 | ····························be·written·by·the·template·file.·The·normal·htp |
42 | ····························files·should·just·define·macros·that·are·used·later | 49 | ····························files·should·just·define·macros·that·are·used·later |
43 | ····························in·the·template.·So·you·may·want·to·write·block | 50 | ····························in·the·template.·So·you·may·want·to·write·block |
44 | ····························tags·that·just·save·the·block·in·a·macro·for·later | 51 | ····························tags·that·just·save·the·block·in·a·macro·for·later |
45 | ····························use.·Although·this·is·possible·with·htp·it·is·quite | 52 | ····························use.·Although·this·is·possible·with·htp·it·is·quite |
46 | ····························tricky,·so·here·we·present·the·way·to·do·this: | 53 | ····························tricky,·so·here·we·present·the·way·to·do·this: |
54 | ···························· 1.· ·<_\x8[_\x8[_\x8r_\x8e_\x8f_\x8]_\x8]_\x8s_\x8e_\x8t·sect-ctr="0"> | ||
55 | ···························· 2.· ·<_\x8[_\x8[_\x8r_\x8e_\x8f_\x8]_\x8]_\x8b_\x8l_\x8o_\x8c_\x8k_\x8d_\x8e_\x8f·name="section"> | ||
47 | ···························· | 56 | ···························· 3.· · ·<_.[_.[_.r_.e_.f_.]_.]_.i_.n_.c·sect-ctr> |
57 | ···························· 4.· · ·<_\x8[_\x8[_\x8r_\x8e_\x8f_\x8]_\x8]_\x8b_\x8l_\x8o_\x8c_\x8k·name="sect-${sect-ctr}" | ||
48 | ···························· | 58 | ····························expand·global> |
59 | ···························· 5.· · · ·<_\x8[_\x8[_\x8r_\x8e_\x8f_\x8]_\x8]_\x8u_\x8s_\x8e·block·noexpand> | ||
60 | ···························· 6.· · ·<_\x8[_\x8[_\x8r_\x8e_\x8f_\x8]_\x8]_\x8/_\x8b_\x8l_\x8o_\x8c_\x8k> | ||
61 | ···························· 7.· ·<_\x8[_\x8[_\x8r_\x8e_\x8f_\x8]_\x8]_\x8/_\x8b_\x8l_\x8o_\x8c_\x8k_\x8d_\x8e_\x8f> | ||
49 | ····························This·defines·a·block·macro·named·section.·This | 62 | ····························This·defines·a·block·macro·named·section.·This |
50 | ····························macro·uses·a·counter·sect-ctr·that·enumerates·the | 63 | ····························macro·uses·a·counter·sect-ctr·that·enumerates·the |
51 | ····························sections.·It·is·increased·for·every·section·(line | 64 | ····························sections.·It·is·increased·for·every·section·(line |
52 | ····························3)·and·then·the·block·macro·name·is·build·from·this | 65 | ····························3)·and·then·the·block·macro·name·is·build·from·this |
53 | ····························counter.·So·the·first·section·is·stored·in·block | 66 | ····························counter.·So·the·first·section·is·stored·in·block |
54 | ····························sect-1,·the·second·in·sect-2·and·so·on.·The·_\x8[ | 67 | ····························sect-1,·the·second·in·sect-2·and·so·on.·The·_\x8[ |
55 | ····························_\x8[_\x8r_\x8e_\x8f_\x8]_\x8]_\x8g_\x8l_\x8o_\x8b_\x8a_\x8l·flag·in·line·4·tells·htp·that·these | 68 | ····························_\x8[_\x8r_\x8e_\x8f_\x8]_\x8]_\x8g_\x8l_\x8o_\x8b_\x8a_\x8l·flag·in·line·4·tells·htp·that·these |
Offset 72, 14 lines modified | Offset 85, 21 lines modified | ||
72 | ····························block·to·be·expanded·twice.·If·you·omit·it,·it | 85 | ····························block·to·be·expanded·twice.·If·you·omit·it,·it |
73 | ····························would·be·expanded·when·defining·the·sect-1·macro | 86 | ····························would·be·expanded·when·defining·the·sect-1·macro |
74 | ····························and·when·using·it·later·in·the·template.·Generally | 87 | ····························and·when·using·it·later·in·the·template.·Generally |
75 | ····························it·is·a·good·idea·to·use·noexpand·whenever·you·use | 88 | ····························it·is·a·good·idea·to·use·noexpand·whenever·you·use |
76 | ····························expand·in·a·block·around·it. | 89 | ····························expand·in·a·block·around·it. |
77 | ····························To·close·this·example·we·show·how·to·expand·the | 90 | ····························To·close·this·example·we·show·how·to·expand·the |
78 | ····························sect-${sect-ctr}·blocks·in·the·template: | 91 | ····························sect-${sect-ctr}·blocks·in·the·template: |
92 | ···························· 1.·<_\x8[_\x8[_\x8r_\x8e_\x8f_\x8]_\x8]_\x8f_\x8i_\x8l_\x8e·include="header.hti"> | ||
93 | ···························· 2.· ·<_\x8[_\x8[_\x8r_\x8e_\x8f_\x8]_\x8]_\x8s_\x8e_\x8t·sect-ctr="1"> | ||
94 | ···························· 3.· ·<_\x8[_\x8[_\x8r_\x8e_\x8f_\x8]_\x8]_\x8w_\x8h_\x8i_\x8l_\x8e·sect-${sect-ctr}> | ||
95 | ···························· 4.· · ·<_\x8[_\x8[_\x8r_\x8e_\x8f_\x8]_\x8]_\x8u_\x8s_\x8e·sect-${sect-ctr}> | ||
96 | ···························· 5.· · ·<_\x8[_\x8[_\x8r_\x8e_\x8f_\x8]_\x8]_\x8i_\x8n_\x8c·sect-ctr> | ||
97 | ···························· 6.· ·<_\x8[_\x8[_\x8r_\x8e_\x8f_\x8]_\x8]_\x8/_\x8w_\x8h_\x8i_\x8l_\x8e> | ||
98 | ···························· 7.·<_\x8[_\x8[_\x8r_\x8e_\x8f_\x8]_\x8]_\x8f_\x8i_\x8l_\x8e·include="footer.hti"> | ||
79 | ····························The·_\x8[_\x8[_\x8r_\x8e_\x8f_\x8]_\x8]_\x8w_\x8h_\x8i_\x8l_\x8e·tag·in·line·3·checks·whether·the | 99 | ····························The·_\x8[_\x8[_\x8r_\x8e_\x8f_\x8]_\x8]_\x8w_\x8h_\x8i_\x8l_\x8e·tag·in·line·3·checks·whether·the |
80 | ····························macro·sect-${sect-ctr}·is·defined.·If·it·is·defined | 100 | ····························macro·sect-${sect-ctr}·is·defined.·If·it·is·defined |
81 | ····························the·body·is·evaluated,·which·expands·the·macro·and | 101 | ····························the·body·is·evaluated,·which·expands·the·macro·and |
82 | ····························increases·sect-ctr.·Afterwards·the·while·condition | 102 | ····························increases·sect-ctr.·Afterwards·the·while·condition |
83 | ····························is·checked·again·to·check·for·sect-2·macro.·This | 103 | ····························is·checked·again·to·check·for·sect-2·macro.·This |
84 | ····························repeats·until·sect-${sect-ctr}·is·not·defined. | 104 | ····························repeats·until·sect-${sect-ctr}·is·not·defined. |
85 | ····························*\x8**\x8**\x8**\x8**\x8*·C\x8Co\x8on\x8nc\x8cl\x8lu\x8us\x8si\x8io\x8on\x8ns\x8s·*\x8**\x8**\x8**\x8**\x8* | 105 | ····························*\x8**\x8**\x8**\x8**\x8*·C\x8Co\x8on\x8nc\x8cl\x8lu\x8us\x8si\x8io\x8on\x8ns\x8s·*\x8**\x8**\x8**\x8**\x8* |
Offset 114, 14 lines modified | Offset 114, 16 lines modified | ||
114 | ······<a·class="noline"·href="bugs.html">Bugs</a></td></tr> | 114 | ······<a·class="noline"·href="bugs.html">Bugs</a></td></tr> |
115 | ··</table> | 115 | ··</table> |
116 | ··</div> | 116 | ··</div> |
117 | </td> | 117 | </td> |
118 | <td·bgcolor="#f0f0d0"·rowspan="2"·valign="top"> | 118 | <td·bgcolor="#f0f0d0"·rowspan="2"·valign="top"> |
119 | <h2>syntax</h2> | 119 | <h2>syntax</h2> |
120 | ··<p><code> | 120 | ··<p><code> |
121 | · ·<span·class="htp-tag"><<a·href="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">"include.hti"</span>·<span·class="htp-attrib">name</span>=<span·class="htp-string">"Jim·Nelson"</span>·<span·class="htp-attrib">email</span>=<span·class="htp-string">"jnelson@crl.com"</span>></span><br> | ||
122 | · ·This·tag·will·fail:·<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">name</span>></span><br> | ||
121 | </code></p> | 123 | </code></p> |
122 | <h2>synopsis</h2> | 124 | <h2>synopsis</h2> |
123 | <STRONG>QUOTE</STRONG>·is·used·to·quote·a·macro·that·would·otherwise | 125 | <STRONG>QUOTE</STRONG>·is·used·to·quote·a·macro·that·would·otherwise |
124 | be·interpreted·by·HTP.··It·may·be·useful·in·conjunction·with·a | 126 | be·interpreted·by·HTP.··It·may·be·useful·in·conjunction·with·a |
125 | surrounding·<a·href="expand.html">EXPAND</a>ed·block·to·prevent·early | 127 | surrounding·<a·href="expand.html">EXPAND</a>ed·block·to·prevent·early |
126 | expansion·of·some·contained·blocks.··Note·that·'$'·evaluation·is·still | 128 | expansion·of·some·contained·blocks.··Note·that·'$'·evaluation·is·still |
127 | done·inside·a·quote·block. | 129 | done·inside·a·quote·block. |
Offset 1, 20 lines modified | Offset 1, 20 lines modified | ||
1 | [HTP] | 1 | [HTP] |
2 | *\x8**\x8**\x8**\x8**\x8**\x8*·h\x8ht\x8tp\x8p·o\x8on\x8n-\x8-l\x8li\x8in\x8ne\x8e·r\x8re\x8ef\x8fe\x8er\x8re\x8en\x8nc\x8ce\x8e·:\x8:·Q\x8QU\x8UO\x8OT\x8TE\x8E·*\x8**\x8**\x8**\x8**\x8**\x8* | 2 | *\x8**\x8**\x8**\x8**\x8**\x8*·h\x8ht\x8tp\x8p·o\x8on\x8n-\x8-l\x8li\x8in\x8ne\x8e·r\x8re\x8ef\x8fe\x8er\x8re\x8en\x8nc\x8ce\x8e·:\x8:·Q\x8QU\x8UO\x8OT\x8TE\x8E·*\x8**\x8**\x8**\x8**\x8**\x8* |
3 | _\x8T_\x8a_\x8b_\x8l_\x8e_\x8·_\x8o_\x8f_\x8·_\x8C_\x8o_\x8n_\x8t_\x8e_\x8n_\x8t_\x8s···········*\x8**\x8**\x8**\x8**\x8*·s\x8sy\x8yn\x8nt\x8ta\x8ax\x8x·*\x8**\x8**\x8**\x8**\x8* | 3 | _\x8T_\x8a_\x8b_\x8l_\x8e_\x8·_\x8o_\x8f_\x8·_\x8C_\x8o_\x8n_\x8t_\x8e_\x8n_\x8t_\x8s···········*\x8**\x8**\x8**\x8**\x8*·s\x8sy\x8yn\x8nt\x8ta\x8ax\x8x·*\x8**\x8**\x8**\x8**\x8* |
4 | ·_\x8I_\x8n_\x8t_\x8r_\x8o_\x8d_\x8u_\x8c_\x8t_\x8i_\x8o_\x8n·············· · ·<_\x8[_\x8[_\x8r_\x8e_\x8f_\x8]_\x8]_\x8F_\x8I_\x8L_\x8E·INCLUDE="include.hti"·name="Jim | ||
5 | ·_\x8L_\x8i_\x8c_\x8e_\x8n_\x8s_\x8e···················Nelson"·email="jnelson@crl.com"> | ||
6 | ·_\x8T_\x8u_\x8t_\x8o_\x8r_\x8i_\x8a_\x8l·················· · ·This·tag·will·fail:·<_\x8[_\x8[_\x8r_\x8e_\x8f_\x8]_\x8]_\x8U_\x8S_\x8E·name> | ||
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··················Q\x8QU\x8UO\x8OT\x8TE\x8E·is·used·to·quote·a·macro·that·would·otherwise |
6 | · | 9 | · ···_.A_.L_.T_.T_.E_.X_.T···············be·interpreted·by·HTP.·It·may·be·useful·in |
7 | · | 10 | · ···_.B_.L_.O_.C_.K·················conjunction·with·a·surrounding·_\x8E_\x8X_\x8P_\x8A_\x8N_\x8Ded·block·to |
8 | · | 11 | · ···_.B_.L_.O_.C_.K_.D_.E_.F··············prevent·early·expansion·of·some·contained·blocks. |
9 | · ···_\x8 | 12 | · ···_\x8D_.E_.F···················Note·that·'$'·evaluation·is·still·done·inside·a |
10 | · ···_\x8 | 13 | · ···_\x8F_.I_.L_.E··················quote·block. |
11 | · ···_\x8B_\x8L_\x8O_\x8C_\x8K_\x8D_\x8E_\x8F | ||
12 | · ···_\x8D_\x8E_\x8F | ||
13 | · ···_\x8F_\x8I_\x8L_\x8E | ||
14 | · ···_\x8I_\x8F | 14 | · ···_\x8I_\x8F |
15 | · ···_\x8I_\x8N_\x8C | 15 | · ···_\x8I_\x8N_\x8C |
16 | · ···_\x8I_\x8M_\x8G | 16 | · ···_\x8I_\x8M_\x8G |
17 | · ···_\x8I_\x8M_\x8A_\x8G_\x8E_\x8U_\x8R_\x8L | 17 | · ···_\x8I_\x8M_\x8A_\x8G_\x8E_\x8U_\x8R_\x8L |
18 | · ···_\x8O_\x8P_\x8T | 18 | · ···_\x8O_\x8P_\x8T |
19 | · ···_\x8O_\x8U_\x8T_\x8P_\x8U_\x8T | 19 | · ···_\x8O_\x8U_\x8T_\x8P_\x8U_\x8T |
20 | ·[>]·_\x8Q_\x8U_\x8O_\x8T_\x8E | 20 | ·[>]·_\x8Q_\x8U_\x8O_\x8T_\x8E |
Offset 24, 14 lines modified | Offset 24, 17 lines modified | ||
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 |
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 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·Tue·Nov·05,·2024 |
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·Tue·Nov·05,·2024 |
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·Tue·Nov·05,·2024 |
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·Tue·Nov·05,·2024 |
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·Tue·Nov·05,·2024 |
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·Tue·Nov·05,·2024 |
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·Tue·Nov·05,·2024 |
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·Tue·Nov·05,·2024 |
Offset 124, 27 lines modified | Offset 124, 27 lines modified | ||
124 | The·macro·is·subsequently·not·available·for·use·in·the·pre-processed·files. | 124 | The·macro·is·subsequently·not·available·for·use·in·the·pre-processed·files. |
125 | (Note·that·simply·redefining·the·macro·with·another·<A·HREF="set.html">SET</A>·or | 125 | (Note·that·simply·redefining·the·macro·with·another·<A·HREF="set.html">SET</A>·or |
126 | <A·HREF="block.html">BLOCK</A>·definition·with·the·same·name·is·acceptable.··The | 126 | <A·HREF="block.html">BLOCK</A>·definition·with·the·same·name·is·acceptable.··The |
127 | old·macro·definition·will·be·removed·automatically.) | 127 | old·macro·definition·will·be·removed·automatically.) |
128 | <P> | 128 | <P> |
129 | For·example: | 129 | For·example: |
130 | ··<p><code> | 130 | ··<p><code> |
131 | ·<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> | ||
132 | ·<span·class="htp-tag"><<a·href=" | 131 | ·<span·class="htp-tag"><<a·href="while.html"·><img·src="pic/manual.png"·border=0·alt="[ref]"·width="10"·height="10">WHILE</a>·<span·class="htp-attrib">sect-<span·class="htp-macro">$i</span></span>></span><br> |
132 | · ·...<br> | ||
133 | · ·<span·class="htp-tag"><<a·href="inc.html"·><img·src="pic/manual.png"·border=0·alt="[ref]"·width="10"·height="10"> | 133 | · ·<span·class="htp-tag"><<a·href="inc.html"·><img·src="pic/manual.png"·border=0·alt="[ref]"·width="10"·height="10">INC</a>·<span·class="htp-attrib">i</span>></span><br> |
134 | · ·<span·class="htp-tag"><<a·href="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> | ||
135 | · · ·<span·class="htp-tag"><<a·href="use.html"·><img·src="pic/manual.png"·border=0·alt="[ref]"·width="10"·height="10">use</a>·<span·class="htp-attrib">block</span>·<span·class="htp-attrib">noexpand</span>></span><br> | ||
136 | · | 134 | ·<span·class="htp-tag"><<a·href="while.html"·><img·src="pic/manual.png"·border=0·alt="[ref]"·width="10"·height="10">/WHILE</a>></span><br> |
135 | mg·src="/home/sharedimages/${name}"·alt="${alt}">;<br> | ||
137 | ·<span·class="htp-tag"><<a·href=" | 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><br> |
138 | 137 | <br> | |
138 | ·<span·class="htp-tag"><sharedimg·<span·class="htp-attrib">name</span>=<span·class="htp-string">"bubble.gif"</span>·<span·class="htp-attrib">alt</span>=<span·class="htp-string">"Bubble·image"</span>></span><br> | ||
139 | </code></p> | 139 | </code></p> |
140 | <P> | 140 | <P> |
141 | More·than·one·macro·may·be·removed·in·the·same·tag: | 141 | More·than·one·macro·may·be·removed·in·the·same·tag: |
142 | ··<p><code> | 142 | ··<p><code> |
143 | · ·<span·class="htp-tag"><< | 143 | · ·<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> |
144 | </code></p> | 144 | </code></p> |
145 | <p> | 145 | <p> |
146 | </td> | 146 | </td> |
147 | </tr> | 147 | </tr> |
148 | <tr> | 148 | <tr> |
149 | <td·width="20%"·bgcolor="white"·valign="bottom"> | 149 | <td·width="20%"·bgcolor="white"·valign="bottom"> |
150 | ·<table·border="0"·cellspacing="0"·cellpadding="0"·width="100%"> | 150 | ·<table·border="0"·cellspacing="0"·cellpadding="0"·width="100%"> |
Offset 6, 39 lines modified | Offset 6, 38 lines modified | ||
6 | ·_\x8T_\x8u_\x8t_\x8o_\x8r_\x8i_\x8a_\x8l··················definition.·The·macro·is·subsequently·not·available | 6 | ·_\x8T_\x8u_\x8t_\x8o_\x8r_\x8i_\x8a_\x8l··················definition.·The·macro·is·subsequently·not·available |
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·················· ·<_\x8[_\x8[_\x8r_\x8e_\x8f_\x8]_\x8]_\x8 | 13 | · ···_\x8F_\x8I_\x8L_\x8E·················· ·<_\x8[_\x8[_\x8r_\x8e_\x8f_\x8]_\x8]_\x8W_.H_.I_.L_.E·sect-$i> |
14 | · ···_\x8I_\x8F···················· · | 14 | · ···_\x8I_\x8F···················· · ·... |
15 | · ···_\x8I_\x8N_\x8C··················· · ·<_\x8[_\x8[_\x8r_\x8e_\x8f_\x8]_\x8]_\x8 | 15 | · ···_\x8I_\x8N_\x8C··················· · ·<_\x8[_\x8[_\x8r_\x8e_\x8f_\x8]_\x8]_\x8I_.N_.C·i> |
16 | · ···_\x8I_\x8M_\x8G··················· · ·<_\x8[_\x8[_\x8r_\x8e_\x8f_\x8]_\x8]_\x8b_\x8l_\x8o_\x8c_\x8k·name="sect-${sect-ctr}"·expand | ||
17 | · ···_\x8I_\x8M_\x8A_\x8G_\x8E_\x8U_\x8R_\x8L··············global> | ||
18 | · ···_\x8 | 16 | · ···_\x8I_.M_.G··················· ·<_.[_.[_.r_.e_.f_.]_.]_./_.W_.H_.I_.L_.E> |
17 | · ···_\x8I_\x8M_\x8A_\x8G_\x8E_\x8U_\x8R_\x8L··············mg·src="/home/sharedimages/${name}"·alt="${alt}">; | ||
19 | · ···_\x8O_\x8 | 18 | · ···_\x8O_\x8P_.T··················· ·<_.[_.[_.r_.e_.f_.]_.]_./_.d_.e_.f> |
20 | · ···_\x8Q_\x8U_\x8O_\x8T_\x8E················· ·<_\x8[_\x8[_\x8r_\x8e_\x8f_\x8]_\x8]_\x8/_\x8b_\x8l_\x8o_\x8c_\x8k_\x8d_\x8e_\x8f> | ||
21 | · ···_\x8 | 19 | · ···_\x8O_.U_.T_.P_.U_.T |
20 | · ···_\x8Q_\x8U_\x8O_\x8T_\x8E················· ·<sharedimg·name="bubble.gif"·alt="Bubble·image"> | ||
22 | · ···_\x8 | 21 | · ···_\x8S_.E_.T···················More·than·one·macro·may·be·removed·in·the·same·tag: |
23 | · | 22 | · ···_.U_.N_.D_.E_.F················· · ·<${tagName}·${attrName}=${value$ctr}> |
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 |
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, 14 lines modified | Offset 114, 38 lines modified | ||
114 | ······<a·class="noline"·href="bugs.html">Bugs</a></td></tr> | 114 | ······<a·class="noline"·href="bugs.html">Bugs</a></td></tr> |
115 | ··</table> | 115 | ··</table> |
116 | ··</div> | 116 | ··</div> |
117 | </td> | 117 | </td> |
118 | <td·bgcolor="#f0f0d0"·rowspan="2"·valign="top"> | 118 | <td·bgcolor="#f0f0d0"·rowspan="2"·valign="top"> |
119 | <h2>syntax</h2> | 119 | <h2>syntax</h2> |
120 | ··<p><code> | 120 | ··<p><code> |
121 | ·<span·class="htp-tag"><<a·href="def.html"·><img·src="pic/manual.png"·border=0·alt="[ref]"·width="10"·height="10">DEF</a>·<span·class="htp-attrib">NAME</span>=<span·class="htp-string">"HEADERIMG"</span>·<span·class="htp-attrib">OPTION</span>=<span·class="htp-string">"SRC·TITLE·SIZE"</span>></span><br> | ||
122 | · ·<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> | ||
123 | · · · ·<span·class="htp-tag"><FONT·<span·class="htp-attrib">SIZE</span>=<span·class="htp-value"><span·class="htp-macro">${size}</span></span>></span><br> | ||
124 | · ·<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> | ||
125 | · ·<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> | ||
126 | · ·<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> | ||
127 | · ·<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> | ||
128 | · · · ·<span·class="htp-tag"></FONT></span><br> | ||
129 | · ·<span·class="htp-tag"><<a·href="if.html"·><img·src="pic/manual.png"·border=0·alt="[ref]"·width="10"·height="10">/IF</a>></span><br> | ||
130 | ·<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> | ||
131 | <br> | ||
132 | ·<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> | ||
133 | <br> | ||
134 | ·<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> | ||
135 | <br> | ||
136 | ·This·will·fail:<br> | ||
137 | ·<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> | ||
138 | <br> | ||
139 | ·Instead,·use·*·like·this:<br> | ||
140 | ·<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> | ||
141 | · ·<span·class="htp-tag"><<a·href="img.html"·><img·src="pic/manual.png"·border=0·alt="[ref]"·width="10"·height="10">IMG</a>·<span·class="htp-attrib">SRC</span>=<span·class="htp-string">"pics/<span·class="htp-macro">${src}</span>"</span>·<span·class="htp-attrib"><span·class="htp-macro">$*</span></span>></span><br> | ||
142 | ·<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> | ||
143 | · ·<br> | ||
144 | ·<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> | ||
121 | </code></p> | 145 | </code></p> |
122 | <h2>synopsis</h2> | 146 | <h2>synopsis</h2> |
123 | <strong>USE</strong>·will·expand·macros·that·have·been·previously | 147 | <strong>USE</strong>·will·expand·macros·that·have·been·previously |
124 | declared·with·either·<A·HREF="set.html">SET</A>·or·<A | 148 | declared·with·either·<A·HREF="set.html">SET</A>·or·<A |
125 | HREF="block.html">BLOCK</A>.··USE·can·only·be·used·outside·of·other | 149 | HREF="block.html">BLOCK</A>.··USE·can·only·be·used·outside·of·other |
126 | markup·tags. | 150 | markup·tags. |
127 | <p>·If·you·USE·a·block·macro·the·value·of·expanded·block·macros·will | 151 | <p>·If·you·USE·a·block·macro·the·value·of·expanded·block·macros·will |
Offset 150, 14 lines modified | Offset 174, 16 lines modified | ||
150 | Inside·a·markup·tag,·like·<a·href="img.html">IMG</a>,·A·(anchor),·or | 174 | Inside·a·markup·tag,·like·<a·href="img.html">IMG</a>,·A·(anchor),·or |
151 | any·other·standard·HTML·or·htp·tag,·the·'$'·operator·must·be·used. | 175 | any·other·standard·HTML·or·htp·tag,·the·'$'·operator·must·be·used. |
152 | The·'$'·should·be·immediately·followed·by·the·macro·name,·which·may·or | 176 | The·'$'·should·be·immediately·followed·by·the·macro·name,·which·may·or |
153 | may·not·be·surrounded·by·curly·braces.··When·htp·encounters·this·it | 177 | may·not·be·surrounded·by·curly·braces.··When·htp·encounters·this·it |
154 | replaces·the·macro·name·by·the·contents·of·the·macro·without·further | 178 | replaces·the·macro·name·by·the·contents·of·the·macro·without·further |
155 | processing·the·contents. | 179 | processing·the·contents. |
156 | ··<p><code> | 180 | ··<p><code> |
181 | <font·size="-2"> 1.·</font><span·class="htp-tag"><a·<span·class="htp-attrib">href</span>=<span·class="htp-string">"mailto:<span·class="htp-macro">$email</span>"</span>></span>mailto·hyperlink<span·class="htp-tag"></a></span><br> | ||
182 | <font·size="-2"> 2.·</font><span·class="htp-tag"><a·<span·class="htp-attrib">href</span>=<span·class="htp-string">"http://<span·class="htp-macro">$domain</span>/~<span·class="htp-macro">${username}</span>/"</span>></span>another·hyperlink<span·class="htp-tag"></a></span><br> | ||
157 | </code></p> | 183 | </code></p> |
158 | <P> | 184 | <P> |
159 | The·use·of·curly·braces·is·encouraged,·since·it·is·more·robust·and | 185 | The·use·of·curly·braces·is·encouraged,·since·it·is·more·robust·and |
160 | should·never·cause·confusion·with·surrounding·text.··If·no·curly | 186 | should·never·cause·confusion·with·surrounding·text.··If·no·curly |
161 | braces·are·used·the·macro·name·consists·either·of·a·single·punctuation | 187 | braces·are·used·the·macro·name·consists·either·of·a·single·punctuation |
162 | character·or·the·maximum·sequence·of·letters,·digits,·"-" | 188 | character·or·the·maximum·sequence·of·letters,·digits,·"-" |
163 | and·"_"·that·follows·it. | 189 | and·"_"·that·follows·it. |
Offset 171, 15 lines modified | Offset 197, 21 lines modified | ||
171 | delimiting·the·text·as·if·it·were·additional·markup·attributes. | 197 | delimiting·the·text·as·if·it·were·additional·markup·attributes. |
172 | If·the·'$'·macro·is·surrounded·by·other·text·(as·in·the·two·examples·above), | 198 | If·the·'$'·macro·is·surrounded·by·other·text·(as·in·the·two·examples·above), |
173 | quotation·marks·are·not·automatically·supplied. | 199 | quotation·marks·are·not·automatically·supplied. |
174 | <P> | 200 | <P> |
175 | Note·that·a·'$'·macro·can·be·placed·anywhere·in·a·markup·tag·and·can | 201 | Note·that·a·'$'·macro·can·be·placed·anywhere·in·a·markup·tag·and·can |
176 | be·nested.··This·is·valid: | 202 | be·nested.··This·is·valid: |
177 | ··<p><code> | 203 | ··<p><code> |
178 | · | 204 | ·<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> |
205 | ·<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> | ||
206 | · ·<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> | ||
207 | · ·<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> | ||
208 | · · ·<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> | ||
209 | · ·<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> | ||
210 | ·<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> | ||
179 | </code></p> | 211 | </code></p> |
180 | <P>·The·tagName·macro·can·contain·any·tag·name,·even·a·self-defined | 212 | <P>·The·tagName·macro·can·contain·any·tag·name,·even·a·self-defined |
181 | metatag.··Note·that·<code>$ctr</code>·is·expanded·before·the·valueX | 213 | metatag.··Note·that·<code>$ctr</code>·is·expanded·before·the·valueX |
182 | macro·is·expanded,·so·assuming·that·ctr·was·set·to·1·it·will·expand | 214 | macro·is·expanded,·so·assuming·that·ctr·was·set·to·1·it·will·expand |
183 | value1. | 215 | value1. |
184 | <p> | 216 | <p> |
185 | </td> | 217 | </td> |
Offset 1, 43 lines modified | Offset 1, 74 lines modified | ||
1 | [HTP] | 1 | [HTP] |
2 | *\x8**\x8**\x8**\x8**\x8**\x8*·h\x8ht\x8tp\x8p·o\x8on\x8n-\x8-l\x8li\x8in\x8ne\x8e·r\x8re\x8ef\x8fe\x8er\x8re\x8en\x8nc\x8ce\x8e·:\x8:·U\x8US\x8SE\x8E,\x8,·$\x8$·*\x8**\x8**\x8**\x8**\x8**\x8* | 2 | *\x8**\x8**\x8**\x8**\x8**\x8*·h\x8ht\x8tp\x8p·o\x8on\x8n-\x8-l\x8li\x8in\x8ne\x8e·r\x8re\x8ef\x8fe\x8er\x8re\x8en\x8nc\x8ce\x8e·:\x8:·U\x8US\x8SE\x8E,\x8,·$\x8$·*\x8**\x8**\x8**\x8**\x8**\x8* |
3 | _\x8T_\x8a_\x8b_\x8l_\x8e_\x8·_\x8o_\x8f_\x8·_\x8C_\x8o_\x8n_\x8t_\x8e_\x8n_\x8t_\x8s···········*\x8**\x8**\x8**\x8**\x8*·s\x8sy\x8yn\x8nt\x8ta\x8ax\x8x·*\x8**\x8**\x8**\x8**\x8* | 3 | _\x8T_\x8a_\x8b_\x8l_\x8e_\x8·_\x8o_\x8f_\x8·_\x8C_\x8o_\x8n_\x8t_\x8e_\x8n_\x8t_\x8s···········*\x8**\x8**\x8**\x8**\x8*·s\x8sy\x8yn\x8nt\x8ta\x8ax\x8x·*\x8**\x8**\x8**\x8**\x8* |
4 | ·_\x8I_\x8n_\x8t_\x8r_\x8o_\x8d_\x8u_\x8c_\x8t_\x8i_\x8o_\x8n·············· | 4 | ·_\x8I_\x8n_\x8t_\x8r_\x8o_\x8d_\x8u_\x8c_\x8t_\x8i_\x8o_\x8n·············· ·<_.[_.[_.r_.e_.f_.]_.]_.D_.E_.F·NAME="HEADERIMG"·OPTION="SRC·TITLE |
5 | ·_\x8L_\x8i_\x8c_\x8e_\x8n_\x8s_\x8e···················SIZE"> | ||
6 | ·_\x8T_\x8u_\x8t_\x8o_\x8r_\x8i_\x8a_\x8l·················· · ·<_\x8[_\x8[_\x8r_\x8e_\x8f_\x8]_\x8]_\x8I_\x8F·size> | ||
7 | ·_\x8U_\x8s_\x8a_\x8g_\x8e····················· · · · ·<FONT·SIZE=${size}> | ||
8 | ·HTP·Tags·················· · ·<_\x8[_\x8[_\x8r_\x8e_\x8f_\x8]_\x8]_\x8/_\x8I_\x8F> | ||
9 | · ···_\x8A_\x8L_\x8T_\x8T_\x8E_\x8X_\x8T··············· · ·<_\x8[_\x8[_\x8r_\x8e_\x8f_\x8]_\x8]_\x8I_\x8M_\x8G·SRC=pics/${src}> | ||
10 | · ···_\x8B_\x8L_\x8O_\x8C_\x8K················· · ·<_\x8[_\x8[_\x8r_\x8e_\x8f_\x8]_\x8]_\x8U_\x8S_\x8E·title> | ||
11 | · ···_\x8B_\x8L_\x8O_\x8C_\x8K_\x8D_\x8E_\x8F·············· · ·<_\x8[_\x8[_\x8r_\x8e_\x8f_\x8]_\x8]_\x8I_\x8F·size> | ||
12 | · ···_\x8D_\x8E_\x8F··················· · · · ·</FONT> | ||
13 | · ···_\x8F_\x8I_\x8L_\x8E·················· · ·<_\x8[_\x8[_\x8r_\x8e_\x8f_\x8]_\x8]_\x8/_\x8I_\x8F> | ||
14 | · ···_\x8I_\x8F···················· ·<_\x8[_\x8[_\x8r_\x8e_\x8f_\x8]_\x8]_\x8/_\x8D_\x8E_\x8F> | ||
15 | · ···_\x8I_\x8N_\x8C | ||
16 | · ···_\x8I_\x8M_\x8G··················· ·<HEADERIMG·SRC="logo.gif"·SIZE="+2"·TITLE="A | ||
17 | · ···_\x8I_\x8M_\x8A_\x8G_\x8E_\x8U_\x8R_\x8L··············title"> | ||
18 | · ···_\x8O_\x8P_\x8T | ||
19 | · ···_\x8O_\x8U_\x8T_\x8P_\x8U_\x8T················ ·<HEADERIMG·SRC="logo.gif"·TITLE="Normal·sized | ||
20 | · ···_\x8Q_\x8U_\x8O_\x8T_\x8E·················title"> | ||
21 | · ···_\x8S_\x8E_\x8T | ||
22 | · ···_\x8U_\x8N_\x8D_\x8E_\x8F················· ·This·will·fail: | ||
23 | · ···_\x8U_\x8N_\x8S_\x8E_\x8T················· ·<HEADERIMG·SRC="logo.gif"·ALT="Our·logo" | ||
24 | ·[>]·_\x8U_\x8S_\x8E_\x8,_\x8·_\x8$················TITLE="Another·title"> | ||
25 | · ···_\x8W_\x8H_\x8I_\x8L_\x8E | ||
26 | · ···_\x8<_\x8!_\x8-_\x8-_\x8-················· ·Instead,·use·*·like·this: | ||
27 | ·_\x8H_\x8i_\x8s_\x8t_\x8o_\x8r_\x8y··················· ·<_\x8[_\x8[_\x8r_\x8e_\x8f_\x8]_\x8]_\x8D_\x8E_\x8F·NAME="MYIMG"·OPTION="SRC·*"> | ||
28 | ·_\x8W_\x8i_\x8s_\x8h_\x8·_\x8l_\x8i_\x8s_\x8t················· · ·<_\x8[_\x8[_\x8r_\x8e_\x8f_\x8]_\x8]_\x8I_\x8M_\x8G·SRC="pics/${src}"·$*> | ||
29 | ·_\x8B_\x8u_\x8g_\x8s······················ ·<_\x8[_\x8[_\x8r_\x8e_\x8f_\x8]_\x8]_\x8/_\x8D_\x8E_\x8F> | ||
30 | ···························· · | ||
31 | ···························· ·<MYIMG·SRC="logo.gif"·ALT="Our·logo"> | ||
32 | ····························*\x8**\x8**\x8**\x8**\x8*·s\x8sy\x8yn\x8no\x8op\x8ps\x8si\x8is\x8s·*\x8**\x8**\x8**\x8**\x8* | ||
5 | 33 | ····························U\x8US\x8SE\x8E·will·expand·macros·that·have·been·previously | |
6 | 34 | ····························declared·with·either·_\x8S_\x8E_\x8T·or·_\x8B_\x8L_\x8O_\x8C_\x8K.·USE·can·only·be | |
7 | 35 | ····························used·outside·of·other·markup·tags. | |
8 | 36 | ····························If·you·USE·a·block·macro·the·value·of·expanded | |
9 | 37 | ····························block·macros·will·be·further·parsed·by·htp.·This·is | |
10 | 38 | ····························maybe·not·what·you·want,·for·example,·if·the·use·is | |
11 | 39 | ····························inside·a·block·which·_\x8e_\x8x_\x8p_\x8a_\x8n_\x8d_\x8s·itself.·You·can·use | |
12 | 40 | ····························the·noexpand·attribute·to·prevent·further | |
13 | 41 | ····························expansion. | |
14 | 42 | ····························USE·will·accept·additional·parameters,·which·are | |
15 | 43 | ····························"local"·macros·for·the·expanded·macro.·This·is·only | |
16 | 44 | ····························valid·for·_\x8B_\x8L_\x8O_\x8C_\x8K·macros.·Macros·created·using·_\x8S_\x8E_\x8T | |
17 | 45 | ····························cannot·have·parameters·passed.·For·example: | |
18 | 46 | ···························· 1.· · ·<_\x8[_\x8[_\x8r_\x8e_\x8f_\x8]_\x8]_\x8u_\x8n_\x8s_\x8e_\x8t·email_addr·home_url | |
19 | 47 | ····························login_name> | |
20 | 48 | ····························(See·below·for·a·description·of·the·'$'·operator.) | |
21 | 49 | ····························The·example·on·line·7·works·because·"stuff"·has | |
22 | 50 | ····························been·declared·as·a·block·macro,·and·the·tag·is | |
23 | 51 | ····························passing·the·"email"·macro·to·the·"stuff"·macro. | |
24 | 52 | ····························Line·8·fails·because·the·"email"·macro·is | |
25 | 53 | ····························unavailable·once·the·block·macro·is·completely | |
26 | 54 | ····························expanded,·and·cannot·be·passed·to·a·SET·macro. | |
27 | 55 | ····························Note·that·the·"email"·macro·is·available·to·other | |
28 | 56 | ····························macros·or·included·files·called·within·the·"stuff" | |
29 | 57 | ····························block. | |
30 | ····························Inside·a·markup·tag,·like·_\x8I_\x8M_\x8G,·A·(anchor),·or·any | 58 | ····························Inside·a·markup·tag,·like·_\x8I_\x8M_\x8G,·A·(anchor),·or·any |
31 | ····························other·standard·HTML·or·htp·tag,·the·'$'·operator | 59 | ····························other·standard·HTML·or·htp·tag,·the·'$'·operator |
32 | ····························must·be·used.·The·'$'·should·be·immediately | 60 | ····························must·be·used.·The·'$'·should·be·immediately |
33 | ····························followed·by·the·macro·name,·which·may·or·may·not·be | 61 | ····························followed·by·the·macro·name,·which·may·or·may·not·be |
34 | ····························surrounded·by·curly·braces.·When·htp·encounters | 62 | ····························surrounded·by·curly·braces.·When·htp·encounters |
35 | ····························this·it·replaces·the·macro·name·by·the·contents·of | 63 | ····························this·it·replaces·the·macro·name·by·the·contents·of |
36 | ····························the·macro·without·further·processing·the·contents. | 64 | ····························the·macro·without·further·processing·the·contents. |
65 | ···························· 1.·<a·href="mailto:$email">mailto·hyperlink</a> | ||
66 | ···························· 2.·<a·href="http://$domain/~${username}/">another | ||
67 | ····························hyperlink</a> | ||
37 | ····························The·use·of·curly·braces·is·encouraged,·since·it·is | 68 | ····························The·use·of·curly·braces·is·encouraged,·since·it·is |
38 | ····························more·robust·and·should·never·cause·confusion·with | 69 | ····························more·robust·and·should·never·cause·confusion·with |
39 | ····························surrounding·text.·If·no·curly·braces·are·used·the | 70 | ····························surrounding·text.·If·no·curly·braces·are·used·the |
40 | ····························macro·name·consists·either·of·a·single·punctuation | 71 | ····························macro·name·consists·either·of·a·single·punctuation |
41 | ····························character·or·the·maximum·sequence·of·letters, | 72 | ····························character·or·the·maximum·sequence·of·letters, |
42 | ····························digits,·"-"·and·"_"·that·follows·it. | 73 | ····························digits,·"-"·and·"_"·that·follows·it. |
43 | ····························If·a·'$'·character·needs·to·be·kept·in·the·final | 74 | ····························If·a·'$'·character·needs·to·be·kept·in·the·final |
Offset 49, 15 lines modified | Offset 80, 22 lines modified | ||
49 | ····························it·with·quotation·marks·to·prevent·spaces·from | 80 | ····························it·with·quotation·marks·to·prevent·spaces·from |
50 | ····························delimiting·the·text·as·if·it·were·additional·markup | 81 | ····························delimiting·the·text·as·if·it·were·additional·markup |
51 | ····························attributes.·If·the·'$'·macro·is·surrounded·by·other | 82 | ····························attributes.·If·the·'$'·macro·is·surrounded·by·other |
52 | ····························text·(as·in·the·two·examples·above),·quotation | 83 | ····························text·(as·in·the·two·examples·above),·quotation |
53 | ····························marks·are·not·automatically·supplied. | 84 | ····························marks·are·not·automatically·supplied. |
54 | ····························Note·that·a·'$'·macro·can·be·placed·anywhere·in·a | 85 | ····························Note·that·a·'$'·macro·can·be·placed·anywhere·in·a |
55 | ····························markup·tag·and·can·be·nested.·This·is·valid: | 86 | ····························markup·tag·and·can·be·nested.·This·is·valid: |
56 | ···························· · | 87 | ···························· ·<_.[_.[_.r_.e_.f_.]_.]_.s_.e_.t·sect-ctr="0"> |
88 | ···························· ·<_\x8[_\x8[_\x8r_\x8e_\x8f_\x8]_\x8]_\x8b_\x8l_\x8o_\x8c_\x8k_\x8d_\x8e_\x8f·name="section"> | ||
89 | ···························· · ·<_\x8[_\x8[_\x8r_\x8e_\x8f_\x8]_\x8]_\x8i_\x8n_\x8c·sect-ctr> | ||
90 | ···························· · ·<_\x8[_\x8[_\x8r_\x8e_\x8f_\x8]_\x8]_\x8b_\x8l_\x8o_\x8c_\x8k·name="sect-${sect-ctr}"·expand | ||
91 | ····························global> | ||
92 | ···························· · · ·<_\x8[_\x8[_\x8r_\x8e_\x8f_\x8]_\x8]_\x8u_\x8s_\x8e·block·noexpand> | ||
93 | ···························· · ·<_\x8[_\x8[_\x8r_\x8e_\x8f_\x8]_\x8]_\x8/_\x8b_\x8l_\x8o_\x8c_\x8k> | ||
94 | ···························· ·<_\x8[_\x8[_\x8r_\x8e_\x8f_\x8]_\x8]_\x8/_\x8b_\x8l_\x8o_\x8c_\x8k_\x8d_\x8e_\x8f> | ||
57 | ····························The·tagName·macro·can·contain·any·tag·name,·even·a | 95 | ····························The·tagName·macro·can·contain·any·tag·name,·even·a |
58 | ····························self-defined·metatag.·Note·that·$ctr·is·expanded | 96 | ····························self-defined·metatag.·Note·that·$ctr·is·expanded |
59 | ····························before·the·valueX·macro·is·expanded,·so·assuming | 97 | ····························before·the·valueX·macro·is·expanded,·so·assuming |
60 | ····························that·ctr·was·set·to·1·it·will·expand·value1. | 98 | ····························that·ctr·was·set·to·1·it·will·expand·value1. |
Offset 114, 32 lines modified | Offset 114, 64 lines modified | ||
114 | ······<a·class="noline"·href="bugs.html">Bugs</a></td></tr> | 114 | ······<a·class="noline"·href="bugs.html">Bugs</a></td></tr> |
115 | ··</table> | 115 | ··</table> |
116 | ··</div> | 116 | ··</div> |
117 | </td> | 117 | </td> |
118 | <td·bgcolor="#f0f0d0"·rowspan="2"·valign="top"> | 118 | <td·bgcolor="#f0f0d0"·rowspan="2"·valign="top"> |
119 | <h2>syntax</h2> | 119 | <h2>syntax</h2> |
120 | ··<p><code> | 120 | ··<p><code> |
121 | ·<span·class="htp-tag"><<a·href="def.html"·><img·src="pic/manual.png"·border=0·alt="[ref]"·width="10"·height="10">DEF</a>·<span·class="htp-attrib">NAME</span>=<span·class="htp-string">"HEADERIMG"</span>·<span·class="htp-attrib">OPTION</span>=<span·class="htp-string">"SRC·TITLE·SIZE"</span>></span><br> | ||
122 | · ·<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> | ||
123 | · · · ·<span·class="htp-tag"><FONT·<span·class="htp-attrib">SIZE</span>=<span·class="htp-value"><span·class="htp-macro">${size}</span></span>></span><br> | ||
124 | · ·<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> | ||
125 | · ·<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> | ||
121 | · ·<span·class="htp-tag"><<a·href="u | 126 | · ·<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> |
127 | · ·<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> | ||
128 | · · · ·<span·class="htp-tag"></FONT></span><br> | ||
129 | · ·<span·class="htp-tag"><<a·href="if.html"·><img·src="pic/manual.png"·border=0·alt="[ref]"·width="10"·height="10">/IF</a>></span><br> | ||
130 | ·<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> | ||
131 | <br> | ||
132 | ·<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> | ||
133 | <br> | ||
134 | ·<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> | ||
135 | <br> | ||
136 | ·This·will·fail:<br> | ||
137 | ·<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> | ||
138 | <br> | ||
139 | ·Instead,·use·*·like·this:<br> | ||
140 | ·<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> | ||
141 | · ·<span·class="htp-tag"><<a·href="img.html"·><img·src="pic/manual.png"·border=0·alt="[ref]"·width="10"·height="10">IMG</a>·<span·class="htp-attrib">SRC</span>=<span·class="htp-string">"pics/<span·class="htp-macro">${src}</span>"</span>·<span·class="htp-attrib"><span·class="htp-macro">$*</span></span>></span><br> | ||
142 | ·<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> | ||
143 | · ·<br> | ||
144 | ·<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> | ||
122 | </code></p> | 145 | </code></p> |
123 | <h2>synopsis</h2> | 146 | <h2>synopsis</h2> |
124 | <STRONG>WHILE</STRONG>·is·the·building·block·for·repeated·processing. | 147 | <STRONG>WHILE</STRONG>·is·the·building·block·for·repeated·processing. |
125 | The·basic·form·is·shown·above. | 148 | The·basic·form·is·shown·above. |
126 | <P> | 149 | <P> |
127 | "Conditional"·is·either·a·"compare"·or·"is·defined"·operation. | 150 | "Conditional"·is·either·a·"compare"·or·"is·defined"·operation. |
128 | A·compare·operator·is·a·test·of·the·value·of·a·macro·against·a·literal·string. | 151 | A·compare·operator·is·a·test·of·the·value·of·a·macro·against·a·literal·string. |
129 | If·the·NOT·tag·is·present·in·the·WHILE·markup,·the·evaluation·of·the | 152 | If·the·NOT·tag·is·present·in·the·WHILE·markup,·the·evaluation·of·the |
130 | conditional·is·reversed: | 153 | conditional·is·reversed: |
131 | ··<p><code> | 154 | ··<p><code> |
155 | <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">stuff</span>></span><br> | ||
156 | ·<span·class="htp-tag"><a·<span·class="htp-attrib">href</span>=<span·class="htp-value"><span·class="htp-macro">$email</span></span>></span>send·email<span·class="htp-tag"></a></span><br> | ||
157 | <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> | ||
158 | <br> | ||
159 | <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">morestuff</span>=<span·class="htp-value"><span·class="htp-macro">$email</span></span>></span><br> | ||
160 | <br> | ||
161 | This·works:· · ·<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">stuff</span>·<span·class="htp-attrib">email</span>=<span·class="htp-string">"jnelson@crl.com"</span>></span><br> | ||
132 | 162 | But·this·fails:·<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">email</span>></span><br> | |
163 | And·this·fails:·<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">morestuff</span>·<span·class="htp-attrib">email</span>=<span·class="htp-string">"jnelson@crl.com"</span>></span><br> | ||
133 | </code></p> | 164 | </code></p> |
134 | <P> | 165 | <P> |
135 | 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 | 166 | 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 |
136 | macro's·existance: | 167 | macro's·existance: |
137 | ··<p><code> | 168 | ··<p><code> |
138 | 169 | <span·class="htp-tag"><a·<span·class="htp-attrib">href</span>=<span·class="htp-string">"mailto:<span·class="htp-macro">$email</span>"</span>></span>mailto·hyperlink<span·class="htp-tag"></a></span><br> | |
170 | <span·class="htp-tag"><a·<span·class="htp-attrib">href</span>=<span·class="htp-string">"http://<span·class="htp-macro">$domain</span>/~<span·class="htp-macro">${username}</span>/"</span>></span>another·hyperlink<span·class="htp-tag"></a></span><br> | ||
139 | </code></p> | 171 | </code></p> |
140 | <P> | 172 | <P> |
141 | If·the·condition·is·true,·the·block·is·evaluated·and·afterwards·the | 173 | If·the·condition·is·true,·the·block·is·evaluated·and·afterwards·the |
142 | WHILE·tag·is·evaluated·again.··If·the·'$'-operator·is·used·in·the | 174 | WHILE·tag·is·evaluated·again.··If·the·'$'-operator·is·used·in·the |
143 | WHILE·tag·it·is·also·reevaluated·on·each·iteration. | 175 | WHILE·tag·it·is·also·reevaluated·on·each·iteration. |
144 | <P> | 176 | <P> |
145 | A·loop·block·<EM>must</EM>·be·closed·with·the·/WHILE·tag. | 177 | A·loop·block·<EM>must</EM>·be·closed·with·the·/WHILE·tag. |
Offset 1, 36 lines modified | Offset 1, 75 lines modified | ||
1 | [HTP] | 1 | [HTP] |
2 | *\x8**\x8**\x8**\x8**\x8**\x8*·h\x8ht\x8tp\x8p·o\x8on\x8n-\x8-l\x8li\x8in\x8ne\x8e·r\x8re\x8ef\x8fe\x8er\x8re\x8en\x8nc\x8ce\x8e·:\x8:·W\x8WH\x8HI\x8IL\x8LE\x8E·*\x8**\x8**\x8**\x8**\x8**\x8* | 2 | *\x8**\x8**\x8**\x8**\x8**\x8*·h\x8ht\x8tp\x8p·o\x8on\x8n-\x8-l\x8li\x8in\x8ne\x8e·r\x8re\x8ef\x8fe\x8er\x8re\x8en\x8nc\x8ce\x8e·:\x8:·W\x8WH\x8HI\x8IL\x8LE\x8E·*\x8**\x8**\x8**\x8**\x8**\x8* |
3 | _\x8T_\x8a_\x8b_\x8l_\x8e_\x8·_\x8o_\x8f_\x8·_\x8C_\x8o_\x8n_\x8t_\x8e_\x8n_\x8t_\x8s···········*\x8**\x8**\x8**\x8**\x8*·s\x8sy\x8yn\x8nt\x8ta\x8ax\x8x·*\x8**\x8**\x8**\x8**\x8* | 3 | _\x8T_\x8a_\x8b_\x8l_\x8e_\x8·_\x8o_\x8f_\x8·_\x8C_\x8o_\x8n_\x8t_\x8e_\x8n_\x8t_\x8s···········*\x8**\x8**\x8**\x8**\x8*·s\x8sy\x8yn\x8nt\x8ta\x8ax\x8x·*\x8**\x8**\x8**\x8**\x8* |
4 | ·_\x8I_\x8n_\x8t_\x8r_\x8o_\x8d_\x8u_\x8c_\x8t_\x8i_\x8o_\x8n·············· · ·<_\x8[_\x8[_\x8r_\x8e_\x8f_\x8]_\x8]_\x8u_\x8n_\x8s_\x8e_\x8t·email_addr> | ||
5 | ·_\x8L_\x8i_\x8c_\x8e_\x8n_\x8s_\x8e···················*\x8**\x8**\x8**\x8**\x8*·s\x8sy\x8yn\x8no\x8op\x8ps\x8si\x8is\x8s·*\x8**\x8**\x8**\x8**\x8* | ||
6 | ·_\x8T_\x8u_\x8t_\x8o_\x8r_\x8i_\x8a_\x8l··················W\x8WH\x8HI\x8IL\x8LE\x8E·is·the·building·block·for·repeated | ||
7 | ·_\x8U_\x8s_\x8a_\x8g_\x8e·····················processing.·The·basic·form·is·shown·above. | ||
8 | ·HTP·Tags··················"Conditional"·is·either·a·"compare"·or·"is·defined" | ||
9 | · ···_\x8A_\x8L_\x8T_\x8T_\x8E_\x8X_\x8T···············operation.·A·compare·operator·is·a·test·of·the | ||
10 | · ···_\x8B_\x8L_\x8O_\x8C_\x8K·················value·of·a·macro·against·a·literal·string.·If·the | ||
11 | · ···_\x8B_\x8L_\x8O_\x8C_\x8K_\x8D_\x8E_\x8F··············NOT·tag·is·present·in·the·WHILE·markup,·the | ||
12 | · | 4 | ·_.I_.n_.t_.r_.o_.d_.u_.c_.t_.i_.o_.n·············· ·<_.[_.[_.r_.e_.f_.]_.]_.D_.E_.F·NAME="HEADERIMG"·OPTION="SRC·TITLE |
5 | ·_\x8L_\x8i_\x8c_\x8e_\x8n_\x8s_\x8e···················SIZE"> | ||
6 | ·_\x8T_\x8u_\x8t_\x8o_\x8r_\x8i_\x8a_\x8l·················· · ·<_\x8[_\x8[_\x8r_\x8e_\x8f_\x8]_\x8]_\x8I_\x8F·size> | ||
7 | ·_\x8U_\x8s_\x8a_\x8g_\x8e····················· · · · ·<FONT·SIZE=${size}> | ||
8 | ·HTP·Tags·················· · ·<_\x8[_\x8[_\x8r_\x8e_\x8f_\x8]_\x8]_\x8/_\x8I_\x8F> | ||
9 | · ···_\x8A_\x8L_\x8T_\x8T_\x8E_\x8X_\x8T··············· · ·<_\x8[_\x8[_\x8r_\x8e_\x8f_\x8]_\x8]_\x8I_\x8M_\x8G·SRC=pics/${src}> | ||
10 | · ···_\x8B_\x8L_\x8O_\x8C_\x8K················· · ·<_\x8[_\x8[_\x8r_\x8e_\x8f_\x8]_\x8]_\x8U_\x8S_\x8E·title> | ||
11 | · ···_\x8B_\x8L_\x8O_\x8C_\x8K_\x8D_\x8E_\x8F·············· · ·<_\x8[_\x8[_\x8r_\x8e_\x8f_\x8]_\x8]_\x8I_\x8F·size> | ||
12 | · ···_\x8D_\x8E_\x8F··················· · · · ·</FONT> | ||
13 | · ···_\x8F_\x8I_\x8L_\x8E·················· · ·<_\x8[_\x8[_\x8r_\x8e_\x8f_\x8]_\x8]_\x8 | 13 | · ···_\x8F_\x8I_\x8L_\x8E·················· · ·<_\x8[_\x8[_\x8r_\x8e_\x8f_\x8]_\x8]_\x8/_.I_.F> |
14 | · ···_\x8I_\x8F···················· ·<_\x8[_\x8[_\x8r_\x8e_\x8f_\x8]_\x8]_\x8/_\x8D_\x8E_\x8F> | ||
15 | · ···_\x8I_\x8N_\x8C | ||
16 | · ···_\x8I_\x8M_\x8G··················· ·<HEADERIMG·SRC="logo.gif"·SIZE="+2"·TITLE="A | ||
17 | · ···_\x8I_\x8M_\x8A_\x8G_\x8E_\x8U_\x8R_\x8L··············title"> | ||
18 | · ···_\x8O_\x8P_\x8T | ||
19 | · ···_\x8O_\x8U_\x8T_\x8P_\x8U_\x8T················ ·<HEADERIMG·SRC="logo.gif"·TITLE="Normal·sized | ||
20 | · ···_\x8Q_\x8U_\x8O_\x8T_\x8E·················title"> | ||
14 | · ···_\x8I_\x8F····················Just·as·with·_\x8[_\x8[_\x8r_\x8e_\x8f_\x8]_\x8]_\x8I_\x8F·you·can·also·check·for·a | ||
15 | · ···_\x8I_\x8N_\x8C···················macro's·existance: | ||
16 | · ···_\x8I_\x8M_\x8G··················· · ·<${tagName}·${attrName}=${value$ctr}> | ||
17 | · ···_\x8I_\x8M_\x8A_\x8G_\x8E_\x8U_\x8R_\x8L··············If·the·condition·is·true,·the·block·is·evaluated | ||
18 | · ···_\x8O_\x8P_\x8T···················and·afterwards·the·WHILE·tag·is·evaluated·again.·If | ||
19 | · ···_\x8O_\x8U_\x8T_\x8P_\x8U_\x8T················the·'$'-operator·is·used·in·the·WHILE·tag·it·is | ||
20 | · ···_\x8Q_\x8U_\x8O_\x8T_\x8E·················also·reevaluated·on·each·iteration. | ||
21 | · ···_\x8S_\x8E_\x8T···················A·loop·block·m\x8mu\x8us\x8st\x8t·be·closed·with·the·/WHILE·tag. | ||
22 | · ···_\x8U_\x8N_\x8D_\x8E_\x8F | ||
23 | · ···_\x8 | 21 | · ···_\x8S_\x8E_\x8T |
24 | · ···_\x8U_\x8 | 22 | · ···_\x8U_\x8N_.D_.E_.F················· ·This·will·fail: |
23 | · ···_\x8U_\x8N_\x8S_\x8E_\x8T················· ·<HEADERIMG·SRC="logo.gif"·ALT="Our·logo" | ||
24 | · ···_\x8U_\x8S_\x8E_\x8,_\x8·_\x8$················TITLE="Another·title"> | ||
25 | ·[>]·_\x8W_\x8H_\x8I_\x8L_\x8E | 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 | ·_. | 26 | · ···_.<_.!_.-_.-_.-················· ·Instead,·use·*·like·this: |
27 | ·_\x8H_\x8i_\x8s_\x8t_\x8o_\x8r_\x8y··················· ·<_\x8[_\x8[_\x8r_\x8e_\x8f_\x8]_\x8]_\x8D_\x8E_\x8F·NAME="MYIMG"·OPTION="SRC·*"> | ||
28 | ·_\x8W_\x8i_\x8s_\x8h_\x8·_\x8l_\x8i_\x8s_\x8t················· · ·<_\x8[_\x8[_\x8r_\x8e_\x8f_\x8]_\x8]_\x8I_\x8M_\x8G·SRC="pics/${src}"·$*> | ||
29 | ·_\x8B_\x8u_\x8g_\x8s······················ ·<_\x8[_\x8[_\x8r_\x8e_\x8f_\x8]_\x8]_\x8/_\x8D_\x8E_\x8F> | ||
30 | ···························· · | ||
31 | ···························· ·<MYIMG·SRC="logo.gif"·ALT="Our·logo"> | ||
32 | ····························*\x8**\x8**\x8**\x8**\x8*·s\x8sy\x8yn\x8no\x8op\x8ps\x8si\x8is\x8s·*\x8**\x8**\x8**\x8**\x8* | ||
33 | ····························W\x8WH\x8HI\x8IL\x8LE\x8E·is·the·building·block·for·repeated | ||
34 | ····························processing.·The·basic·form·is·shown·above. | ||
35 | ····························"Conditional"·is·either·a·"compare"·or·"is·defined" | ||
36 | ····························operation.·A·compare·operator·is·a·test·of·the | ||
37 | ····························value·of·a·macro·against·a·literal·string.·If·the | ||
38 | ····························NOT·tag·is·present·in·the·WHILE·markup,·the | ||
39 | ····························evaluation·of·the·conditional·is·reversed: | ||
40 | ····························<_\x8[_\x8[_\x8r_\x8e_\x8f_\x8]_\x8]_\x8b_\x8l_\x8o_\x8c_\x8k·stuff> | ||
41 | ···························· ·<a·href=$email>send·email</a> | ||
42 | ····························<_\x8[_\x8[_\x8r_\x8e_\x8f_\x8]_\x8]_\x8/_\x8b_\x8l_\x8o_\x8c_\x8k> | ||
43 | ····························<_\x8[_\x8[_\x8r_\x8e_\x8f_\x8]_\x8]_\x8s_\x8e_\x8t·morestuff=$email> | ||
44 | ····························This·works:· · ·<_\x8[_\x8[_\x8r_\x8e_\x8f_\x8]_\x8]_\x8u_\x8s_\x8e·stuff | ||
45 | ····························email="jnelson@crl.com"> | ||
46 | ····························But·this·fails:·<_\x8[_\x8[_\x8r_\x8e_\x8f_\x8]_\x8]_\x8u_\x8s_\x8e·email> | ||
47 | ····························And·this·fails:·<_\x8[_\x8[_\x8r_\x8e_\x8f_\x8]_\x8]_\x8u_\x8s_\x8e·morestuff | ||
48 | ····························email="jnelson@crl.com"> | ||
49 | ····························Just·as·with·_\x8[_\x8[_\x8r_\x8e_\x8f_\x8]_\x8]_\x8I_\x8F·you·can·also·check·for·a | ||
50 | ····························macro's·existance: | ||
51 | ····························<a·href="mailto:$email">mailto·hyperlink</a> | ||
52 | ····························<a·href="http://$domain/~${username}/">another | ||
53 | ····························hyperlink</a> | ||
54 | ····························If·the·condition·is·true,·the·block·is·evaluated | ||
55 | ····························and·afterwards·the·WHILE·tag·is·evaluated·again.·If | ||
56 | ····························the·'$'-operator·is·used·in·the·WHILE·tag·it·is | ||
57 | ····························also·reevaluated·on·each·iteration. | ||
58 | ····························A·loop·block·m\x8mu\x8us\x8st\x8t·be·closed·with·the·/WHILE·tag. | ||