aboutsummaryrefslogtreecommitdiffstats
path: root/template/yoga
diff options
context:
space:
mode:
authorrvelices <rv-github@modusoptimus.com>2008-03-06 00:25:47 +0000
committerrvelices <rv-github@modusoptimus.com>2008-03-06 00:25:47 +0000
commit37446caa5c362d998be6e1343995a5a7548a98a6 (patch)
tree3e124ec42bb7851756dd25229373172cf0400ccf /template/yoga
parent7e1e705f8ba79c7579a1c433ad6cf3488a4e349b (diff)
- 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
Diffstat (limited to '')
-rw-r--r--template/yoga/index.tpl2
-rw-r--r--template/yoga/upgrade.tpl35
2 files changed, 18 insertions, 19 deletions
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 @@
<div class="calendarViews">{'calendar_view'|@translate}:
<select onchange="document.location = this.options[this.selectedIndex].value;">
{foreach from=$chronology_views item=view}
- <option value="{$view.VALUE}"{if $view.SELECTED} selected="selected"{/if}}>{$view.CONTENT}</option>
+ <option value="{$view.VALUE}"{if $view.SELECTED} selected="selected"{/if}>{$view.CONTENT}</option>
{/foreach}
</select>
</div>
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 @@
-<!-- DEV TAG: not smarty migrated -->
+{* $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>PhpWebGallery : Upgrade to {RELEASE}</title>
+ <title>PhpWebGallery : Upgrade to {$RELEASE}</title>
</head>
<body>
- <!-- BEGIN introduction -->
+ {if isset($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>
+<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 -->
+ <p><a href="{$introduction.RUN_UPGRADE_URL}">Upgrade from release
+{$introduction.CURRENT_RELEASE} to {$RELEASE}</a></p>
+ {/if}
- <!-- BEGIN upgrade -->
- <h1>Upgrade from version {upgrade.VERSION} to {RELEASE}</h1>
+ {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>
+ <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 -->
+ {foreach from=$infos item=info}
+ <li>{$info}</li>
+ {/foreach}
</ul>
- <!-- END infos -->
- <!-- END upgrade -->
+
+ {/if}
</body>
</html>