[Rebranding] Open godmode/update_manager and godmode/users
This commit is contained in:
parent
d9e35b3668
commit
c3beafc499
|
@ -37,7 +37,7 @@ $baseurl = ui_get_full_url(false, false, false, false);
|
|||
var drop_the_package_here_or = "<?php echo __('Drop the package here or'); ?>\n";
|
||||
var browse_it = "<?php echo __('browse it'); ?>\n";
|
||||
var the_package_has_been_uploaded_successfully = "<?php echo __('The package has been uploaded successfully.'); ?>\n";
|
||||
var remember_that_this_package_will = "<?php echo __('Remember that this package will override the actual Pandora FMS files and it is recommended to do a backup before continue with the update.'); ?>\n";
|
||||
var remember_that_this_package_will = "<?php echo __("Please keep in mind that this package is going to override your actual %s files and that it's recommended to conduct a backup before continuing the updating process.", get_product_name()); ?>\n";
|
||||
var click_on_the_file_below_to_begin = "<?php echo __('Click on the file below to begin.'); ?>\n";
|
||||
var updating = "<?php echo __('Updating'); ?>\n";
|
||||
var package_updated_successfully = "<?php echo __('Package updated successfully.'); ?>\n";
|
||||
|
|
|
@ -46,7 +46,7 @@ if (!is_metaconsole()) {
|
|||
|
||||
$buttons[$tab]['active'] = true;
|
||||
|
||||
ui_print_page_header (__('User management').' » '.__('Profiles defined in Pandora'), "images/gm_users.png", false, "", true, $buttons);
|
||||
ui_print_page_header (__('User management').' » '.__('Profiles defined on %s', get_product_name()), "images/gm_users.png", false, "", true, $buttons);
|
||||
$sec2 = 'gusuarios';
|
||||
}
|
||||
else {
|
||||
|
@ -211,8 +211,8 @@ if ($id_profile || $new_profile) {
|
|||
' Visual console edit: ' . $vconsole_edit .
|
||||
' Visual console management: ' . $vconsole_management .
|
||||
|
||||
' Pandora Management: ' . $pandora_management;
|
||||
|
||||
' ' . get_product_name() . ' Management: ' . $pandora_management;
|
||||
|
||||
enterprise_hook('audit_pandora_enterprise', array($id_audit, $info));
|
||||
|
||||
|
||||
|
@ -361,7 +361,7 @@ if ($id_profile || $new_profile) {
|
|||
|
||||
// Pandora
|
||||
$row = array();
|
||||
$row['name'] = __('Pandora management');
|
||||
$row['name'] = __('%s management', get_product_name());
|
||||
$row['input'] = html_print_checkbox ('pandora_management', 1, $pandora_management, true);
|
||||
$table->data['PM'] = $row;
|
||||
$table->data[] = '<hr>';
|
||||
|
|
|
@ -148,7 +148,7 @@ if ($new_user && $config['admin_can_add_user']) {
|
|||
|
||||
if ($create_user) {
|
||||
if (! $config['admin_can_add_user']) {
|
||||
ui_print_error_message (__('The current authentication scheme doesn\'t support creating users from Pandora FMS'));
|
||||
ui_print_error_message (__('The current authentication scheme doesn\'t support creating users on %s', get_product_name()));
|
||||
return;
|
||||
}
|
||||
|
||||
|
|
|
@ -50,7 +50,7 @@ if (!defined('METACONSOLE')) {
|
|||
|
||||
$buttons[$tab]['active'] = true;
|
||||
|
||||
ui_print_page_header (__('User management').' » '.__('Profiles defined in Pandora'), "images/gm_users.png", false, "profile", true, $buttons);
|
||||
ui_print_page_header (__('User management').' » '.__('Profiles defined on %s', get_product_name()), "images/gm_users.png", false, "profile", true, $buttons);
|
||||
$sec = 'gusuarios';
|
||||
}
|
||||
else {
|
||||
|
@ -205,7 +205,7 @@ if ($update_profile) {
|
|||
"Visual console view":"'.$vconsole_view.'",
|
||||
"Visual console edit":"'.$vconsole_edit.'",
|
||||
"Visual console management":"'.$vconsole_management.'",
|
||||
"Pandora Management":"'.$pandora_management.'"}';
|
||||
"'.get_product_name().' Management":"'.$pandora_management.'"}';
|
||||
|
||||
db_pandora_audit("User management",
|
||||
"Update profile ". $name, false, false, $info);
|
||||
|
@ -252,7 +252,7 @@ if ($create_profile) {
|
|||
"Visual console view":"'.$vconsole_view.'",
|
||||
"Visual console edit":"'.$vconsole_edit.'",
|
||||
"Visual console management":"'.$vconsole_management.'",
|
||||
"Pandora Management":"'.$pandora_management.'"}';
|
||||
"'.get_product_name().' Management":"'.$pandora_management.'"}';
|
||||
|
||||
db_pandora_audit("User management",
|
||||
"Created profile ". $name, false, false, $info);
|
||||
|
|
|
@ -118,7 +118,7 @@ else {
|
|||
|
||||
$buttons[$tab]['active'] = true;
|
||||
|
||||
ui_print_page_header (__('User management').' » '.__('Users defined in Pandora'), "images/gm_users.png", false, "", true, $buttons);
|
||||
ui_print_page_header (__('User management').' » '.__('Users defined on %s', get_product_name()), "images/gm_users.png", false, "", true, $buttons);
|
||||
|
||||
$sec = 'gusuarios';
|
||||
|
||||
|
@ -486,7 +486,7 @@ if ($config["admin_can_add_user"] !== false) {
|
|||
echo '</form>';
|
||||
}
|
||||
else {
|
||||
echo '<i>'.__('The current authentication scheme doesn\'t support creating users from Pandora FMS').'</i>';
|
||||
echo '<i>'.__("The current authentication scheme doesn't support creating users on %s", get_product_name()).'</i>';
|
||||
}
|
||||
echo '</div>';
|
||||
|
||||
|
|
Loading…
Reference in New Issue