[2254] | 1 | {* $Id: upgrade.tpl 2837 2008-11-06 14:46:41Z patdenice $ *} |
---|
[2820] | 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 { |
---|
[2837] | 16 | width: 800px; |
---|
| 17 | min-height: 0px !important; |
---|
| 18 | margin: auto; |
---|
| 19 | padding: 25px; |
---|
| 20 | text-align: left; |
---|
[2820] | 21 | } |
---|
[1927] | 22 | |
---|
[2837] | 23 | table { margin: 0px; } |
---|
| 24 | td { padding: 3px 10px; } |
---|
[2820] | 25 | </style> |
---|
| 26 | {/literal} |
---|
| 27 | <title>Piwigo {$RELEASE} - {'Upgrade'|@translate}</title> |
---|
| 28 | </head> |
---|
[1927] | 29 | |
---|
[2820] | 30 | <body> |
---|
| 31 | <div id="headbranch"></div> {* Dummy block for double background management *} |
---|
| 32 | <div id="theHeader"></div> |
---|
| 33 | <div id="content" class="content"> |
---|
[1927] | 34 | |
---|
[2820] | 35 | {if isset($introduction)} |
---|
| 36 | <h2>Piwigo {$RELEASE} - {'Upgrade'|@translate}</h2> |
---|
[1927] | 37 | |
---|
[2837] | 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} |
---|
[1927] | 47 | |
---|
[2837] | 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 | |
---|
[2820] | 59 | <p>{'introduction message'|@translate|@sprintf:$introduction.CURRENT_RELEASE}</p> |
---|
[2837] | 60 | {if isset($login)} |
---|
| 61 | <p>{'upgrade login message'|@translate}</p> |
---|
| 62 | {/if} |
---|
[1927] | 63 | |
---|
[2837] | 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 | |
---|
[2820] | 78 | <p style="text-align: center;"> |
---|
[2837] | 79 | <input class="submit" type="submit" name="submit" value="{'Upgrade from %s to %s'|@translate|@sprintf:$introduction.CURRENT_RELEASE:$RELEASE}"/> |
---|
[2820] | 80 | </p> |
---|
[2837] | 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 | |
---|
[2820] | 88 | {/if} |
---|
[1927] | 89 | |
---|
[2820] | 90 | {if isset($upgrade)} |
---|
| 91 | <h2>{'Upgrade from %s to %s'|@translate|@sprintf:$upgrade.VERSION:$RELEASE}</h2> |
---|
[2254] | 92 | |
---|
[2820] | 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> |
---|
[1927] | 99 | |
---|
[2820] | 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> |
---|
[1927] | 110 | </html> |
---|