This is called a {CONTAINER}
This is called an <!--INCLUDE-->
It's not recommended to rename dragonfly core containers or includes because it can break your theme.
--------------------------------------
General Themeing:
--------------------------------------
{S_LOGO}
Will display you site's logo you chose in admin>main settings
{G_LEFTIMAGE} and {G_LEFTIMAGE}
The main toggle content (+ or -) images that close an entire side
{S_CAN_ADMIN}
Checks for admin privaleges and prevents content being displayed to those without them.
{S_SITENAME}
Simple way of displaying the site name you've chosen in admin>main settings. Often used in conjunction with {S_LOGO} so when people click on the logo they are taken to your home page or is used as an alt="{S_SITENAME}" tag.
{U_MY_ACCOUNT}
If a user is logged it in will take them to my account, if not it will prompt them to register.
{U_ADMININDEX}
Will take an admin back to the main admin panel.
{U_MAININDEX}
Will take a user back to the main index page.
Isn't this the same thing as S_HOME?
{S_HOME}
Your sites homepage as you've set in admin>modules
{THEME_PATH} =
www.yourdomain.com/the...yourtheme/
This does not work in theme.php. It only works within the /template/ folder.
{S_WELCOME}
Used in some themes for welcome messages such as: Welcome DJDevon3
Use this in your theme.php
'S_WELCOME' => is_user() ? 'Welcome '.$userinfo['username'] : 'Welcome '._ANONYMOUS,
{S_NOWTIME}
Again, only used in some themes to display the current time.
In theme.php use
S_NOWTIME' => $date,
You will also have to define the variable $date as
$date = ''.date('D F j, Y, g:i a T');
--------------------------------------
Theme Templating Includes:
--------------------------------------
<!-- IF S_ADMIN_MENU -->
Displays the dhtml admin menu if in administration panel and you have it turned on in admin>misc
<!-- IF S_IS_USER -->
This will allow you to hardcode things visible only to registered users such as login windows and welcome messages.
<!-- IF S_IS_ADMIN -->
This will allow you to hardcode things visible only to admins such as ::Administration:: in the header navigation menu.
<!-- IF PUBLIC_HEADER -->
Sets off what is not to be displayed as a header when in admin mode.
--------------------------------------
Sideblock Themeing:
--------------------------------------
{S_TITLE}
Displays the title of a block that you choose in admin>blocks
{S_CONTENT}
The database content of a block
{IMPORTANT_MESSAGE}
Only here to notify you of when you go in or out of maintenence mode.
This almost always has red bold text that says "Warning: You are in Maintenence Mode".
{messageblock.S_TITLE}
Anything with messageblock it associated with the admin messages feature found in admin>messages.
--------------------------------------
Toggle Content Explained:
--------------------------------------
<!-- IF S_LEFTBLOCKS -->
<td class="mainside" id="pe600" {B_L_VISIBLE}>
mainside is generally a class used that travels the entire width and height of both side blocks. it is the "main" "sideblock" class.
<!-- BEGIN leftblock -->
<img align="right" alt="Toggle Content" title="Toggle Content" id="pic{leftblock.S_BID}" src="{leftblock.S_IMAGE}" onclick="blockswitch('{leftblock.S_BID}');" style="cursor:pointer" />
This is usually the + or - image that collapses the block using the leftblock.S_IMAGE source set in theme.php.
<div id="pe{leftblock.S_BID}"{leftblock.S_VISIBLE}>
Sets the beginning of the area to be collapsed.
</div>
Sets the end of the area to be collapsed.
--------------------------------------
Footer Themeing:
--------------------------------------
{S_FOOTER}
Displays what you have set in admin>main settings>footer
{S_DEBUG_SQL}
Displays CMS error messages set in admin>main settings>debug
{S_DEBUG_PHP}
Displays PHP error messages set in admin>main settings>debug