diff options
author | root <root@rbsd.ankarstrom.se> | 2021-04-25 00:00:45 +0000 |
---|---|---|
committer | root <root@rbsd.ankarstrom.se> | 2021-04-25 00:00:45 +0000 |
commit | f17c54a6e8c837c7de221e717830c1e9df9ce74f (patch) | |
tree | 2c553bf8667b4d5f032b3c32c8ad15e31cfd827d | |
parent | 0b3e1490d5b92eee33c524f41570d9502ba719e9 (diff) | |
download | Apache-Inject-f17c54a6e8c837c7de221e717830c1e9df9ce74f.tar.gz |
Clarify documentation
-rw-r--r-- | README | 4 | ||||
-rw-r--r-- | lib/Apache/Inject.pm | 4 | ||||
-rwxr-xr-x | t/SMOKE | 2 | ||||
-rw-r--r-- | t/basic.t | 2 |
4 files changed, 6 insertions, 6 deletions
@@ -31,8 +31,8 @@ DESCRIPTION server-side includes. It is designed for injecting headers and footers that belong in the <body> element, such as headings, menu bars and copyright notices. While you can technically include <head> elements in - your header file, they will be placed in the body of the HTML page and - not in the head. + your header file, Apache::Inject will place them in the body of the HTML + page and not in the head. The main benefit over server-side includes is that the header and footer is specified in the server configuration instead of the HTML files diff --git a/lib/Apache/Inject.pm b/lib/Apache/Inject.pm index 38aae8e..8de0249 100644 --- a/lib/Apache/Inject.pm +++ b/lib/Apache/Inject.pm @@ -82,8 +82,8 @@ The Inject directive serves a much more specific purpose than server-side includes. It is designed for injecting headers and footers that belong in the E<lt>bodyE<gt> element, such as headings, menu bars and copyright notices. While you can technically include -E<lt>headE<gt> elements in your header file, they will be placed -in the body of the HTML page and not in the head. +E<lt>headE<gt> elements in your header file, Apache::Inject will +place them in the body of the HTML page and not in the head. The main benefit over server-side includes is that the header and footer is specified in the server configuration instead of the HTML @@ -1,6 +1,6 @@ #!/usr/local/bin/perl # WARNING: this file is generated, do not edit -# generated on Sat Apr 24 21:00:04 2021 +# generated on Sun Apr 25 00:00:31 2021 # 01: /usr/local/lib/perl5/site_perl/mach/5.32/Apache/TestConfig.pm:1003 # 02: /usr/local/lib/perl5/site_perl/mach/5.32/Apache/TestConfig.pm:1095 # 03: /usr/local/lib/perl5/site_perl/mach/5.32/Apache/TestSmoke.pm:775 @@ -5,7 +5,7 @@ use Apache::Test; use Apache::TestUtil; use Apache::TestRequest qw/GET_BODY/; -plan tests => 7; +BEGIN { plan tests => 7; } my $head; # expected page header my $foot; # expected page footer |