Remove unused WarningDialog template

This commit is contained in:
Aaron van Geffen 2023-11-11 15:46:15 +01:00
parent 995ab8c640
commit b48dd324cd
1 changed files with 0 additions and 29 deletions

View File

@ -1,29 +0,0 @@
<?php
/*****************************************************************************
* WarningDialog.php
* Defines the WarningDialog template.
*
* Kabuki CMS (C) 2013-2015, Aaron van Geffen
*****************************************************************************/
class WarningDialog extends Alert
{
protected $buttons;
public function __construct($title = '', $message = '', $buttons = [])
{
parent::__construct($title, $message);
$this->buttons = $buttons;
}
protected function additional_alert_content()
{
$this->addButtons();
}
private function addButtons()
{
foreach ($this->buttons as $button)
$button->html_main();
}
}