Ignore:
Timestamp:
Mar 6, 2008, 1:25:47 AM (16 years ago)
Author:
rvelices
Message:
  • upgrade goes smarty
  • event_tracer goes smarty
  • correction in index.tpl
File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/template/yoga/upgrade.tpl

    r2222 r2254  
    1 <!-- DEV TAG: not smarty migrated -->
     1{* $Id$ *}
    22<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
    33<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en">
     
    55  <head>
    66    <meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1"  />
    7     <title>PhpWebGallery : Upgrade to {RELEASE}</title>
     7    <title>PhpWebGallery : Upgrade to {$RELEASE}</title>
    88  </head>
    99
    1010  <body>
    11     <!-- BEGIN introduction -->
     11    {if isset($introduction)}
    1212    <h1>Welcome to PhpWebGallery upgrade page.</h1>
    1313
     
    1515version of PhpWebGallery to the current version. The upgrade assistant
    1616thinks you are currently running a
    17 <strong>release {introduction.CURRENT_RELEASE}</strong> (or equivalent).</p>
     17<strong>release {$introduction.CURRENT_RELEASE}</strong> (or equivalent).</p>
    1818
    19     <p><a href="{introduction.RUN_UPGRADE_URL}">Upgrade from release
    20 {introduction.CURRENT_RELEASE} to {RELEASE}</a></p>
    21     <!-- END introduction -->
     19    <p><a href="{$introduction.RUN_UPGRADE_URL}">Upgrade from release
     20{$introduction.CURRENT_RELEASE} to {$RELEASE}</a></p>
     21    {/if}
    2222
    23     <!-- BEGIN upgrade -->
    24     <h1>Upgrade from version {upgrade.VERSION} to {RELEASE}</h1>
     23    {if isset($upgrade)}
     24    <h1>Upgrade from version {$upgrade.VERSION} to {$RELEASE}</h1>
    2525
    2626    <p>Statistics</p>
    2727    <ul>
    28       <li>total upgrade time : {upgrade.TOTAL_TIME}</li>
    29       <li>total SQL time : {upgrade.SQL_TIME}</li>
    30       <li>SQL queries : {upgrade.NB_QUERIES}</li>
     28      <li>total upgrade time : {$upgrade.TOTAL_TIME}</li>
     29      <li>total SQL time : {$upgrade.SQL_TIME}</li>
     30      <li>SQL queries : {$upgrade.NB_QUERIES}</li>
    3131    </ul>
    3232
    33     <!-- BEGIN infos -->
    3433    <p>Upgrade informations</p>
    3534
    3635    <ul>
    37       <!-- BEGIN info -->
    38       <li>{upgrade.infos.info.CONTENT}</li>
    39       <!-- END info -->
     36      {foreach from=$infos item=info}
     37      <li>{$info}</li>
     38      {/foreach}
    4039    </ul>
    41     <!-- END infos -->
    42     <!-- END upgrade -->
     40
     41    {/if}
    4342  </body>
    4443
Note: See TracChangeset for help on using the changeset viewer.