Post.template.php
Simple Machines Forum (SMF)
Tags
Table of Contents
Functions
- template_main() : mixed
- The main template for the post page.
- template_spellcheck() : mixed
- The template for the spellchecker.
- template_quotefast() : mixed
- The template for the AJAX quote feature
- template_announce() : mixed
- The form for sending out an announcement
- template_announcement_send() : mixed
- The confirmation/progress page, displayed after the admin has clicked the button to send the announcement.
- template_post_header() : mixed
- Prints the input fields in the form's header (subject, message icon, guest name & email, etc.)
Functions
template_main()
The main template for the post page.
template_main() : mixed
template_spellcheck()
The template for the spellchecker.
template_spellcheck() : mixed
template_quotefast()
The template for the AJAX quote feature
template_quotefast() : mixed
template_announce()
The form for sending out an announcement
template_announce() : mixed
template_announcement_send()
The confirmation/progress page, displayed after the admin has clicked the button to send the announcement.
template_announcement_send() : mixed
template_post_header()
Prints the input fields in the form's header (subject, message icon, guest name & email, etc.)
template_post_header() : mixed
Mod authors can use the 'integrate_post_end' hook to modify or add to these (see Post.php).
Theme authors can customize the output in a couple different ways:
- Change specific values in the Utils::$context['posting_fields'] array.
- Add an 'html' element to the 'label' and/or 'input' elements of the field they want to change. This should contain the literal HTML string to be printed.
See the documentation in Post.php for more info on the Utils::$context['posting_fields'] array.