[Pkg-owncloud-commits] [owncloud] 28/67: Better Logic to display user count for everyone.

David Prévot taffit at moszumanska.debian.org
Fri Jun 27 23:58:14 UTC 2014


This is an automated email from the git hooks/post-receive script.

taffit pushed a commit to branch master
in repository owncloud.

commit 720fa33274aa24b77d09cd125bb72c5115c8602a
Author: raghunayyar <me at iraghu.com>
Date:   Tue Jun 24 00:50:36 2014 +0530

    Better Logic to display user count for everyone.
---
 settings/templates/users/part.grouplist.php | 4 +++-
 settings/users.php                          | 1 +
 2 files changed, 4 insertions(+), 1 deletion(-)

diff --git a/settings/templates/users/part.grouplist.php b/settings/templates/users/part.grouplist.php
index 593c202..28f2236 100644
--- a/settings/templates/users/part.grouplist.php
+++ b/settings/templates/users/part.grouplist.php
@@ -19,7 +19,9 @@
 			</span>
 		</a>
 		<span class="utils">
-			<span class="usercount"></span>
+			<span class="usercount">
+				<?php p($_["usercount"]); ?>
+			</span>
 		</span>
 	</li>
 
diff --git a/settings/users.php b/settings/users.php
index 8f72fc9..29a63a4 100644
--- a/settings/users.php
+++ b/settings/users.php
@@ -81,6 +81,7 @@ $tmpl->assign( 'groups', $groups );
 $tmpl->assign( 'adminGroup', $adminGroup );
 $tmpl->assign( 'isAdmin', (int) $isAdmin);
 $tmpl->assign( 'subadmins', $subadmins);
+$tmpl->assign('usercount', count($users));
 $tmpl->assign( 'numofgroups', count($groups) + count($adminGroup));
 $tmpl->assign( 'quota_preset', $quotaPreset);
 $tmpl->assign( 'default_quota', $defaultQuota);

-- 
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/pkg-owncloud/owncloud.git



More information about the Pkg-owncloud-commits mailing list