1 | {* $Id: upgrade.tpl 2819 2008-11-03 19:52:33Z patdenice $ *} |
---|
2 | <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01//EN" |
---|
3 | "http://www.w3.org/TR/html4/strict.dtd"> |
---|
4 | <html lang="{$lang_info.code}" dir="{$lang_info.direction}"> |
---|
5 | <head> |
---|
6 | <meta http-equiv="Content-Type" content="text/html; charset=utf-8"> |
---|
7 | <meta http-equiv="Content-script-type" content="text/javascript"> |
---|
8 | <meta http-equiv="Content-Style-Type" content="text/css"> |
---|
9 | <link rel="shortcut icon" type="image/x-icon" href="{$ROOT_URL}template-common/favicon.ico"> |
---|
10 | <link rel="stylesheet" type="text/css" href="{$ROOT_URL}admin/template/{$themeconf.template}/layout.css"> |
---|
11 | <link rel="stylesheet" type="text/css" href="{$ROOT_URL}admin/template/{$themeconf.template}/default-colors.css"> |
---|
12 | <link rel="stylesheet" type="text/css" href="{$ROOT_URL}admin/template/{$themeconf.template}/theme/{$themeconf.theme}/theme.css"> |
---|
13 | {literal} |
---|
14 | <style type="text/css"> |
---|
15 | #theHeader { height: 105px; } |
---|
16 | |
---|
17 | .content { |
---|
18 | width: 800px; |
---|
19 | min-height: 0px !important; |
---|
20 | margin: auto; |
---|
21 | padding: 25px; |
---|
22 | text-align: left; |
---|
23 | } |
---|
24 | |
---|
25 | h2 { width: 770px !important; } |
---|
26 | </style> |
---|
27 | {/literal} |
---|
28 | <title>Piwigo {$RELEASE} - {'Upgrade'|@translate}</title> |
---|
29 | </head> |
---|
30 | |
---|
31 | <body> |
---|
32 | <div id="headbranch"></div> {* Dummy block for double background management *} |
---|
33 | <div id="theHeader"></div> |
---|
34 | <div id="content" class="content"> |
---|
35 | |
---|
36 | {if isset($introduction)} |
---|
37 | <h2>Piwigo {$RELEASE} - {'Upgrade'|@translate}</h2> |
---|
38 | |
---|
39 | <p>{'language'|@translate} |
---|
40 | <select name="language" onchange="document.location = 'upgrade.php?language='+this.options[this.selectedIndex].value;"> |
---|
41 | {html_options options=$language_options selected=$language_selection} |
---|
42 | </select> |
---|
43 | </p> |
---|
44 | |
---|
45 | <p>{'introduction message'|@translate|@sprintf:$introduction.CURRENT_RELEASE}</p> |
---|
46 | |
---|
47 | <p style="text-align: center;"> |
---|
48 | <a href="{$introduction.RUN_UPGRADE_URL}">{'Upgrade from %s to %s'|@translate|@sprintf:$introduction.CURRENT_RELEASE:$RELEASE}</b> |
---|
49 | </p> |
---|
50 | {/if} |
---|
51 | |
---|
52 | {if isset($upgrade)} |
---|
53 | <h2>{'Upgrade from %s to %s'|@translate|@sprintf:$upgrade.VERSION:$RELEASE}</h2> |
---|
54 | |
---|
55 | <p><b>{'Statistics'|@translate}</b></p> |
---|
56 | <ul> |
---|
57 | <li>{'total upgrade time'|@translate} : {$upgrade.TOTAL_TIME}</li> |
---|
58 | <li>{'total SQL time'|@translate} : {$upgrade.SQL_TIME}</li> |
---|
59 | <li>{'SQL queries'|@translate} : {$upgrade.NB_QUERIES}</li> |
---|
60 | </ul> |
---|
61 | |
---|
62 | <p><b>{'Upgrade informations'|@translate}</b></p> |
---|
63 | <ul> |
---|
64 | {foreach from=$infos item=info} |
---|
65 | <li>{$info}</li> |
---|
66 | {/foreach} |
---|
67 | </ul> |
---|
68 | {/if} |
---|
69 | |
---|
70 | </div> {* content *} |
---|
71 | </body> |
---|
72 | </html> |
---|