first commit

This commit is contained in:
Roman Pyrih
2023-07-24 08:30:51 +02:00
commit c2e100a763
7128 changed files with 1622619 additions and 0 deletions

View File

@@ -0,0 +1,62 @@
<?php if ( ! defined( 'ABSPATH' ) ) {
die( 'Direct access forbidden.' );
}
?>
<form method="post" novalidate="novalidate">
<input type="hidden" name="tab" value="general"/>
<?php wp_nonce_field() ?>
<table class="form-table">
<tbody>
<tr>
<th scope="row"><?php echo __( 'Activate' ) . ' ' . __bt( 'brizy', 'Brizy' ) . ' ' . __( 'For' ); ?></th>
<td>
<fieldset>
<?php foreach ( $types as $type ) {
do_action( 'brizy_settings_post_type_row', $type );
?><br><?php
}
?>
</fieldset>
</td>
</tr>
<tr>
<th scope="row"><?php echo __( 'Enable SVG uploads' ); ?></th>
<td>
<label>
<input type="checkbox"
id="svg-upload-enabled"
name="svg-upload-enabled"
value="1"
<?php echo $svgUploadEnabled ? 'checked' : ''; ?>
>
</label>
</td>
</tr>
<tr>
<th scope="row"><?php echo __( 'Enable JSON uploads' ); ?></th>
<td>
<label>
<input type="checkbox"
id="json-upload-enabled"
name="json-upload-enabled"
value="1"
<?php echo $jsonUploadEnabled ? 'checked' : ''; ?>
>
</label>
</td>
</tr>
</tbody>
</table>
<p class="submit">
<button type="submit"
name="brizy-general-submit"
id="submit"
class="button button-primary"
><?php echo __( 'Save Changes', 'brizy' ); ?></button>
</p>
</form>