1 | <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01//EN" |
---|
2 | "http://www.w3.org/TR/html4/strict.dtd"> |
---|
3 | <html lang="{$lang_info.code}" dir="{$lang_info.direction}"> |
---|
4 | <head> |
---|
5 | <meta http-equiv="Content-Type" content="text/html; charset=utf-8"> |
---|
6 | <meta http-equiv="Content-script-type" content="text/javascript"> |
---|
7 | <meta http-equiv="Content-Style-Type" content="text/css"> |
---|
8 | <link rel="shortcut icon" type="image/x-icon" href="{$ROOT_URL}{$themeconf.icon_dir}/favicon.ico"> |
---|
9 | |
---|
10 | {foreach from=$themes item=theme} |
---|
11 | {if isset($theme.local_head)}{include file=$theme.local_head}{/if} |
---|
12 | <link rel="stylesheet" type="text/css" href="{$ROOT_URL}admin/themes/{$theme.name}/theme.css"> |
---|
13 | {/foreach} |
---|
14 | |
---|
15 | {literal} |
---|
16 | <style type="text/css"> |
---|
17 | .content { |
---|
18 | width: 800px; |
---|
19 | min-height: 0px !important; |
---|
20 | margin: auto; |
---|
21 | padding: 25px; |
---|
22 | text-align: left; |
---|
23 | } |
---|
24 | |
---|
25 | table { margin: 0px; } |
---|
26 | td { padding: 3px 10px; } |
---|
27 | textarea { margin-left: 20px; } |
---|
28 | </style> |
---|
29 | {/literal} |
---|
30 | <title>Piwigo {$RELEASE} - {'Upgrade'|@translate}</title> |
---|
31 | </head> |
---|
32 | |
---|
33 | <body> |
---|
34 | <div id="headbranch"></div> {* Dummy block for double background management *} |
---|
35 | <div id="the_page"> |
---|
36 | <div id="theHeader"></div> |
---|
37 | <div id="content" class="content"> |
---|
38 | |
---|
39 | {if isset($introduction)} |
---|
40 | <h2>Piwigo {$RELEASE} - {'Upgrade'|@translate}</h2> |
---|
41 | |
---|
42 | {if isset($errors)} |
---|
43 | <div class="errors"> |
---|
44 | <ul> |
---|
45 | {foreach from=$errors item=error} |
---|
46 | <li>{$error}</li> |
---|
47 | {/foreach} |
---|
48 | </ul> |
---|
49 | </div> |
---|
50 | {/if} |
---|
51 | |
---|
52 | <table> |
---|
53 | <tr> |
---|
54 | <td>{'Language'|@translate}</td> |
---|
55 | <td> |
---|
56 | <select name="language" onchange="document.location = 'upgrade.php?language='+this.options[this.selectedIndex].value;"> |
---|
57 | {html_options options=$language_options selected=$language_selection} |
---|
58 | </select> |
---|
59 | </td> |
---|
60 | </tr> |
---|
61 | </table> |
---|
62 | |
---|
63 | <p>{'introduction message'|@translate|@sprintf:$introduction.CURRENT_RELEASE}</p> |
---|
64 | {if isset($login)} |
---|
65 | <p>{'Only administrator can run upgrade: please sign in below.'|@translate}</p> |
---|
66 | {/if} |
---|
67 | |
---|
68 | <form method="POST" action="{$introduction.F_ACTION}" name="upgrade_form"> |
---|
69 | {if isset($login)} |
---|
70 | <table> |
---|
71 | <tr> |
---|
72 | <td>{'Username'|@translate}</td> |
---|
73 | <td><input type="text" name="username" id="username" size="25" maxlength="40" style="width: 150px;"></td> |
---|
74 | </tr> |
---|
75 | <tr> |
---|
76 | <td>{'Password'|@translate}</td> |
---|
77 | <td><input type="password" name="password" id="password" size="25" maxlength="25" style="width: 150px;"></td> |
---|
78 | </tr> |
---|
79 | </table> |
---|
80 | {/if} |
---|
81 | |
---|
82 | <p style="text-align: center;"> |
---|
83 | <input class="submit" type="submit" name="submit" value="{'Upgrade from %s to %s'|@translate|@sprintf:$introduction.CURRENT_RELEASE:$RELEASE}"> |
---|
84 | </p> |
---|
85 | </form> |
---|
86 | <!-- |
---|
87 | <p style="text-align: center;"> |
---|
88 | <a href="{$introduction.RUN_UPGRADE_URL}">{'Upgrade from %s to %s'|@translate|@sprintf:$introduction.CURRENT_RELEASE:$RELEASE}</a> |
---|
89 | </p> |
---|
90 | --> |
---|
91 | |
---|
92 | {/if} |
---|
93 | |
---|
94 | {if isset($upgrade)} |
---|
95 | <h2>{'Upgrade from %s to %s'|@translate|@sprintf:$upgrade.VERSION:$RELEASE}</h2> |
---|
96 | |
---|
97 | <p><b>{'Statistics'|@translate}</b></p> |
---|
98 | <ul> |
---|
99 | <li>{'total upgrade time'|@translate} : {$upgrade.TOTAL_TIME}</li> |
---|
100 | <li>{'total SQL time'|@translate} : {$upgrade.SQL_TIME}</li> |
---|
101 | <li>{'SQL queries'|@translate} : {$upgrade.NB_QUERIES}</li> |
---|
102 | </ul> |
---|
103 | |
---|
104 | <p><b>{'Upgrade informations'|@translate}</b></p> |
---|
105 | <ul> |
---|
106 | {foreach from=$infos item=info} |
---|
107 | <li>{$info}</li> |
---|
108 | {/foreach} |
---|
109 | </ul> |
---|
110 | |
---|
111 | <form action="index.php" method="post"> |
---|
112 | <p><input type="submit" name="submit" value="{'Home'|@translate}"></p> |
---|
113 | </form> |
---|
114 | {/if} |
---|
115 | |
---|
116 | </div> {* content *} |
---|
117 | <div>{$L_UPGRADE_HELP}</div> |
---|
118 | </div> {* the_page *} |
---|
119 | </body> |
---|
120 | </html> |
---|