mirror of
https://github.com/Combodo/iTop.git
synced 2026-09-29 21:09:10 +02:00
- The object creation page now offers tha choice to create an instance of the sub-classes
- Made some objects abstract in the std config-management model - The creation button is now labelled "Create" instead of "Apply" ! - Better display of long messages (or errors) in SetuWebpage. SVN:trunk[529]
This commit is contained in:
@@ -703,7 +703,7 @@ Dict::Add('EN US', 'English', 'English', array(
|
||||
'Class:Printer/Attribute:type/Value:Mopier+' => '',
|
||||
'Class:Printer/Attribute:type/Value:Printer' => 'Printer',
|
||||
'Class:Printer/Attribute:type/Value:Printer+' => '',
|
||||
'Class:Printer/Attribute:technology' => 'technology',
|
||||
'Class:Printer/Attribute:technology' => 'Technology',
|
||||
'Class:Printer/Attribute:technology+' => '',
|
||||
'Class:Printer/Attribute:technology/Value:Inkjet' => 'Inkjet',
|
||||
'Class:Printer/Attribute:technology/Value:Inkjet+' => '',
|
||||
@@ -841,8 +841,8 @@ Dict::Add('EN US', 'English', 'English', array(
|
||||
'Menu:Person+' => 'All Persons',
|
||||
'Menu:Team' => 'Teams',
|
||||
'Menu:Team+' => 'All Teams',
|
||||
'Menu:FileDoc' => 'Documents',
|
||||
'Menu:FileDoc+' => 'All Documents',
|
||||
'Menu:Document' => 'Documents',
|
||||
'Menu:Document+' => 'All Documents',
|
||||
'Menu:Location' => 'Locations',
|
||||
'Menu:Location+' => 'All Locations',
|
||||
'Menu:ConfigManagementCI' => 'Configuration Items',
|
||||
|
||||
@@ -778,7 +778,7 @@ class BusinessProcess extends FunctionalCI
|
||||
MetaModel::Init_SetZListItems('list', array('status', 'owner_id', 'importance', 'description'));
|
||||
}
|
||||
}
|
||||
class ConnectableCI extends FunctionalCI
|
||||
abstract class ConnectableCI extends FunctionalCI
|
||||
{
|
||||
|
||||
public static function Init()
|
||||
@@ -848,7 +848,7 @@ class NetworkInterface extends ConnectableCI
|
||||
MetaModel::Init_SetZListItems('list', array('status', 'owner_id', 'importance', 'brand', 'model', 'serial_number', 'asset_ref', 'device_id', 'logical_type', 'physical_type', 'ip_address', 'ip_mask', 'mac_address', 'speed', 'duplex', 'connected_if', 'connected_if_device_id'));
|
||||
}
|
||||
}
|
||||
class Device extends ConnectableCI
|
||||
abstract class Device extends ConnectableCI
|
||||
{
|
||||
|
||||
public static function Init()
|
||||
@@ -908,7 +908,7 @@ class PC extends Device
|
||||
MetaModel::Init_SetZListItems('list', array('status', 'owner_id', 'importance', 'brand', 'model', 'serial_number', 'asset_ref', 'cpu', 'ram', 'hdd', 'os_family', 'os_version'));
|
||||
}
|
||||
}
|
||||
class MobileCI extends Device
|
||||
abstract class MobileCI extends Device
|
||||
{
|
||||
|
||||
public static function Init()
|
||||
@@ -965,7 +965,7 @@ class MobilePhone extends MobileCI
|
||||
MetaModel::Init_SetZListItems('list', array('status', 'owner_id', 'importance', 'brand', 'model', 'serial_number', 'asset_ref', 'number', 'imei', 'hw_pin'));
|
||||
}
|
||||
}
|
||||
class InfrastructureCI extends Device
|
||||
abstract class InfrastructureCI extends Device
|
||||
{
|
||||
|
||||
public static function Init()
|
||||
@@ -1263,7 +1263,7 @@ $oContactNode = new TemplateMenuNode('Contact', '../business/templates/contacts_
|
||||
new OQLMenuNode('Person', 'SELECT Person', $oContactNode->GetIndex(), 1 /* fRank */);
|
||||
new OQLMenuNode('Team', 'SELECT Team', $oContactNode->GetIndex(), 2 /* fRank */);
|
||||
|
||||
new OQLMenuNode('FileDoc', 'SELECT FileDoc', $oConfigManagementGroup->GetIndex(), 2 /* fRank */);
|
||||
new OQLMenuNode('Document', 'SELECT Document', $oConfigManagementGroup->GetIndex(), 2 /* fRank */);
|
||||
new OQLMenuNode('Location', 'SELECT Location', $oConfigManagementGroup->GetIndex(), 3 /* fRank */);
|
||||
|
||||
|
||||
|
||||
Reference in New Issue
Block a user