PluginProbe
Tag Groups is the Advanced Way to Display Your Taxonomy Terms / trunk
Tag Groups is the Advanced Way to Display Your Taxonomy Terms vtrunk
2.2.2 2.2.1 2.2.0 trunk 1.40.0 1.40.2 1.41.0 1.42.1 1.43.0 1.43.1 1.43.10 1.43.10.1 1.43.2 1.43.3 1.43.4 1.43.5 1.43.6 1.43.7 1.43.9 1.44.0 1.44.1 1.44.3 1.44.3.1 2.0.0 2.0.1 All 36 releases
tag-groups / views / admin / settings_home.view.php

settings_home.view.php in Tag Groups is the Advanced Way to Display Your Taxonomy Terms trunk, at views/admin/settings_home.view.php

46 lines 1.8 KB
No matching file
Up and down to move Enter to open Esc to close
Raw Download Zip
1 <div style="float:left;">
2 <h2><?php _e('Active Taxonomies', 'tag-groups') ?></h2>
3 <table class="widefat fixed striped">
4 <?php foreach ($taxonomy_infos as $taxonomy_info) : ?>
5 <tr>
6 <td>
7 <div class="tg_admin_accordion">
8 <h4><span title="<?php _e('Click for more information', 'tag-groups') ?>"><?php echo esc_html($taxonomy_info['name']) ?> (<?php echo esc_html($taxonomy_info['slug']) ?>)</span></h4>
9 <div style="display:none;">
10 <?php if ($group_count < 100 && $taxonomy_info['term_count'] < 10000) : ?>
11 <h4><?php _e('Group Statistics', 'tag-groups') ?>
12 <?php if (TagGroups_WPML::get_current_language()) : ?>
13 (<?php _e('for the selected language', 'tag-groups') ?>)
14 <?php endif; ?>
15 </h4>
16 <?php echo wp_kses_post($taxonomy_info['info_html']) ?>
17 <?php else : ?>
18 <?php echo wp_kses_post(sprintf('This taxonomy has %d tags in %d groups.', $taxonomy_info['term_count'], $group_count)); ?>
19 <?php endif; ?>
20 </div>
21 </td>
22 <td style="max-width:300px;">
23 <span class="dashicons dashicons-arrow-right-alt tg_no_underline"></span>&nbsp;<a href="<?php echo esc_url($taxonomy_info['tag_group_admin']) ?>"><?php _e('go to tag group administration', 'tag-groups') ?></a>
24 </td>
25 </tr>
26 <?php endforeach; ?>
27 </table>
28 </div>
29
30 <!-- begin Tag Groups plugin -->
31 <script>
32 jQuery(document).ready(function() {
33 var icons = {
34 header: "dashicons dashicons-arrow-right",
35 activeHeader: "dashicons dashicons-arrow-down"
36 };
37 jQuery( ".tg_admin_accordion" ).accordion({
38 icons:icons,
39 collapsible: true,
40 active: false,
41 heightStyle: "content"
42 });
43 });
44 </script>
45 <!-- end Tag Groups plugin -->
46