Add indentation to improve the html output.

This commit is contained in:
FusionPBX 2020-06-24 19:14:33 -06:00 committed by GitHub
parent e5d3295975
commit 3eb2257745
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 4 additions and 4 deletions

View File

@ -57,9 +57,9 @@ if (!class_exists('modal')) {
//prefix cancel button to action
$array['actions'] = button::create(['type'=>'button','label'=>$text['button-cancel'],'icon'=>$_SESSION['theme']['button_icon_cancel'],'collapse'=>'never','onclick'=>'modal_close(); '.$array['onclose']]).$array['actions'];
}
$modal .= $array['title'] ? "<span class='modal-title'>".$array['title']."</span>\n" : null;
$modal .= $array['message'] ? "<span class='modal-message'>".$array['message']."</span>\n" : null;
$modal .= $array['actions'] ? "<span class='modal-actions'>".$array['actions']."</span>\n" : null;
$modal .= $array['title'] ? " <span class='modal-title'>".$array['title']."</span>\n" : null;
$modal .= $array['message'] ? " <span class='modal-message'>".$array['message']."</span>\n" : null;
$modal .= $array['actions'] ? " <span class='modal-actions'>".$array['actions']."</span>\n" : null;
$modal .= " </div>\n";
$modal .= "</div>";
@ -71,4 +71,4 @@ if (!class_exists('modal')) {
}
}
?>
?>