diff --git a/core/dashboard/resources/dashboard/content.php b/core/dashboard/resources/dashboard/content.php index 50e112f3c0..daec932471 100644 --- a/core/dashboard/resources/dashboard/content.php +++ b/core/dashboard/resources/dashboard/content.php @@ -8,11 +8,17 @@ $language = new text; $text = $language->get($_SESSION['domain']['language']['code'], 'core/dashboard'); +//prepare the settings + $dashboard_content_length = strlen($dashboard_content); + $dashboard_content_text_vertical_align = 'top'; + if ($dashboard_content_length < 30) { $dashboard_content_text_vertical_align = 'middle'; } + $dashboard_content_height = $dashboard_row_span * 120 . 'px'; + //dashboard icon echo "