Unofficial SMF API Documentation

./Themes/default/PersonalMessage.template.php

template_pm_above

function template_pm_above(): void

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

template_pm_below

function template_pm_below(): void

Just the end of the index bar, nothing special.

template_pm_popup

function template_pm_popup(): void

Displays a popup with information about your personal messages

template_folder

function template_folder(): void

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

template_single_pm

function template_single_pm(array $message): void

Template for displaying a single personal message.

Type Parameter Description
array $message An array of information about the message to display.

template_subject_list

function template_subject_list(): void

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

function template_search(): void

The form for the PM search feature

template_search_results

function template_search_results(): void

Displays results from a PM search

template_send

function template_send(): void

The form for sending a new PM

template_ask_delete

function template_ask_delete(): void

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

template_prune

function template_prune(): void

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

template_labels

function template_labels(): void

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

template_report_message

function template_report_message(): void

Template for reporting a personal message.

template_report_message_complete

function template_report_message_complete(): void

Little template just to say “Yep, it’s been submitted”

template_rules

function template_rules(): void

Manage rules.

template_add_rule

function template_add_rule(): void

Template for adding/editing a rule.

template_showPMDrafts

function template_showPMDrafts(): void

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

Suggest an edit to this page on GitHub