diff --git a/dictionaries/cs.dictionary.itop.ui.php b/dictionaries/cs.dictionary.itop.ui.php index 45946c3e7..80b8e604e 100755 --- a/dictionaries/cs.dictionary.itop.ui.php +++ b/dictionaries/cs.dictionary.itop.ui.php @@ -956,7 +956,7 @@ Dict::Add('CS CZ', 'Czech', 'Čeština', array( 'Menu:NotificationsMenu' => 'Upozornění', // Duplicated into itop-welcome-itil (will be removed from here...) 'Menu:NotificationsMenu+' => 'Konfigurace upozornění', // Duplicated into itop-welcome-itil (will be removed from here...) - 'UI:NotificationsMenu:Title' => 'Konfigurace upozornění', + 'UI:NotificationsMenu:Title' => 'Konfigurace upozornění', 'UI:NotificationsMenu:Help' => 'Nápověda', 'UI:NotificationsMenu:HelpContent' => '
Upozornění v iTop jsou plně nastavitelné. Jsou založena na dvou druzích objektů: triggery (spouštěče) a akce.
Triggers define when a notification will be executed. There are different triggers as part of iTop core, but others can be brought by extensions: diff --git a/dictionaries/da.dictionary.itop.ui.php b/dictionaries/da.dictionary.itop.ui.php index ad527e31c..a70eaff13 100644 --- a/dictionaries/da.dictionary.itop.ui.php +++ b/dictionaries/da.dictionary.itop.ui.php @@ -943,7 +943,7 @@ Dict::Add('DA DA', 'Danish', 'Dansk', array( 'Menu:NotificationsMenu' => 'Notifikationer', // Duplicated into itop-welcome-itil (will be removed from here...) 'Menu:NotificationsMenu+' => '', // Duplicated into itop-welcome-itil (will be removed from here...) - 'UI:NotificationsMenu:Title' => 'Konfiguration af Notifikationer~~', + 'UI:NotificationsMenu:Title' => 'Konfiguration af Notifikationer~~', 'UI:NotificationsMenu:Help' => 'Hjælp', 'UI:NotificationsMenu:HelpContent' => '
I iTop er notifikationer fuldt modificerbare. De er baseret på to sæt af objekter: triggers og handlinger.
Triggers define when a notification will be executed. There are different triggers as part of iTop core, but others can be brought by extensions: diff --git a/dictionaries/de.dictionary.itop.ui.php b/dictionaries/de.dictionary.itop.ui.php index c4bccd924..f5d6bcfd9 100644 --- a/dictionaries/de.dictionary.itop.ui.php +++ b/dictionaries/de.dictionary.itop.ui.php @@ -942,7 +942,7 @@ Dict::Add('DE DE', 'German', 'Deutsch', array( 'Menu:NotificationsMenu' => 'Benachrichtigungen', // Duplicated into itop-welcome-itil (will be removed from here...) 'Menu:NotificationsMenu+' => 'Einstellungen der Benachrichtigungen', // Duplicated into itop-welcome-itil (will be removed from here...) - 'UI:NotificationsMenu:Title' => 'Einstellungen der Benachrichtigungen', + 'UI:NotificationsMenu:Title' => 'Einstellungen der Benachrichtigungen', 'UI:NotificationsMenu:Help' => 'Hilfe', 'UI:NotificationsMenu:HelpContent' => '
In iTop sind Benachrichtigungen vollständig anpassbar. Sie basieren auf zwei Gruppen an Objekten: Trigger und Aktionen.
Trigger definieren, wann eine Benachrichtigung ausgeführt wird. Es gibt verschiedene Auslöser als Teil des iTop-Kerns, aber andere können durch Erweiterungen eingebracht werden: diff --git a/dictionaries/en.dictionary.itop.ui.php b/dictionaries/en.dictionary.itop.ui.php index 3971126af..22252f1b9 100644 --- a/dictionaries/en.dictionary.itop.ui.php +++ b/dictionaries/en.dictionary.itop.ui.php @@ -967,7 +967,7 @@ Dict::Add('EN US', 'English', 'English', array( 'Menu:NotificationsMenu' => 'Notifications', // Duplicated into itop-welcome-itil (will be removed from here...) 'Menu:NotificationsMenu+' => 'Configuration of the Notifications', // Duplicated into itop-welcome-itil (will be removed from here...) - 'UI:NotificationsMenu:Title' => 'Configuration of the Notifications', + 'UI:NotificationsMenu:Title' => 'Configuration of the Notifications', 'UI:NotificationsMenu:Help' => 'Help', 'UI:NotificationsMenu:HelpContent' => '
In '.ITOP_APPLICATION_SHORT.' the notifications are fully customizable. They are based on two sets of objects: triggers and actions.
Triggers define when a notification will be executed. There are different triggers as part of '.ITOP_APPLICATION_SHORT.' core, but others can be brought by extensions: diff --git a/dictionaries/es_cr.dictionary.itop.ui.php b/dictionaries/es_cr.dictionary.itop.ui.php index d5c1ab9c7..d4fc5f733 100644 --- a/dictionaries/es_cr.dictionary.itop.ui.php +++ b/dictionaries/es_cr.dictionary.itop.ui.php @@ -954,7 +954,7 @@ Dict::Add('ES CR', 'Spanish', 'Español, Castellaño', array( 'Menu:NotificationsMenu' => 'Notificaciones', // Duplicated into itop-welcome-itil (will be removed from here...) 'Menu:NotificationsMenu+' => 'Configuración de las Notificaciones', // Duplicated into itop-welcome-itil (will be removed from here...) - 'UI:NotificationsMenu:Title' => 'Configuración de las Notificaciones', + 'UI:NotificationsMenu:Title' => 'Configuración de las Notificaciones', 'UI:NotificationsMenu:Help' => 'Ayuda', 'UI:NotificationsMenu:HelpContent' => '
En iTop las notificaciones son completamente personalizables. Están basadas en dos conjuntos de objetos: Disparadores y Acciones.
Los disparadores definen cuando una notificación debe ser ejecutada. Existen 3 tipos de disparadores para cubrir las 3 diferentes fases del ciclo de vida de un objeto: diff --git a/dictionaries/fr.dictionary.itop.ui.php b/dictionaries/fr.dictionary.itop.ui.php index 19ff73c2d..fdf78620d 100644 --- a/dictionaries/fr.dictionary.itop.ui.php +++ b/dictionaries/fr.dictionary.itop.ui.php @@ -946,7 +946,7 @@ Dict::Add('FR FR', 'French', 'Français', array( 'Menu:NotificationsMenu' => 'Notifications', // Duplicated into itop-welcome-itil (will be removed from here...) 'Menu:NotificationsMenu+' => 'Configuration des Notifications', // Duplicated into itop-welcome-itil (will be removed from here...) - 'UI:NotificationsMenu:Title' => 'Configuration des Notifications', + 'UI:NotificationsMenu:Title' => 'Configuration des Notifications', 'UI:NotificationsMenu:Help' => 'Aide', 'UI:NotificationsMenu:HelpContent' => '
Dans iTop les notifications sont totalement configurables. Elles sont basées sur deux types d\'objets: déclencheurs et actions.
Les déclencheurs définissent quand une notification sera exécutée. Il y a différents déclencheurs qui font partie du noyau d\'iTop, mais d\'autres peuvent être apportés par des extensions : diff --git a/dictionaries/hu.dictionary.itop.ui.php b/dictionaries/hu.dictionary.itop.ui.php index add7c54a1..8759d269e 100755 --- a/dictionaries/hu.dictionary.itop.ui.php +++ b/dictionaries/hu.dictionary.itop.ui.php @@ -941,7 +941,7 @@ Dict::Add('HU HU', 'Hungarian', 'Magyar', array( 'Menu:NotificationsMenu' => 'Értesítések', // Duplicated into itop-welcome-itil (will be removed from here...) 'Menu:NotificationsMenu+' => '', // Duplicated into itop-welcome-itil (will be removed from here...) - 'UI:NotificationsMenu:Title' => 'Értesítések beállítása', + 'UI:NotificationsMenu:Title' => 'Értesítések beállítása', 'UI:NotificationsMenu:Help' => 'Segítség', 'UI:NotificationsMenu:HelpContent' => '
Az iTop alkalmazásban az értesítések teljesen testreszabhatók. Értesítések az objektumok két csoportjára épülnek: kiváltó okok és akciók.
Triggers define when a notification will be executed. There are different triggers as part of iTop core, but others can be brought by extensions: diff --git a/dictionaries/it.dictionary.itop.ui.php b/dictionaries/it.dictionary.itop.ui.php index f176e1378..2a8d07928 100644 --- a/dictionaries/it.dictionary.itop.ui.php +++ b/dictionaries/it.dictionary.itop.ui.php @@ -954,7 +954,7 @@ Dict::Add('IT IT', 'Italian', 'Italiano', array( 'Menu:NotificationsMenu' => 'Notifiche', // Duplicated into itop-welcome-itil (will be removed from here...) 'Menu:NotificationsMenu+' => '', // Duplicated into itop-welcome-itil (will be removed from here...) - 'UI:NotificationsMenu:Title' => 'Configurazione delle Notifiche', + 'UI:NotificationsMenu:Title' => 'Configurazione delle Notifiche', 'UI:NotificationsMenu:Help' => 'Aiuto', 'UI:NotificationsMenu:HelpContent' => '
In iTop le notifiche sono completamente personalizzabili. Essi si basano su due serie di oggetti: trigger e azioni.
I trigger definiscono quando verrà eseguita una notifica. Ci sono diversi trigger come parte del nucleo di iTop, ma altri possono essere portati da estensioni: diff --git a/dictionaries/ja.dictionary.itop.ui.php b/dictionaries/ja.dictionary.itop.ui.php index a2b90f9c6..a12f10b13 100644 --- a/dictionaries/ja.dictionary.itop.ui.php +++ b/dictionaries/ja.dictionary.itop.ui.php @@ -941,7 +941,7 @@ Dict::Add('JA JP', 'Japanese', '日本語', array( 'Menu:NotificationsMenu' => '通知', // Duplicated into itop-welcome-itil (will be removed from here...) 'Menu:NotificationsMenu+' => '通知の設定', // Duplicated into itop-welcome-itil (will be removed from here...) - 'UI:NotificationsMenu:Title' => '通知の設定', + 'UI:NotificationsMenu:Title' => '通知の設定', 'UI:NotificationsMenu:Help' => 'ヘルプ', 'UI:NotificationsMenu:HelpContent' => '
iTopでは、通知はすべてカスタマイズが可能です。通知はトリガーとアクションという二つのオブジェクトがベースになっています。
Triggers define when a notification will be executed. There are different triggers as part of iTop core, but others can be brought by extensions: diff --git a/dictionaries/nl.dictionary.itop.ui.php b/dictionaries/nl.dictionary.itop.ui.php index f134d8442..2fbedd330 100644 --- a/dictionaries/nl.dictionary.itop.ui.php +++ b/dictionaries/nl.dictionary.itop.ui.php @@ -961,7 +961,7 @@ Dict::Add('NL NL', 'Dutch', 'Nederlands', array( 'Menu:NotificationsMenu' => 'Meldingen', // Duplicated into itop-welcome-itil (will be removed from here...) 'Menu:NotificationsMenu+' => 'Configuratie van de meldingen', // Duplicated into itop-welcome-itil (will be removed from here...) - 'UI:NotificationsMenu:Title' => 'Configuratie van Meldingen', + 'UI:NotificationsMenu:Title' => 'Configuratie van Meldingen', 'UI:NotificationsMenu:Help' => 'Help', 'UI:NotificationsMenu:HelpContent' => '
In '.ITOP_APPLICATION_SHORT.' zijn de meldingen volledig aan te passen. Ze zijn gebaseerd op twee sets van objecten: triggers and actions.
Triggers bepalen wanneer er een melding is. Er zijn verschillende triggers als onderdeel van '.ITOP_APPLICATION_SHORT.' core, maar andere kunnen door middel van uitbreidingen worden toegevoegd. diff --git a/dictionaries/pt_br.dictionary.itop.ui.php b/dictionaries/pt_br.dictionary.itop.ui.php index 2d03baa08..f6e037d67 100644 --- a/dictionaries/pt_br.dictionary.itop.ui.php +++ b/dictionaries/pt_br.dictionary.itop.ui.php @@ -954,7 +954,7 @@ Dict::Add('PT BR', 'Brazilian', 'Brazilian', array( 'Menu:NotificationsMenu' => 'Notificações', // Duplicated into itop-welcome-itil (will be removed from here...) 'Menu:NotificationsMenu+' => 'Configuração de Notificações', // Duplicated into itop-welcome-itil (will be removed from here...) - 'UI:NotificationsMenu:Title' => 'Configuração de Notificações', + 'UI:NotificationsMenu:Title' => 'Configuração de Notificações', 'UI:NotificationsMenu:Help' => 'Ajuda', 'UI:NotificationsMenu:HelpContent' => '
As Notificações são totalmente personalizáveis. Elas são baseadas em dois conjuntos de objetos: Gatilhos e Ações.
Gatilhos define when a notification will be executed. There are different triggers as part of iTop core, but others can be brought by extensions: diff --git a/dictionaries/ru.dictionary.itop.ui.php b/dictionaries/ru.dictionary.itop.ui.php index a0d6ba9ff..be78b5c9e 100644 --- a/dictionaries/ru.dictionary.itop.ui.php +++ b/dictionaries/ru.dictionary.itop.ui.php @@ -933,7 +933,7 @@ Dict::Add('RU RU', 'Russian', 'Русский', array( 'Menu:NotificationsMenu' => 'Уведомления', // Duplicated into itop-welcome-itil (will be removed from here...) 'Menu:NotificationsMenu+' => 'Конфигурация уведомлений', // Duplicated into itop-welcome-itil (will be removed from here...) - 'UI:NotificationsMenu:Title' => 'Конфигурация Уведомлений', + 'UI:NotificationsMenu:Title' => 'Конфигурация Уведомлений', 'UI:NotificationsMenu:Help' => 'Помощь', 'UI:NotificationsMenu:HelpContent' => '
В iTop полностью настраиваемые уведомления, которые основаны на двух наборах объектов: триггерах и действиях.
Триггеры определяют, когда необходимо выполнить действия. Базовые триггеры доступны как часть ядра iTop, другие триггеры добавляются дополнительными расширениями: diff --git a/dictionaries/sk.dictionary.itop.ui.php b/dictionaries/sk.dictionary.itop.ui.php index 8505aeac6..8f865aa49 100644 --- a/dictionaries/sk.dictionary.itop.ui.php +++ b/dictionaries/sk.dictionary.itop.ui.php @@ -941,7 +941,7 @@ Dict::Add('SK SK', 'Slovak', 'Slovenčina', array( 'Menu:NotificationsMenu' => 'Upozornenia', // Duplicated into itop-welcome-itil (will be removed from here...) 'Menu:NotificationsMenu+' => '', // Duplicated into itop-welcome-itil (will be removed from here...) - 'UI:NotificationsMenu:Title' => 'Konfigurácia Upozornení', + 'UI:NotificationsMenu:Title' => 'Konfigurácia Upozornení', 'UI:NotificationsMenu:Help' => 'Pomoc', 'UI:NotificationsMenu:HelpContent' => '
In iTop upozornenia sú plne upraviteľné. Sú založené na dvoch setoch objektov: spúštače a akcie.
Spúštače definujte bude spustené nejaké upozornenie. Máme 5 typov spúštačov pre pokrytie 3 rôznych fáz životného cyklu objektu: diff --git a/dictionaries/tr.dictionary.itop.ui.php b/dictionaries/tr.dictionary.itop.ui.php index 09471847e..36addd09e 100644 --- a/dictionaries/tr.dictionary.itop.ui.php +++ b/dictionaries/tr.dictionary.itop.ui.php @@ -955,7 +955,7 @@ Dict::Add('TR TR', 'Turkish', 'Türkçe', array( 'Menu:NotificationsMenu' => 'Uyarılar', // Duplicated into itop-welcome-itil (will be removed from here...) 'Menu:NotificationsMenu+' => 'Uyarıların yapılandırılması', // Duplicated into itop-welcome-itil (will be removed from here...) - 'UI:NotificationsMenu:Title' => 'Uyarıların yapılandırılması', + 'UI:NotificationsMenu:Title' => 'Uyarıların yapılandırılması', 'UI:NotificationsMenu:Help' => 'Yardım', 'UI:NotificationsMenu:HelpContent' => '
In iTop uyarı mekanizması ihtiyaca göre uyarlanabilir. Uyarılar iki tip nesne üzerine kurulmuştur: tetikleme (triggers) ve işlemler (actions).
Triggers define when a notification will be executed. There are different triggers as part of iTop core, but others can be brought by extensions: diff --git a/dictionaries/zh_cn.dictionary.itop.ui.php b/dictionaries/zh_cn.dictionary.itop.ui.php index 32335cd68..a7d31840b 100644 --- a/dictionaries/zh_cn.dictionary.itop.ui.php +++ b/dictionaries/zh_cn.dictionary.itop.ui.php @@ -954,7 +954,7 @@ Dict::Add('ZH CN', 'Chinese', '简体中文', array( 'Menu:NotificationsMenu' => '通知', // Duplicated into itop-welcome-itil (will be removed from here...) 'Menu:NotificationsMenu+' => '通知的配置', // Duplicated into itop-welcome-itil (will be removed from here...) - 'UI:NotificationsMenu:Title' => '配置 通知', + 'UI:NotificationsMenu:Title' => '配置 通知', 'UI:NotificationsMenu:Help' => '帮助', 'UI:NotificationsMenu:HelpContent' => '
在iTop 中, 通知可以被自定义. 它们是基于两个对象集: 触发器和操作.
触发器 定义了什么时候发送通知. iTop core 自带一些触发器, 另一些触发器可由扩展提供: diff --git a/pages/notifications.php b/pages/notifications.php index a1b88c11c..294dbc60b 100644 --- a/pages/notifications.php +++ b/pages/notifications.php @@ -17,6 +17,9 @@ * You should have received a copy of the GNU Affero General Public License */ +use Combodo\iTop\Application\UI\Component\Alert\AlertFactory; +use Combodo\iTop\Application\UI\Layout\PageContent\PageContentFactory; + require_once('../approot.inc.php'); require_once(APPROOT.'/application/application.inc.php'); @@ -28,24 +31,14 @@ ApplicationMenu::CheckMenuIdEnabled("NotificationsMenu"); // Main program // $oP = new iTopWebPage(Dict::S('Menu:NotificationsMenu+')); - -$oP->add('
');
-$oP->add(Dict::S('UI:NotificationsMenu:HelpContent'));
-$oP->add(''); +$oPageContentLayout = PageContentFactory::MakeStandardEmpty(); +$oP->SetContentLayout($oPageContentLayout); +$sAlertTitle = Dict::S('UI:NotificationsMenu:Title'); +$sAlertContent = Dict::S('UI:NotificationsMenu:HelpContent'); +$oPageContentLayout->AddMainBlock(AlertFactory::MakeForInformation($sAlertTitle, $sAlertContent)); $oP->AddTabContainer('Tabs_0'); $oP->SetCurrentTabContainer('Tabs_0');