A......... [ZBX-8634] Refactor input validation for triggerprototype.create and triggerprototype.update - move code to CTriggerPrototype::validateCreate() and CTriggerPrototype::validateUpdate() respectively and move common validation to CTriggerPrototype::validateTriggerPrototype(). Implement validation check to disallow items from both templates and hosts in same trigger prototype expression in CTriggerPrototype::checkTemplatesAndHostsTogether().