1.4. The Phorum template language

1.4.1. Introduction

The largest part of the code that can be found in Phorum template files (*.tpl) is plain HTML. To be able to use and display the dynamic data that has been generated by Phorum (like message information, lists of private messages and search results), Phorum uses a custom template language which can be used to mix the HTML code with dynamic data. The template language is a very simple programming language with only a few statements to use. This section will describe the template language in detail.