<html>
<head>
<title>dcLegacyEditor</title>
</head>
<body>
<?php echo dcPage::breadcrumb([__('Plugins') => '', __('dcLegacyEditor') => '']) . dcPage::notices(); ?>
<?php if ($is_admin): /* @phpstan-ignore-line */ ?>
<h3 class="hidden-if-js"><?php echo __('Settings'); ?></h3>
<form action="<?php echo $p_url; ?>" method="post" enctype="multipart/form-data">
<div class="fieldset">
<h3><?php echo __('Plugin activation'); ?></h3>
<p>
<label class="classic" for="dclegacyeditor_active">
<?php echo form::checkbox('dclegacyeditor_active', 1, $dclegacyeditor_active); /* @phpstan-ignore-line */ ?>
<?php echo __('Enable dcLegacyEditor plugin'); ?>
</label>
</p>
</div>
<p>
<input type="hidden" name="p" value="dcLegacyEditor"/>
<?php echo $core->formNonce(); ?>
<input type="submit" name="saveconfig" value="<?php echo __('Save configuration'); ?>" />
<input type="button" value="<?php echo __('Cancel'); ?>" class="go-back reset hidden-if-no-js" />
</p>
</form>
<?php endif;?>
<?php dcPage::helpBlock('dcLegacyEditor');?>
</body>
</html>