t("Enable encryption"); $l->t("Enable previews"); $l->t("Enable sharing"); $l->t("Check for changes"); $l->t("Never"); $l->t("Once every direct access"); $l->t('Read only'); script('files_external', [ 'settings', 'templates' ]); style('files_external', 'settings'); // load custom JS foreach ($_['backends'] as $backend) { /** @var Backend $backend */ $scripts = $backend->getCustomJs(); foreach ($scripts as $script) { script('files_external', $script); } } foreach ($_['authMechanisms'] as $authMechanism) { /** @var AuthMechanism $authMechanism */ $scripts = $authMechanism->getCustomJs(); foreach ($scripts as $script) { script('files_external', $script); } } function writeParameterInput($parameter, $options, $classes = []) { $value = ''; if (isset($options[$parameter->getName()])) { $value = $options[$parameter->getName()]; } $placeholder = $parameter->getText(); $is_optional = $parameter->isFlagSet(DefinitionParameter::FLAG_OPTIONAL); switch ($parameter->getType()) { case DefinitionParameter::VALUE_PASSWORD: ?> class="" data-parameter="getName()); ?>" value="" placeholder="" />