[Cpan-forum-commit] rev 75 - in trunk: lib/CPAN templates

svn at pti.co.il svn at pti.co.il
Thu Feb 3 08:59:05 IST 2005


Author: gabor
Date: 2005-02-03 08:59:05 +0200 (Thu, 03 Feb 2005)
New Revision: 75

Modified:
   trunk/lib/CPAN/Forum.pm
   trunk/templates/about.tmpl
Log:
include number of subscriptions in the stats

Modified: trunk/lib/CPAN/Forum.pm
===================================================================
--- trunk/lib/CPAN/Forum.pm	2005-02-03 06:44:00 UTC (rev 74)
+++ trunk/lib/CPAN/Forum.pm	2005-02-03 06:59:05 UTC (rev 75)
@@ -790,10 +790,11 @@
 	my $self = shift;
 	my $t = $self->load_tmpl("about.tmpl");
 	
-	$t->param(distro_cnt => CPAN::Forum::Groups->count_all());
-	$t->param(posts_cnt  => CPAN::Forum::Posts->count_all());
-	$t->param(users_cnt  => CPAN::Forum::Users->count_all());
-	$t->param(version    => $VERSION);
+	$t->param(distro_cnt        => CPAN::Forum::Groups->count_all());
+	$t->param(posts_cnt         => CPAN::Forum::Posts->count_all());
+	$t->param(users_cnt         => CPAN::Forum::Users->count_all());
+	$t->param(subscription_cnt  => CPAN::Forum::Subscriptions->count_all());
+	$t->param(version           => $VERSION);
 
 	$t->output;
 }
@@ -2007,7 +2008,8 @@
 
 =head1 ACKNOWLEDGEMENTS
 
-Thanks to Offer Kaye for his initial help with HTML and CSS.  Thanks to all
+Thanks to Offer Kaye for his initial help with HTML and CSS.  Thanks
+to Shlomi Fish for some patches. Thanks to all
 the people who develop and maintain the underlying technologies.  See
 L<http://www.cpanforum.com/about/> for a list of tools we used.  In addition to
 Perl of course.

Modified: trunk/templates/about.tmpl
===================================================================
--- trunk/templates/about.tmpl	2005-02-03 06:44:00 UTC (rev 74)
+++ trunk/templates/about.tmpl	2005-02-03 06:59:05 UTC (rev 75)
@@ -43,6 +43,7 @@
 		<li>Number of distributions: <TMPL_VAR distro_cnt></li>
 		<li>Number of posts: <TMPL_VAR posts_cnt></li>
 		<li>Number of people: <TMPL_VAR users_cnt></li>
+		<li>Number of subscriptions: <TMPL_VAR subscription_cnt></li>
 	</ul>
 	<p class="about_p">
 		If you have technical problems please contact 



More information about the Cpan-forum-commit mailing list