mirror of
https://github.com/Piwigo/Piwigo.git
synced 2026-06-02 04:15:05 +02:00
- bug fixed : in admin/configuration, reset button was a submit button
git-svn-id: http://piwigo.org/svn/trunk@700 68402e56-0260-453c-a942-63ccdbb3a9ee
This commit is contained in:
@@ -47,7 +47,7 @@ while ($row = mysql_fetch_array($result))
|
|||||||
$conf[$row['param']] = $row['value'];
|
$conf[$row['param']] = $row['value'];
|
||||||
// if the parameter is present in $_POST array (if a form is submited), we
|
// if the parameter is present in $_POST array (if a form is submited), we
|
||||||
// override it with the submited value
|
// override it with the submited value
|
||||||
if (isset($_POST[$row['param']]) && !isset($_POST['reset']))
|
if (isset($_POST[$row['param']]))
|
||||||
{
|
{
|
||||||
$conf[$row['param']] = $_POST[$row['param']];
|
$conf[$row['param']] = $_POST[$row['param']];
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -205,7 +205,7 @@
|
|||||||
<tr>
|
<tr>
|
||||||
<td colspan="2" align="center">
|
<td colspan="2" align="center">
|
||||||
<input type="submit" name="submit" class="bouton" value="{L_SUBMIT}">
|
<input type="submit" name="submit" class="bouton" value="{L_SUBMIT}">
|
||||||
<input type="submit" name="reset" class="bouton" value="{L_RESET}">
|
<input type="reset" name="reset" class="bouton" value="{L_RESET}">
|
||||||
</td>
|
</td>
|
||||||
</tr>
|
</tr>
|
||||||
</table>
|
</table>
|
||||||
|
|||||||
Reference in New Issue
Block a user