]> git.ipfire.org Git - ipfire-2.x.git/commitdiff
IPS: Fix how we show EOL providers
authorMichael Tremer <michael.tremer@ipfire.org>
Tue, 26 Mar 2024 15:08:01 +0000 (15:08 +0000)
committerMichael Tremer <michael.tremer@ipfire.org>
Tue, 26 Mar 2024 15:23:08 +0000 (15:23 +0000)
There is no need to add a legend as I find it confusing. The change that
people are using an EOL is rather slim and so I don't to waste space.

Signed-off-by: Michael Tremer <michael.tremer@ipfire.org>
12 files changed:
doc/language_issues.de
doc/language_issues.en
doc/language_issues.es
doc/language_issues.fr
doc/language_issues.it
doc/language_issues.nl
doc/language_issues.pl
doc/language_issues.ru
doc/language_issues.tr
doc/language_missings
html/cgi-bin/ids.cgi
langs/en/cgi-bin/en.pl

index 46fb9ee5a0675bf338ffba528d0b22cd331b7b32..1ba77c94d2a298266bbc2fa2608caad360aa8545 100644 (file)
@@ -384,6 +384,7 @@ WARNING: translation string unused: icmp type
 WARNING: translation string unused: id
 WARNING: translation string unused: ids oinkcode required
 WARNING: translation string unused: ids rules update
+WARNING: translation string unused: ids unsupported provider
 WARNING: translation string unused: ike encryption
 WARNING: translation string unused: ike grouptype
 WARNING: translation string unused: ike integrity
@@ -927,6 +928,7 @@ WARNING: untranslated string: guardian service = unknown string
 WARNING: untranslated string: hostile networks in = From Hostile Networks
 WARNING: untranslated string: hostile networks out = To Hostile Networks
 WARNING: untranslated string: hostile networks total = Total Hostile Networks
+WARNING: untranslated string: ids provider eol = (EOL)
 WARNING: untranslated string: ids subscription code required = The selected ruleset requires a subscription code
 WARNING: untranslated string: invalid input for subscription code = Invalid input for subscription code
 WARNING: untranslated string: ipsec dns server address is invalid = Invalid DNS server IP address(es)
index 2eca62e6065682d55141cc7cdbbd184da5286cba..84bc8cdb08a297d797ab03b50629ed917ac7dfbd 100644 (file)
@@ -1079,6 +1079,7 @@ WARNING: untranslated string: ids monitored interfaces = Monitored Interfaces
 WARNING: untranslated string: ids no enabled ruleset provider = No enabled ruleset is available. Please activate or add one first.
 WARNING: untranslated string: ids no network zone = Please select at least one network zone to be monitored
 WARNING: untranslated string: ids provider = Provider
+WARNING: untranslated string: ids provider eol = (EOL)
 WARNING: untranslated string: ids provider settings = Provider settings
 WARNING: untranslated string: ids remove rule structures = Remove old rule structures...
 WARNING: untranslated string: ids reset provider = Reset provider
index ff5434e05df83c82bd948a534ea433a78acdc968..25ef7f9c57448e14c095cdfef0dd41b22ff1a38b 100644 (file)
@@ -993,6 +993,7 @@ WARNING: untranslated string: hardware vulnerabilities = Hardware Vulnerabilitie
 WARNING: untranslated string: hostile networks in = From Hostile Networks
 WARNING: untranslated string: hostile networks out = To Hostile Networks
 WARNING: untranslated string: hostile networks total = Total Hostile Networks
+WARNING: untranslated string: ids provider eol = (EOL)
 WARNING: untranslated string: info messages = unknown string
 WARNING: untranslated string: invalid ip or hostname = Invalid IP Address or Hostname
 WARNING: untranslated string: log drop hostile in = Log dropped packets FROM hostile networks
index 395afd99826a694737f0f8c3eb4a7a359cd5d41d..7aafc3053e16de59450349ba539cf57dc7448928 100644 (file)
@@ -944,6 +944,7 @@ WARNING: untranslated string: guardian logtarget_syslog = unknown string
 WARNING: untranslated string: guardian no entries = unknown string
 WARNING: untranslated string: guardian service = unknown string
 WARNING: untranslated string: hostile networks total = Total Hostile Networks
+WARNING: untranslated string: ids provider eol = (EOL)
 WARNING: untranslated string: pakfire ago = ago.
 WARNING: untranslated string: routing config added = unknown string
 WARNING: untranslated string: routing config changed = unknown string
