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

Last change on this file since 13079 was 9596, checked in by plg, 13 years ago

feature 2217: switch upgrade screen to a clear background theme

  • Property svn:eol-style set to LF
File size: 5.0 KB
RevLine 
[2819]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">
[5123]8<link rel="shortcut icon" type="image/x-icon" href="{$ROOT_URL}{$themeconf.icon_dir}/favicon.ico">
9
[9596]10{get_combined_css}
[5123]11{foreach from=$themes item=theme}
[9596]12{if $theme.load_css}
13{combine_css path="admin/themes/`$theme.id`/theme.css" order=-10}
14{/if}
[5123]15{/foreach}
16
[9596]17<!--[if IE 7]>
18  <link rel="stylesheet" type="text/css" href="{$ROOT_URL}admin/themes/default/fix-ie7.css">
19<![endif]-->
20
21<!-- BEGIN get_combined_scripts -->
22{get_combined_scripts load='header'}
23<!-- END get_combined_scripts -->
24
[2819]25{literal}
26<style type="text/css">
[5257]27body {
[9596]28  font-size:12px;
[5257]29}
30
[2819]31.content {
[9596]32 width: 800px;
33 margin: auto;
34 text-align: center;
35 padding:0;
36 background-color:transparent !important;
37 border:none;
[2819]38}
[1927]39
[9596]40#content {
41  min-height:0;
[5257]42}
43
44#theHeader {
45  display: block;
[9596]46  background:url("admin/themes/clear/images/piwigo_logo_big.png") no-repeat scroll center 20px transparent;
47  height:100px;
[5257]48}
49
[9596]50fieldset {
51  margin-top:20px;
52  background-color:#f1f1f1;
53}
54
55legend {
56  font-weight:bold;
57  letter-spacing:2px;
58}
59
60form fieldset p {
61  text-align:left;
62  margin:10px;
63}
64
[5257]65.content h2 {
66  display:block;
[9596]67  font-size:20px;
68  text-align:center;
69  /* margin-top:5px; */
[5257]70}
71
[9596]72table.table2 {
73  width: 100%;
74  border:0;
75}
76
77table.table2 td {
78  text-align: left;
79  padding: 5px 2px;
80}
81
82table.table2 td.fieldname {
83  font-weight:normal;
84}
85
86table.table2 td.fielddesc {
87  padding-left:10px;
88  font-style:italic;
89}
90
91input[type="submit"], input[type="button"], a.bigButton {
92  font-size:14px;
93  font-weight:bold;
94  letter-spacing:2px;
95  border:none;
96  background-color:#666666;
97  color:#fff;
98  padding:5px;
99  -moz-border-radius:5px;
100}
101
102input[type="submit"]:hover, input[type="button"]:hover, a.bigButton:hover {
103  background-color:#ff7700;
104  color:white;
105}
106
107input[type="text"], input[type="password"], select {
108  background-color:#ddd;
109  border:2px solid #ccc;
110  -moz-border-radius:5px;
111  padding:2px;
112}
113
114input[type="text"]:focus, input[type="password"]:focus, select:focus {
115  background-color:#fff;
116  border:2px solid #ff7700;
117}
118
119.sql_content, .infos a {
120  color: #ff3363;
121}
122
123.errors {
124  padding-bottom:5px;
125}
126
[2819]127</style>
128{/literal}
129<title>Piwigo {$RELEASE} - {'Upgrade'|@translate}</title>
130</head>
[1927]131
[2819]132<body>
[2998]133<div id="the_page">
[2819]134<div id="theHeader"></div>
135<div id="content" class="content">
[1927]136
[2819]137{if isset($introduction)}
[9596]138<h2>{'Version'|@translate} {$RELEASE} - {'Upgrade'|@translate}</h2>
[1927]139
[2836]140{if isset($errors)}
141<div class="errors">
142  <ul>
143    {foreach from=$errors item=error}
144    <li>{$error}</li>
145    {/foreach}
146  </ul>
147</div>
148{/if}
[1927]149
[9596]150<form method="POST" action="{$introduction.F_ACTION}" name="upgrade_form">
151
152<fieldset>
[2836]153<table>
154  <tr>
[5021]155    <td>{'Language'|@translate}</td>
[2836]156    <td>
157      <select name="language" onchange="document.location = 'upgrade.php?language='+this.options[this.selectedIndex].value;">
158        {html_options options=$language_options selected=$language_selection}
159      </select>
160    </td>
161  </tr>
162</table>
163
[6127]164<p>{'This page proposes to upgrade your database corresponding to your old version of Piwigo to the current version. The upgrade assistant thinks you are currently running a <strong>release %s</strong> (or equivalent).'|@translate|@sprintf:$introduction.CURRENT_RELEASE}</p>
[2836]165{if isset($login)}
[5021]166<p>{'Only administrator can run upgrade: please sign in below.'|@translate}</p>
[2836]167{/if}
[1927]168
[2836]169{if isset($login)}
170<table>
171  <tr>
172    <td>{'Username'|@translate}</td>
[3185]173    <td><input type="text" name="username" id="username" size="25" maxlength="40" style="width: 150px;"></td>
[2836]174  </tr>
175  <tr>
176    <td>{'Password'|@translate}</td>
[3185]177    <td><input type="password" name="password" id="password" size="25" maxlength="25" style="width: 150px;"></td>
[2836]178  </tr>
179</table>
180{/if}
[9596]181</fieldset>
[2819]182<p style="text-align: center;">
[5562]183<input class="submit" type="submit" name="submit" value="{'Upgrade from version %s to %s'|@translate|@sprintf:$introduction.CURRENT_RELEASE:$RELEASE}">
[2819]184</p>
[2836]185</form>
186<!--
187<p style="text-align: center;">
[5562]188<a href="{$introduction.RUN_UPGRADE_URL}">{'Upgrade from version %s to %s'|@translate|@sprintf:$introduction.CURRENT_RELEASE:$RELEASE}</a>
[2836]189</p>
190-->
191
[2819]192{/if}
[1927]193
[2819]194{if isset($upgrade)}
[5535]195<h2>{'Upgrade from version %s to %s'|@translate|@sprintf:$upgrade.VERSION:$RELEASE}</h2>
[2254]196
[9596]197<fieldset>
198<legend>{'Statistics'|@translate}</legend>
[2819]199<ul>
200  <li>{'total upgrade time'|@translate} : {$upgrade.TOTAL_TIME}</li>
201  <li>{'total SQL time'|@translate} : {$upgrade.SQL_TIME}</li>
202  <li>{'SQL queries'|@translate} : {$upgrade.NB_QUERIES}</li>
203</ul>
[9596]204</fieldset>
[1927]205
[9596]206<fieldset>
207<legend>{'Upgrade informations'|@translate}</legend>
[2819]208<ul>
209  {foreach from=$infos item=info}
210  <li>{$info}</li>
211  {/foreach}
212</ul>
[9596]213</fieldset>
[2884]214
[9596]215<p>
216  <a class="bigButton" href="index.php">{'Home'|@translate}</a>
217</p>
[2819]218{/if}
219
220</div> {* content *}
[3203]221<div>{$L_UPGRADE_HELP}</div>
[2998]222</div> {* the_page *}
[2819]223</body>
[1927]224</html>
Note: See TracBrowser for help on using the repository browser.