Ignore:
Timestamp:
Nov 6, 2008, 3:46:41 PM (16 years ago)
Author:
patdenice
Message:

merge -c2836 from trunk to branch 2.0

  • Webmaster or administrator can login to run upgrade.
  • Inserting upgrade line in mysql.inc.php still work.
  • Convert espagnol upgrade file to utf8.
  • Minor changes in upgrade processus.
  • Remove all comments in pclzip.lib.php.
File:
1 edited

Legend:

Unmodified
Added
Removed
  • branches/2.0/admin/template/goto/upgrade.tpl

    r2820 r2837  
    1313{literal}
    1414<style type="text/css">
    15 #theHeader { height: 105px; }
    16 
    1715.content {
    18  width: 800px;
    19  min-height: 0px !important;
    20  margin: auto;
    21  padding: 25px;
    22  text-align: left;
     16  width: 800px;
     17  min-height: 0px !important;
     18  margin: auto;
     19  padding: 25px;
     20  text-align: left;
    2321}
    2422
    25 h2 { width: 770px !important; }
     23table { margin: 0px; }
     24td {  padding: 3px 10px; }
    2625</style>
    2726{/literal}
     
    3736<h2>Piwigo {$RELEASE} - {'Upgrade'|@translate}</h2>
    3837
    39 <p>{'language'|@translate} &nbsp;
    40 <select name="language" onchange="document.location = 'upgrade.php?language='+this.options[this.selectedIndex].value;">
    41   {html_options options=$language_options selected=$language_selection}
    42 </select>
    43 </p>
     38{if isset($errors)}
     39<div class="errors">
     40  <ul>
     41    {foreach from=$errors item=error}
     42    <li>{$error}</li>
     43    {/foreach}
     44  </ul>
     45</div>
     46{/if}
     47
     48<table>
     49  <tr>
     50    <td>{'language'|@translate}</td>
     51    <td>
     52      <select name="language" onchange="document.location = 'upgrade.php?language='+this.options[this.selectedIndex].value;">
     53        {html_options options=$language_options selected=$language_selection}
     54      </select>
     55    </td>
     56  </tr>
     57</table>
    4458
    4559<p>{'introduction message'|@translate|@sprintf:$introduction.CURRENT_RELEASE}</p>
     60{if isset($login)}
     61<p>{'upgrade login message'|@translate}</p>
     62{/if}
     63
     64<form method="POST" action="{$introduction.F_ACTION}" name="upgrade_form">
     65{if isset($login)}
     66<table>
     67  <tr>
     68    <td>{'Username'|@translate}</td>
     69    <td><input type="text" name="username" id="username" size="25" maxlength="40" style="width: 150px;" /></td>
     70  </tr>
     71  <tr>
     72    <td>{'Password'|@translate}</td>
     73    <td><input type="password" name="password" id="password" size="25" maxlength="25" style="width: 150px;" /></td>
     74  </tr>
     75</table>
     76{/if}
    4677
    4778<p style="text-align: center;">
    48 <a href="{$introduction.RUN_UPGRADE_URL}">{'Upgrade from %s to %s'|@translate|@sprintf:$introduction.CURRENT_RELEASE:$RELEASE}</b>
     79<input class="submit" type="submit" name="submit" value="{'Upgrade from %s to %s'|@translate|@sprintf:$introduction.CURRENT_RELEASE:$RELEASE}"/>
    4980</p>
     81</form>
     82<!--
     83<p style="text-align: center;">
     84<a href="{$introduction.RUN_UPGRADE_URL}">{'Upgrade from %s to %s'|@translate|@sprintf:$introduction.CURRENT_RELEASE:$RELEASE}</a>
     85</p>
     86-->
     87
    5088{/if}
    5189
Note: See TracChangeset for help on using the changeset viewer.