[gen] Replaced, in PXs, function 'img' by function 'url', that returns the URL of an external resource to be included in the XHTML, like an image, a Javascript file or a CSS file.
This commit is contained in:
parent
f2b19e4141
commit
efd918f175
11 changed files with 83 additions and 85 deletions
|
@ -43,7 +43,7 @@ class Pod(Field):
|
|||
<input type="checkbox" name=":doLabel" id=":chekboxId"/>
|
||||
<label lfor=":chekboxId" class="discreet">:_(doLabel)"></label>
|
||||
</x>
|
||||
<img for="fmt in field.getToolInfo(contextObj.appy())[1]" src=":img(fmt)"
|
||||
<img for="fmt in field.getToolInfo(contextObj.appy())[1]" src=":url(fmt)"
|
||||
onclick=":'generatePodDocument(%s, %s, %s, %s)' % \
|
||||
(q(contextObj.UID()), q(name), q(fmt), q(ztool.getQueryInfo()))"
|
||||
title=":fmt.capitalize()" class="clickable"/>
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue