aboutsummaryrefslogtreecommitdiffstats
path: root/admin/template
diff options
context:
space:
mode:
authorpatdenice <patdenice@piwigo.org>2008-10-21 23:48:48 +0000
committerpatdenice <patdenice@piwigo.org>2008-10-21 23:48:48 +0000
commit8d9d904c67d23c007ec33b3758b5931fe0b12bdf (patch)
tree4edca0e05c959b323c5475a34ca6ecb62bf9f481 /admin/template
parent39eb742c25ca2804eb4453e65449d433e1db389a (diff)
Merge from trunk 2787:
- Move upgrade.tpl to admin template. - Deactivate all active plugins during upgrade.php. - Update Editarea for LocalFiles Editor to version 0.7.2.3 (bonEcho compatibility) git-svn-id: http://piwigo.org/svn/branches/2.0@2788 68402e56-0260-453c-a942-63ccdbb3a9ee
Diffstat (limited to 'admin/template')
-rw-r--r--admin/template/goto/upgrade.tpl44
1 files changed, 44 insertions, 0 deletions
diff --git a/admin/template/goto/upgrade.tpl b/admin/template/goto/upgrade.tpl
new file mode 100644
index 000000000..2af91c70e
--- /dev/null
+++ b/admin/template/goto/upgrade.tpl
@@ -0,0 +1,44 @@
+{* $Id$ *}
+<!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>Piwigo : Upgrade to {$RELEASE}</title>
+ </head>
+
+ <body>
+ {if isset($introduction)}
+ <h1>Welcome to Piwigo upgrade page.</h1>
+
+ <p>This page proposes to upgrade your database corresponding to your old
+version of Piwigo 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>
+ {/if}
+
+ {if isset($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>
+
+ <p>Upgrade informations</p>
+
+ <ul>
+ {foreach from=$infos item=info}
+ <li>{$info}</li>
+ {/foreach}
+ </ul>
+
+ {/if}
+ </body>
+
+</html>