aboutsummaryrefslogtreecommitdiffstats
path: root/template/default
diff options
context:
space:
mode:
authorplegall <plg@piwigo.org>2005-01-07 23:52:23 +0000
committerplegall <plg@piwigo.org>2005-01-07 23:52:23 +0000
commit0fc6999ded4c86bcdfd5211b031b248e4a8f447b (patch)
treeff3c06b1ce9d6f7588b710c62494e936304dc3ca /template/default
parent6f12edb74a6613e623ae44c90936e4c7c5573c76 (diff)
- upgrade.tpl has been forgotten : mandatory for upgrade scripts
git-svn-id: http://piwigo.org/svn/trunk@677 68402e56-0260-453c-a942-63ccdbb3a9ee
Diffstat (limited to '')
-rw-r--r--template/default/upgrade.tpl45
1 files changed, 45 insertions, 0 deletions
diff --git a/template/default/upgrade.tpl b/template/default/upgrade.tpl
new file mode 100644
index 000000000..40b2ede4c
--- /dev/null
+++ b/template/default/upgrade.tpl
@@ -0,0 +1,45 @@
+<!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 choices -->
+ <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. Select the version you wish to upgrade
+ :</p>
+
+ <ul>
+ <!-- BEGIN choice -->
+ <li><a href="{choices.choice.URL}">{choices.choice.VERSION}</a></li>
+ <!-- END choice -->
+ </ul>
+ <!-- END choices -->
+
+ <!-- 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>