mirror of
https://github.com/Combodo/iTop.git
synced 2026-04-21 01:28:47 +02:00
28 lines
619 B
PHP
28 lines
619 B
PHP
<?php
|
|
namespace Combodo\iTop\Application\WelcomePopup;
|
|
|
|
use Dict;
|
|
use AbstractWelcomePopup;
|
|
|
|
/**
|
|
* Implementation of the "default" Welcome Popup message
|
|
* @since 3.1.0
|
|
*/
|
|
class DefaultWelcomePopup extends AbstractWelcomePopup
|
|
{
|
|
public function GetMessages()
|
|
{
|
|
return [
|
|
[
|
|
// Replacement of the welcome popup message which
|
|
// was hard-coded in the pages/UI.php
|
|
'id' => '0001',
|
|
'title' => Dict::S('UI:WelcomeMenu:Title'),
|
|
'twig' => '/templates/pages/backoffice/welcome_popup/default_welcome_popup',
|
|
'importance' => \iWelcomePopup::IMPORTANCE_HIGH,
|
|
'parameters' => [],
|
|
],
|
|
];
|
|
}
|
|
}
|