[Zapp-cvs-commit] ZApp/skins/zapp_generic zapp_zodb_image_view.pt,NONE,1.1 zapp_zodb_show_mov.pt,NON
Brought to you by:
sspickle
|
From: Steve S. <ssp...@us...> - 2004-09-21 17:31:57
|
Update of /cvsroot/zapp/ZApp/skins/zapp_generic In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv8127/skins/zapp_generic Added Files: zapp_zodb_image_view.pt zapp_zodb_show_mov.pt zapp_zodb_show_swf.pt Log Message: save new zodb skin templates --- NEW FILE: zapp_zodb_show_swf.pt --- <div metal:define-macro="main"> <tal:block tal:omit-tag="" define="main_name here/getId; swf_url here/absolute_url"> <OBJECT classid="clsid:D27CDB6E-AE6D-11cf-96B8-444553540000" codebase="http://download.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=6,0,0,0" tal:attributes="id main_name" ALIGN=""> <PARAM NAME=movie tal:attributes="VALUE swf_url"> <PARAM NAME=quality VALUE=high> <PARAM NAME=bgcolor VALUE=#FFFFFF> <EMBED tal:attributes="src swf_url;NAME main_name" quality=high bgcolor=#FFFFFF ALIGN="" TYPE="application/x-shockwave-flash" PLUGINSPAGE="http://www.macromedia.com/go/getflashplayer"> </EMBED> </OBJECT> </tal:block> </div> --- NEW FILE: zapp_zodb_image_view.pt --- <html xmlns:tal="http://xml.zope.org/namespaces/tal" xmlns:metal="http://xml.zope.org/namespaces/metal" metal:use-macro="here/main_template/macros/master"> <metal:block fill-slot="base"> <base href="" tal:attributes="href python: here.absolute_url() + '/'"> </metal:block> <body> <div metal:fill-slot="header"> <h1 id="DesktopTitle" tal:content="here/Title">Document Title</h1> <div id="DesktopDescription" tal:content="here/Description"> Document Description goes here. </div> </div> <div metal:fill-slot="main"> <tal:block tal:omit-tag="" tal:define="mov_mime string:video/quicktime; swf_mime string:application/x-shockwave-flash"> <div tal:condition="python:here.Format() == swf_mime"> <div metal:use-macro="here/zapp_zodb_show_swf/macros/main"> Sorry! </div> </div> <div tal:condition="python:here.Format() == mov_mime"> <div metal:use-macro="here/zapp_zodb_show_mov/macros/main"> Sorry! </div> </div> <div tal:condition="python:here.Format() not in [mov_mime, swf_mime]"> <img tal:attributes="src python:here.absolute_url(); width zapp_image_width | string:400"/> </div> </tal:block> </div> </body> </html> --- NEW FILE: zapp_zodb_show_mov.pt --- <div metal:define-macro="main"> <tal:block tal:omit-tag="" define="main_name here/getId; mov_url here/absolute_url"> <OBJECT CLASSID="clsid:02BF25D5-8C17-4B23-BC80-D3488ABDDC6B" WIDTH="480" HEIGHT="300" CODEBASE="http://www.apple.com/qtactivex/qtplugin.cab#version=6,0,2,0"> <PARAM NAME="type" VALUE="video/quicktime"> <PARAM NAME="controller" VALUE="true"> <PARAM NAME="autoplay" VALUE="true"> <PARAM NAME="target" VALUE="myself"> <PARAM NAME="src" VALUE="" tal:attributes="value mov_url"> <PARAM NAME="HREF" VALUE="" tal:attributes="value mov_url"> <PARAM NAME="pluginspage" VALUE="http://www.apple.com/quicktime/download/indext.html"> <EMBED WIDTH="480" HEIGHT="300" CONTROLLER="TRUE" SRC="" HREF="" tal:attributes="src mov_url; href mov_url" type="video/quicktime" TARGET="myself" BGCOLOR="#000000" BORDER="0" PLUGINSPAGE="http://www.apple.com/quicktim e/download/indext.html"></EMBED></OBJECT></tal:block> </div> |