<?php
/**
 * Settings Glossary Functions
 *
 * @package KNOWLEDGE_CENTER
 * @since WPAS 4.0
 */
if (!defined('ABSPATH')) exit;
add_action('knowledge_center_settings_glossary', 'knowledge_center_settings_glossary');
/**
 * Display glossary information
 * @since WPAS 4.0
 *
 * @return html
 */
function knowledge_center_settings_glossary() {
	global $title;
?>
<div class="wrap">
<h2><?php echo esc_html($title); ?></h2>
<p><?php esc_html_e('Knowledge Center helps categorize related short content in a user-friendly way.', 'knowledge-center'); ?></p>
<p><?php esc_html_e('The below are the definitions of entities, attributes, and terms included in Knowledge Center.', 'knowledge-center'); ?></p>
<div id="glossary" class="accordion-container">
<ul class="outer-border">
<li id="emd_panel" class="control-section accordion-section open">
<h3 class="accordion-section-title hndle" tabindex="1"><button type="button" class="accordion-trigger" aria-expanded="true" aria-controls="target-1"><div class="accordion-title emd"><span class="accordion-title-text"><?php esc_html_e('Panels', 'knowledge-center'); ?></span><span class="dashicons dashicons-arrow-down" aria-hidden="true"></span></div></button></h3>
<div class="accordion-section-content">
<div class="inside">
<table class="form-table"><p class"lead"><?php esc_html_e('Any short length content which may be used to display term definitions, frequently asked questions etc.', 'knowledge-center'); ?></p><tr><th style='font-size: 1.1em;color:cadetblue;border-bottom: 1px dashed;padding-bottom: 10px;' colspan=2><div><?php esc_html_e('Attributes', 'knowledge-center'); ?></div></th></tr>
<tr>
<th><?php esc_html_e('Title', 'knowledge-center'); ?></th>
<td><?php esc_html_e(' Title is a required field. Title is filterable in the admin area. Title does not have a default value. ', 'knowledge-center'); ?></td>
</tr>
<tr>
<th><?php esc_html_e('Content', 'knowledge-center'); ?></th>
<td><?php esc_html_e(' Content does not have a default value. ', 'knowledge-center'); ?></td>
</tr>
<tr>
<th><?php esc_html_e('ID', 'knowledge-center'); ?></th>
<td><?php esc_html_e('Unique identifier for a panel. It is incremented by 1. Being a unique identifier, it uniquely distinguishes each instance of Panel entity. ID is filterable in the admin area. ID does not have a default value. ', 'knowledge-center'); ?></td>
</tr>
<tr>
<th><?php esc_html_e('Featured', 'knowledge-center'); ?></th>
<td><?php esc_html_e(' Featured is filterable in the admin area. Featured does not have a default value. ', 'knowledge-center'); ?></td>
</tr>
<tr>
<th><?php esc_html_e('Context Color', 'knowledge-center'); ?></th>
<td><?php esc_html_e('Colors the panel header to highlight or group similar content. Context Color has a default value of <b>\'default\'</b>.Context Color is displayed as a dropdown and has predefined values of: default, primary, success, info, danger, warning.', 'knowledge-center'); ?></td>
</tr>
<tr>
<th><?php esc_html_e('Initial State', 'knowledge-center'); ?></th>
<td><?php esc_html_e('Sets the initial state of a panel\'s content. Initial State does not have a default value. ', 'knowledge-center'); ?></td>
</tr><tr><th style='font-size:1.1em;color:cadetblue;border-bottom: 1px dashed;padding-bottom: 10px;' colspan=2><div><?php esc_html_e('Taxonomies', 'knowledge-center'); ?></div></th></tr>
<tr>
<th><?php esc_html_e('KC Group', 'knowledge-center'); ?></th>

<td><?php esc_html_e(' KC Group accepts multiple values like tags', 'knowledge-center'); ?>. <?php esc_html_e('KC Group does not have a default value', 'knowledge-center'); ?>.<div class="taxdef-block"><p><?php esc_html_e('There are no preset values for <b>KC Group.</b>', 'knowledge-center'); ?></p></div></td>
</tr>

<tr>
<th><?php esc_html_e('KC Tag', 'knowledge-center'); ?></th>

<td><?php esc_html_e(' KC Tag accepts multiple values like tags', 'knowledge-center'); ?>. <?php esc_html_e('KC Tag does not have a default value', 'knowledge-center'); ?>.<div class="taxdef-block"><p><?php esc_html_e('There are no preset values for <b>KC Tag.</b>', 'knowledge-center'); ?></p></div></td>
</tr>
</table>
</div>
</div>
</li>
</ul>
</div>
</div>
<?php
}