Page 1 of 1

Word enclosed in {}

Posted: Mon Nov 27, 2006 1:24 pm
by amir
I downloaded phpicalendar and I'm trying to follow the code. One template has several words enclosed in {}. For example,

Code: Select all

<td align="left" width="490" class="title"><h1>{DISPLAY_DATE}</h1><span class="V9G">{CALENDAR_NAME} {L_CALENDAR}</span></td>
What are they?

Posted: Mon Nov 27, 2006 1:26 pm
by John Cartwright
Your system is using a template engine, it basically seperates the logic from the presentation.

Simply put, those values will be replaced after phpicalender has finished processing.

Posted: Mon Nov 27, 2006 1:57 pm
by MrPotatoes
cool. i have a friend named amir.

sorry not to add to the convo. just thought that was cool