Epoz/epoz/epoz_plone epoz_toolbox.pt,1.2,1.3
Maik Jablonski <[email protected]>
| Newsgroups | gmane.comp.web.zope.epoz |
|---|---|
| Message-ID | <[email protected]> |
Update of /cvsroot/epoz/Epoz/epoz/epoz_plone
In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv7361/epoz/epoz_plone
Modified Files:
epoz_toolbox.pt
Log Message:
AT-Images for toolbox
Index: epoz_toolbox.pt
===================================================================
RCS file: /cvsroot/epoz/Epoz/epoz/epoz_plone/epoz_toolbox.pt,v
retrieving revision 1.2
retrieving revision 1.3
diff -C2 -d -r1.2 -r1.3
*** epoz_toolbox.pt 19 Feb 2005 14:02:21 -0000 1.2
--- epoz_toolbox.pt 19 Mar 2005 09:22:08 -0000 1.3
***************
*** 21,25 ****
style="margin: 4px;padding:0.5em;"
tal:define="portal_url nocall:here/portal_url;
! checkPermission python: here.portal_membership.checkPermission;">
<form
--- 21,26 ----
style="margin: 4px;padding:0.5em;"
tal:define="portal_url nocall:here/portal_url;
! checkPermission python: here.portal_membership.checkPermission;
! imageMetaTypes python: ['Image', 'Photo', 'AT Image']">
<form
***************
*** 100,104 ****
tal:content="item/title_or_id">Title</b>
! <a tal:condition="python: item.getTypeInfo().getId() in ['Image','Photo']"
tal:attributes="href string:#;
onclick string: window.open('${item/absolute_url}','${repeat/item/index}','toolbar=no,location=no,status=no,menubar=no,scrollbars=no,resizable=yes,width=${item/width},height=${item/height}');; ;">
--- 101,105 ----
tal:content="item/title_or_id">Title</b>
! <a tal:condition="python: item.getTypeInfo().getId() in imageMetaTypes"
tal:attributes="href string:#;
onclick string: window.open('${item/absolute_url}','${repeat/item/index}','toolbar=no,location=no,status=no,menubar=no,scrollbars=no,resizable=yes,width=${item/width},height=${item/height}');; ;">
***************
*** 117,121 ****
onclick string: window.opener.CreateLink('${url}');; window.close();; ;"
i18n:translate="epoz_insert_link">Insert Link</a>
! <div tal:condition="python: item.getTypeInfo().getId() in ['Image','Photo']">
<a tal:attributes="href string: #;
onclick string: window.opener.CreateImage('${url}');; window.close();; ;"
--- 118,122 ----
onclick string: window.opener.CreateLink('${url}');; window.close();; ;"
i18n:translate="epoz_insert_link">Insert Link</a>
! <div tal:condition="python: item.getTypeInfo().getId() in imageMetaTypes">
<a tal:attributes="href string: #;
onclick string: window.opener.CreateImage('${url}');; window.close();; ;"
-------------------------------------------------------
SF email is sponsored by - The IT Product Guide
Read honest & candid reviews on hundreds of IT Products from real users.
Discover which products truly live up to the hype. Start reading now.
http://ads.osdn.com/?ad_id=6595&alloc_id=14396&op=click