Changeset 2819 for trunk/admin
- Timestamp:
- Nov 3, 2008, 8:52:33 PM (15 years ago)
- Location:
- trunk/admin
- Files:
-
- 3 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/admin/include/functions_upgrade.php
r2815 r2819 133 133 mysql_query($query); 134 134 135 array_push( 136 $page['infos'], 137 'As a precaution, following plugins have been deactivated. You must check for plugins upgrade before reactiving them: 138 <pre>' . implode(', ', $plugins) . '</pre>' 139 ); 135 array_push($page['infos'], 136 l10n('deactivated plugins') . '<pre>' . implode(', ', $plugins) . '</pre>'); 140 137 } 141 138 } -
trunk/admin/template/goto/install.tpl
r2752 r2819 2 2 <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01//EN" 3 3 "http://www.w3.org/TR/html4/strict.dtd"> 4 <html lang=" fr">4 <html lang="{$lang_info.code}" dir="{$lang_info.direction}"> 5 5 <head> 6 6 <meta http-equiv="Content-Type" content="text/html; charset={$T_CONTENT_ENCODING}"> -
trunk/admin/template/goto/upgrade.tpl
r2787 r2819 1 1 {* $Id$ *} 2 <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> 3 <html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en"> 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 #theHeader { height: 105px; } 4 16 5 <head> 6 <meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1" /> 7 <title>Piwigo : Upgrade to {$RELEASE}</title> 8 </head> 17 .content { 18 width: 800px; 19 min-height: 0px !important; 20 margin: auto; 21 padding: 25px; 22 text-align: left; 23 } 9 24 10 <body> 11 {if isset($introduction)} 12 <h1>Welcome to Piwigo upgrade page.</h1> 25 h2 { width: 770px !important; } 26 </style> 27 {/literal} 28 <title>Piwigo {$RELEASE} - {'Upgrade'|@translate}</title> 29 </head> 13 30 14 <p>This page proposes to upgrade your database corresponding to your old 15 version of Piwigo to the current version. The upgrade assistant 16 thinks you are currently running a 17 < strong>release {$introduction.CURRENT_RELEASE}</strong> (or equivalent).</p>31 <body> 32 <div id="headbranch"></div> {* Dummy block for double background management *} 33 <div id="theHeader"></div> 34 <div id="content" class="content"> 18 35 19 <p><a href="{$introduction.RUN_UPGRADE_URL}">Upgrade from release 20 {$introduction.CURRENT_RELEASE} to {$RELEASE}</a></p> 21 {/if} 36 {if isset($introduction)} 37 <h2>Piwigo {$RELEASE} - {'Upgrade'|@translate}</h2> 22 38 23 {if isset($upgrade)} 24 <h1>Upgrade from version {$upgrade.VERSION} to {$RELEASE}</h1> 39 <p>{'language'|@translate} 40 <select name="language" onchange="document.location = 'upgrade.php?language='+this.options[this.selectedIndex].value;"> 41 {html_options options=$language_options selected=$language_selection} 42 </select> 43 </p> 25 44 26 <p>Statistics</p> 27 <ul> 28 <li>total upgrade time : {$upgrade.TOTAL_TIME}</li> 29 <li>total SQL time : {$upgrade.SQL_TIME}</li> 30 <li>SQL queries : {$upgrade.NB_QUERIES}</li> 31 </ul> 45 <p>{'introduction message'|@translate|@sprintf:$introduction.CURRENT_RELEASE}</p> 32 46 33 <p>Upgrade informations</p> 47 <p style="text-align: center;"> 48 <a href="{$introduction.RUN_UPGRADE_URL}">{'Upgrade from %s to %s'|@translate|@sprintf:$introduction.CURRENT_RELEASE:$RELEASE}</b> 49 </p> 50 {/if} 34 51 35 <ul> 36 {foreach from=$infos item=info} 37 <li>{$info}</li> 38 {/foreach} 39 </ul> 52 {if isset($upgrade)} 53 <h2>{'Upgrade from %s to %s'|@translate|@sprintf:$upgrade.VERSION:$RELEASE}</h2> 40 54 41 {/if} 42 </body> 55 <p><b>{'Statistics'|@translate}</b></p> 56 <ul> 57 <li>{'total upgrade time'|@translate} : {$upgrade.TOTAL_TIME}</li> 58 <li>{'total SQL time'|@translate} : {$upgrade.SQL_TIME}</li> 59 <li>{'SQL queries'|@translate} : {$upgrade.NB_QUERIES}</li> 60 </ul> 43 61 62 <p><b>{'Upgrade informations'|@translate}</b></p> 63 <ul> 64 {foreach from=$infos item=info} 65 <li>{$info}</li> 66 {/foreach} 67 </ul> 68 {/if} 69 70 </div> {* content *} 71 </body> 44 72 </html>
Note: See TracChangeset
for help on using the changeset viewer.