PHP programming forum. Ask questions or help people concerning PHP code. Don't understand a function? Need help implementing a class? Don't understand a class? Here is where to ask. Remember to do your homework!
Moderator: General Moderators
amir
Forum Contributor
Posts: 287 Joined: Sat Oct 07, 2006 4:28 pm
Post
by amir » Mon Nov 27, 2006 1:24 pm
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?
John Cartwright
Site Admin
Posts: 11470 Joined: Tue Dec 23, 2003 2:10 am
Location: Toronto
Contact:
Post
by John Cartwright » Mon Nov 27, 2006 1:26 pm
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.
MrPotatoes
Forum Regular
Posts: 617 Joined: Wed May 24, 2006 6:42 am
Post
by MrPotatoes » Mon Nov 27, 2006 1:57 pm
cool. i have a friend named amir.
sorry not to add to the convo. just thought that was cool