Subversion Repositories pageflip

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