]> git.ipfire.org Git - thirdparty/squid.git/commit
CSS control over translated error pages
authorAmos Jeffries <squid3@treenet.co.nz>
Mon, 29 Sep 2008 04:53:52 +0000 (16:53 +1200)
committerAmos Jeffries <squid3@treenet.co.nz>
Mon, 29 Sep 2008 04:53:52 +0000 (16:53 +1200)
commitb050cccfa5b84603d1e56b7af745f09422c35a98
tree156ba2718089d7803471063b2c0998214cdb1a20
parent90742785cbdff1e796c950a28dc3a7f9c42215c5
parent46a42a09e2766cb80acb7105d65b74b263fbfef5
CSS control over translated error pages

Adds %l replacement tag to include CSS file data into an error page.

Adds error_stylesheet option to name a file as the CSS content to insert
into each error pages displayed. (default /etc/squid/errorpage.css)

Adds CSS hooks into the templates.

Adds errorpage.css to squid config directory with current CSS settings
pulled from old templates and demo entries for new hooks.

The combined effect of these is allows company sites to stylize the pages
produced to some extent limited only by the CSS capabilities. Without
worrying about translation texts themselves.

Only works for dynamically translated pages based on updated templates.
Default CSS file may need some cleaning.