
| Anonymous | Login | Signup for a new account | 2010-09-04 01:52 CEST |
| Main | My View | View Issues | Change Log | Roadmap | Docs |
| Viewing Issue Simple Details [ Jump to Notes ] | [ View Advanced ] [ Issue History ] [ Print ] | ||||||||
| ID | Category | Severity | Reproducibility | Date Submitted | Last Update | ||||
| 0001136 | [Endian Firewall] Other Scripts | feature | N/A | 2008-07-17 15:46 | 2008-07-27 22:18 | ||||
| Reporter | peter | View Status | public | ||||||
| Assigned To | peter | ||||||||
| Priority | immediate | Resolution | fixed | ||||||
| Status | closed | Product Version | |||||||
| Summary | 0001136: framework for customized error message pages | ||||||||
| Description |
we need a python script which statically creates all the error message html pages using cheetah. Error messages in squid, dansguardian, havp, amavisd and p3scan should be made overrideable and brandable. script does the following: - should be called as createtemplate.py [servicename] - reads config from /etc/templates/<servicename>.conf - loops through each /usr/share/templates/<servicename>/*/*.orig.tmpl and creates corresponding messages files in <destdir>, with the corresponding directory structure, cutting away .orig.tmpl - searches for each original template a corresponding template of the same name, which may override the orig template.. searches in: o /var/efw/<efw_servicename>/templates/**.custom.tmpl o /usr/share/templates/<servicename>/*/*.vendor.tmpl - applies header.tmpl and footer.tmpl if thex exist in one of the 3 locations. - script will be run:# o at boot time o as %post hook of respective service installations o after editing/uploading custom templates - templates of squid, havp, dansguardian, amavisd, p3scan should not be packaged in their original place anymore, but packaged in /usr/share/templates/ as cheetah orig template |
||||||||
| Additional Information | |||||||||
| Tags | No tags attached. | ||||||||
| Attached Files | |||||||||
|
|
|||||||||
Relationships |
||||||
|
||||||
Notes |
|
|
(0001461) peter (administrator) 2008-07-17 21:37 |
respective changes in the services packages need still to be done |
| Mantis [^] Copyright © 2000 - 2008 Mantis Group |