Solved

Word enclosed in {}

Posted on 2006-11-27
5
212 Views
Last Modified: 2008-03-06
I downloaded phpicalendar and I'm trying to follow the code. One template has several words enclosed in {}. For example,

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

What are they?
0
Comment
Question by:horalia
  • 3
  • 2
5 Comments
 
LVL 14

Accepted Solution

by:
Aamir Saeed earned 125 total points
ID: 18021777
I think this is Smarty Templates variable parsing.
0
 

Author Comment

by:horalia
ID: 18021798
What is that?
0
 
LVL 14

Expert Comment

by:Aamir Saeed
ID: 18021834
Its an engine which handles code and design separately. For example, you will be making two files
1; .php
2; .tpl ( HTML )

developer will work on .php files and designer can independently work on .tpl files.

So to make the developer and designer work independent from each other, we use this engine.

http://smarty.php.net/
0
 

Author Comment

by:horalia
ID: 18021851
Thanks!
0
 
LVL 14

Expert Comment

by:Aamir Saeed
ID: 18021860
Thanks for Grade and Points.
Cheers!
0

Featured Post

Independent Software Vendors: We Want Your Opinion

We value your feedback.

Take our survey and automatically be enter to win anyone of the following:
Yeti Cooler, Amazon eGift Card, and Movie eGift Card!

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Generating table dynamically is the most common issue faced by php developers.... So it seems there is a need of an article that explains the basic concept of generating tables dynamically. It just requires a basic knowledge of html and little maths…
Since pre-biblical times, humans have sought ways to keep secrets, and share the secrets selectively.  This article explores the ways PHP can be used to hide and encrypt information.
The viewer will learn how to count occurrences of each item in an array.
The viewer will learn how to look for a specific file type in a local or remote server directory using PHP.

685 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question