public inbox for development@lists.ipfire.org
 help / color / mirror / Atom feed
* [PATCH] proxy.cgi: Even more cosmetics for lazy ones (V3)
@ 2017-09-29  9:08 Matthias Fischer
  2017-10-09 14:34 ` Michael Tremer
  0 siblings, 1 reply; 3+ messages in thread
From: Matthias Fischer @ 2017-09-29  9:08 UTC (permalink / raw)
  To: development

[-- Attachment #1: Type: text/plain, Size: 976 bytes --]

Another clickable link, this time for the 'Cache Manager Interface' - this one opens in a new window.

Best,
Matthias

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

diff --git a/html/cgi-bin/proxy.cgi b/html/cgi-bin/proxy.cgi
index dd83bba73..ab490c3d3 100644
--- a/html/cgi-bin/proxy.cgi
+++ b/html/cgi-bin/proxy.cgi
@@ -1118,7 +1118,7 @@ print <<END
 	<td colspan='4'><b>$Lang::tr{'advproxy cache management'}</b></td>
 </tr>
 <tr>
-	<td class='base'>$Lang::tr{'proxy cachemgr'}:</td>
+	<td class='base'><a href='/cgi-bin/cachemgr.cgi\' target=\'_blank\'>$Lang::tr{'proxy cachemgr'}</a>:</td>
 	<td><input type='checkbox' name='CACHEMGR' $checked{'CACHEMGR'}{'on'} /></td>
 	<td class='base'>$Lang::tr{'advproxy admin mail'}:</td>
 	<td><input type='text' name='ADMIN_MAIL_ADDRESS' value='$proxysettings{'ADMIN_MAIL_ADDRESS'}' /></td>
-- 
2.14.2


^ permalink raw reply	[flat|nested] 3+ messages in thread

* Re: [PATCH] proxy.cgi: Even more cosmetics for lazy ones (V3)
  2017-09-29  9:08 [PATCH] proxy.cgi: Even more cosmetics for lazy ones (V3) Matthias Fischer
@ 2017-10-09 14:34 ` Michael Tremer
  2017-10-09 18:38   ` Matthias Fischer
  0 siblings, 1 reply; 3+ messages in thread
From: Michael Tremer @ 2017-10-09 14:34 UTC (permalink / raw)
  To: development

[-- Attachment #1: Type: text/plain, Size: 1128 bytes --]

Hi,

On Fri, 2017-09-29 at 11:08 +0200, Matthias Fischer wrote:
> Another clickable link, this time for the 'Cache Manager Interface' - this one
> opens in a new window.
> 
> Best,
> Matthias
> 
> Signed-off-by: Matthias Fischer <matthias.fischer(a)ipfire.org>
> ---
>  html/cgi-bin/proxy.cgi | 2 +-
>  1 file changed, 1 insertion(+), 1 deletion(-)
> 
> diff --git a/html/cgi-bin/proxy.cgi b/html/cgi-bin/proxy.cgi
> index dd83bba73..ab490c3d3 100644
> --- a/html/cgi-bin/proxy.cgi
> +++ b/html/cgi-bin/proxy.cgi
> @@ -1118,7 +1118,7 @@ print <<END
>  	<td colspan='4'><b>$Lang::tr{'advproxy cache management'}</b></td>
>  </tr>
>  <tr>
> -	<td class='base'>$Lang::tr{'proxy cachemgr'}:</td>
> +	<td class='base'><a href='/cgi-bin/cachemgr.cgi\'
> target=\'_blank\'>$Lang::tr{'proxy cachemgr'}</a>:</td>
>  	<td><input type='checkbox' name='CACHEMGR' $checked{'CACHEMGR'}{'on'}
> /></td>

Why do you escape the '?

>  	<td class='base'>$Lang::tr{'advproxy admin mail'}:</td>
>  	<td><input type='text' name='ADMIN_MAIL_ADDRESS'
> value='$proxysettings{'ADMIN_MAIL_ADDRESS'}' /></td>

-Michael

[-- Attachment #2: signature.asc --]
[-- Type: application/pgp-signature, Size: 833 bytes --]

^ permalink raw reply	[flat|nested] 3+ messages in thread

* Re: [PATCH] proxy.cgi: Even more cosmetics for lazy ones (V3)
  2017-10-09 14:34 ` Michael Tremer
@ 2017-10-09 18:38   ` Matthias Fischer
  0 siblings, 0 replies; 3+ messages in thread
From: Matthias Fischer @ 2017-10-09 18:38 UTC (permalink / raw)
  To: development

[-- Attachment #1: Type: text/plain, Size: 1263 bytes --]

Hi,

On 09.10.2017 16:34, Michael Tremer wrote:
> Hi,
> 
> On Fri, 2017-09-29 at 11:08 +0200, Matthias Fischer wrote:
>> Another clickable link, this time for the 'Cache Manager Interface' - this one
>> opens in a new window.
>> 
>> Best,
>> Matthias
>> 
>> Signed-off-by: Matthias Fischer <matthias.fischer(a)ipfire.org>
>> ---
>>  html/cgi-bin/proxy.cgi | 2 +-
>>  1 file changed, 1 insertion(+), 1 deletion(-)
>> 
>> diff --git a/html/cgi-bin/proxy.cgi b/html/cgi-bin/proxy.cgi
>> index dd83bba73..ab490c3d3 100644
>> --- a/html/cgi-bin/proxy.cgi
>> +++ b/html/cgi-bin/proxy.cgi
>> @@ -1118,7 +1118,7 @@ print <<END
>>  	<td colspan='4'><b>$Lang::tr{'advproxy cache management'}</b></td>
>>  </tr>
>>  <tr>
>> -	<td class='base'>$Lang::tr{'proxy cachemgr'}:</td>
>> +	<td class='base'><a href='/cgi-bin/cachemgr.cgi\'
>> target=\'_blank\'>$Lang::tr{'proxy cachemgr'}</a>:</td>
>>  	<td><input type='checkbox' name='CACHEMGR' $checked{'CACHEMGR'}{'on'}
>> /></td>
> 
> Why do you escape the '?

No good reason just one too many.

>>  	<td class='base'>$Lang::tr{'advproxy admin mail'}:</td>
>>  	<td><input type='text' name='ADMIN_MAIL_ADDRESS'
>> value='$proxysettings{'ADMIN_MAIL_ADDRESS'}' /></td>
> 
> -Michael
> 


^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2017-10-09 18:38 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2017-09-29  9:08 [PATCH] proxy.cgi: Even more cosmetics for lazy ones (V3) Matthias Fischer
2017-10-09 14:34 ` Michael Tremer
2017-10-09 18:38   ` Matthias Fischer

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox