diff --git a/pandora_console/general/last_message.php b/pandora_console/general/last_message.php
index 2a4188a116..dbf2266b37 100644
--- a/pandora_console/general/last_message.php
+++ b/pandora_console/general/last_message.php
@@ -21,19 +21,33 @@
global $config;
include_once("include/functions_update_manager.php");
-$last_message = update_manger_get_last_message ();
-if ($last_message === false) return false;
+$message = array();
+
+if (is_ajax()) {
+
+ $message_id = get_parameter ('message_id', false);
+ if ($message_id === false) return false;
+ $message = update_manger_get_single_message ($message_id);
+
+} else {
+
+ $message = update_manger_get_last_message ();
+
+ if ($message === false) return false;
+
+ update_manger_set_read_message($message["svn_version"], 1);
+ update_manager_remote_read_messages ($message["svn_version"]);
+}
+
-update_manger_set_read_message($last_message["svn_version"], 1);
-update_manager_remote_read_messages ($last_message["svn_version"]);
// Prints first step pandora registration
echo '
';
+ '[' . $message["svn_version"] . '] ' . $message['db_field_value'] . '">';
echo '
';
- echo $last_message["data"];
+ echo $message["data"];
echo '
';
echo '
';
diff --git a/pandora_console/general/login_identification_wizard.php b/pandora_console/general/login_identification_wizard.php
index ae56db98fa..41432bc222 100644
--- a/pandora_console/general/login_identification_wizard.php
+++ b/pandora_console/general/login_identification_wizard.php
@@ -162,7 +162,7 @@ echo '";
echo '
';
echo ' ' .__("Email") . ': ';
- html_print_input_text_extended ('email-newsletter', $email, 'text-email-newsletter', '', 30, 255, false, '', array ("style" => "display:none; width: 180px;")); echo ' ' .__("Email") . ': ';
+ html_print_input_text_extended ('email-newsletter', $email, 'text-email-newsletter', '', 30, 255, false, '', array ("style" => "display:none; width: 200px;")); echo ' ' .__("Email") . ': ';
echo ' *'.__("Required") .' ';
echo '
';
echo '
';
@@ -359,15 +359,15 @@ $(document).ready (function () {
#required-email-newsletter{
font-size : 9px;
color: red;
- float:right;
- left: 5px;
- top: -17px;
- position: relative;
+ margin-left: -2px;
+ margin-top: 3px;
+ position: absolute;
display: none;
}
#email_container{
margin-top: 3px;
+ width: 500px;
}
#license_newsletter {
diff --git a/pandora_console/general/login_required.php b/pandora_console/general/login_required.php
index ab3135cea9..ef63c75ece 100644
--- a/pandora_console/general/login_required.php
+++ b/pandora_console/general/login_required.php
@@ -23,6 +23,7 @@ global $config;
if (is_ajax()) {
$save_identification = get_parameter ('save_required_wizard', 0);
+ $change_language = get_parameter ('change_language', 0);
// Updates the values get on the identification wizard
if ($save_identification) {
@@ -43,8 +44,12 @@ if (is_ajax()) {
'field1_recovery' => $email));
}
- config_update_value ('initial_wizard', 1);
-
+ config_update_value ('initial_wizard', 1);
+ }
+
+ //Change the language if is change in checkbox
+ if ($change_language !== 0) {
+ config_update_value ('language', $change_language);
}
return;
@@ -125,6 +130,8 @@ echo '';