Subversion Repositories pageflip

[/] [design/] [standard/] [override/] [templates/] [embed/] [pageflip.tpl] - Blame information for rev 1

Details | Compare with Previous | View Log

Line No. Rev Author Line
1 1 bartman3000
<div class="content-view-embed">
2
        <div class="attribute-header">
3
        <h2>{$object.name|wash()}</h2>
4
        </div>
5
 
6
        <div id="pageflip-outer">
7
                <div id="pageflip{$object.main_node.node_id}" class="pageflip-inner">
8
                        <p>{'To view the book, you need the latest'|i18n( 'design/pageflip' )} <a href="http://adobe.com/go/getflashplayer">Flash player</a></p>
9
                </div>
10
 
11
                {literal}
12
                <script language='JavaScript' type='text/javascript'>
13
                var flashvars = {};    
14
                flashvars.xmlFile = '{/literal}{concat('pageflip/getxml/',$object.main_node.node_id)|ezurl('no','full')}{literal}';
15
                flashvars.page = '{/literal}{'Page'|i18n( 'design/pageflip' )}{literal}';
16
                var params = {};
17
                params.quality = 'best';
18
                params.wmode = 'transparent';
19
                var attributes = {};   
20
                swfobject.embedSWF('http://{/literal}{ezini( 'SiteSettings', 'SiteURL', 'site.ini' )}{literal}/extension/pageflip/design/standard/images/swf/book.swf', 'pageflip{/literal}{$object.main_node.node_id}{literal}', '{/literal}{$object.data_map.width.content|mul(2)|sum(40)}{literal}', '{/literal}{$object.data_map.height.content|sum(80)}{literal}', '8.0.0', false, flashvars, params, attributes);
21
                swfobject.createCSS("#pageflip{/literal}{$object.main_node.node_id}{literal}","outline:none");
22
                </script>
23
                {/literal}
24
 
25
        </div>
26
</div>
27
 
28
 
29