Documentation

GenericMenu.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_generic_menu_dropdown_above()  : mixed
This contains the HTML for the menu bar at the top of the admin center.
template_generic_menu_dropdown_below()  : mixed
Part of the admin layer - used with generic_menu_dropdown_above to close the admin content div.
template_generic_menu()  : mixed
The template for displaying a menu
template_generic_menu_tabs()  : mixed
The code for displaying the menu

Functions

template_generic_menu_dropdown_above()

This contains the HTML for the menu bar at the top of the admin center.

template_generic_menu_dropdown_above() : mixed

template_generic_menu_dropdown_below()

Part of the admin layer - used with generic_menu_dropdown_above to close the admin content div.

template_generic_menu_dropdown_below() : mixed

template_generic_menu()

The template for displaying a menu

template_generic_menu(array<string|int, mixed> &$menu_context) : mixed
Parameters
$menu_context : array<string|int, mixed>

An array of menu information

template_generic_menu_tabs()

The code for displaying the menu

template_generic_menu_tabs(array<string|int, mixed> &$menu_context) : mixed
Parameters
$menu_context : array<string|int, mixed>

An array of menu context data


        
On this page

Search results