source: trunk/wtorrent/wt/tpl/index.tpl.php @ 93

Revision 93, 2.3 KB checked in by royger, 2 years ago (diff)
  • Migrated database from sqlite 2 to sqlite 3.
  • From now on, you will need php to be compiled with PDO and sqlite to run wTorrent.
  • Applied patch from tn123 to migrate to PDO and use prepared statements (ticket #188).
  • Created new install script.
  • To apply this update you will need to run sqlite_migration.sh to migrate your old database to sqlite3. This script assumes you have your database in db/database.db, if that's not the case edit the script and change the path.
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        <link rel="stylesheet" href="{$DIR_CSS}reset.css" type="text/css" media="all" charset="utf8" />
8        <link rel="stylesheet" href="{$DIR_CSS}estil.css" type="text/css" media="all" charset="utf8" />
9        <script src="{$DIR_JS}prototype.js" type="text/javascript" charset="utf-8"></script>
10        <script src="{$DIR_JS}scriptaculous/scriptaculous.js?load=effects" type="text/javascript" charset="utf-8"></script>
11        <script src="{$DIR_JS}prototip.js" type="text/javascript" charset="utf-8"></script>
12        {*<script src="{$DIR_JS}javasc.js" type="text/javascript" charset="utf-8"></script>*}
13        <script src="{$DIR_JS}control.js" type="text/javascript" charset="utf-8"></script>
14        <script src="{$DIR_JS}ajax.js" type="text/javascript" charset="utf-8"></script>
15        <script src="{$DIR_JS}display.js" type="text/javascript" charset="utf-8"></script>
16        <script src="{$DIR_JS}events.js" type="text/javascript" charset="utf-8"></script>
17        <script src="{$DIR_JS}func.js" type="text/javascript" charset="utf-8"></script>
18  {include file="loading.tpl.php" assign="loading"}
19  {include file="comm_loading.tpl.php" assign="comm_loading"}
20        {if $web->isRegistered()}
21                {literal}
22                        <script type="text/javascript">
23                          <!--
24                                var confirm_chash = '{/literal}{$str.confirm_chash|escape:'javascript'}{literal}';
25                                var confirm_erase = '{/literal}{$str.confirm_erase|escape:'javascript'}{literal}';
26                                var no_torrents_selected = '{/literal}{$str.no_torrents_selected|escape:'javascript'}{literal}';
27                          //-->
28                        </script>
29                {/literal}
30        {/if}
31        <link rel="shortcut icon" type="image/x-icon" href="{$DIR_IMG}favicon.ico" />
32</head>
33
34<body>
35{if $web->isRegistered()}
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->isRegistered()}
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 id="loadingMain" style="display: none;">
48        {include file="loading.tpl.php"}
49</div>
50<div id="loadingMessages" style="display: none;">
51  {include file="comm_loading.tpl.php"}
52</div>
53</body>
54
55</html>
Note: See TracBrowser for help on using the repository browser.