MyBB Community Forums

Full Version: Understanding the internals of templates
You're currently viewing a stripped down version of our content. View the full version with proper formatting.
My "announcement" template is like this:

<html>
<head>
<title>{$lang->announcements}</title>
{$headerinclude}
</head>
<body>
{$header}
<table border="0" cellspacing="{$theme['borderwidth']}" cellpadding="{$theme['tablespace']}" class="tborder" style="clear: both; border-bottom-width: 0;">
<tr>
<td class="thead" colspan="3"><strong>{$lang->forum_announcement}</strong></td>
</tr>
</table><br />
{$announcement}
{$footer}
</body>
</html>

Look at line number 13 (fourth to the last). It reads:
{$announcement}

Which template is it calling here? Itself?