mirror of
https://github.com/fusionpbx/fusionpbx.git
synced 2025-12-30 00:53:50 +00:00
Add indentation to improve the html output.
This commit is contained in:
@@ -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')) {
|
||||
}
|
||||
}
|
||||
|
||||
?>
|
||||
?>
|
||||
|
||||
Reference in New Issue
Block a user