Changeset 700


Ignore:
Timestamp:
Jan 17, 2005, 12:54:54 AM (19 years ago)
Author:
plg
Message:
  • bug fixed : in admin/configuration, reset button was a submit button
Location:
trunk
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • trunk/admin/configuration.php

    r675 r700  
    4848  // if the parameter is present in $_POST array (if a form is submited), we
    4949  // override it with the submited value
    50   if (isset($_POST[$row['param']]) && !isset($_POST['reset']))
     50  if (isset($_POST[$row['param']]))
    5151  {
    5252    $conf[$row['param']] = $_POST[$row['param']];
  • trunk/template/default/admin/configuration.tpl

    r653 r700  
    206206      <td colspan="2" align="center">
    207207        <input type="submit" name="submit" class="bouton" value="{L_SUBMIT}">
    208                 <input type="submit" name="reset" class="bouton" value="{L_RESET}">
     208        <input type="reset" name="reset" class="bouton" value="{L_RESET}">
    209209      </td>
    210210    </tr>
Note: See TracChangeset for help on using the changeset viewer.