index d9bad7f14ca93fa10b12fc4e8314e0cbd05b6081..7498e2af18f85eb3ee0966a5d08d701294a45c2a 100644 (file)
@@ -1095,6 +1095,7 @@ WARNING: untranslated string: ids monitored interfaces = Monitored Interfaces
 WARNING: untranslated string: ids no enabled ruleset provider = No enabled ruleset is available. Please activate or add one first.
 WARNING: untranslated string: ids no network zone = Please select at least one network zone to be monitored
 WARNING: untranslated string: ids provider = Provider
+WARNING: untranslated string: ids provider eol = (EOL)
 WARNING: untranslated string: ids provider settings = Provider settings
 WARNING: untranslated string: ids remove rule structures = Remove old rule structures...
 WARNING: untranslated string: ids reset provider = Reset provider
index b93cc1cd19073403402e17ad52a75029797e89c6..16e69bf270eb8400d5bcea16cb0a67972afeaa4a 100644 (file)
@@ -1100,6 +1100,7 @@ WARNING: untranslated string: ids monitored interfaces = Monitored Interfaces
 WARNING: untranslated string: ids no enabled ruleset provider = No enabled ruleset is available. Please activate or add one first.
 WARNING: untranslated string: ids no network zone = Please select at least one network zone to be monitored
 WARNING: untranslated string: ids provider = Provider
+WARNING: untranslated string: ids provider eol = (EOL)
 WARNING: untranslated string: ids provider settings = Provider settings
 WARNING: untranslated string: ids remove rule structures = Remove old rule structures...
 WARNING: untranslated string: ids reset provider = Reset provider
index ab220103f52d5eb3702e2a38693c978bb3bc7ad5..31c64c16453bf69822f7a0742bcf267860756130 100644 (file)
@@ -1240,6 +1240,7 @@ WARNING: untranslated string: ids monitored interfaces = Monitored Interfaces
 WARNING: untranslated string: ids no enabled ruleset provider = No enabled ruleset is available. Please activate or add one first.
 WARNING: untranslated string: ids no network zone = Please select at least one network zone to be monitored
 WARNING: untranslated string: ids provider = Provider
+WARNING: untranslated string: ids provider eol = (EOL)
 WARNING: untranslated string: ids provider settings = Provider settings
 WARNING: untranslated string: ids remove rule structures = Remove old rule structures...
 WARNING: untranslated string: ids reset provider = Reset provider
index 533b21a0dcedb6a800fd2f6d5a4c4486f4b99c8b..9495d951eb11950ad2f84f02e376f8491c4d2d64 100644 (file)
@@ -1237,6 +1237,7 @@ WARNING: untranslated string: ids monitored interfaces = Monitored Interfaces
 WARNING: untranslated string: ids no enabled ruleset provider = No enabled ruleset is available. Please activate or add one first.
 WARNING: untranslated string: ids no network zone = Please select at least one network zone to be monitored
 WARNING: untranslated string: ids provider = Provider
+WARNING: untranslated string: ids provider eol = (EOL)
 WARNING: untranslated string: ids provider settings = Provider settings
 WARNING: untranslated string: ids remove rule structures = Remove old rule structures...
 WARNING: untranslated string: ids reset provider = Reset provider
index d9caa290e4afb3f020744e5a307a2c288a3448a1..a2c134a2ac25bb0ba678038088732afe59251f28 100644 (file)
@@ -1037,6 +1037,7 @@ WARNING: untranslated string: ids monitored interfaces = Monitored Interfaces
 WARNING: untranslated string: ids no enabled ruleset provider = No enabled ruleset is available. Please activate or add one first.
 WARNING: untranslated string: ids no network zone = Please select at least one network zone to be monitored
 WARNING: untranslated string: ids provider = Provider
+WARNING: untranslated string: ids provider eol = (EOL)
 WARNING: untranslated string: ids provider settings = Provider settings
 WARNING: untranslated string: ids remove rule structures = Remove old rule structures...
 WARNING: untranslated string: ids reset provider = Reset provider
index 65d69daee3b929e9ef51aa77aa276c2618a73729..44d79f352a04539177b4e438832d2fa2f4145e72 100644 (file)
@@ -62,6 +62,7 @@
 < hostile networks out
 < hostile networks total
 < ids automatic rules update
+< ids provider eol
 < ids subscription code required
 < insert removable device
 < invalid input for subscription code
 < hostile networks in
 < hostile networks out
 < hostile networks total
+< ids provider eol
+< ids unsupported provider
 < invalid ip or hostname
 < log drop hostile in
 < log drop hostile out
 < g.dtm
 < g.lite
 < hostile networks total
+< ids provider eol
+< ids unsupported provider
 < system time
 < timeformat
 < upload fcdsl.o
 < ids no enabled ruleset provider
 < ids no network zone
 < ids provider
+< ids provider eol
 < ids provider settings
 < ids remove rule structures
 < ids reset provider
 < ids subscription code required
 < ids the choosen provider is already in use
 < ids unable to download the ruleset
+< ids unsupported provider
 < ids visit provider website
 < ids working
 < incoming compression in bytes per second
 < ids no enabled ruleset provider
 < ids no network zone
 < ids provider
+< ids provider eol
 < ids provider settings
 < ids remove rule structures
 < ids reset provider
 < ids subscription code required
 < ids the choosen provider is already in use
 < ids unable to download the ruleset
+< ids unsupported provider
 < ids visit provider website
 < ids working
 < imei
 < ids no enabled ruleset provider
 < ids no network zone
 < ids provider
+< ids provider eol
 < ids provider settings
 < ids remove rule structures
 < ids reset provider
 < ids subscription code required
 < ids the choosen provider is already in use
 < ids unable to download the ruleset
+< ids unsupported provider
 < ids visit provider website
 < ids working
 < imei
 < ids no enabled ruleset provider
 < ids no network zone
 < ids provider
+< ids provider eol
 < ids provider settings
 < ids remove rule structures
 < ids reset provider
 < ids subscription code required
 < ids the choosen provider is already in use
 < ids unable to download the ruleset
+< ids unsupported provider
 < ids visit provider website
 < ids working
 < imei
 < ids no enabled ruleset provider
 < ids no network zone
 < ids provider
+< ids provider eol
 < ids provider settings
 < ids remove rule structures
 < ids reset provider
 < ids subscription code required
 < ids the choosen provider is already in use
 < ids unable to download the ruleset
+< ids unsupported provider
 < ids visit provider website
 < ids working
 < inodes
index edab97195352f46d69a42123739518949a026382..8ace30b02a91dff6ccc489e2eb6de7f53ccad649 100644 (file)
@@ -1173,8 +1173,8 @@ END
 
                                # Handle providers which are not longer supported.
                                unless ($IDS::Ruleset::Providers{$provider}{'dl_url'}) {
-                                       # Mark this provider as unsupported.
-                                       $unsupported = "<img src='/blob.gif' alt='*'>";
+                                       $col = "bgcolor='$Header::colouryellow'";
+                                       $unsupported = $Lang::tr{'ids provider eol'};
                                }
 
                                # Choose icons for the checkboxes.
@@ -1203,7 +1203,7 @@ END
 
 print <<END;
                                <tr>
-                                       <td width='33%' class='base' $col>$provider_name$unsupported</td>
+                                       <td width='33%' class='base' $col>$provider_name $unsupported</td>
                                        <td width='30%' class='base' $col>$rulesetdate</td>
 
                                        <td align='center' $col>
@@ -1254,32 +1254,24 @@ END
        print "</table>\n";
 
        # Section to add new elements or edit existing ones.
-print <<END;
+       print <<END;
        <br>
        <hr>
        <br>
 
-       <table width='100%'>
-               <form method='post' action='$ENV{'SCRIPT_NAME'}'>
-                       <tr>
-                               <td>
-END
-                                       print "<img src='/blob.gif' alt='*'> $Lang::tr{'ids unsupported provider'}\n";
-print <<END;
-                               </td>
-                               <td><div align='right'>
+       <form method='post' action='$ENV{'SCRIPT_NAME'}'>
+               <div align='right'>
 END
 
-                                       # Only show this button if a ruleset provider is configured.
-                                       if (%used_providers) {
-                                               print "<input type='submit' name='RULESET' value='$Lang::tr{'ids customize ruleset'}'>\n";
-                                       }
+       # Only show this button if a ruleset provider is configured.
+       if (%used_providers) {
+               print "<input type='submit' name='RULESET' value='$Lang::tr{'ids customize ruleset'}'>\n";
+       }
+
 print <<END;
-                                       <input type='submit' name='PROVIDERS' value='$Lang::tr{'ids add provider'}'>
-                                       </div></td>
-                       </tr>
-               </form>
-       </table>
+                       <input type='submit' name='PROVIDERS' value='$Lang::tr{'ids add provider'}'>
+               </div>
+       </form>
 END
 
        &Header::closebox();
index 8e50aba76751b91d66b86c03aa1a50a9cd619629..878c8baaa37adee267756d0b5c35b5bdd25d30a4 100644 (file)
 'ids no enabled ruleset provider' => 'No enabled ruleset is available. Please activate or add one first.',
 'ids no network zone' => 'Please select at least one network zone to be monitored',
 'ids provider' => 'Provider',
+'ids provider eol' => '(EOL)',
 'ids provider settings' => 'Provider settings',
 'ids remove rule structures' => 'Remove old rule structures...',
 'ids reset provider' => 'Reset provider',