wok diff ppp/stuff/ppp.cgi @ rev 19980

Up kriss_feed (8.7)
author Pascal Bellard <pascal.bellard@slitaz.org>
date Thu Jun 15 08:14:05 2017 +0200 (2017-06-15)
parents 50aef5b483cb
children df2a96b56a0f
line diff
     1.1 --- a/ppp/stuff/ppp.cgi	Tue Aug 09 11:14:54 2016 +0200
     1.2 +++ b/ppp/stuff/ppp.cgi	Thu Jun 15 08:14:05 2017 +0200
     1.3 @@ -126,21 +126,21 @@
     1.4  	<header>
     1.5  		$(_ 'Documentation')
     1.6  	</header>
     1.7 -		<a data-icon="web" href="http://ppp.samba.org/" target="_blank">$(_ 'PPP web page')</a><p>
     1.8 -		<a data-icon="help" href="index.cgi?exec=pppd%20--help" target="_blank">$(_ 'PPP help')</a><p>
     1.9 -		<a data-icon="help" href="index.cgi?exec=man%20pppd" target="_blank">$(_ 'PPP Manual')</a><p>
    1.10 +		<a data-icon="web" href="http://ppp.samba.org/" target="_blank" rel="noopener">$(_ 'PPP web page')</a><p>
    1.11 +		<a data-icon="help" href="index.cgi?exec=pppd%20--help" target="_blank" rel="noopener">$(_ 'PPP help')</a><p>
    1.12 +		<a data-icon="help" href="index.cgi?exec=man%20pppd" target="_blank" rel="noopener">$(_ 'PPP Manual')</a><p>
    1.13  EOT
    1.14  [ "$(which pptp 2>/dev/null)" ] && cat <<EOT
    1.15 -		<a data-icon="web" href="http://pptpclient.sourceforge.net/" target="_blank">$(_n 'PPTP web page')</a><p>
    1.16 -		<a data-icon="help" href="index.cgi?exec=pptp" target="_blank">$(_ 'PPTP Help')</a><p>
    1.17 +		<a data-icon="web" href="http://pptpclient.sourceforge.net/" target="_blank" rel="noopener">$(_n 'PPTP web page')</a><p>
    1.18 +		<a data-icon="help" href="index.cgi?exec=pptp" target="_blank" rel="noopener">$(_ 'PPTP Help')</a><p>
    1.19  EOT
    1.20  [ "$(which pptpd 2>/dev/null)" ] && cat <<EOT
    1.21 -		<a data-icon="web" href="http://poptop.sourceforge.net/" target="_blank">$(_n 'PPTPD web page')</a><p>
    1.22 -		<a data-icon="help" href="index.cgi?exec=pptpd%20--help" target="_blank">$(_ 'PPTPD Help')</a><p>
    1.23 +		<a data-icon="web" href="http://poptop.sourceforge.net/" target="_blank" rel="noopener">$(_n 'PPTPD web page')</a><p>
    1.24 +		<a data-icon="help" href="index.cgi?exec=pptpd%20--help" target="_blank" rel="noopener">$(_ 'PPTPD Help')</a><p>
    1.25  EOT
    1.26  [ "$(which pppssh 2>/dev/null)" ] && cat <<EOT
    1.27 -		<a data-icon="web" href="http://doc.slitaz.org/en:guides:vpn" target="_blank">$(_n 'VPN Wiki')</a><p>
    1.28 -		<a data-icon="help" href="index.cgi?exec=dbclient" target="_blank">$(_ 'SSH Help')</a><p>
    1.29 +		<a data-icon="web" href="http://doc.slitaz.org/en:guides:vpn" target="_blank" rel="noopener">$(_n 'VPN Wiki')</a><p>
    1.30 +		<a data-icon="help" href="index.cgi?exec=dbclient" target="_blank" rel="noopener">$(_ 'SSH Help')</a><p>
    1.31  EOT
    1.32  cat << EOT
    1.33  	<footer>
    1.34 @@ -150,19 +150,19 @@
    1.35  	<header>
    1.36  		$(_ 'Configuration')
    1.37  	</header>
    1.38 -		<a data-icon="conf" href="index.cgi?file=/etc/ppp/scripts/ppp-on" target="_blank">$(_ 'PPP PSTN script')</a><p>
    1.39 -		<a data-icon="conf" href="index.cgi?file=/etc/ppp/scripts/ppp-on-dialer" target="_blank">$(_ 'PPP dialer chat')</a><p>
    1.40 -		<a data-icon="conf" href="index.cgi?file=/etc/ppp/options" target="_blank">$(_ 'PPP options')</a><p>
    1.41 -		<a data-icon="conf" href="index.cgi?file=/etc/ppp/chap-secrets" target="_blank">$(_ 'chap users')</a><p>
    1.42 -		<a data-icon="conf" href="index.cgi?file=/etc/ppp/pap-secrets" target="_blank">$(_ 'pap users')</a><p>
    1.43 +		<a data-icon="conf" href="index.cgi?file=/etc/ppp/scripts/ppp-on" target="_blank" rel="noopener">$(_ 'PPP PSTN script')</a><p>
    1.44 +		<a data-icon="conf" href="index.cgi?file=/etc/ppp/scripts/ppp-on-dialer" target="_blank" rel="noopener">$(_ 'PPP dialer chat')</a><p>
    1.45 +		<a data-icon="conf" href="index.cgi?file=/etc/ppp/options" target="_blank" rel="noopener">$(_ 'PPP options')</a><p>
    1.46 +		<a data-icon="conf" href="index.cgi?file=/etc/ppp/chap-secrets" target="_blank" rel="noopener">$(_ 'chap users')</a><p>
    1.47 +		<a data-icon="conf" href="index.cgi?file=/etc/ppp/pap-secrets" target="_blank" rel="noopener">$(_ 'pap users')</a><p>
    1.48  EOT
    1.49  for i in /etc/ppp/peers/* ; do
    1.50  	[ -s "$i" ] && cat << EOT
    1.51 -		<a data-icon="conf" href="index.cgi?file=$i" target="_blank">$(basename $i)</a><p>
    1.52 +		<a data-icon="conf" href="index.cgi?file=$i" target="_blank" rel="noopener">$(basename $i)</a><p>
    1.53  EOT
    1.54  done
    1.55  [ "$(which pptpd 2>/dev/null)" ] && cat <<EOT
    1.56 -		<a data-icon="conf" href="index.cgi?file=/etc/pptpd.conf" target="_blank">$(_ 'pptpd.conf')</a><p>
    1.57 +		<a data-icon="conf" href="index.cgi?file=/etc/pptpd.conf" target="_blank" rel="noopener">$(_ 'pptpd.conf')</a><p>
    1.58  EOT
    1.59  if [ "$(busybox ps x | grep "pppd" | awk '/modem/{print $1}')" ]; then
    1.60  	start_disabled='disabled'