From: Michael Tremer <michael.tremer@ipfire.org>
To: development@lists.ipfire.org
Subject: Re: [PATCH] proxy.cgi: Even more cosmetics (V4)
Date: Wed, 11 Oct 2017 20:14:28 +0100 [thread overview]
Message-ID: <1507749268.2995.8.camel@ipfire.org> (raw)
In-Reply-To: <20171011160146.3476-1-matthias.fischer@ipfire.org>
[-- Attachment #1: Type: text/plain, Size: 2733 bytes --]
Hi,
this patch doesn't want to apply.
-Michael
On Wed, 2017-10-11 at 18:01 +0200, Matthias Fischer wrote:
> Another clickable link, this time for the 'Cache Manager Interface' - this one opens in a new window.
>
> And: This time - hopefully - with correct '_blank'-attribute (deleted the backslashes).
>
> Plus: Deleted some "blind" tabs - found by chance.
>
> Best,
> Matthias
>
> Signed-off-by: Matthias Fischer <matthias.fischer(a)ipfire.org>
> ---
> html/cgi-bin/proxy.cgi | 8 ++++----
> 1 file changed, 4 insertions(+), 4 deletions(-)
>
> diff --git a/html/cgi-bin/proxy.cgi b/html/cgi-bin/proxy.cgi
> index ab490c3d3..179671a99 100644
> --- a/html/cgi-bin/proxy.cgi
> +++ b/html/cgi-bin/proxy.cgi
> @@ -359,7 +359,7 @@ if (($proxysettings{'ACTION'} eq $Lang::tr{'save'}) || ($proxysettings{'ACTION'}
> $errormessage = $Lang::tr{'advproxy errmsg cache'}." ".$proxysettings{'CACHE_MEM'}." > ".$proxysettings{'CACHE_SIZE'};
> goto ERROR;
> }
> -
> +
> if (!(&General::validport($proxysettings{'PROXY_PORT'})))
> {
> $errormessage = $Lang::tr{'advproxy errmsg invalid proxy port'};
> @@ -695,7 +695,7 @@ ERROR:
> system ('/usr/bin/touch', "${General::swroot}/proxy/transparent_blue"); }
>
> if ($proxysettings{'ACTION'} eq $Lang::tr{'advproxy save and restart'}) { system('/usr/local/bin/squidctrl restart >/dev/null 2>&1'); }
> - if ($proxysettings{'ACTION'} eq $Lang::tr{'proxy reconfigure'}) { system('/usr/local/bin/squidctrl reconfigure >/dev/null 2>&1'); }
> + if ($proxysettings{'ACTION'} eq $Lang::tr{'proxy reconfigure'}) { system('/usr/local/bin/squidctrl reconfigure >/dev/null 2>&1'); }
> }
> }
>
> @@ -1118,7 +1118,7 @@ print <<END
> <td colspan='4'><b>$Lang::tr{'advproxy cache management'}</b></td>
> </tr>
> <tr>
> - <td class='base'><a href='/cgi-bin/cachemgr.cgi\' target=\'_blank\'>$Lang::tr{'proxy cachemgr'}</a>:</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>
> @@ -3206,7 +3206,7 @@ END
>
> if ($proxysettings{'OFFLINE_MODE'} eq 'on') { print FILE "offline_mode on\n\n"; }
> if ($proxysettings{'CACHE_DIGESTS'} eq 'on') { print FILE "digest_generation on\n\n"; } else { print FILE "digest_generation off\n\n"; }
> -
> +
> if ((!($proxysettings{'MEM_POLICY'} eq 'LRU')) || (!($proxysettings{'CACHE_POLICY'} eq 'LRU')))
> {
> if (!($proxysettings{'MEM_POLICY'} eq 'LRU'))
[-- Attachment #2: signature.asc --]
[-- Type: application/pgp-signature, Size: 833 bytes --]
prev parent reply other threads:[~2017-10-11 19:14 UTC|newest]
Thread overview: 2+ messages / expand[flat|nested] mbox.gz Atom feed top
2017-10-11 16:01 Matthias Fischer
2017-10-11 19:14 ` Michael Tremer [this message]
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=1507749268.2995.8.camel@ipfire.org \
--to=michael.tremer@ipfire.org \
--cc=development@lists.ipfire.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox