webgui updates for 6.3.0-rc9

This commit is contained in:
Eric Schultz
2017-01-27 10:23:44 -06:00
parent 9b98236550
commit 0c5a36741a
85 changed files with 543 additions and 561 deletions
+1 -1
View File
@@ -70,7 +70,7 @@ function tab_title($text,$path,$png) {
global $docroot;
$file = "$path/icons/".($png ? $png : strtolower(str_replace(' ','',$text)).".png");
if (!file_exists("$docroot/$file")) $file = "webGui/icons/default.png";
return "<img src='/$file' class='icon'>".my_disk($text);
return "<img src='/$file' class='icon'>".htmlspecialchars(my_disk($text));
}
// hack to embed function output in a quoted string (e.g., in a page Title)