aboutsummaryrefslogtreecommitdiffstats
path: root/template
diff options
context:
space:
mode:
Diffstat (limited to 'template')
-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>