Dashboard - Use a class to determine the row span (#7451)
* Dashboard - Use a class to determine the row span * Update parent.php * Update icon.php * Update content.php * Update domains.php * Update dashboard_edit.php * Update missed_calls.php * Update recent_calls.php * Update voicemails.php * Update system_counts.php * Update system_cpu_status.php * Update system_disk_usage.php * Update system_services.php * Update system_status.php * Update system_services.php * Update switch_status.php * Update registrations.php * Update ring_group_forward.php * Update caller_id.php * Update domain_limits.php * Update call_forward.php * Update active_calls.php
This commit is contained in:
@@ -831,7 +831,7 @@
|
||||
if ($dashboard_chart_type == 'line' || $dashboard_path == 'system/system_cpu_status') {
|
||||
echo " <option value='line' ".($dashboard_chart_type == "line" ? "selected='selected'" : null).">".$text['label-line']."</option>\n";
|
||||
}
|
||||
if ($dashboard_chart_type == "icon" || in_array($dashboard_path, ['domains/domains', 'xml_cdr/missed_calls', 'voicemails/voicemails', 'xml_cdr/recent_calls', 'registrations/registrations'])) {
|
||||
if ($dashboard_chart_type == "icon" || in_array($dashboard_path, ['active_calls/active_calls', 'domains/domains', 'xml_cdr/missed_calls', 'voicemails/voicemails', 'xml_cdr/recent_calls', 'registrations/registrations'])) {
|
||||
echo " <option value='icon' ".($dashboard_chart_type == "icon" ? "selected='selected'" : null).">".$text['label-icon']."</option>\n";
|
||||
}
|
||||
echo " <option value='number' ".($dashboard_chart_type == "number" ? "selected='selected'" : null).">".$text['label-number']."</option>\n";
|
||||
|
||||
Reference in New Issue
Block a user