mirror of
https://github.com/Combodo/iTop.git
synced 2026-05-19 23:32:17 +02:00
N°564 LoginWebPage title default value is now a dictionary entry ('UI:Login:Title'). Only english & french are available for now, feel free to contribute ! :)
SVN:trunk[4850]
This commit is contained in:
@@ -56,8 +56,13 @@ class LoginWebPage extends NiceWebPage
|
|||||||
|
|
||||||
protected static $m_sLoginFailedMessage = '';
|
protected static $m_sLoginFailedMessage = '';
|
||||||
|
|
||||||
public function __construct($sTitle = 'iTop Login')
|
public function __construct($sTitle = null)
|
||||||
{
|
{
|
||||||
|
if($sTitle === null)
|
||||||
|
{
|
||||||
|
$sTitle = Dict::S('UI:Login:Title');
|
||||||
|
}
|
||||||
|
|
||||||
parent::__construct($sTitle);
|
parent::__construct($sTitle);
|
||||||
$this->SetStyleSheet();
|
$this->SetStyleSheet();
|
||||||
$this->add_header("Cache-control: no-cache");
|
$this->add_header("Cache-control: no-cache");
|
||||||
|
|||||||
@@ -318,6 +318,7 @@ Dict::Add('EN US', 'English', 'English', array(
|
|||||||
Dict::Add('EN US', 'English', 'English', array(
|
Dict::Add('EN US', 'English', 'English', array(
|
||||||
'BooleanLabel:yes' => 'yes',
|
'BooleanLabel:yes' => 'yes',
|
||||||
'BooleanLabel:no' => 'no',
|
'BooleanLabel:no' => 'no',
|
||||||
|
'UI:Login:Title' => 'iTop login',
|
||||||
'Menu:WelcomeMenu' => 'Welcome', // Duplicated into itop-welcome-itil (will be removed from here...)
|
'Menu:WelcomeMenu' => 'Welcome', // Duplicated into itop-welcome-itil (will be removed from here...)
|
||||||
'Menu:WelcomeMenu+' => 'Welcome to iTop', // Duplicated into itop-welcome-itil (will be removed from here...)
|
'Menu:WelcomeMenu+' => 'Welcome to iTop', // Duplicated into itop-welcome-itil (will be removed from here...)
|
||||||
'Menu:WelcomeMenuPage' => 'Welcome', // Duplicated into itop-welcome-itil (will be removed from here...)
|
'Menu:WelcomeMenuPage' => 'Welcome', // Duplicated into itop-welcome-itil (will be removed from here...)
|
||||||
|
|||||||
@@ -201,6 +201,7 @@ Dict::Add('FR FR', 'French', 'Français', array(
|
|||||||
'Class:URP_ClassProjection/Attribute:attribute+' => 'Target attribute code (optional)',
|
'Class:URP_ClassProjection/Attribute:attribute+' => 'Target attribute code (optional)',
|
||||||
'BooleanLabel:yes' => 'oui',
|
'BooleanLabel:yes' => 'oui',
|
||||||
'BooleanLabel:no' => 'non',
|
'BooleanLabel:no' => 'non',
|
||||||
|
'UI:Login:Title' => 'iTop login',
|
||||||
'Menu:WelcomeMenu' => 'Bienvenue', // Duplicated into itop-welcome-itil (will be removed from here...)
|
'Menu:WelcomeMenu' => 'Bienvenue', // Duplicated into itop-welcome-itil (will be removed from here...)
|
||||||
'Menu:WelcomeMenu+' => 'Bienvenue dans iTop', // Duplicated into itop-welcome-itil (will be removed from here...)
|
'Menu:WelcomeMenu+' => 'Bienvenue dans iTop', // Duplicated into itop-welcome-itil (will be removed from here...)
|
||||||
'Menu:WelcomeMenuPage' => 'Bienvenue', // Duplicated into itop-welcome-itil (will be removed from here...)
|
'Menu:WelcomeMenuPage' => 'Bienvenue', // Duplicated into itop-welcome-itil (will be removed from here...)
|
||||||
|
|||||||
Reference in New Issue
Block a user