mirror of
https://github.com/fusionpbx/fusionpbx.git
synced 2025-12-30 00:53:50 +00:00
Dashboard - Edit: Minor adjustments.
This commit is contained in:
@@ -703,13 +703,13 @@
|
||||
}
|
||||
}
|
||||
}
|
||||
if (empty($dashboard_background_color) || count($dashboard_background_color) < 2) {
|
||||
if (empty($dashboard_background_color) || (is_array($dashboard_background_color) && count($dashboard_background_color) < 2)) {
|
||||
echo " <input type='text' class='formfld colorpicker' name='dashboard_background_color[]' value='' onclick=\"document.getElementById('second_input').style.display = 'block';\">\n";
|
||||
if (empty($dashboard_background_color)) {
|
||||
echo " <input id='second_input' style='display: none;' type='text' class='formfld colorpicker' name='dashboard_background_color[]'>\n";
|
||||
}
|
||||
echo "<br />\n";
|
||||
}
|
||||
echo "<br />\n";
|
||||
echo $text['description-dashboard_background_color']."\n";
|
||||
echo "</td>\n";
|
||||
echo "</tr>\n";
|
||||
@@ -726,13 +726,13 @@
|
||||
}
|
||||
}
|
||||
}
|
||||
if (empty($dashboard_detail_background_color) || count($dashboard_detail_background_color) < 2) {
|
||||
if (empty($dashboard_detail_background_color) || (is_array($dashboard_detail_background_color) && count($dashboard_detail_background_color) < 2)) {
|
||||
echo " <input type='text' class='formfld colorpicker' name='dashboard_detail_background_color[]' value='' onclick=\"document.getElementById('detail_second_input').style.display = 'block';\">\n";
|
||||
if (empty($dashboard_detail_background_color)) {
|
||||
echo " <input id='detail_second_input' style='display: none;' type='text' class='formfld colorpicker' name='dashboard_detail_background_color[]'>\n";
|
||||
}
|
||||
echo "<br />\n";
|
||||
}
|
||||
echo "<br />\n";
|
||||
echo $text['description-dashboard_detail_background_color']."\n";
|
||||
echo "</td>\n";
|
||||
echo "</tr>\n";
|
||||
|
||||
Reference in New Issue
Block a user