Skip to content

adaptation v11#151

Open
Axel35000-tech wants to merge 1 commit into
masterfrom
master-adaptation-v11-0626
Open

adaptation v11#151
Axel35000-tech wants to merge 1 commit into
masterfrom
master-adaptation-v11-0626

Conversation

@Axel35000-tech

Copy link
Copy Markdown
Contributor

No description provided.

@Axel35000-tech Axel35000-tech requested a review from tsmr June 24, 2026 08:54
Comment thread src/RuleContracttype.php
case "dropdownContractType":
$ContractType = new ContractType();
return $ContractType->getContractTypeName($pattern);
case "dropdownProfilType" :

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

ProfileType

$criterias['plugin_resources_contracttypes_id']['allow_condition'] = [Rule::PATTERN_IS, Rule::PATTERN_IS_NOT];

$criterias['plugin_resources_profiltypes_id']['name'] = \Profile::getTypeName(1);
$criterias['plugin_resources_profiltypes_id']['type'] = 'dropdownProfilType';

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

ProfileType

Comment thread src/Profile.php
PURGE => __('Purge')
]
],
['itemtype' => 'PluginResourcesOtherAction',

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Old class ?

Comment thread src/Profile.php
PURGE => __('Purge')
]
],
['itemtype' => 'PluginResourcesAnnuaire',

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Old class ? Annuary ?

$ContractType->dropdownContractType($name);
$display = true;
break;
case "dropdownProfilType" :

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

ProfileType

case "dropdownContractType":
$ContractType = new ContractType();
return $ContractType->getContractTypeName($pattern);
case "dropdownProfilType" :

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

ProfileType

Comment thread src/Wizard.php
}
}
$input['plugin_resources_profiletypes_id'] = $_SESSION["glpiactiveprofile"]['id'];
$input['plugin_resources_profiltypes_id'] = $_SESSION["glpiactiveprofile"]['id'];

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

No in english

Comment thread hook.php
$DB->runFile(PLUGIN_RESOURCES_DIR . "/install/sql/update-4.0.15.sql");

if (!$DB->fieldExists("glpi_plugin_resources_configs", "search_default_my_resources")) {
$DB->runFile(PLUGIN_RESOURCES_DIR . "/install/sql/update-4.0.15.sql");

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

There is a problem

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants