]> git.ipfire.org Git - ipfire-2.x.git/commit
menu: Fix warnings, clean code
authorLeo-Andres Hofmann <hofmann@leo-andres.de>
Wed, 20 Apr 2022 13:32:34 +0000 (15:32 +0200)
committerPeter Müller <peter.mueller@ipfire.org>
Sat, 23 Apr 2022 14:34:00 +0000 (14:34 +0000)
commitc13060fd4cda278ea79dd8d547291dbbc31840c1
tree0e10cce9f6406dea6cddc39a3ba7183c7b76f906
parenta04b39daa75022e5e6e12da32398bee71b73b150
menu: Fix warnings, clean code

This patch adds default values and removes a missing translation
to fix "uninitialized value" and "odd number of elements" warnings.

Removes function calls from functions.pl that have already been
handled by the header before it is loaded by eval().

Signed-off-by: Leo-Andres Hofmann <hofmann@leo-andres.de>
Reviewed-by: Bernhard Bitsch <bbitsch@ipfire.org>
config/cfgroot/header.pl
config/menu/20-status.menu
config/menu/30-network.menu
html/html/themes/ipfire/include/functions.pl
langs/de/cgi-bin/de.pl
langs/fr/cgi-bin/fr.pl