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

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

merge -c2998 from trunk to branch 2.0.
Display bug in upgrade page.

  • Property svn:eol-style set to LF
  • Property svn:keywords set to Author Date Id Revision
File size: 3.4 KB
Line 
1{* $Id: upgrade.tpl 2999 2008-12-18 23:22:06Z 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="the_page">
34<div id="theHeader"></div>
35<div id="content" class="content">
36
37{if isset($introduction)}
38<h2>Piwigo {$RELEASE} - {'Upgrade'|@translate}</h2>
39
40{if isset($errors)}
41<div class="errors">
42  <ul>
43    {foreach from=$errors item=error}
44    <li>{$error}</li>
45    {/foreach}
46  </ul>
47</div>
48{/if}
49
50<table>
51  <tr>
52    <td>{'language'|@translate}</td>
53    <td>
54      <select name="language" onchange="document.location = 'upgrade.php?language='+this.options[this.selectedIndex].value;">
55        {html_options options=$language_options selected=$language_selection}
56      </select>
57    </td>
58  </tr>
59</table>
60
61<p>{'introduction message'|@translate|@sprintf:$introduction.CURRENT_RELEASE}</p>
62{if isset($login)}
63<p>{'upgrade login message'|@translate}</p>
64{/if}
65
66<form method="POST" action="{$introduction.F_ACTION}" name="upgrade_form">
67{if isset($login)}
68<table>
69  <tr>
70    <td>{'Username'|@translate}</td>
71    <td><input type="text" name="username" id="username" size="25" maxlength="40" style="width: 150px;" /></td>
72  </tr>
73  <tr>
74    <td>{'Password'|@translate}</td>
75    <td><input type="password" name="password" id="password" size="25" maxlength="25" style="width: 150px;" /></td>
76  </tr>
77</table>
78{/if}
79
80<p style="text-align: center;">
81<input class="submit" type="submit" name="submit" value="{'Upgrade from %s to %s'|@translate|@sprintf:$introduction.CURRENT_RELEASE:$RELEASE}"/>
82</p>
83</form>
84<!--
85<p style="text-align: center;">
86<a href="{$introduction.RUN_UPGRADE_URL}">{'Upgrade from %s to %s'|@translate|@sprintf:$introduction.CURRENT_RELEASE:$RELEASE}</a>
87</p>
88-->
89
90{/if}
91
92{if isset($upgrade)}
93<h2>{'Upgrade from %s to %s'|@translate|@sprintf:$upgrade.VERSION:$RELEASE}</h2>
94
95<p><b>{'Statistics'|@translate}</b></p>
96<ul>
97  <li>{'total upgrade time'|@translate} : {$upgrade.TOTAL_TIME}</li>
98  <li>{'total SQL time'|@translate} : {$upgrade.SQL_TIME}</li>
99  <li>{'SQL queries'|@translate} : {$upgrade.NB_QUERIES}</li>
100</ul>
101
102<p><b>{'Upgrade informations'|@translate}</b></p>
103<ul>
104  {foreach from=$infos item=info}
105  <li>{$info}</li>
106  {/foreach}
107</ul>
108
109<form action="index.php" method="post">
110<p><input type="submit" name="submit" value="{'home'|@translate}"/></p>
111</form>
112{/if}
113
114</div> {* content *}
115</div> {* the_page *}
116</body>
117</html>
Note: See TracBrowser for help on using the repository browser.