From 0c0e5dd907b11cda40391ac5ab842fbe0ade883c Mon Sep 17 00:00:00 2001 From: Perry Mason Date: Wed, 22 Dec 2010 09:41:37 +0100 Subject: [vnstat2] use friendly description in vnstati --- config/vnstat2/bin/vnstati.abc | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'config') diff --git a/config/vnstat2/bin/vnstati.abc b/config/vnstat2/bin/vnstati.abc index aa76a4b3..10fa8bfb 100644 --- a/config/vnstat2/bin/vnstati.abc +++ b/config/vnstat2/bin/vnstati.abc @@ -5,7 +5,8 @@ include("head.inc"); include("fbegin.inc"); $aaaa = $config['installedpackages']['vnstat2']['config'][0]['vnstat_interface']; $bbbb = convert_friendly_interface_to_real_interface_name($aaaa); -$pgtitle = gettext("Vnstati info for $aaaa ($bbbb)"); +$cccc = convert_friendly_interface_to_friendly_descr($aaaa); +$pgtitle = gettext("Vnstati info for $cccc ($bbbb)"); echo "Go Back
"; echo "

{$pgtitle}

"; ?> -- cgit v1.2.3