Reputation: 109
I'm working on a website, that was done by someone else previously. Owner didn't end up with previous dev on a good terms and I cant contact him now with questions.
For most of part, code is a regular PHP. However, in some places I see weird tags that I cant recognize.
for example:
<php:dropdownlist:ddlTypeOfResidence></php:dropdownlist:ddlTypeOfResidence>
The code above, generates the dropdown with values. I don't understand how to read this tag, on the sidebar, they have the get a quote form, and I need to add this field on that sidebar form. I copy pasted the line given above, and it works only on pages, where the original form exists that includes that line as well.
Example, page freeQuote has a form, and on that page on sidebar, get a free quote mini form is also displayed. On this page, input field gets the values dynamically, so that TAG works on this page...
On the other pages, where the original full form is not loaded, this dropdown is still displayed on the sidebar mini form, however, the values are empty.
Anyways, before everything else, I need to understand what language / tag is that, how to read it.
Upvotes: 1
Views: 69
Reputation: 521
This is a template engine that change some tags into native PHP renders.
I don't know if it's a regular engine ( maybe a custom engine ), but most powerful and simple PHP engine is Smarty. ( This isn't Smarty )
You can look at the PHP codes hope that you find the engine.
Good Luck
Upvotes: 1
Reputation: 1033
I believe it is a basic XML converter. The below code is actually a XML code:
<php:dropdownlist:ddlTypeOfResidence></php:dropdownlist:ddlTypeOfResidence>
What it does is: It parses php:dropdownlist:ddlTypeOfResidence
string using .split(':')
and does the needed functionality accordingly.
Upvotes: 1