]> git.ipfire.org Git - ipfire-2.x.git/commitdiff
services.cgi: Remove links from addon services
authorAdolf Belka <adolf.belka@ipfire.org>
Mon, 11 Nov 2024 09:37:21 +0000 (10:37 +0100)
committerArne Fitzenreiter <arne_f@ipfire.org>
Mon, 9 Dec 2024 05:16:16 +0000 (06:16 +0100)
- As discussed in Video Conf Call on Oct 7th 2024
- This patch removes the links from the addon services, in line with the change made
   to the core services.

Tested-by: Adolf Belka <adolf.belka@ipfire.org>
Signed-off-by: Adolf Belka <adolf.belka@ipfire.org>
Reviewed-by: Bernhard Bitsch <bbitsch@ipfire.org>
Tested-by: Bernhard Bitsch <bbitsch@ipfire.org>
Acked-by: Michael Tremer <michael.tremer@ipfire.org>
Signed-off-by: Arne Fitzenreiter <arne_f@ipfire.org>
html/cgi-bin/services.cgi

index a3ae13c7853ef8846ca38580dc07dbb8b44bd09d..43babf5229957f037e3381df5e8248a3a14c667b 100644 (file)
@@ -161,9 +161,6 @@ END
                        foreach $service (split(/ /, "$metadata{'Services'}")) {
                                # Add addon name to displayname of service if servicename differs from addon
                                my $displayname = ($pak ne $service) ? "$service ($pak)" : $service;
-                               if ( -e "/srv/web/ipfire/cgi-bin/$pak.cgi" ) {
-                                       $displayname = ($pak ne $service) ? "$service (<a href=\'$pak.cgi\'>$pak</a>)" : "<a href=\'$pak.cgi\'>$service</a>";
-                               }
 
                                print "<td align='left' width='31%'>$displayname</td> ";