[vhffs-dev] [1828] No more HTML::Template in admin/stats. |
[ Thread Index |
Date Index
| More vhffs.org/vhffs-dev Archives
]
Revision: 1828
Author: beuss
Date: 2011-05-28 22:30:36 +0200 (Sat, 28 May 2011)
Log Message:
-----------
No more HTML::Template in admin/stats.
Modified Paths:
--------------
trunk/vhffs-panel/admin/stats.pl
trunk/vhffs-panel/templates/Makefile.am
Removed Paths:
-------------
trunk/vhffs-panel/templates/admin/misc/stats.tmpl
Modified: trunk/vhffs-panel/admin/stats.pl
===================================================================
--- trunk/vhffs-panel/admin/stats.pl 2011-05-28 20:30:23 UTC (rev 1827)
+++ trunk/vhffs-panel/admin/stats.pl 2011-05-28 20:30:36 UTC (rev 1828)
@@ -32,7 +32,6 @@
use utf8;
use POSIX qw(locale_h);
-use HTML::Template;
use locale;
use Locale::gettext;
use CGI;
@@ -41,180 +40,68 @@
use lib '%VHFFS_LIB_DIR%';
-use Vhffs::User;
-use Vhffs::Group;
-use Vhffs::Main;
-use Vhffs::Panel::Main;
-use Vhffs::Panel::Menu;
+use Vhffs::Panel::Modo;
use Vhffs::Stats;
-use Vhffs::Constants;
+my $panel = new Vhffs::Panel::Modo();
-my $panel = new Vhffs::Panel::Main();
-exit 0 unless $panel;
-my $session = $panel->get_session;
-exit 0 unless $session;
-
my $vhffs = $panel->{'vhffs'};
-my $maintemplate = $panel->{'template'};
-my $user = $panel->{'user'};
-my $cgi = $panel->{'cgi'};
-my $servername = $cgi->param("name");
-my $template;
-my $templatedir = $vhffs->get_config->get_templatedir;
-
my $stats = new Vhffs::Stats( $vhffs );
-if( ! defined $stats )
-{
+if( ! defined $stats ) {
+ $panel->render('misc/message.tt', { message => gettext( "Cannot get statistics") } );
+} else {
+ my $vars = {
+ users_count => $stats->get_user_total,
+ administrators_count => $stats->get_user_total_admin,
+ moderators_count => $stats->get_user_total_moderator,
- $template = new HTML::Template( filename => $templatedir."/panel/misc/simplemsg.tmpl" );
- my $message = gettext( "Cannot get statistics");
- $template->param( MESSAGE => $message );
+ groups_count => $stats->get_groups_total,
+ activated_groups_count => $stats->get_groups_activated,
-}
-elsif( ($user->is_moderator != 1 ) && ( $user->is_admin != 1 ) )
-{
-
- $template = new HTML::Template( filename => $templatedir."/panel/misc/simplemsg.tmpl" );
- my $message = gettext( "You are not allowed to see it");
- $template->param( MESSAGE => $message );
-}
-else
-{
- $template = new HTML::Template( filename => $templatedir."/panel/admin/misc/stats.tmpl" );
+ waiting_web_count => $stats->get_web_in_moderation,
+ activated_web_count => $stats->get_web_activated,
- $template->param( TITLE => gettext("Vhffs Statistics") );
+ waiting_dns_count => $stats->get_dns_in_moderation,
+ activated_dns_count => $stats->get_dns_activated,
- $template->param( TEXT_USERS => gettext("Users stats") );
- $template->param( TEXT_TOTAL_USERS => gettext("Total Users in VHFFS database") );
- $template->param( VALUE_TOTAL_USERS => $stats->get_user_total );
- $template->param( TEXT_TOTAL_USER_ADMIN => gettext("Total Admin Users in VHFFS database") );
- $template->param( VALUE_TOTAL_USER_ADMIN => $stats->get_user_total_admin );
- $template->param( TEXT_TOTAL_USER_MODERATION => gettext("Total Moderator Users in VHFFS database") );
- $template->param( VALUE_TOTAL_USER_MODERATION => $stats->get_user_total_moderator );
+ waiting_cvs_count => $stats->get_cvs_in_moderation,
+ activated_cvs_count => $stats->get_cvs_activated,
- $template->param( TEXT_GROUPS => gettext("Groups stats") );
- $template->param( TEXT_TOTAL_GROUPS => gettext("Total groups in database") );
- $template->param( VALUE_TOTAL_GROUPS => $stats->get_groups_total );
- $template->param( TEXT_TOTAL_GROUPS_ACTIVATED => gettext("Total activated groups") );
- $template->param( VALUE_TOTAL_GROUPS_ACTIVATED => $stats->get_groups_activated );
+ waiting_svn_count => $stats->get_svn_in_moderation,
+ activated_svn_count => $stats->get_svn_activated,
- $template->param( TEXT_WEB => gettext("WEB stats") );
- $template->param( TEXT_TOTAL_WEB_IN_MODERATION => gettext("Total Web Areas in moderation") );
- $template->param( VALUE_TOTAL_WEB_IN_MODERATION => $stats->get_web_in_moderation );
- $template->param( TEXT_TOTAL_WEB_ACTIVATED => gettext("Total activated Web Areas") );
- $template->param( VALUE_TOTAL_WEB_ACTIVATED => $stats->get_web_activated );
+ waiting_git_count => $stats->get_git_in_moderation,
+ activated_git_count => $stats->get_git_activated,
+ waiting_mercurial_count => $stats->get_mercurial_in_moderation,
+ activated_mercurial_count => $stats->get_mercurial_activated,
- $template->param( TEXT_DNS => gettext("DNS stats") );
- $template->param( TEXT_TOTAL_DNS_IN_MODERATION => gettext("Total DNS in moderation") );
- $template->param( VALUE_TOTAL_DNS_IN_MODERATION => $stats->get_dns_in_moderation );
- $template->param( TEXT_TOTAL_DNS_ACTIVATED => gettext("Total activated DNS") );
- $template->param( VALUE_TOTAL_DNS_ACTIVATED => $stats->get_dns_activated );
+ waiting_bazaar_count => $stats->get_bazaar_in_moderation,
+ activated_bazaar_count => $stats->get_bazaar_activated,
+ waiting_mail_domains_count => $stats->get_mail_in_moderation,
+ activated_mail_domains_count => $stats->get_mail_activated,
+ mail_boxes_count => $stats->get_mail_total_boxes,
+ mail_forwards_count => $stats->get_mail_total_forwards,
+ waiting_mysql_count => $stats->get_mysql_in_moderation,
+ activated_mysql_count => $stats->get_mysql_activated,
- $template->param( TEXT_CVS => gettext("CVS stats") );
- $template->param( TEXT_TOTAL_CVS_IN_MODERATION => gettext("Total CVS in moderation") );
- $template->param( VALUE_TOTAL_CVS_IN_MODERATION => $stats->get_cvs_in_moderation );
- $template->param( TEXT_TOTAL_CVS_ACTIVATED => gettext("Total activated CVS") );
- $template->param( VALUE_TOTAL_CVS_ACTIVATED => $stats->get_cvs_activated );
+ waiting_pgsql_count => $stats->get_pgsql_in_moderation,
+ activated_pgsql_count => $stats->get_pgsql_activated,
+ waiting_ml_count => $stats->get_lists_in_moderation,
+ activated_ml_count => $stats->get_lists_activated,
+ ml_subscribers_count => $stats->get_lists_totalsubs,
- $template->param( TEXT_SVN => gettext("SVN stats") );
- $template->param( TEXT_TOTAL_SVN_IN_MODERATION => gettext("Total SVN in moderation") );
- $template->param( VALUE_TOTAL_SVN_IN_MODERATION => $stats->get_svn_in_moderation );
- $template->param( TEXT_TOTAL_SVN_ACTIVATED => gettext("Total activated SVN") );
- $template->param( VALUE_TOTAL_SVN_ACTIVATED => $stats->get_svn_activated );
-
- $template->param( TEXT_GIT => gettext("GIT stats") );
- $template->param( TEXT_TOTAL_GIT_IN_MODERATION => gettext("Total GIT in moderation") );
- $template->param( VALUE_TOTAL_GIT_IN_MODERATION => $stats->get_git_in_moderation );
- $template->param( TEXT_TOTAL_GIT_ACTIVATED => gettext("Total activated GIT") );
- $template->param( VALUE_TOTAL_GIT_ACTIVATED => $stats->get_git_activated );
-
- $template->param( TEXT_MERCURIAL => gettext("MERCURIAL stats") );
- $template->param( TEXT_TOTAL_MERCURIAL_IN_MODERATION => gettext("Total MERCURIAL in moderation") );
- $template->param( VALUE_TOTAL_MERCURIAL_IN_MODERATION => $stats->get_mercurial_in_moderation );
- $template->param( TEXT_TOTAL_MERCURIAL_ACTIVATED => gettext("Total activated MERCURIAL") );
- $template->param( VALUE_TOTAL_MERCURIAL_ACTIVATED => $stats->get_mercurial_activated );
-
- $template->param( TEXT_BAZAAR => gettext("BAZAAR stats") );
- $template->param( TEXT_TOTAL_BAZAAR_IN_MODERATION => gettext("Total BAZAAR in moderation") );
- $template->param( VALUE_TOTAL_BAZAAR_IN_MODERATION => $stats->get_bazaar_in_moderation );
- $template->param( TEXT_TOTAL_BAZAAR_ACTIVATED => gettext("Total activated BAZAAR") );
- $template->param( VALUE_TOTAL_BAZAAR_ACTIVATED => $stats->get_bazaar_activated );
-
- $template->param( TEXT_MAIL => gettext("Mail stats") );
- $template->param( TEXT_TOTAL_MAIL_IN_MODERATION => gettext("Total Mail domains in moderation") );
- $template->param( VALUE_TOTAL_MAIL_IN_MODERATION => $stats->get_mail_in_moderation );
- $template->param( TEXT_TOTAL_MAIL_ACTIVATED => gettext("Total activated Mail domains") );
- $template->param( VALUE_TOTAL_MAIL_ACTIVATED => $stats->get_mail_activated );
- $template->param( TEXT_MAIL_FORWARDS => gettext("Total hosted forwards") );
- $template->param( VALUE_MAIL_FORWARDS => $stats->get_mail_total_forwards );
- $template->param( TEXT_MAIL_BOXES => gettext("Total hosted boxes") );
- $template->param( VALUE_MAIL_BOXES => $stats->get_mail_total_boxes );
-
-
-
- $template->param( TEXT_MYSQL => gettext("MySQL stats") );
- $template->param( TEXT_TOTAL_MYSQL_IN_MODERATION => gettext("Total MySQL in moderation") );
- $template->param( VALUE_TOTAL_MYSQL_IN_MODERATION => $stats->get_mysql_in_moderation );
- $template->param( TEXT_TOTAL_MYSQL_ACTIVATED => gettext("Total activated MySQL") );
- $template->param( VALUE_TOTAL_MYSQL_ACTIVATED => $stats->get_mysql_activated );
-
-
- $template->param( TEXT_PGSQL => gettext("PgSQL stats") );
- $template->param( TEXT_TOTAL_PGSQL_IN_MODERATION => gettext("Total PostgreSQL in moderation") );
- $template->param( VALUE_TOTAL_PGSQL_IN_MODERATION => $stats->get_pgsql_in_moderation );
- $template->param( TEXT_TOTAL_PGSQL_ACTIVATED => gettext("Total activated PostgreSQL") );
- $template->param( VALUE_TOTAL_PGSQL_ACTIVATED => $stats->get_pgsql_activated );
-
-
- #Lists part
- $template->param( TEXT_LISTS => gettext("Listengine stats") );
- $template->param( TEXT_TOTAL_LISTS => gettext("Total lists in moderation") );
- $template->param( VALUE_TOTAL_LISTS => $stats->get_lists_total );
- $template->param( TEXT_TOTAL_LISTS_ACTIVATED => gettext("Total activated lists") );
- $template->param( VALUE_TOTAL_LISTS_ACTIVATED => $stats->get_lists_activated );
- $template->param( TEXT_TOTAL_SUBS => gettext("Total subscribtion for lists") );
- $template->param( VALUE_TOTAL_SUBS => $stats->get_lists_totalsubs );
-
- #tags part
- $template->param( TEXT_TAGS => gettext("Tags stats") );
- $template->param( TEXT_TOTAL_TAGS_CATEGORIES => gettext("Total categories") );
- $template->param( VALUE_TOTAL_TAGS_CATEGORIES => $stats->get_tags_categories_total );
- $template->param( TEXT_TOTAL_TAGS_USED_EXISTING => gettext("Total tags used") );
- $template->param( VALUE_TOTAL_TAGS_USED => $stats->get_tags_used_total );
- #$template->param( TEXT_TOTAL_TAGS_EXISTING => gettext("Total tags existing") );
- $template->param( VALUE_TOTAL_TAGS_EXISTING => $stats->get_tags_total );
- $template->param( TEXT_TOTAL_TAGS_GROUPS => gettext("Total tagged groups" ) );
- $template->param( VALUE_TOTAL_TAGS_GROUPS => $stats->get_tags_groups_total );
- $template->param( TEXT_MAX_TAGS_GROUPS => gettext("Max tags for a group" ) );
- $template->param( VALUE_MAX_TAGS_GROUPS => $stats->get_tags_groups_max );
- $template->param( TEXT_10MOST_USED_TAGS => gettext("Popular tags" ) );
- #my $tags = Vhffs::Tag::get_10_tagsgroups($panel->{vhffs});
- #my $sql = q{SELECT vhffs_tag_category.label as category, vhffs_tag.label as tag_label, COUNT(object_id) as nb_groups
- #FROM vhffs_object_tag, vhffs_tag_category, vhffs_tag
- #WHERE vhffs_tag.category_id=vhffs_tag_category.tag_category_id
- #AND vhffs_object_tag.tag_id=vhffs_tag.tag_id
- #GROUP BY category,tag_label ORDER BY nb_groups DESC LIMIT 10};
-
- #my $tags = [];
- #my $main = $panel->{vhffs};
-
- #my $dbh = $main->get_db_object();
- #my $sth = $dbh->prepare($sql);
- #$sth->execute() or return undef;
- #while( (my $t = $sth->fetchrow_hashref() ) ) {
- #push @$tags, $t;
- #}
-
- $template->param( 'TAGS' => $stats->get_most_popular_tags );
-
+ tag_categories_count => $stats->get_tags_categories_total,
+ used_tags_count => $stats->get_tags_used_total,
+ total_tags_count => $stats->get_tags_total,
+ tagged_groups_count => $stats->get_tags_groups_total,
+ max_tags_count => $stats->get_tags_groups_max,
+ top10_tags => $stats->get_most_popular_tags
+ };
+ $panel->render('admin/misc/stats.tt', $vars);
}
-
-$panel->build( $template );
-$panel->display;
Modified: trunk/vhffs-panel/templates/Makefile.am
===================================================================
--- trunk/vhffs-panel/templates/Makefile.am 2011-05-28 20:30:23 UTC (rev 1827)
+++ trunk/vhffs-panel/templates/Makefile.am 2011-05-28 20:30:36 UTC (rev 1828)
@@ -4,7 +4,6 @@
admin/main/general.tmpl \
admin/main/main.tmpl \
admin/misc/list.tmpl \
- admin/misc/stats.tmpl \
admin/misc/su.tmpl \
admin/object/search.tmpl \
admin/tag/create.tmpl \
@@ -37,6 +36,7 @@
admin/index.tt \
admin/misc/list.tt \
admin/misc/search.tt \
+ admin/misc/stats.tt \
admin/moderation/index.tt \
admin/object/edit.tt \
admin/object/list.tt \
Deleted: trunk/vhffs-panel/templates/admin/misc/stats.tmpl
===================================================================
--- trunk/vhffs-panel/templates/admin/misc/stats.tmpl 2011-05-28 20:30:23 UTC (rev 1827)
+++ trunk/vhffs-panel/templates/admin/misc/stats.tmpl 2011-05-28 20:30:36 UTC (rev 1828)
@@ -1,128 +0,0 @@
-<h1><TMPL_VAR ESCAPE=1 NAME="TITLE"></h1>
-
-<h2>
- <TMPL_VAR ESCAPE=1 NAME="TEXT_USERS">:
-</h2>
-<ul>
- <li><TMPL_VAR ESCAPE=1 NAME="TEXT_TOTAL_USERS">: <TMPL_VAR ESCAPE=1 NAME="VALUE_TOTAL_USERS"></li>
- <li><TMPL_VAR ESCAPE=1 NAME="TEXT_TOTAL_USER_ADMIN">: <TMPL_VAR ESCAPE=1 NAME="VALUE_TOTAL_USER_ADMIN"></li>
- <li><TMPL_VAR ESCAPE=1 NAME="TEXT_TOTAL_USER_MODERATION">: <TMPL_VAR ESCAPE=1 NAME="VALUE_TOTAL_USER_MODERATION"></li>
-</ul>
-
-
-<h2>
- <TMPL_VAR ESCAPE=1 NAME="TEXT_GROUPS">:
-</h2>
-<ul>
- <li><TMPL_VAR ESCAPE=1 NAME="TEXT_TOTAL_GROUPS">: <TMPL_VAR ESCAPE=1 NAME="VALUE_TOTAL_GROUPS"></li>
- <li><TMPL_VAR ESCAPE=1 NAME="TEXT_TOTAL_GROUPS_ACTIVATED">: <TMPL_VAR ESCAPE=1 NAME="VALUE_TOTAL_GROUPS_ACTIVATED"></li>
-</ul>
-
-
-<h2>
- <TMPL_VAR ESCAPE=1 NAME="TEXT_WEB">:
-</h2>
-<ul>
- <li><TMPL_VAR ESCAPE=1 NAME="TEXT_TOTAL_WEB_IN_MODERATION">: <TMPL_VAR ESCAPE=1 NAME="VALUE_TOTAL_WEB_IN_MODERATION"></li>
- <li><TMPL_VAR ESCAPE=1 NAME="TEXT_TOTAL_WEB_ACTIVATED">: <TMPL_VAR ESCAPE=1 NAME="VALUE_TOTAL_WEB_ACTIVATED"></li>
-</ul>
-
-
-<h2>
- <TMPL_VAR ESCAPE=1 NAME="TEXT_DNS">:
-</h2>
-<ul>
- <li><TMPL_VAR ESCAPE=1 NAME="TEXT_TOTAL_DNS_IN_MODERATION">: <TMPL_VAR ESCAPE=1 NAME="VALUE_TOTAL_DNS_IN_MODERATION"></li>
- <li><TMPL_VAR ESCAPE=1 NAME="TEXT_TOTAL_DNS_ACTIVATED">: <TMPL_VAR ESCAPE=1 NAME="VALUE_TOTAL_DNS_ACTIVATED"></li>
-</ul>
-
-
-<h2>
- <TMPL_VAR ESCAPE=1 NAME="TEXT_CVS">:
-</h2>
-<ul>
- <li><TMPL_VAR ESCAPE=1 NAME="TEXT_TOTAL_CVS_IN_MODERATION">: <TMPL_VAR ESCAPE=1 NAME="VALUE_TOTAL_CVS_IN_MODERATION"></li>
- <li><TMPL_VAR ESCAPE=1 NAME="TEXT_TOTAL_CVS_ACTIVATED">: <TMPL_VAR ESCAPE=1 NAME="VALUE_TOTAL_CVS_ACTIVATED"></li>
-</ul>
-
-
-<h2>
- <TMPL_VAR ESCAPE=1 NAME="TEXT_SVN">:
-</h2>
-<ul>
- <li><TMPL_VAR ESCAPE=1 NAME="TEXT_TOTAL_SVN_IN_MODERATION">: <TMPL_VAR ESCAPE=1 NAME="VALUE_TOTAL_SVN_IN_MODERATION"></li>
- <li><TMPL_VAR ESCAPE=1 NAME="TEXT_TOTAL_SVN_ACTIVATED">: <TMPL_VAR ESCAPE=1 NAME="VALUE_TOTAL_SVN_ACTIVATED"></li>
-</ul>
-
-<h2>
- <TMPL_VAR ESCAPE=1 NAME="TEXT_GIT">:
-</h2>
-<ul>
- <li><TMPL_VAR ESCAPE=1 NAME="TEXT_TOTAL_GIT_IN_MODERATION">: <TMPL_VAR ESCAPE=1 NAME="VALUE_TOTAL_GIT_IN_MODERATION"></li>
- <li><TMPL_VAR ESCAPE=1 NAME="TEXT_TOTAL_GIT_ACTIVATED">: <TMPL_VAR ESCAPE=1 NAME="VALUE_TOTAL_GIT_ACTIVATED"></li>
-</ul>
-
-<h2>
- <TMPL_VAR ESCAPE=1 NAME="TEXT_MERCURIAL">:
-</h2>
-<ul>
- <li><TMPL_VAR ESCAPE=1 NAME="TEXT_TOTAL_MERCURIAL_IN_MODERATION">: <TMPL_VAR ESCAPE=1 NAME="VALUE_TOTAL_MERCURIAL_IN_MODERATION"></li>
- <li><TMPL_VAR ESCAPE=1 NAME="TEXT_TOTAL_MERCURIAL_ACTIVATED">: <TMPL_VAR ESCAPE=1 NAME="VALUE_TOTAL_MERCURIAL_ACTIVATED"></li>
-</ul>
-
-<h2>
- <TMPL_VAR ESCAPE=1 NAME="TEXT_BAZAAR">:
-</h2>
-<ul>
- <li><TMPL_VAR ESCAPE=1 NAME="TEXT_TOTAL_BAZAAR_IN_MODERATION">: <TMPL_VAR ESCAPE=1 NAME="VALUE_TOTAL_BAZAAR_IN_MODERATION"></li>
- <li><TMPL_VAR ESCAPE=1 NAME="TEXT_TOTAL_BAZAAR_ACTIVATED">: <TMPL_VAR ESCAPE=1 NAME="VALUE_TOTAL_BAZAAR_ACTIVATED"></li>
-</ul>
-
-<h2>
- <TMPL_VAR ESCAPE=1 NAME="TEXT_MAIL">:
-</h2>
-<ul>
- <li><TMPL_VAR ESCAPE=1 NAME="TEXT_TOTAL_MAIL_IN_MODERATION">: <TMPL_VAR ESCAPE=1 NAME="VALUE_TOTAL_MAIL_IN_MODERATION"></li>
- <li><TMPL_VAR ESCAPE=1 NAME="TEXT_TOTAL_MAIL_ACTIVATED">: <TMPL_VAR ESCAPE=1 NAME="VALUE_TOTAL_MAIL_ACTIVATED"></li>
- <li><TMPL_VAR ESCAPE=1 NAME="TEXT_MAIL_BOXES">: <TMPL_VAR ESCAPE=1 NAME="VALUE_MAIL_BOXES"></li>
- <li><TMPL_VAR ESCAPE=1 NAME="TEXT_MAIL_FORWARDS">: <TMPL_VAR ESCAPE=1 NAME="VALUE_MAIL_FORWARDS"></li>
-</ul>
-
-<h2>
- <TMPL_VAR ESCAPE=1 NAME="TEXT_MYSQL">:
-</h2>
-<ul>
- <li><TMPL_VAR ESCAPE=1 NAME="TEXT_TOTAL_MYSQL_IN_MODERATION">: <TMPL_VAR ESCAPE=1 NAME="VALUE_TOTAL_MYSQL_IN_MODERATION"></li>
- <li><TMPL_VAR ESCAPE=1 NAME="TEXT_TOTAL_MYSQL_ACTIVATED">: <TMPL_VAR ESCAPE=1 NAME="VALUE_TOTAL_MYSQL_ACTIVATED"></li>
-</ul>
-
-<h2>
- <TMPL_VAR ESCAPE=1 NAME="TEXT_PGSQL">:
-</h2>
-<ul>
- <li><TMPL_VAR ESCAPE=1 NAME="TEXT_TOTAL_PGSQL_IN_MODERATION">: <TMPL_VAR ESCAPE=1 NAME="VALUE_TOTAL_PGSQL_IN_MODERATION"></li>
- <li><TMPL_VAR ESCAPE=1 NAME="TEXT_TOTAL_PGSQL_ACTIVATED">: <TMPL_VAR ESCAPE=1 NAME="VALUE_TOTAL_PGSQL_ACTIVATED"></li>
-</ul>
-
-
-<h2>
- <TMPL_VAR ESCAPE=1 NAME="TEXT_LISTS">:
-</h2>
-<ul>
- <li><TMPL_VAR ESCAPE=1 NAME="TEXT_TOTAL_LISTS">: <TMPL_VAR ESCAPE=1 NAME="VALUE_TOTAL_LISTS"></li>
- <li><TMPL_VAR ESCAPE=1 NAME="TEXT_TOTAL_LISTS_ACTIVATED">: <TMPL_VAR ESCAPE=1 NAME="VALUE_TOTAL_LISTS_ACTIVATED"></li>
- <li><TMPL_VAR ESCAPE=1 NAME="TEXT_TOTAL_SUBS">: <TMPL_VAR ESCAPE=1 NAME="VALUE_TOTAL_SUBS"></li>
-</ul>
-
-<h2>
- <TMPL_VAR ESCAPE=1 NAME="TEXT_TAGS">:
-</h2>
-<ul>
- <li><TMPL_VAR ESCAPE=1 NAME="TEXT_TOTAL_TAGS_CATEGORIES">: <TMPL_VAR ESCAPE=1 NAME="VALUE_TOTAL_TAGS_CATEGORIES"></li>
- <li><TMPL_VAR ESCAPE=1 NAME="TEXT_TOTAL_TAGS_USED_EXISTING">: <TMPL_VAR ESCAPE=1 NAME="VALUE_TOTAL_TAGS_USED"> / <TMPL_VAR ESCAPE=1 NAME="VALUE_TOTAL_TAGS_EXISTING"></li>
- <li><TMPL_VAR ESCAPE=1 NAME="TEXT_TOTAL_TAGS_GROUPS">: <TMPL_VAR ESCAPE=1 NAME="VALUE_TOTAL_TAGS_GROUPS"> / <TMPL_VAR ESCAPE=1 NAME="VALUE_TOTAL_GROUPS_ACTIVATED"></li>
- <li><TMPL_VAR ESCAPE=1 NAME="TEXT_MAX_TAGS_GROUPS">: <TMPL_VAR ESCAPE=1 NAME="VALUE_MAX_TAGS_GROUPS"> </li>
- <TMPL_IF NAME="TAGS"><li><TMPL_VAR ESCAPE=1 NAME="TEXT_10MOST_USED_TAGS">: <TMPL_LOOP NAME="TAGS"><TMPL_VAR NAME="category">:<TMPL_VAR NAME="tag_label" ESCAPE="1"> (<TMPL_VAR NAME="nb_groups">) </TMPL_LOOP>
- </li></TMPL_IF>
-</ul>
-