From 3eb22577457d6edfe706c610998908e5f44d0762 Mon Sep 17 00:00:00 2001 From: FusionPBX Date: Wed, 24 Jun 2020 19:14:33 -0600 Subject: [PATCH] Add indentation to improve the html output. --- resources/classes/modal.php | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/resources/classes/modal.php b/resources/classes/modal.php index e01cdd1104..db4d58fce8 100644 --- a/resources/classes/modal.php +++ b/resources/classes/modal.php @@ -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'] ? "".$array['title']."\n" : null; - $modal .= $array['message'] ? "".$array['message']."\n" : null; - $modal .= $array['actions'] ? "".$array['actions']."\n" : null; + $modal .= $array['title'] ? " ".$array['title']."\n" : null; + $modal .= $array['message'] ? " ".$array['message']."\n" : null; + $modal .= $array['actions'] ? " ".$array['actions']."\n" : null; $modal .= " \n"; $modal .= ""; @@ -71,4 +71,4 @@ if (!class_exists('modal')) { } } -?> \ No newline at end of file +?>