Subversion Repositories pageflip

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

Details | Compare with Previous | View Log

Line No. Rev Author Line
1 1 bartman3000
<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en">
2
<head>
3
        <meta http-equiv="Content-Type" content="text/html; charset=windows-1250" />
4
        <title>Pageflip</title>
5
 
6
<script language="javascript" type="text/javascript" src="http://{ezini( 'SiteSettings', 'SiteURL', 'site.ini' )}/extension/pageflip/design/standard/javascript/swfobject.js"></script>
7
<link rel="stylesheet" type="text/css" href="http://{ezini( 'SiteSettings', 'SiteURL', 'site.ini' )}/extension/pageflip/design/standard/stylesheets/pageflip.css" />
8
 
9
 
10
</head>
11
<body>
12
<div class="pageflip-show">    
13
        <div id="pageflip-outer">
14
                <div id="pageflip{$node.node_id}" class="pageflip-inner">
15
                        <p>{'To view the book, you need the latest'|i18n( 'design/pageflip' )} <a href="http://adobe.com/go/getflashplayer">Flash player</a>.</p>
16
                </div>
17
 
18
                {literal}
19
                <script language='JavaScript' type='text/javascript'>
20
                var flashvars = {};    
21
                flashvars.xmlFile = '{/literal}{concat('pageflip/getxml/',$node.node_id)|ezurl('no','full')}{literal}';
22
                flashvars.page = '{/literal}{'Page'|i18n( 'design/pageflip' )}{literal}';
23
                var params = {};
24
                params.quality = 'best';
25
                params.wmode = 'transparent';
26
                var attributes = {};   
27
                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);
28
                swfobject.createCSS("#pageflip{/literal}{$node.node_id}{literal}","outline:none;");
29
                </script>
30
                {/literal}
31
 
32
        </div>
33
</div>  
34
</body>
35
</html>
36