2011-04-12 Junichi Satoh <junichi@rworks.jp>
* godmode/uses/configure_profile.php: Fixed $name twice encoding. It is already encoded. * godmode/admin_access_logs.php: Fixed encoding characters are shown. git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@4189 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
This commit is contained in:
parent
9a15a0f8c7
commit
15afb6d637
|
@ -1,3 +1,10 @@
|
|||
2011-04-12 Junichi Satoh <junichi@rworks.jp>
|
||||
|
||||
* godmode/uses/configure_profile.php: Fixed $name twice encoding.
|
||||
It is already encoded.
|
||||
|
||||
* godmode/admin_access_logs.php: Fixed encoding characters are shown.
|
||||
|
||||
2011-04-11 SAncho Lerena <slerena@artica.es>
|
||||
|
||||
* images/console/backgrounds: Removed old images (not
|
||||
|
|
|
@ -246,7 +246,7 @@ foreach ($result as $row) {
|
|||
$data[3] = $row["ip_origen"];
|
||||
break;
|
||||
}
|
||||
$data[4] = $row["descripcion"];
|
||||
$data[4] = safe_output($row["descripcion"]);
|
||||
if ($enterprise_include !== ENTERPRISE_NOT_HOOK) {
|
||||
switch ($config['dbtype']) {
|
||||
case "mysql":
|
||||
|
|
|
@ -45,7 +45,7 @@ if ($delete_profile) {
|
|||
}
|
||||
else {
|
||||
pandora_audit("Profile management",
|
||||
"Delete profile ".safe_input($profile['name']));
|
||||
"Delete profile ". $profile['name']);
|
||||
|
||||
echo '<h3 class="suc">'.__('Successfully deleted').'</h3>';
|
||||
echo '<a href="index.php?sec=gusuarios&sec2=godmode/users/user_list">« Back</a>';
|
||||
|
@ -90,7 +90,7 @@ if ($update_profile) {
|
|||
' DB management: ' . $db_management . ' Alert management: ' . $alert_management .
|
||||
' Pandora Management: ' . $pandora_management;
|
||||
pandora_audit("User management",
|
||||
"Update profile ".safe_input($name), false, false, $info);
|
||||
"Update profile ". $name, false, false, $info);
|
||||
|
||||
echo '<h3 class="suc">'.__('Successfully updated').'</h3>';
|
||||
echo '<a href="index.php?sec=gusuarios&sec2=godmode/users/user_list">« Back</a>';
|
||||
|
@ -140,7 +140,7 @@ if ($create_profile) {
|
|||
' DB management: ' . $db_management . ' Alert management: ' . $alert_management .
|
||||
' Pandora Management: ' . $pandora_management;
|
||||
pandora_audit("User management",
|
||||
"Created profile ".safe_input($name), false, false, $info);
|
||||
"Created profile ". $name, false, false, $info);
|
||||
}
|
||||
else {
|
||||
echo '<h3 class="error">'.__('There was a problem creating this profile').'</h3>';
|
||||
|
@ -188,7 +188,7 @@ if ($id_profile || $new_profile) {
|
|||
$pandora_management = (bool) $profile["pandora_management"];
|
||||
|
||||
$id_audit = pandora_audit("User management",
|
||||
"Edit profile ".safe_input($name));
|
||||
"Edit profile ". $name);
|
||||
enterprise_include_once('include/functions_audit.php');
|
||||
$info = 'Name: ' . $name . ' Incident view: ' . $incident_view .
|
||||
' Incident edit: ' . $incident_edit . ' Incident management: ' . $incident_management .
|
||||
|
|
Loading…
Reference in New Issue