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

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

Sylvia style is back for installation and upgrade pages.

  • Property svn:eol-style set to LF
File size: 4.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
10{foreach from=$themes item=theme}
11{if isset($theme.local_head)}{include file=$theme.local_head}{/if}
[5257]12<link rel="stylesheet" type="text/css" href="{$ROOT_URL}admin/themes/{$theme.id}/theme.css">
[5123]13{/foreach}
14
[2819]15{literal}
16<style type="text/css">
[5257]17body {
18  background:url("admin/themes/roma/images/bottom-left-bg.jpg") no-repeat fixed left bottom #111111;
19}
20
[2819]21.content {
[5257]22  background:url("admin/themes/roma/images/fillet.png") repeat-x scroll left top #222222;
[2836]23  width: 800px;
24  min-height: 0px !important;
25  margin: auto;
26  text-align: left;
[5257]27  padding: 5px;
[2819]28}
[1927]29
[5257]30#headbranch  {
31  background:url("admin/themes/roma/images/top-left-bg.jpg") no-repeat scroll left top transparent;
32}
33
34#theHeader {
35  display: block;
36  background:url("admin/themes/roma/images/piwigo_logo_sombre_214x100.png") no-repeat scroll 245px top transparent;
37}
38
39.content h2 {
40  display:block;
41  font-size:28px;
42  height:104px;
43  width:54%;
44  color:#666666;
45  letter-spacing:-1px;
46  margin:0 30px 3px 20px;
47  overflow:hidden;
48  position:absolute;
49  right:0;
50  text-align:right;
51  top:0;
52  width:770px;
53  text-align:right;
54  text-transform:none;
55}
56
[2836]57table { margin: 0px; }
58td {  padding: 3px 10px; }
[2863]59textarea { margin-left: 20px; }
[2819]60</style>
61{/literal}
62<title>Piwigo {$RELEASE} - {'Upgrade'|@translate}</title>
63</head>
[1927]64
[2819]65<body>
66<div id="headbranch"></div> {* Dummy block for double background management *}
[2998]67<div id="the_page">
[2819]68<div id="theHeader"></div>
69<div id="content" class="content">
[1927]70
[2819]71{if isset($introduction)}
72<h2>Piwigo {$RELEASE} - {'Upgrade'|@translate}</h2>
[1927]73
[2836]74{if isset($errors)}
75<div class="errors">
76  <ul>
77    {foreach from=$errors item=error}
78    <li>{$error}</li>
79    {/foreach}
80  </ul>
81</div>
82{/if}
[1927]83
[2836]84<table>
85  <tr>
[5021]86    <td>{'Language'|@translate}</td>
[2836]87    <td>
88      <select name="language" onchange="document.location = 'upgrade.php?language='+this.options[this.selectedIndex].value;">
89        {html_options options=$language_options selected=$language_selection}
90      </select>
91    </td>
92  </tr>
93</table>
94
[2819]95<p>{'introduction message'|@translate|@sprintf:$introduction.CURRENT_RELEASE}</p>
[2836]96{if isset($login)}
[5021]97<p>{'Only administrator can run upgrade: please sign in below.'|@translate}</p>
[2836]98{/if}
[1927]99
[2836]100<form method="POST" action="{$introduction.F_ACTION}" name="upgrade_form">
101{if isset($login)}
102<table>
103  <tr>
104    <td>{'Username'|@translate}</td>
[3185]105    <td><input type="text" name="username" id="username" size="25" maxlength="40" style="width: 150px;"></td>
[2836]106  </tr>
107  <tr>
108    <td>{'Password'|@translate}</td>
[3185]109    <td><input type="password" name="password" id="password" size="25" maxlength="25" style="width: 150px;"></td>
[2836]110  </tr>
111</table>
112{/if}
113
[2819]114<p style="text-align: center;">
[3185]115<input class="submit" type="submit" name="submit" value="{'Upgrade from %s to %s'|@translate|@sprintf:$introduction.CURRENT_RELEASE:$RELEASE}">
[2819]116</p>
[2836]117</form>
118<!--
119<p style="text-align: center;">
120<a href="{$introduction.RUN_UPGRADE_URL}">{'Upgrade from %s to %s'|@translate|@sprintf:$introduction.CURRENT_RELEASE:$RELEASE}</a>
121</p>
122-->
123
[2819]124{/if}
[1927]125
[2819]126{if isset($upgrade)}
127<h2>{'Upgrade from %s to %s'|@translate|@sprintf:$upgrade.VERSION:$RELEASE}</h2>
[2254]128
[2819]129<p><b>{'Statistics'|@translate}</b></p>
130<ul>
131  <li>{'total upgrade time'|@translate} : {$upgrade.TOTAL_TIME}</li>
132  <li>{'total SQL time'|@translate} : {$upgrade.SQL_TIME}</li>
133  <li>{'SQL queries'|@translate} : {$upgrade.NB_QUERIES}</li>
134</ul>
[1927]135
[2819]136<p><b>{'Upgrade informations'|@translate}</b></p>
137<ul>
138  {foreach from=$infos item=info}
139  <li>{$info}</li>
140  {/foreach}
141</ul>
[2884]142
143<form action="index.php" method="post">
[5021]144<p><input type="submit" name="submit" value="{'Home'|@translate}"></p>
[2884]145</form>
[2819]146{/if}
147
148</div> {* content *}
[3203]149<div>{$L_UPGRADE_HELP}</div>
[2998]150</div> {* the_page *}
[2819]151</body>
[1927]152</html>
Note: See TracBrowser for help on using the repository browser.