diff --git a/modules/itop-change-mgmt-1.0.0/model.itop-change-mgmt.php b/modules/itop-change-mgmt-1.0.0/model.itop-change-mgmt.php index 67c660449..244c00b2f 100644 --- a/modules/itop-change-mgmt-1.0.0/model.itop-change-mgmt.php +++ b/modules/itop-change-mgmt-1.0.0/model.itop-change-mgmt.php @@ -538,7 +538,7 @@ new TemplateMenuNode('Change:Overview', '../modules/itop-change-mgmt-1.0.0/overv new NewObjectMenuNode('NewChange', 'Change', $oMyMenuGroup->GetIndex(), 1 /* fRank */); new SearchMenuNode('SearchChanges', 'Change', $oMyMenuGroup->GetIndex(), 2 /* fRank */); $oShortcutNode = new TemplateMenuNode('Change:Shortcuts', '', $oMyMenuGroup->GetIndex(), 3 /* fRank */); -$oNode = new OQLMenuNode('MyChanges', 'SELECT Change WHERE agent_id = :current_contact_id', $oShortcutNode->GetIndex(), 1 /* fRank */); +$oNode = new OQLMenuNode('MyChanges', 'SELECT Change WHERE agent_id = :current_contact_id AND status NOT IN ("closed", "resolved")', $oShortcutNode->GetIndex(), 1 /* fRank */); $oNode->SetParameters(array('auto_reload' => 'fast')); $oNode = new OQLMenuNode('Changes', 'SELECT Change WHERE status != "closed"', $oShortcutNode->GetIndex(), 2 /* fRank */); $oNode->SetParameters(array('auto_reload' => 'fast')); diff --git a/modules/itop-config-mgmt-1.0.0/en.dict.itop-config-mgmt.php b/modules/itop-config-mgmt-1.0.0/en.dict.itop-config-mgmt.php index 3413f4669..a98b0013d 100644 --- a/modules/itop-config-mgmt-1.0.0/en.dict.itop-config-mgmt.php +++ b/modules/itop-config-mgmt-1.0.0/en.dict.itop-config-mgmt.php @@ -268,14 +268,14 @@ Dict::Add('EN US', 'English', 'English', array( )); // -// Class: ExternalDoc +// Class: WebDoc // Dict::Add('EN US', 'English', 'English', array( - 'Class:ExternalDoc' => 'External Document', - 'Class:ExternalDoc+' => 'Document available on another web server', - 'Class:ExternalDoc/Attribute:url' => 'Url', - 'Class:ExternalDoc/Attribute:url+' => '', + 'Class:WebDoc' => 'Web Document', + 'Class:WebDoc+' => 'Document available on another web server', + 'Class:WebDoc/Attribute:url' => 'Url', + 'Class:WebDoc/Attribute:url+' => '', )); // diff --git a/modules/itop-config-mgmt-1.0.0/es_cr.dict.itop-config-mgmt.php b/modules/itop-config-mgmt-1.0.0/es_cr.dict.itop-config-mgmt.php index a9ba3a1d0..1a5b25342 100644 --- a/modules/itop-config-mgmt-1.0.0/es_cr.dict.itop-config-mgmt.php +++ b/modules/itop-config-mgmt-1.0.0/es_cr.dict.itop-config-mgmt.php @@ -268,14 +268,14 @@ Dict::Add('ES CR', 'Spanish', 'Español, Castellano', array( )); // -// Class: ExternalDoc +// Class: WebDoc // Dict::Add('ES CR', 'Spanish', 'Español, Castellano', array( - 'Class:ExternalDoc' => 'Documento externo', - 'Class:ExternalDoc+' => 'Documento disponible en otro servidor Web', - 'Class:ExternalDoc/Attribute:url' => 'Url', - 'Class:ExternalDoc/Attribute:url+' => '', + 'Class:WebDoc' => 'Documento Web', + 'Class:WebDoc+' => 'Documento disponible en otro servidor Web', + 'Class:WebDoc/Attribute:url' => 'Url', + 'Class:WebDoc/Attribute:url+' => '', )); // diff --git a/modules/itop-config-mgmt-1.0.0/fr.dict.itop-config-mgmt.php b/modules/itop-config-mgmt-1.0.0/fr.dict.itop-config-mgmt.php index a28ee79a8..9a9af320f 100644 --- a/modules/itop-config-mgmt-1.0.0/fr.dict.itop-config-mgmt.php +++ b/modules/itop-config-mgmt-1.0.0/fr.dict.itop-config-mgmt.php @@ -266,14 +266,14 @@ Dict::Add('FR FR', 'French', 'Français', array( )); // -// Class: ExternalDoc +// Class: WebDoc // Dict::Add('FR FR', 'French', 'Français', array( - 'Class:ExternalDoc' => 'Document externe', - 'Class:ExternalDoc+' => 'Document mis à disposition depuis un serveur web externe', - 'Class:ExternalDoc/Attribute:url' => 'Url', - 'Class:ExternalDoc/Attribute:url+' => '', + 'Class:WebDoc' => 'Document Web', + 'Class:WebDoc+' => 'Document mis à disposition depuis un serveur web externe', + 'Class:WebDoc/Attribute:url' => 'Url', + 'Class:WebDoc/Attribute:url+' => '', )); // diff --git a/modules/itop-config-mgmt-1.0.0/model.itop-config-mgmt.php b/modules/itop-config-mgmt-1.0.0/model.itop-config-mgmt.php index 16f645255..82d6d0f6e 100644 --- a/modules/itop-config-mgmt-1.0.0/model.itop-config-mgmt.php +++ b/modules/itop-config-mgmt-1.0.0/model.itop-config-mgmt.php @@ -152,7 +152,7 @@ class Person extends Contact "key_type" => "autoincrement", "name_attcode" => "name", "state_attcode" => "", - "reconc_keys" => array("name"), + "reconc_keys" => array("name","first_name","org_id","email"), "db_table" => "person", "db_key_field" => "id", "db_finalclass_field" => "", @@ -186,7 +186,7 @@ class Team extends Contact "key_type" => "autoincrement", "name_attcode" => "name", "state_attcode" => "", - "reconc_keys" => array("name", "org_id", "org_name"), + "reconc_keys" => array("name", "org_id"), "db_table" => "team", "db_key_field" => "id", "db_finalclass_field" => "", @@ -276,7 +276,7 @@ abstract class Document extends cmdbAbstractObject MetaModel::Init_SetZListItems('list', array('name', 'org_id', 'type', 'status')); } } -class ExternalDoc extends Document +class WebDoc extends Document { public static function Init() @@ -1016,7 +1016,7 @@ class NetworkInterface extends ConnectableCI "key_type" => "autoincrement", "name_attcode" => "name", "state_attcode" => "", - "reconc_keys" => array("name","device_id","org_id", "device_name", "owner_name"), + "reconc_keys" => array("name","device_id","org_id"), "db_table" => "networkinterface", "db_key_field" => "id", "db_finalclass_field" => "", diff --git a/modules/itop-incident-mgmt-1.0.0/model.itop-incident-mgmt.php b/modules/itop-incident-mgmt-1.0.0/model.itop-incident-mgmt.php index 4b703deac..e3f1d2fe9 100644 --- a/modules/itop-incident-mgmt-1.0.0/model.itop-incident-mgmt.php +++ b/modules/itop-incident-mgmt-1.0.0/model.itop-incident-mgmt.php @@ -221,11 +221,11 @@ new TemplateMenuNode('Incident:Overview', '../modules/itop-incident-mgmt-1.0.0/o new NewObjectMenuNode('NewIncident', 'Incident', $oMyMenuGroup->GetIndex(), 1 /* fRank */); new SearchMenuNode('SearchIncidents', 'Incident', $oMyMenuGroup->GetIndex(), 2 /* fRank */); $oShortcutNode = new TemplateMenuNode('Incident:Shortcuts', '', $oMyMenuGroup->GetIndex(), 3 /* fRank */); -$oNode = new OQLMenuNode('Incident:MyIncidents', 'SELECT Incident WHERE agent_id = :current_contact_id', $oShortcutNode->GetIndex(), 1 /* fRank */); +$oNode = new OQLMenuNode('Incident:MyIncidents', 'SELECT Incident WHERE agent_id = :current_contact_id AND status NOT IN ("closed", "resolved")', $oShortcutNode->GetIndex(), 1 /* fRank */); $oNode->SetParameters(array('auto_reload' => 'fast')); $oNode = new OQLMenuNode('Incident:EscalatedIncidents', 'SELECT Incident WHERE status IN ("escalated_tto", "escalated_ttr")', $oShortcutNode->GetIndex(), 2 /* fRank */); $oNode->SetParameters(array('auto_reload' => 'fast')); $oNode = new OQLMenuNode('Incident:OpenIncidents', 'SELECT Incident WHERE status IN ("new", "assigned", "escalated_tto", "escalated_ttr", "resolved")', $oShortcutNode->GetIndex(), 3 /* fRank */); -$oNode->SetParameters(array('auto_reload' => 'fast')); +$oNode->SetParameters(array('auto_reload' => 'standard')); ?> diff --git a/modules/itop-incident-mgmt-1.0.0/overview.html b/modules/itop-incident-mgmt-1.0.0/overview.html index 9d7fcbde7..e5c5c8074 100644 --- a/modules/itop-incident-mgmt-1.0.0/overview.html +++ b/modules/itop-incident-mgmt-1.0.0/overview.html @@ -11,7 +11,7 @@