PurplePilot
PurplePilot

Reputation: 6612

a variable in HTML

in the form action i have the following line\

<form action="{URL}" method="post" target="_self" id="xxx" name="xxx">

when rendered in the browser it becomes

action="/abc/17224_pb/HTTP/index.php" 

this is just HTML. I cannot see anywhere the {URL} has been defined and anyway you cannot have variables in HTML (can you?)

i thought it might be jquery but it would need to be in a script ??

Where does it come from? How is it defined?

This code is not really in a framework but we do have some Zend framework code around.

Edit: Doh! templating engine. Well smarty is definitely not there but some of the Zend framework is included in the project so i am going to assume that is where it is originating.

I traced the build of the page and Zend is the only thing included that could be the engine. Thanks guys.

Upvotes: 2

Views: 241

Answers (4)

zzz
zzz

Reputation: 87

search through your code for html-file name, there should be template-engine call or something :)

Upvotes: 0

Gonzalo Quero
Gonzalo Quero

Reputation: 3333

Your html must be running on some sort of template engine that replaces that token with the real url.

http://en.wikipedia.org/wiki/Template_engine_%28web%29

Upvotes: 4

Moak
Moak

Reputation: 12885

looks like something a templating engine would replace with the appropriate content

Upvotes: 1

Web Logic
Web Logic

Reputation:

Most likely there is a template engine being used such as Smarty or some custom template mechanism or many of them out there.

Upvotes: 1

Related Questions