From 37446caa5c362d998be6e1343995a5a7548a98a6 Mon Sep 17 00:00:00 2001
From: rvelices
Date: Thu, 6 Mar 2008 00:25:47 +0000
Subject: - upgrade goes smarty - event_tracer goes smarty - correction in
index.tpl
git-svn-id: http://piwigo.org/svn/trunk@2254 68402e56-0260-453c-a942-63ccdbb3a9ee
---
template/yoga/index.tpl | 2 +-
template/yoga/upgrade.tpl | 35 +++++++++++++++++------------------
2 files changed, 18 insertions(+), 19 deletions(-)
(limited to 'template/yoga')
diff --git a/template/yoga/index.tpl b/template/yoga/index.tpl
index 944c5153e..abe3975ad 100644
--- a/template/yoga/index.tpl
+++ b/template/yoga/index.tpl
@@ -56,7 +56,7 @@
{'calendar_view'|@translate}:
{foreach from=$chronology_views item=view}
- {$view.CONTENT}
+ {$view.CONTENT}
{/foreach}
diff --git a/template/yoga/upgrade.tpl b/template/yoga/upgrade.tpl
index 2d31a690b..42e14a772 100644
--- a/template/yoga/upgrade.tpl
+++ b/template/yoga/upgrade.tpl
@@ -1,45 +1,44 @@
-
+{* $Id$ *}
- PhpWebGallery : Upgrade to {RELEASE}
+ PhpWebGallery : Upgrade to {$RELEASE}
-
+ {if isset($introduction)}
Welcome to PhpWebGallery upgrade page.
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
-release {introduction.CURRENT_RELEASE} (or equivalent).
+release {$introduction.CURRENT_RELEASE} (or equivalent).
- Upgrade from release
-{introduction.CURRENT_RELEASE} to {RELEASE}
-
+ Upgrade from release
+{$introduction.CURRENT_RELEASE} to {$RELEASE}
+ {/if}
-
- Upgrade from version {upgrade.VERSION} to {RELEASE}
+ {if isset($upgrade)}
+ Upgrade from version {$upgrade.VERSION} to {$RELEASE}
Statistics
- total upgrade time : {upgrade.TOTAL_TIME}
- total SQL time : {upgrade.SQL_TIME}
- SQL queries : {upgrade.NB_QUERIES}
+ total upgrade time : {$upgrade.TOTAL_TIME}
+ total SQL time : {$upgrade.SQL_TIME}
+ SQL queries : {$upgrade.NB_QUERIES}
-
Upgrade informations
-
- {upgrade.infos.info.CONTENT}
-
+ {foreach from=$infos item=info}
+ {$info}
+ {/foreach}
-
-
+
+ {/if}
--
cgit v1.2.3