source: trunk/wtorrent/home/tpl/index.tpl.php @ 53

Revision 53, 1.9 KB checked in by royger, 2 years ago (diff)
  • New Interface.
  • wTorrent no longer uses shadedborder javascript library, since it made the rendering slow. Now it's all done with transparent pngs.
  • This should fix #57.
Line 
1<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
2<html xmlns="http://www.w3.org/1999/xhtml">
3
4<head>
5<meta http-equiv="Content-Type" content="text/html;charset=utf-8" />
6  <title>{$TITLE}</title>
7  <script src="{$DIR_JS}" type="text/javascript"></script>
8  <script src="{$DIR_JSPROTO}" type="text/javascript"></script>
9  <script src="{$DIR_SCRIPTACULOUS}?load=effects" type="text/javascript"></script>
10  <script src="{$DIR_PROTOTIP}" type="text/javascript"></script>
11        <link rel="stylesheet" type="text/css" href="home/css/reset.css" media="all" />
12  <link rel="stylesheet" type="text/css" href="{$DIR_CSS_ESTIL}" media="all" />
13  {include file="loading.tpl.php" assign="loading"}
14  {include file="comm_loading.tpl.php" assign="comm_loading"}
15        {if $web->registrado()}
16                {literal}
17                        <script type="text/javascript">
18                                /* Ajax loading using prototype */
19                                var ifPri = $('principal');
20                                var ifCont = $('contingut');
21                                var loading = "{/literal}{$loading|jsOutput}{literal}";
22                                var loadingCommand = "{/literal}{$comm_loading|jsOutput}{literal}";
23                                var cont;
24                                var tab;
25                                var view = 'public';
26                                var url = '{/literal}{$SRC_INDEX}{literal}';
27                                var confirmMsg = "{/literal}{$str.conf_erase}{literal}";
28                        </script>
29                {/literal}
30        {/if}
31        <link rel="shortcut icon" href="{$DIR_IMG}favicon.ico">
32</head>
33
34<body>
35{if $web->registrado()}
36<div id="menu">
37        {include file="menu.tpl.php" width_total="600"}
38</div>
39{/if}
40{include file="messages.tpl.php"}
41{if $web->registrado()}
42        {include file="content.tpl.php"}
43{else}
44        {include file="login.tpl.php"}
45{/if}
46<div id="debug" style="width: 800px; height: 30px;"></div>
47<div style="display: none;">
48{include file="comm_loading.tpl.php"}
49{include file="loading.tpl.php"}
50</div>
51<div class="tbBulk loadingTab" id="loadingCell" style="display: none; width: 918px;">
52        <img src="{$DIR_IMG}miniloader.gif" alt="loading" />
53</div>
54</body>
55
56</html>
Note: See TracBrowser for help on using the repository browser.