source: trunk/admin/template/goto/upgrade.tpl @ 3283

Last change on this file since 3283 was 3283, checked in by plg, 15 years ago

complement to r3282, remove all $Id$ in source code.

  • Property svn:eol-style set to LF
File size: 3.4 KB
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}template-common/favicon.ico">
9<link rel="stylesheet" type="text/css" href="{$ROOT_URL}admin/template/{$themeconf.template}/layout.css">
10<link rel="stylesheet" type="text/css" href="{$ROOT_URL}admin/template/{$themeconf.template}/default-colors.css">
11<link rel="stylesheet" type="text/css" href="{$ROOT_URL}admin/template/{$themeconf.template}/theme/{$themeconf.theme}/theme.css">
12{literal}
13<style type="text/css">
14.content {
15  width: 800px;
16  min-height: 0px !important;
17  margin: auto;
18  padding: 25px;
19  text-align: left;
20}
21
22table { margin: 0px; }
23td {  padding: 3px 10px; }
24textarea { margin-left: 20px; }
25</style>
26{/literal}
27<title>Piwigo {$RELEASE} - {'Upgrade'|@translate}</title>
28</head>
29
30<body>
31<div id="headbranch"></div> {* Dummy block for double background management *}
32<div id="the_page">
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{if isset($errors)}
40<div class="errors">
41  <ul>
42    {foreach from=$errors item=error}
43    <li>{$error}</li>
44    {/foreach}
45  </ul>
46</div>
47{/if}
48
49<table>
50  <tr>
51    <td>{'language'|@translate}</td>
52    <td>
53      <select name="language" onchange="document.location = 'upgrade.php?language='+this.options[this.selectedIndex].value;">
54        {html_options options=$language_options selected=$language_selection}
55      </select>
56    </td>
57  </tr>
58</table>
59
60<p>{'introduction message'|@translate|@sprintf:$introduction.CURRENT_RELEASE}</p>
61{if isset($login)}
62<p>{'upgrade login message'|@translate}</p>
63{/if}
64
65<form method="POST" action="{$introduction.F_ACTION}" name="upgrade_form">
66{if isset($login)}
67<table>
68  <tr>
69    <td>{'Username'|@translate}</td>
70    <td><input type="text" name="username" id="username" size="25" maxlength="40" style="width: 150px;"></td>
71  </tr>
72  <tr>
73    <td>{'Password'|@translate}</td>
74    <td><input type="password" name="password" id="password" size="25" maxlength="25" style="width: 150px;"></td>
75  </tr>
76</table>
77{/if}
78
79<p style="text-align: center;">
80<input class="submit" type="submit" name="submit" value="{'Upgrade from %s to %s'|@translate|@sprintf:$introduction.CURRENT_RELEASE:$RELEASE}">
81</p>
82</form>
83<!--
84<p style="text-align: center;">
85<a href="{$introduction.RUN_UPGRADE_URL}">{'Upgrade from %s to %s'|@translate|@sprintf:$introduction.CURRENT_RELEASE:$RELEASE}</a>
86</p>
87-->
88
89{/if}
90
91{if isset($upgrade)}
92<h2>{'Upgrade from %s to %s'|@translate|@sprintf:$upgrade.VERSION:$RELEASE}</h2>
93
94<p><b>{'Statistics'|@translate}</b></p>
95<ul>
96  <li>{'total upgrade time'|@translate} : {$upgrade.TOTAL_TIME}</li>
97  <li>{'total SQL time'|@translate} : {$upgrade.SQL_TIME}</li>
98  <li>{'SQL queries'|@translate} : {$upgrade.NB_QUERIES}</li>
99</ul>
100
101<p><b>{'Upgrade informations'|@translate}</b></p>
102<ul>
103  {foreach from=$infos item=info}
104  <li>{$info}</li>
105  {/foreach}
106</ul>
107
108<form action="index.php" method="post">
109<p><input type="submit" name="submit" value="{'home'|@translate}"></p>
110</form>
111{/if}
112
113</div> {* content *}
114<div>{$L_UPGRADE_HELP}</div>
115</div> {* the_page *}
116</body>
117</html>
Note: See TracBrowser for help on using the repository browser.