[v2] wlanap.cgi: Cosmetic fix - replace 'Save' image with 'Save' button

Message ID 20201228134021.1985-1-matthias.fischer@ipfire.org
State Accepted
Commit ed7f8152662d2371b7624fd4f26499f4236c35c2
Headers
Series [v2] wlanap.cgi: Cosmetic fix - replace 'Save' image with 'Save' button |

Commit Message

Matthias Fischer Dec. 28, 2020, 1:40 p.m. UTC
  Fixed syntax for "value"..

Thanks!

Signed-off-by: Matthias Fischer <matthias.fischer@ipfire.org>
---
 html/cgi-bin/wlanap.cgi | 3 +--
 1 file changed, 1 insertion(+), 2 deletions(-)
  

Comments

Michael Tremer Dec. 29, 2020, 10:21 a.m. UTC | #1
Thank you. Merged.

> On 28 Dec 2020, at 14:40, Matthias Fischer <matthias.fischer@ipfire.org> wrote:
> 
> Fixed syntax for "value"..
> 
> Thanks!
> 
> Signed-off-by: Matthias Fischer <matthias.fischer@ipfire.org>
> ---
> html/cgi-bin/wlanap.cgi | 3 +--
> 1 file changed, 1 insertion(+), 2 deletions(-)
> 
> diff --git a/html/cgi-bin/wlanap.cgi b/html/cgi-bin/wlanap.cgi
> index fd7e9a679..575b696d7 100644
> --- a/html/cgi-bin/wlanap.cgi
> +++ b/html/cgi-bin/wlanap.cgi
> @@ -516,8 +516,7 @@ print <<END
> <table width='80%' cellspacing='0'>
> <tr><td align='center'>
> <form method='post' action='$ENV{'SCRIPT_NAME'}'>
> -       <input type='hidden' name='ACTION' value=$Lang::tr{'save'} />
> -       <input type='image' alt='$Lang::tr{'save'}' title='$Lang::tr{'save'}' src='/images/media-floppy.png' /></form></td>
> +       <input type='submit' name='ACTION' value='$Lang::tr{'save'}' /></form></td>
> </tr>
> </table>
> END
> -- 
> 2.18.0
>
  

Patch

diff --git a/html/cgi-bin/wlanap.cgi b/html/cgi-bin/wlanap.cgi
index fd7e9a679..575b696d7 100644
--- a/html/cgi-bin/wlanap.cgi
+++ b/html/cgi-bin/wlanap.cgi
@@ -516,8 +516,7 @@  print <<END
 <table width='80%' cellspacing='0'>
 <tr><td align='center'>
 <form method='post' action='$ENV{'SCRIPT_NAME'}'>
-       <input type='hidden' name='ACTION' value=$Lang::tr{'save'} />
-       <input type='image' alt='$Lang::tr{'save'}' title='$Lang::tr{'save'}' src='/images/media-floppy.png' /></form></td>
+       <input type='submit' name='ACTION' value='$Lang::tr{'save'}' /></form></td>
 </tr>
 </table>
 END