source: trunk/admin/themes/default/template/upgrade.tpl @ 5535

Revision 5535, 4.0 KB checked in by plg, 10 years ago (diff)

Fix missing keys: some keys have been removed by mistake during the massive
key conversion.

  • Property svn:eol-style set to LF
Line 
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.id}/theme.css">
13{/foreach}
14
15{literal}
16<style type="text/css">
17body {
18  background:url("admin/themes/roma/images/bottom-left-bg.jpg") no-repeat fixed left bottom #111111;
19}
20
21.content {
22  background:url("admin/themes/roma/images/fillet.png") repeat-x scroll left top #222222;
23  width: 800px;
24  min-height: 0px !important;
25  margin: auto;
26  text-align: left;
27  padding: 5px;
28}
29
30#headbranch  {
31  background:url("admin/themes/roma/images/top-left-bg.jpg") no-repeat scroll left top transparent;
32}
33
34#theHeader {
35  display: block;
36  background:url("admin/themes/roma/images/piwigo_logo_sombre_214x100.png") no-repeat scroll 245px top transparent;
37}
38
39.content h2 {
40  display:block;
41  font-size:28px;
42  height:104px;
43  width:54%;
44  color:#666666;
45  letter-spacing:-1px;
46  margin:0 30px 3px 20px;
47  overflow:hidden;
48  position:absolute;
49  right:0;
50  text-align:right;
51  top:0;
52  width:770px;
53  text-align:right;
54  text-transform:none;
55}
56
57table { margin: 0px; }
58td {  padding: 3px 10px; }
59textarea { margin-left: 20px; }
60</style>
61{/literal}
62<title>Piwigo {$RELEASE} - {'Upgrade'|@translate}</title>
63</head>
64
65<body>
66<div id="headbranch"></div> {* Dummy block for double background management *}
67<div id="the_page">
68<div id="theHeader"></div>
69<div id="content" class="content">
70
71{if isset($introduction)}
72<h2>Piwigo {$RELEASE} - {'Upgrade'|@translate}</h2>
73
74{if isset($errors)}
75<div class="errors">
76  <ul>
77    {foreach from=$errors item=error}
78    <li>{$error}</li>
79    {/foreach}
80  </ul>
81</div>
82{/if}
83
84<table>
85  <tr>
86    <td>{'Language'|@translate}</td>
87    <td>
88      <select name="language" onchange="document.location = 'upgrade.php?language='+this.options[this.selectedIndex].value;">
89        {html_options options=$language_options selected=$language_selection}
90      </select>
91    </td>
92  </tr>
93</table>
94
95<p>{'introduction message'|@translate|@sprintf:$introduction.CURRENT_RELEASE}</p>
96{if isset($login)}
97<p>{'Only administrator can run upgrade: please sign in below.'|@translate}</p>
98{/if}
99
100<form method="POST" action="{$introduction.F_ACTION}" name="upgrade_form">
101{if isset($login)}
102<table>
103  <tr>
104    <td>{'Username'|@translate}</td>
105    <td><input type="text" name="username" id="username" size="25" maxlength="40" style="width: 150px;"></td>
106  </tr>
107  <tr>
108    <td>{'Password'|@translate}</td>
109    <td><input type="password" name="password" id="password" size="25" maxlength="25" style="width: 150px;"></td>
110  </tr>
111</table>
112{/if}
113
114<p style="text-align: center;">
115<input class="submit" type="submit" name="submit" value="{'Upgrade from %s to %s'|@translate|@sprintf:$introduction.CURRENT_RELEASE:$RELEASE}">
116</p>
117</form>
118<!--
119<p style="text-align: center;">
120<a href="{$introduction.RUN_UPGRADE_URL}">{'Upgrade from %s to %s'|@translate|@sprintf:$introduction.CURRENT_RELEASE:$RELEASE}</a>
121</p>
122-->
123
124{/if}
125
126{if isset($upgrade)}
127<h2>{'Upgrade from version %s to %s'|@translate|@sprintf:$upgrade.VERSION:$RELEASE}</h2>
128
129<p><b>{'Statistics'|@translate}</b></p>
130<ul>
131  <li>{'total upgrade time'|@translate} : {$upgrade.TOTAL_TIME}</li>
132  <li>{'total SQL time'|@translate} : {$upgrade.SQL_TIME}</li>
133  <li>{'SQL queries'|@translate} : {$upgrade.NB_QUERIES}</li>
134</ul>
135
136<p><b>{'Upgrade informations'|@translate}</b></p>
137<ul>
138  {foreach from=$infos item=info}
139  <li>{$info}</li>
140  {/foreach}
141</ul>
142
143<form action="index.php" method="post">
144<p><input type="submit" name="submit" value="{'Home'|@translate}"></p>
145</form>
146{/if}
147
148</div> {* content *}
149<div>{$L_UPGRADE_HELP}</div>
150</div> {* the_page *}
151</body>
152</html>
Note: See TracBrowser for help on using the repository browser.