Documentation

PersonalMessage.template.php

Simple Machines Forum (SMF)

Tags
author

Simple Machines https://www.simplemachines.org

copyright

2025 Simple Machines and individual contributors

license

https://www.simplemachines.org/about/smf/license.php BSD

version
3.0

Alpha 2

Table of Contents

Functions

template_pm_above()  : mixed
This is for stuff above the menu in the personal messages section
template_pm_below()  : mixed
Just the end of the index bar, nothing special.
template_pm_popup()  : mixed
Displays a popup with information about your personal messages
template_folder()  : mixed
Shows a particular folder (eg inbox or outbox), all the PMs in it, etc.
template_single_pm()  : mixed
Template for displaying a single personal message.
template_subject_list()  : mixed
Just list all the personal message subjects - to make templates easier.
template_search()  : mixed
The form for the PM search feature
template_search_results()  : mixed
Displays results from a PM search
template_send()  : mixed
The form for sending a new PM
template_ask_delete()  : mixed
This template asks the user whether they wish to empty out their folder/messages.
template_prune()  : mixed
This template asks the user what messages they want to prune.
template_labels()  : mixed
Here we allow the user to setup labels, remove labels and change rules for labels (i.e, do quite a bit)
template_report_message()  : mixed
Template for reporting a personal message.
template_report_message_complete()  : mixed
Little template just to say "Yep, it's been submitted"
template_rules()  : mixed
Manage rules.
template_add_rule()  : mixed
Template for adding/editing a rule.
template_showPMDrafts()  : mixed
Template for showing all of a user's PM drafts.

Functions

template_pm_above()

This is for stuff above the menu in the personal messages section

template_pm_above() : mixed

template_pm_popup()

Displays a popup with information about your personal messages

template_pm_popup() : mixed

template_folder()

Shows a particular folder (eg inbox or outbox), all the PMs in it, etc.

template_folder() : mixed

template_single_pm()

Template for displaying a single personal message.

template_single_pm(array<string|int, mixed> $message) : mixed
Parameters
$message : array<string|int, mixed>

An array of information about the message to display.

template_subject_list()

Just list all the personal message subjects - to make templates easier.

template_subject_list() : mixed

template_ask_delete()

This template asks the user whether they wish to empty out their folder/messages.

template_ask_delete() : mixed

template_prune()

This template asks the user what messages they want to prune.

template_prune() : mixed

template_labels()

Here we allow the user to setup labels, remove labels and change rules for labels (i.e, do quite a bit)

template_labels() : mixed

template_report_message_complete()

Little template just to say "Yep, it's been submitted"

template_report_message_complete() : mixed

template_showPMDrafts()

Template for showing all of a user's PM drafts.

template_showPMDrafts() : mixed

        
On this page

Search results