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

Last change on this file since 2836 was 2836, checked in by patdenice, 15 years ago
  • Webmaster or administrator can login to run upgrade.
  • Inserting upgrade line in mysql.inc.php still work.
  • Convert espagnol upgrade file to utf8.
  • Minor changes in upgrade processus.
  • Remove all comments in pclzip.lib.php.
  • Property svn:eol-style set to LF
  • Property svn:keywords set to Author Date Id Revision
File size: 3.2 KB
Line 
1{* $Id: upgrade.tpl 2836 2008-11-06 14:44:51Z 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.content {
16  width: 800px;
17  min-height: 0px !important;
18  margin: auto;
19  padding: 25px;
20  text-align: left;
21}
22
23table { margin: 0px; }
24td {  padding: 3px 10px; }
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="theHeader"></div>
33<div id="content" class="content">
34
35{if isset($introduction)}
36<h2>Piwigo {$RELEASE} - {'Upgrade'|@translate}</h2>
37
38{if isset($errors)}
39<div class="errors">
40  <ul>
41    {foreach from=$errors item=error}
42    <li>{$error}</li>
43    {/foreach}
44  </ul>
45</div>
46{/if}
47
48<table>
49  <tr>
50    <td>{'language'|@translate}</td>
51    <td>
52      <select name="language" onchange="document.location = 'upgrade.php?language='+this.options[this.selectedIndex].value;">
53        {html_options options=$language_options selected=$language_selection}
54      </select>
55    </td>
56  </tr>
57</table>
58
59<p>{'introduction message'|@translate|@sprintf:$introduction.CURRENT_RELEASE}</p>
60{if isset($login)}
61<p>{'upgrade login message'|@translate}</p>
62{/if}
63
64<form method="POST" action="{$introduction.F_ACTION}" name="upgrade_form">
65{if isset($login)}
66<table>
67  <tr>
68    <td>{'Username'|@translate}</td>
69    <td><input type="text" name="username" id="username" size="25" maxlength="40" style="width: 150px;" /></td>
70  </tr>
71  <tr>
72    <td>{'Password'|@translate}</td>
73    <td><input type="password" name="password" id="password" size="25" maxlength="25" style="width: 150px;" /></td>
74  </tr>
75</table>
76{/if}
77
78<p style="text-align: center;">
79<input class="submit" type="submit" name="submit" value="{'Upgrade from %s to %s'|@translate|@sprintf:$introduction.CURRENT_RELEASE:$RELEASE}"/>
80</p>
81</form>
82<!--
83<p style="text-align: center;">
84<a href="{$introduction.RUN_UPGRADE_URL}">{'Upgrade from %s to %s'|@translate|@sprintf:$introduction.CURRENT_RELEASE:$RELEASE}</a>
85</p>
86-->
87
88{/if}
89
90{if isset($upgrade)}
91<h2>{'Upgrade from %s to %s'|@translate|@sprintf:$upgrade.VERSION:$RELEASE}</h2>
92
93<p><b>{'Statistics'|@translate}</b></p>
94<ul>
95  <li>{'total upgrade time'|@translate} : {$upgrade.TOTAL_TIME}</li>
96  <li>{'total SQL time'|@translate} : {$upgrade.SQL_TIME}</li>
97  <li>{'SQL queries'|@translate} : {$upgrade.NB_QUERIES}</li>
98</ul>
99
100<p><b>{'Upgrade informations'|@translate}</b></p>
101<ul>
102  {foreach from=$infos item=info}
103  <li>{$info}</li>
104  {/foreach}
105</ul>
106{/if}
107
108</div> {* content *}
109</body>
110</html>
Note: See TracBrowser for help on using the repository browser.