Smarter template notices
|Reported by:||alexvorn2||Owned by:|
|Component:||Tools - Warnings/Notices||Keywords:||needs-patch|
Description (last modified by johnjamesjacoby)
Currently, the themes include several hardcoded template notices at the top of various forms and pages. Ideally, these should fall under one dedicated action or template tag, with a loose convention on how to add/remove/modify notices.
This has the positive side-effect of eliminating duplicate code, and strings in the template files themselves. For example, when searching for "account has the ability to post unrestricted HTML" - six results are displayed. This means changing it in 6 different places instead of only once in a function.
Change History (14)
- Description modified (diff)
- Keywords 2nd-opinion removed
- Summary changed from remove repetitive text to Smarter template notices