I was asked to continue & modify a CMS project which seems to be custom made. Taken from one of the files is the code below:
<!-- BEGINACCESS_DATA=LoginData -->
<ul id="topleftlogin" class="sf-menu">
<li><a href="__linklogin__">Sign In</a></li>
</ul>
<!-- ENDACCESS_DATA -->
<!-- BEGINACCESS_DATA=LogoutData -->
<ul id="topleftlogin" class="sf-menu">
<li><a href="#">Hai, __myname__</a></li>
<li>__panel__</li>
<li>__logout__</li>
</ul>
<!-- ENDACCESS_DATA -->
The above came from an HTML file (form_view.html).
My question is:
- Are the ones enclosed in double underscores (eg.
__myname__) some kind of variables? - Where do they get their values from?
- What kind of template engine uses such format?
I had searched through out the rest of the files but couldn't find the connection between those 'variables' and the data they retrieve. What should I look for??
I guess some php (regex) script is parsing code between
and replacing tokens like __ % __
Look in php source and in .htaccess