<div class="oxygen-vsb-settings-container">
	<h2><?php oxygen_translate_echo("SVG Sets", "component-theme"); ?></h2>

	<?php do_action('oxygen_vsb_before_settings_page');?>

	<form action="" method="post" enctype="multipart/form-data">
		<?php $svg_sets = oxy_get_svg_sets(); ?>
		<?php if ( ! empty( $svg_sets ) ) : ?>

		<h3><?php oxygen_translate_echo("Uploaded SVG Sets", "component-theme"); ?></h3>
			<?php foreach ( $svg_sets as $name => $set ) : ?>

				<?php echo sanitize_text_field( $name ); ?>
				<?php if( FALSE === array_search( $name, $builtin_sets ) ): ?>
					<button type="submit" class="button button-small" value="<?php echo sanitize_text_field( $name ); ?>" name="ct_delete_svg_set"><?php oxygen_translate_echo("Delete", "component-theme"); ?></button>
				<?php endif; ?>
				<br/>

			<?php endforeach; ?>

		<?php endif; ?>

		<h3><?php oxygen_translate_echo("Add A New SVG Set", "component-theme"); ?></h3>

		<div class="oxygen-vsb-settings-svg-div">
			<?php oxygen_translate_echo("Icon set name", "component-theme"); ?> <input type="text" name="ct_svg_set_name">
		</div>
		<div class="oxygen-vsb-settings-svg-div">
			<?php oxygen_translate_echo("Select the file to import", "component-theme"); ?> <input type="file" name="ct_svg_set_file" id="ct-svg-set-file">
		</div>
		<p class="submit">
			<input type="submit" class="button button-primary" value="<?php oxygen_translate_echo("Import SVG Set", "component-theme"); ?>" name="submit">
		</p>
	</form>
</div>