<input type="hidden" name="gdbbatt_forum_meta" value="edit"/>
<p>
	<strong class="label" style="width: 160px;"><?php esc_html_e( 'Disable Attachments', 'forumax' ); ?>:</strong>
	<label for="gdbbatt_disable" class="screen-reader-text"><?php esc_html_e( 'Disable Attachments', 'forumax' ); ?>:</label>
	<input type="checkbox" 
	<?php
	if ( $meta['disable'] == 1 ) {
		echo esc_attr( ' checked' );
	}
	?>
	 name="gdbbatt[disable]" id="gdbbatt_disable"/>
</p>
<p>
	<strong class="label" style="width: 160px;"><?php esc_html_e( 'Override Defaults', 'forumax' ); ?>:</strong>
	<label for="gdbbatt_to_override" class="screen-reader-text"><?php esc_html_e( 'Override Defaults', 'forumax' ); ?>:</label>
	<input type="checkbox" 
	<?php
	if ( $meta['to_override'] == 1 ) {
		echo ' checked';
	}
	?>
	 name="gdbbatt[to_override]" id="gdbbatt_to_override"/>
</p>
<h4 style="font-size: 14px; margin: 3px 0 5px;"><?php esc_html_e( 'Settings to override', 'forumax' ); ?>:</h4>
<p>
	<strong class="label" style="width: 160px;"><?php esc_html_e( 'Maximum file size', 'forumax' ); ?>:</strong>
	<label for="gdbbatt_max_file_size" class="screen-reader-text"><?php esc_html_e( 'Maximum file size', 'forumax' ); ?>:</label>
	<br/><input step="1" min="1" type="number" class="widefat small-text" value="<?php echo esc_attr( $meta['max_file_size'] ); ?>" name="gdbbatt[max_file_size]" id="gdbbatt_max_file_size"/>
	<span class="description">KB</span>
</p>
<p>
	<strong class="label" style="width: 160px;"><?php esc_html_e( 'Maximum files to upload', 'forumax' ); ?>:</strong>
	<label for="gdbbatt_max_to_upload" class="screen-reader-text"><?php esc_html_e( 'Maximum files to upload', 'forumax' ); ?>:</label>
	<br/><input step="1" min="1" type="number" class="widefat small-text" value="<?php echo esc_attr( $meta['max_to_upload'] ); ?>" name="gdbbatt[max_to_upload]" id="gdbbatt_max_to_upload"/>
	<span class="description"><?php esc_html_e( 'at once', 'forumax' ); ?></span>
</p>
<p>
	<strong class="label" style="width: 160px;"><?php esc_html_e( 'Hide list of attachments', 'forumax' ); ?>:</strong>
	<label for="gdbbatt_hide_from_visitors" class="screen-reader-text"><?php esc_html_e( 'Hide From Visitors', 'forumax' ); ?>:</label>
	<br/><input style="vertical-align: top; margin-top: 3px;" type="checkbox" 
	<?php
	if ( $meta['hide_from_visitors'] == 1 ) {
		echo esc_attr( ' checked' );
	}
	?>
	 name="gdbbatt[hide_from_visitors]" id="gdbbatt_hide_from_visitors"/>
	<?php esc_html_e( 'From visitors', 'forumax' ); ?>
</p>
