New: release upgrade scripts from 1.3.0 come back from branch 1.6. Only

install/upgrade_1.6.2.php is really new, upgrade 60 was taken into
account. Detection of 1.6.0 or 1.6.2 data model in upgrade.php. Release
upgrade scripts added on trunk to be kept in a safer place.


git-svn-id: http://piwigo.org/svn/trunk@1927 68402e56-0260-453c-a942-63ccdbb3a9ee
This commit is contained in:
plegall 2007-03-28 22:06:13 +00:00
commit 0d5216267c
8 changed files with 2273 additions and 0 deletions

44
template/yoga/upgrade.tpl Normal file
View file

@ -0,0 +1,44 @@
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1" />
<title>PhpWebGallery : Upgrade to {RELEASE}</title>
</head>
<body>
<!-- BEGIN introduction -->
<h1>Welcome to PhpWebGallery upgrade page.</h1>
<p>This page proposes to upgrade your database corresponding to your old
version of PhpWebGallery to the current version. The upgrade assistant
thinks you are currently running a
<strong>release {introduction.CURRENT_RELEASE}</strong> (or equivalent).</p>
<p><a href="{introduction.RUN_UPGRADE_URL}">Upgrade from release
{introduction.CURRENT_RELEASE} to {RELEASE}</a></p>
<!-- END introduction -->
<!-- BEGIN upgrade -->
<h1>Upgrade from version {upgrade.VERSION} to {RELEASE}</h1>
<p>Statistics</p>
<ul>
<li>total upgrade time : {upgrade.TOTAL_TIME}</li>
<li>total SQL time : {upgrade.SQL_TIME}</li>
<li>SQL queries : {upgrade.NB_QUERIES}</li>
</ul>
<!-- BEGIN infos -->
<p>Upgrade informations</p>
<ul>
<!-- BEGIN info -->
<li>{upgrade.infos.info.CONTENT}</li>
<!-- END info -->
</ul>
<!-- END infos -->
<!-- END upgrade -->
</body>
</html>