From mboxrd@z Thu Jan 1 00:00:00 1970 From: Michael Tremer To: development@lists.ipfire.org Subject: [PATCH 34/54] samba: Replace icons on top of page with buttons Date: Tue, 13 Oct 2020 16:07:52 +0000 Message-ID: <20201013160812.27754-34-michael.tremer@ipfire.org> In-Reply-To: <20201013160812.27754-1-michael.tremer@ipfire.org> MIME-Version: 1.0 Content-Type: multipart/mixed; boundary="===============4947796201620845364==" List-Id: --===============4947796201620845364== Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: quoted-printable Signed-off-by: Michael Tremer --- doc/language_issues.de | 5 +++++ doc/language_issues.en | 5 ++--- doc/language_issues.es | 5 +++++ doc/language_issues.fr | 5 +++++ doc/language_issues.it | 5 +++++ doc/language_issues.nl | 5 +++++ doc/language_issues.pl | 5 +++++ doc/language_issues.ru | 5 +++++ doc/language_issues.tr | 5 +++++ doc/language_missings | 16 ++++++++++++++++ html/cgi-bin/samba.cgi | 36 ++++++++++++++++++++++++++++-------- langs/en/cgi-bin/en.pl | 2 ++ 12 files changed, 88 insertions(+), 11 deletions(-) diff --git a/doc/language_issues.de b/doc/language_issues.de index 32bdc1f5d..853e1ae9d 100644 --- a/doc/language_issues.de +++ b/doc/language_issues.de @@ -658,6 +658,9 @@ WARNING: translation string unused: shutdown2 WARNING: translation string unused: sitekey WARNING: translation string unused: sitekeyfile WARNING: translation string unused: smbreload +WARNING: translation string unused: smbrestart +WARNING: translation string unused: smbstart +WARNING: translation string unused: smbstop WARNING: translation string unused: smtphost WARNING: translation string unused: smtpport WARNING: translation string unused: socket options @@ -820,6 +823,8 @@ WARNING: translation string unused: zoneconf val vlan amo= unt assignment error WARNING: translation string unused: zoneconf val vlan tag assignment error WARNING: translation string unused: zoneconf val zoneslave amount error WARNING: untranslated string: desired =3D Desired +WARNING: untranslated string: disable =3D Disable +WARNING: untranslated string: enable =3D Enable WARNING: untranslated string: error the to date has to be later than the fro= m date =3D The to date has to be later than the from date! WARNING: untranslated string: fwhost cust locationgrp =3D unknown string WARNING: untranslated string: fwhost err hostip =3D unknown string diff --git a/doc/language_issues.en b/doc/language_issues.en index 9a8a0f7bc..6e61d0475 100644 --- a/doc/language_issues.en +++ b/doc/language_issues.en @@ -594,6 +594,7 @@ WARNING: untranslated string: dial =3D Connect WARNING: untranslated string: dial profile =3D Connect with profile WARNING: untranslated string: dialing mode =3D Dialing mode: WARNING: untranslated string: dialup red not ppp =3D Dialup profiles can onl= y used if RED is set to PPP Dialup
Check the networking setu= p. +WARNING: untranslated string: disable =3D Disable WARNING: untranslated string: disabled =3D disabled WARNING: untranslated string: disconnected =3D Disconnected WARNING: untranslated string: disk access =3D Disk Access @@ -709,6 +710,7 @@ WARNING: untranslated string: emerging pro rules =3D Emer= gingthreats.net Pro Rules WARNING: untranslated string: emerging rules =3D Emergingthreats.net Communi= ty Rules WARNING: untranslated string: empty =3D This field may be left blank WARNING: untranslated string: empty profile =3D empty +WARNING: untranslated string: enable =3D Enable WARNING: untranslated string: enable ignore filter =3D Enable ignore filter WARNING: untranslated string: enable smt =3D Enable Simultaneous Multi-Threa= ding (SMT) WARNING: untranslated string: enabled =3D Enabled: @@ -1603,9 +1605,6 @@ WARNING: untranslated string: smart information =3D S.M= .A.R.T. information WARNING: untranslated string: smartwarn1 =3D Device: WARNING: untranslated string: smartwarn2 =3D reports S.M.A.R.T. error WARNING: untranslated string: smb daemon =3D SMB Daemon -WARNING: untranslated string: smbrestart =3D Restart samba -WARNING: untranslated string: smbstart =3D Start samba -WARNING: untranslated string: smbstop =3D Stop samba WARNING: untranslated string: smt disabled =3D Simultaneous Multi-Threading = (SMT) is disabled WARNING: untranslated string: smt enabled =3D Simultaneous Multi-Threading (= SMT) is enabled WARNING: untranslated string: smt not supported =3D Simultaneous Multi-Threa= ding (SMT) is not supported diff --git a/doc/language_issues.es b/doc/language_issues.es index a7414c5fd..7b24eec97 100644 --- a/doc/language_issues.es +++ b/doc/language_issues.es @@ -585,6 +585,9 @@ WARNING: translation string unused: shutdown2 WARNING: translation string unused: sitekey WARNING: translation string unused: sitekeyfile WARNING: translation string unused: smbreload +WARNING: translation string unused: smbrestart +WARNING: translation string unused: smbstart +WARNING: translation string unused: smbstop WARNING: translation string unused: smtphost WARNING: translation string unused: smtpport WARNING: translation string unused: snort hits @@ -869,6 +872,7 @@ WARNING: untranslated string: dhcp dns key name =3D Key N= ame WARNING: untranslated string: dhcp dns update =3D DNS Update WARNING: untranslated string: dhcp dns update algo =3D Algorithm WARNING: untranslated string: dhcp dns update secret =3D Secret +WARNING: untranslated string: disable =3D Disable WARNING: untranslated string: disconnected =3D Disconnected WARNING: untranslated string: dl client arch insecure =3D Download insecure = Client Package (zip) WARNING: untranslated string: dnat address =3D Firewall Interface @@ -930,6 +934,7 @@ WARNING: untranslated string: email tls implicit =3D impl= icit (TLS) WARNING: untranslated string: email usemail =3D Activate Mail Service WARNING: untranslated string: emerging pro rules =3D Emergingthreats.net Pro= Rules WARNING: untranslated string: emerging rules =3D Emergingthreats.net Communi= ty Rules +WARNING: untranslated string: enable =3D Enable WARNING: untranslated string: enable smt =3D Enable Simultaneous Multi-Threa= ding (SMT) WARNING: untranslated string: encryption =3D Encryption: WARNING: untranslated string: entropy =3D Entropy diff --git a/doc/language_issues.fr b/doc/language_issues.fr index b6ab22001..470634f62 100644 --- a/doc/language_issues.fr +++ b/doc/language_issues.fr @@ -693,6 +693,9 @@ WARNING: translation string unused: shutdown2 WARNING: translation string unused: sitekey WARNING: translation string unused: sitekeyfile WARNING: translation string unused: smbreload +WARNING: translation string unused: smbrestart +WARNING: translation string unused: smbstart +WARNING: translation string unused: smbstop WARNING: translation string unused: smtphost WARNING: translation string unused: smtpport WARNING: translation string unused: socket options @@ -860,6 +863,8 @@ WARNING: translation string unused: zoneconf val vlan amo= unt assignment error WARNING: translation string unused: zoneconf val vlan tag assignment error WARNING: translation string unused: zoneconf val zoneslave amount error WARNING: untranslated string: desired =3D Desired +WARNING: untranslated string: disable =3D Disable +WARNING: untranslated string: enable =3D Enable WARNING: untranslated string: fwhost cust locationgrp =3D unknown string WARNING: untranslated string: fwhost err hostip =3D unknown string WARNING: untranslated string: guardian block a host =3D unknown string diff --git a/doc/language_issues.it b/doc/language_issues.it index 759c21777..6f8ec84b6 100644 --- a/doc/language_issues.it +++ b/doc/language_issues.it @@ -666,6 +666,9 @@ WARNING: translation string unused: shutdown2 WARNING: translation string unused: sitekey WARNING: translation string unused: sitekeyfile WARNING: translation string unused: smbreload +WARNING: translation string unused: smbrestart +WARNING: translation string unused: smbstart +WARNING: translation string unused: smbstop WARNING: translation string unused: smtphost WARNING: translation string unused: smtpport WARNING: translation string unused: snort hits @@ -896,6 +899,7 @@ WARNING: untranslated string: dhcp dns key name =3D Key N= ame WARNING: untranslated string: dhcp dns update =3D DNS Update WARNING: untranslated string: dhcp dns update algo =3D Algorithm WARNING: untranslated string: dhcp dns update secret =3D Secret +WARNING: untranslated string: disable =3D Disable WARNING: untranslated string: disconnected =3D Disconnected WARNING: untranslated string: dl client arch insecure =3D Download insecure = Client Package (zip) WARNING: untranslated string: dns =3D unknown string @@ -937,6 +941,7 @@ WARNING: untranslated string: email tls explicit =3D expl= icit (STARTTLS) WARNING: untranslated string: email tls implicit =3D implicit (TLS) WARNING: untranslated string: email usemail =3D Activate Mail Service WARNING: untranslated string: emerging pro rules =3D Emergingthreats.net Pro= Rules +WARNING: untranslated string: enable =3D Enable WARNING: untranslated string: enable smt =3D Enable Simultaneous Multi-Threa= ding (SMT) WARNING: untranslated string: error =3D Error WARNING: untranslated string: error the to date has to be later than the fro= m date =3D The to date has to be later than the from date! diff --git a/doc/language_issues.nl b/doc/language_issues.nl index 29e714dcd..41badf829 100644 --- a/doc/language_issues.nl +++ b/doc/language_issues.nl @@ -659,6 +659,9 @@ WARNING: translation string unused: shutdown2 WARNING: translation string unused: sitekey WARNING: translation string unused: sitekeyfile WARNING: translation string unused: smbreload +WARNING: translation string unused: smbrestart +WARNING: translation string unused: smbstart +WARNING: translation string unused: smbstop WARNING: translation string unused: smtphost WARNING: translation string unused: smtpport WARNING: translation string unused: snort hits @@ -896,6 +899,7 @@ WARNING: untranslated string: dhcp dns key name =3D Key N= ame WARNING: untranslated string: dhcp dns update =3D DNS Update WARNING: untranslated string: dhcp dns update algo =3D Algorithm WARNING: untranslated string: dhcp dns update secret =3D Secret +WARNING: untranslated string: disable =3D Disable WARNING: untranslated string: disconnected =3D Disconnected WARNING: untranslated string: dl client arch insecure =3D Download insecure = Client Package (zip) WARNING: untranslated string: dns =3D unknown string @@ -942,6 +946,7 @@ WARNING: untranslated string: email tls explicit =3D expl= icit (STARTTLS) WARNING: untranslated string: email tls implicit =3D implicit (TLS) WARNING: untranslated string: email usemail =3D Activate Mail Service WARNING: untranslated string: emerging pro rules =3D Emergingthreats.net Pro= Rules +WARNING: untranslated string: enable =3D Enable WARNING: untranslated string: enable smt =3D Enable Simultaneous Multi-Threa= ding (SMT) WARNING: untranslated string: error =3D Error WARNING: untranslated string: error the to date has to be later than the fro= m date =3D The to date has to be later than the from date! diff --git a/doc/language_issues.pl b/doc/language_issues.pl index a7414c5fd..7b24eec97 100644 --- a/doc/language_issues.pl +++ b/doc/language_issues.pl @@ -585,6 +585,9 @@ WARNING: translation string unused: shutdown2 WARNING: translation string unused: sitekey WARNING: translation string unused: sitekeyfile WARNING: translation string unused: smbreload +WARNING: translation string unused: smbrestart +WARNING: translation string unused: smbstart +WARNING: translation string unused: smbstop WARNING: translation string unused: smtphost WARNING: translation string unused: smtpport WARNING: translation string unused: snort hits @@ -869,6 +872,7 @@ WARNING: untranslated string: dhcp dns key name =3D Key N= ame WARNING: untranslated string: dhcp dns update =3D DNS Update WARNING: untranslated string: dhcp dns update algo =3D Algorithm WARNING: untranslated string: dhcp dns update secret =3D Secret +WARNING: untranslated string: disable =3D Disable WARNING: untranslated string: disconnected =3D Disconnected WARNING: untranslated string: dl client arch insecure =3D Download insecure = Client Package (zip) WARNING: untranslated string: dnat address =3D Firewall Interface @@ -930,6 +934,7 @@ WARNING: untranslated string: email tls implicit =3D impl= icit (TLS) WARNING: untranslated string: email usemail =3D Activate Mail Service WARNING: untranslated string: emerging pro rules =3D Emergingthreats.net Pro= Rules WARNING: untranslated string: emerging rules =3D Emergingthreats.net Communi= ty Rules +WARNING: untranslated string: enable =3D Enable WARNING: untranslated string: enable smt =3D Enable Simultaneous Multi-Threa= ding (SMT) WARNING: untranslated string: encryption =3D Encryption: WARNING: untranslated string: entropy =3D Entropy diff --git a/doc/language_issues.ru b/doc/language_issues.ru index 380f46043..9c9a60dc9 100644 --- a/doc/language_issues.ru +++ b/doc/language_issues.ru @@ -588,6 +588,9 @@ WARNING: translation string unused: shutdown2 WARNING: translation string unused: sitekey WARNING: translation string unused: sitekeyfile WARNING: translation string unused: smbreload +WARNING: translation string unused: smbrestart +WARNING: translation string unused: smbstart +WARNING: translation string unused: smbstop WARNING: translation string unused: smtphost WARNING: translation string unused: smtpport WARNING: translation string unused: snort hits @@ -872,6 +875,7 @@ WARNING: untranslated string: dhcp dns key name =3D Key N= ame WARNING: untranslated string: dhcp dns update =3D DNS Update WARNING: untranslated string: dhcp dns update algo =3D Algorithm WARNING: untranslated string: dhcp dns update secret =3D Secret +WARNING: untranslated string: disable =3D Disable WARNING: untranslated string: disconnected =3D Disconnected WARNING: untranslated string: disk access =3D Disk Access WARNING: untranslated string: dl client arch insecure =3D Download insecure = Client Package (zip) @@ -934,6 +938,7 @@ WARNING: untranslated string: email tls implicit =3D impl= icit (TLS) WARNING: untranslated string: email usemail =3D Activate Mail Service WARNING: untranslated string: emerging pro rules =3D Emergingthreats.net Pro= Rules WARNING: untranslated string: emerging rules =3D Emergingthreats.net Communi= ty Rules +WARNING: untranslated string: enable =3D Enable WARNING: untranslated string: enable smt =3D Enable Simultaneous Multi-Threa= ding (SMT) WARNING: untranslated string: encryption =3D Encryption: WARNING: untranslated string: entropy =3D Entropy diff --git a/doc/language_issues.tr b/doc/language_issues.tr index 62567ffc5..e5f558875 100644 --- a/doc/language_issues.tr +++ b/doc/language_issues.tr @@ -694,6 +694,9 @@ WARNING: translation string unused: shutdown2 WARNING: translation string unused: sitekey WARNING: translation string unused: sitekeyfile WARNING: translation string unused: smbreload +WARNING: translation string unused: smbrestart +WARNING: translation string unused: smbstart +WARNING: translation string unused: smbstop WARNING: translation string unused: smtphost WARNING: translation string unused: smtpport WARNING: translation string unused: snort hits @@ -874,6 +877,7 @@ WARNING: untranslated string: crypto warning =3D Cryptogr= aphic warning WARNING: untranslated string: dangerous =3D Dangerous WARNING: untranslated string: default IP address =3D Default IP Address WARNING: untranslated string: desired =3D Desired +WARNING: untranslated string: disable =3D Disable WARNING: untranslated string: disconnected =3D Disconnected WARNING: untranslated string: dns =3D unknown string WARNING: untranslated string: dns check servers =3D Check DNS Servers @@ -896,6 +900,7 @@ WARNING: untranslated string: duration =3D Duration WARNING: untranslated string: email tls explicit =3D explicit (STARTTLS) WARNING: untranslated string: email tls implicit =3D implicit (TLS) WARNING: untranslated string: emerging pro rules =3D Emergingthreats.net Pro= Rules +WARNING: untranslated string: enable =3D Enable WARNING: untranslated string: enable smt =3D Enable Simultaneous Multi-Threa= ding (SMT) WARNING: untranslated string: error =3D Error WARNING: untranslated string: error the to date has to be later than the fro= m date =3D The to date has to be later than the from date! diff --git a/doc/language_missings b/doc/language_missings index 6908166d9..d6b3db633 100644 --- a/doc/language_missings +++ b/doc/language_missings @@ -31,8 +31,10 @@ < dhcp server disabled on blue interface < dhcp server enabled on blue interface < dh name is invalid +< disable < dns could not add server < done +< enable < error the to date has to be later than the from date < g.dtm < g.lite @@ -222,6 +224,7 @@ < dh key warn1 < dh name is invalid < dh parameter +< disable < Disabled < disconnected < dl client arch insecure @@ -291,6 +294,7 @@ < email usemail < emerging pro rules < emerging rules +< enable < enable smt < encryption < entropy @@ -935,6 +939,8 @@ < bewan adsl pci st < bewan adsl usb < desired +< disable +< enable < g.dtm < g.lite < netbios nameserver daemon @@ -1034,6 +1040,7 @@ < dhcp dns update < dhcp dns update algo < dhcp dns update secret +< disable < Disabled < disconnected < dl client arch insecure @@ -1080,6 +1087,7 @@ < email tls implicit < email usemail < emerging pro rules +< enable < enable smt < error < error the to date has to be later than the from date @@ -1405,6 +1413,7 @@ < dh key warn1 < dh name is invalid < dh parameter +< disable < Disabled < disconnected < dl client arch insecure @@ -1459,6 +1468,7 @@ < email tls implicit < email usemail < emerging pro rules +< enable < enable smt < error < error the to date has to be later than the from date @@ -1888,6 +1898,7 @@ < dh key warn1 < dh name is invalid < dh parameter +< disable < Disabled < disconnected < dl client arch insecure @@ -1957,6 +1968,7 @@ < email usemail < emerging pro rules < emerging rules +< enable < enable smt < encryption < entropy @@ -2748,6 +2760,7 @@ < dh key warn1 < dh name is invalid < dh parameter +< disable < Disabled < disconnected < disk access @@ -2819,6 +2832,7 @@ < email usemail < emerging pro rules < emerging rules +< enable < enable smt < encryption < entropy @@ -3467,6 +3481,7 @@ < dangerous < default IP address < desired +< disable < Disabled < disconnected < dns check servers @@ -3490,6 +3505,7 @@ < email tls explicit < email tls implicit < emerging pro rules +< enable < enable smt < error < error the to date has to be later than the from date diff --git a/html/cgi-bin/samba.cgi b/html/cgi-bin/samba.cgi index 73f2c4d39..77aac5c0e 100644 --- a/html/cgi-bin/samba.cgi +++ b/html/cgi-bin/samba.cgi @@ -249,14 +249,34 @@ END =20 print < -
- - - - -
-
<= input type=3D'hidden' name=3D'ACTION' value=3D'smbstart' />
<= input type=3D'hidden' name=3D'ACTION' value=3D'smbstop' />
<= input type=3D'hidden' name=3D'ACTION' value=3D'smbrestart' />
-
+ +
+ + + + + + + +
+
+ + +
+
+
+ + +
+
+
+ + +
+
+ +
+
diff --git a/langs/en/cgi-bin/en.pl b/langs/en/cgi-bin/en.pl index b907eb325..f13f05fb4 100644 --- a/langs/en/cgi-bin/en.pl +++ b/langs/en/cgi-bin/en.pl @@ -821,6 +821,7 @@ 'dialup settings' =3D> 'Dialup Settings', 'directory mask' =3D> 'UNIX directory rights', 'directory writeable' =3D> 'directory writeable', +'disable' =3D> 'Disable', 'disabled' =3D> 'disabled', 'disconnect' =3D> 'OVPN Stop / Disconnect', 'disconnected' =3D> 'Disconnected', @@ -989,6 +990,7 @@ 'emerging rules' =3D> 'Emergingthreats.net Community Rules', 'empty' =3D> 'This field may be left blank', 'empty profile' =3D> 'empty', +'enable' =3D> 'Enable', 'enable ignore filter' =3D> 'Enable ignore filter', 'enable javascript' =3D> 'Enable javascript', 'enable smt' =3D> 'Enable Simultaneous Multi-Threading (SMT)', --=20 2.20.1 --===============4947796201620845364==--
$Lang:= :tr{'basic options'}