diff --git a/core/upgrade/index.php b/core/upgrade/index.php index 628cb22dda..98cd3a444c 100644 --- a/core/upgrade/index.php +++ b/core/upgrade/index.php @@ -124,6 +124,12 @@ } +//adjust color and initialize step counter + $step = 1; + $step_color = color_adjust(($_SESSION['theme']['form_table_label_background_color']['text'] != '' ? $_SESSION['theme']['form_table_label_background_color']['text'] : '#e5e9f0'), -0.1); + $step_container_style = "width: 30px; height: 30px; border: 2px solid ".$step_color."; border-radius: 50%; float: left; text-align: center; vertical-align: middle;"; + $step_number_style = "font-size: 150%; font-weight: 600; color: ".$step_color.";"; + //include the header and set the title $document['title'] = $text['title-upgrade']; require_once "resources/header.php"; @@ -146,6 +152,7 @@ echo "\n"; echo "\n"; echo " \n"; echo "
\n"; + echo "
".$step++."
"; echo " ".$text['label-upgrade_source']; echo "
\n"; @@ -175,6 +182,7 @@ echo "\n"; echo "\n"; echo " \n"; echo "
\n"; + echo "
".$step++."
"; echo " ".$text['label-upgrade_schema']; echo "
\n"; @@ -201,6 +209,7 @@ echo "\n"; echo "\n"; echo " \n"; echo "
\n"; + echo "
".$step++."
"; echo " ".$text['label-upgrade_apps']; echo "
\n"; @@ -214,6 +223,7 @@ echo "\n"; echo "\n"; echo " \n"; echo "
\n"; + echo "
".$step++."
"; echo " ".$text['label-upgrade_menu']; echo "
\n"; @@ -239,6 +249,7 @@ echo "\n"; echo "\n"; echo " \n"; echo "
\n"; + echo "
".$step++."
"; echo " ".$text['label-upgrade_permissions']; echo "
\n"; diff --git a/resources/functions.php b/resources/functions.php index 84f6495b9f..b78ab275d6 100644 --- a/resources/functions.php +++ b/resources/functions.php @@ -1166,7 +1166,7 @@ function number_pad($number,$n) { for ($i = 0; $i <= 2; $i++) { $hex_color = dechex($color[$i]); if (strlen($hex_color) == 1) { $hex_color = '0'.$hex_color; } - $hex = $hex_color; + $hex .= $hex_color; } return $hash.$hex; }