2009-01-20 Esteban Sanchez <estebans@artica.es>

* godmode/alerts/configure_alert_template.php: Fixed an error when
	setting max and min values on template creation.

	* godmode/menu.php: Default action on "Manage alerts" is showing the
	templates now.



git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@1370 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
This commit is contained in:
esanchezm 2009-01-20 20:36:30 +00:00
parent ee81ca8bb5
commit f61f11782f
3 changed files with 12 additions and 4 deletions

View File

@ -1,3 +1,11 @@
2009-01-20 Esteban Sanchez <estebans@artica.es>
* godmode/alerts/configure_alert_template.php: Fixed an error when
setting max and min values on template creation.
* godmode/menu.php: Default action on "Manage alerts" is showing the
templates now.
2009-01-20 Sancho Lerena <slerena@artica.es> 2009-01-20 Sancho Lerena <slerena@artica.es>
* install.php: Added ldap module dep. * install.php: Added ldap module dep.

View File

@ -285,8 +285,8 @@ if ($create_template) {
$result = create_alert_template ($name, $type, $result = create_alert_template ($name, $type,
array ('description' => $description, array ('description' => $description,
'value' => $value, 'value' => $value,
'max' => $max, 'max_value' => $max,
'min' => $min)); 'min_value' => $min));
print_error_message ($result, __('Successfully created'), print_error_message ($result, __('Successfully created'),
__('Could not be created')); __('Could not be created'));

View File

@ -61,7 +61,7 @@ if (give_acl ($config['id_user'], 0, "PM")) {
if (give_acl ($config['id_user'], 0, "LM")) { if (give_acl ($config['id_user'], 0, "LM")) {
$menu["galertas"]["text"] = __('Manage alerts'); $menu["galertas"]["text"] = __('Manage alerts');
$menu["galertas"]["sec2"] = "godmode/alerts/modify_alert"; $menu["galertas"]["sec2"] = "godmode/alerts/alert_templates";
$menu["galertas"]["id"] = "god-alerts"; $menu["galertas"]["id"] = "god-alerts";
$sub = array (); $sub = array ();