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:
parent
ee81ca8bb5
commit
f61f11782f
|
@ -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.
|
||||||
|
|
|
@ -105,7 +105,7 @@ function print_alert_template_example ($id, $return = false) {
|
||||||
$output .= __('The alert would fire when the value is <span id="value"></span>');
|
$output .= __('The alert would fire when the value is <span id="value"></span>');
|
||||||
break;
|
break;
|
||||||
case 'equal':
|
case 'equal':
|
||||||
/* Do not translate the HTML attributes */
|
/* Do not translate the HTML attributes */
|
||||||
$output .= __('The alert would fire when the value is not <span id="value"></span>');
|
$output .= __('The alert would fire when the value is not <span id="value"></span>');
|
||||||
break;
|
break;
|
||||||
case 'regex':
|
case 'regex':
|
||||||
|
@ -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'));
|
||||||
|
|
|
@ -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 ();
|
||||||
|
|
Loading…
Reference in New Issue