Documentation

Display.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_main()  : mixed
This template handles displaying a topic
template_single_post()  : mixed
Template for displaying a single post.
template_quickreply()  : mixed
The template for displaying the quick reply box.

Functions

template_main()

This template handles displaying a topic

template_main() : mixed

template_single_post()

Template for displaying a single post.

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

An array of information about the message to display. Should have 'id' and 'member'. Can also have 'first_new', 'is_ignored' and 'css_class'.

template_quickreply()

The template for displaying the quick reply box.

template_quickreply() : mixed

        
On this page

Search results