[Rebranding] Open mobile console
This commit is contained in:
parent
0d6115726a
commit
9cf7fee2c0
|
@ -129,5 +129,13 @@ class System {
|
|||
return false;
|
||||
}
|
||||
}
|
||||
|
||||
public function getDefaultACLFailText() {
|
||||
return
|
||||
__("Access to this page is restricted to authorized users only, please contact your system administrator if you should need help.") .
|
||||
"<br><br>" .
|
||||
__("Please remember that any attempts to access this page will be recorded on the %s System Database.", get_product_name())
|
||||
;
|
||||
}
|
||||
}
|
||||
?>
|
|
@ -165,7 +165,7 @@ class Ui {
|
|||
|
||||
public function createDefaultHeader($title = false, $left_button = false) {
|
||||
if ($title === false) {
|
||||
$title = __('Pandora FMS mobile');
|
||||
$title = __('%s : Mobile', get_product_name());
|
||||
}
|
||||
|
||||
if ($left_button === false) {
|
||||
|
@ -254,7 +254,7 @@ class Ui {
|
|||
}
|
||||
|
||||
return "<div id='footer' style='text-align: center;'>\n"
|
||||
. sprintf(__('Pandora FMS %s - Build %s', $pandora_version, $build_version)) . "<br />\n"
|
||||
. sprintf(__('%s %s - Build %s', get_product_name(), $pandora_version, $build_version)) . "<br />\n"
|
||||
. __('Generated at') . ' '. ui_print_timestamp ($time, true, array ("prominent" => "timestamp")) . "\n"
|
||||
. "</div>";
|
||||
}
|
||||
|
|
|
@ -218,7 +218,7 @@ class User {
|
|||
$options['dialog_id'] = 'logout_dialog';
|
||||
$options['type'] = 'onStart';
|
||||
$options['title_text'] = __('Login out');
|
||||
$options['content_text'] = __('Your session is over. Please close your browser window to close this Pandora session.');
|
||||
$options['content_text'] = __('Your session has ended. Please close your browser window to close this %s session.', get_product_name());
|
||||
$ui->addDialog($options);
|
||||
|
||||
}
|
||||
|
|
|
@ -230,7 +230,7 @@ switch ($action) {
|
|||
if (!$permission) {
|
||||
$error['type'] = 'onStart';
|
||||
$error['title_text'] = __('You don\'t have access to this page');
|
||||
$error['content_text'] = __('Access to this page is restricted to authorized users only, please contact system administrator if you need assistance. <br><br>Please know that all attempts to access this page are recorded in security logs of Pandora System Database');
|
||||
$error['content_text'] = System::getDefaultACLFailText();
|
||||
if (class_exists("HomeEnterprise"))
|
||||
$home = new HomeEnterprise();
|
||||
else
|
||||
|
|
|
@ -85,7 +85,7 @@ class Agent {
|
|||
private function show_fail_acl() {
|
||||
$error['type'] = 'onStart';
|
||||
$error['title_text'] = __('You don\'t have access to this page');
|
||||
$error['content_text'] = __('Access to this page is restricted to authorized users only, please contact system administrator if you need assistance. <br><br>Please know that all attempts to access this page are recorded in security logs of Pandora System Database');
|
||||
$error['content_text'] = System::getDefaultACLFailText();
|
||||
if (class_exists("HomeEnterprise"))
|
||||
$home = new HomeEnterprise();
|
||||
else
|
||||
|
@ -136,7 +136,7 @@ class Agent {
|
|||
'href' => 'index.php?page=agents' . $agents_filter_q_param)));
|
||||
}
|
||||
else {
|
||||
$ui->createDefaultHeader(__("PandoraFMS: Agents"));
|
||||
$ui->createDefaultHeader(__("Agents"));
|
||||
}
|
||||
$ui->showFooter(false);
|
||||
$ui->beginContent();
|
||||
|
|
|
@ -164,7 +164,7 @@ class Agents {
|
|||
private function show_fail_acl() {
|
||||
$error['type'] = 'onStart';
|
||||
$error['title_text'] = __('You don\'t have access to this page');
|
||||
$error['content_text'] = __('Access to this page is restricted to authorized users only, please contact system administrator if you need assistance. <br><br>Please know that all attempts to access this page are recorded in security logs of Pandora System Database');
|
||||
$error['content_text'] = System::getDefaultACLFailText();
|
||||
if (class_exists("HomeEnterprise"))
|
||||
$home = new HomeEnterprise();
|
||||
else
|
||||
|
|
|
@ -139,7 +139,7 @@ class Alerts {
|
|||
private function show_fail_acl() {
|
||||
$error['type'] = 'onStart';
|
||||
$error['title_text'] = __('You don\'t have access to this page');
|
||||
$error['content_text'] = __('Access to this page is restricted to authorized users only, please contact system administrator if you need assistance. <br><br>Please know that all attempts to access this page are recorded in security logs of Pandora System Database');
|
||||
$error['content_text'] = System::getDefaultACLFailText();
|
||||
if (class_exists("HomeEnterprise"))
|
||||
$home = new HomeEnterprise();
|
||||
else
|
||||
|
|
|
@ -428,7 +428,7 @@ class Events {
|
|||
private function show_fail_acl() {
|
||||
$error['type'] = 'onStart';
|
||||
$error['title_text'] = __('You don\'t have access to this page');
|
||||
$error['content_text'] = __('Access to this page is restricted to authorized users only, please contact system administrator if you need assistance. <br><br>Please know that all attempts to access this page are recorded in security logs of Pandora System Database');
|
||||
$error['content_text'] = System::getDefaultACLFailText();
|
||||
if (class_exists("HomeEnterprise"))
|
||||
$home = new HomeEnterprise();
|
||||
else
|
||||
|
@ -442,7 +442,7 @@ class Events {
|
|||
$options['dialog_id'] = 'detail_event_dialog_error';
|
||||
$options['title_text'] = __('ERROR: Event detail');
|
||||
$options['content_text'] = '<span style="color: #ff0000;">' .
|
||||
__('Error connecting to DB pandora.') . '</span>';
|
||||
__('Error connecting to DB.') . '</span>';
|
||||
|
||||
return $options;
|
||||
}
|
||||
|
|
|
@ -51,7 +51,7 @@ class Groups {
|
|||
private function show_fail_acl() {
|
||||
$error['type'] = 'onStart';
|
||||
$error['title_text'] = __('You don\'t have access to this page');
|
||||
$error['content_text'] = __('Access to this page is restricted to authorized users only, please contact system administrator if you need assistance. <br><br>Please know that all attempts to access this page are recorded in security logs of Pandora System Database');
|
||||
$error['content_text'] = System::getDefaultACLFailText();
|
||||
if (class_exists("HomeEnterprise"))
|
||||
$home = new HomeEnterprise();
|
||||
else
|
||||
|
|
|
@ -268,7 +268,7 @@ class ModuleGraph {
|
|||
private function show_fail_acl() {
|
||||
$error['type'] = 'onStart';
|
||||
$error['title_text'] = __('You don\'t have access to this page');
|
||||
$error['content_text'] = __('Access to this page is restricted to authorized users only, please contact system administrator if you need assistance. <br><br>Please know that all attempts to access this page are recorded in security logs of Pandora System Database');
|
||||
$error['content_text'] = System::getDefaultACLFailText();
|
||||
if (class_exists("HomeEnterprise"))
|
||||
$home = new HomeEnterprise();
|
||||
else
|
||||
|
@ -361,7 +361,7 @@ class ModuleGraph {
|
|||
|
||||
if ($this->id_agent) {
|
||||
$ui->createDefaultHeader(
|
||||
sprintf(__("PandoraFMS: %s"), $this->module["nombre"]),
|
||||
sprintf(__("%s: %s"), get_product_name(), $this->module["nombre"]),
|
||||
$ui->createHeaderButton(
|
||||
array('icon' => 'back',
|
||||
'pos' => 'left',
|
||||
|
@ -370,7 +370,7 @@ class ModuleGraph {
|
|||
}
|
||||
else {
|
||||
$ui->createDefaultHeader(
|
||||
sprintf(__("PandoraFMS: %s"), $this->module["nombre"]),
|
||||
sprintf(__("%s: %s"), get_product_name(), $this->module["nombre"]),
|
||||
$ui->createHeaderButton(
|
||||
array('icon' => 'back',
|
||||
'pos' => 'left',
|
||||
|
|
|
@ -171,7 +171,7 @@ class Modules {
|
|||
private function show_fail_acl() {
|
||||
$error['type'] = 'onStart';
|
||||
$error['title_text'] = __('You don\'t have access to this page');
|
||||
$error['content_text'] = __('Access to this page is restricted to authorized users only, please contact system administrator if you need assistance. <br><br>Please know that all attempts to access this page are recorded in security logs of Pandora System Database');
|
||||
$error['content_text'] = System::getDefaultACLFailText();
|
||||
if (class_exists("HomeEnterprise"))
|
||||
$home = new HomeEnterprise();
|
||||
else
|
||||
|
|
|
@ -76,7 +76,7 @@ class Networkmap {
|
|||
private function show_fail_acl() {
|
||||
$error['type'] = 'onStart';
|
||||
$error['title_text'] = __('You don\'t have access to this page');
|
||||
$error['content_text'] = __('Access to this page is restricted to authorized users only, please contact system administrator if you need assistance. <br><br>Please know that all attempts to access this page are recorded in security logs of Pandora System Database');
|
||||
$error['content_text'] = System::getDefaultACLFailText();
|
||||
if (class_exists("HomeEnterprise"))
|
||||
$home = new HomeEnterprise();
|
||||
else
|
||||
|
|
|
@ -97,7 +97,7 @@ class Networkmaps {
|
|||
private function show_fail_acl() {
|
||||
$error['type'] = 'onStart';
|
||||
$error['title_text'] = __('You don\'t have access to this page');
|
||||
$error['content_text'] = __('Access to this page is restricted to authorized users only, please contact system administrator if you need assistance. <br><br>Please know that all attempts to access this page are recorded in security logs of Pandora System Database');
|
||||
$error['content_text'] = System::getDefaultACLFailText();
|
||||
if (class_exists("HomeEnterprise"))
|
||||
$home = new HomeEnterprise();
|
||||
else
|
||||
|
|
|
@ -69,7 +69,7 @@ class Tactical {
|
|||
private function show_fail_acl() {
|
||||
$error['type'] = 'onStart';
|
||||
$error['title_text'] = __('You don\'t have access to this page');
|
||||
$error['content_text'] = __('Access to this page is restricted to authorized users only, please contact system administrator if you need assistance. <br><br>Please know that all attempts to access this page are recorded in security logs of Pandora System Database');
|
||||
$error['content_text'] = System::getDefaultACLFailText();
|
||||
if (class_exists("HomeEnterprise"))
|
||||
$home = new HomeEnterprise();
|
||||
else
|
||||
|
|
|
@ -63,7 +63,7 @@ class Visualmap {
|
|||
private function show_fail_acl() {
|
||||
$error['type'] = 'onStart';
|
||||
$error['title_text'] = __('You don\'t have access to this page');
|
||||
$error['content_text'] = __('Access to this page is restricted to authorized users only, please contact system administrator if you need assistance. <br><br>Please know that all attempts to access this page are recorded in security logs of Pandora System Database');
|
||||
$error['content_text'] = System::getDefaultACLFailText();
|
||||
if (class_exists("HomeEnterprise"))
|
||||
$home = new HomeEnterprise();
|
||||
else
|
||||
|
|
|
@ -81,7 +81,7 @@ class Visualmaps {
|
|||
private function show_fail_acl() {
|
||||
$error['type'] = 'onStart';
|
||||
$error['title_text'] = __('You don\'t have access to this page');
|
||||
$error['content_text'] = __('Access to this page is restricted to authorized users only, please contact system administrator if you need assistance. <br><br>Please know that all attempts to access this page are recorded in security logs of Pandora System Database');
|
||||
$error['content_text'] = System::getDefaultACLFailText();
|
||||
if (class_exists("HomeEnterprise"))
|
||||
$home = new HomeEnterprise();
|
||||
else
|
||||
|
|
Loading…
Reference in New Issue