source: branches/2.0/admin/template/goto/upgrade.tpl @ 2864

Last change on this file since 2864 was 2864, checked in by patdenice, 15 years ago

merge -c2863 from trunk to branch 2.0

  • Remove advises of file removal at the end of install/upgrade.
  • Automatic change mysql.inc.php if file is writable, else purpose manual change to user.
  • 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 2864 2008-11-12 12:41:27Z 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; }
25textarea { margin-left: 20px; }
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{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{/if}
108
109</div> {* content *}
110</body>
111</html>
Note: See TracBrowser for help on using the repository browser.