|
@@ -53,7 +53,7 @@ if (!class_exists('modal')) {
|
|
break;
|
|
break;
|
|
}
|
|
}
|
|
//prefix cancel button to action
|
|
//prefix cancel button to action
|
|
- $array['actions'] = button::create(['type'=>'button','label'=>$text['button-cancel'],'icon'=>'times','collapse'=>'never','onclick'=>'modal_close();']).$array['actions'];
|
|
|
|
|
|
+ $array['actions'] = button::create(['type'=>'button','label'=>$text['button-cancel'],'icon'=>$_SESSION['theme']['button_icon_cancel'],'collapse'=>'never','onclick'=>'modal_close();']).$array['actions'];
|
|
}
|
|
}
|
|
$modal .= $array['title'] ? "<span class='modal-title'>".$array['title']."</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['message'] ? "<span class='modal-message'>".$array['message']."</span>\n" : null;
|