aboutsummaryrefslogtreecommitdiffstats
path: root/admin/rating.php
diff options
context:
space:
mode:
authorrvelices <rv-github@modusoptimus.com>2011-11-21 20:48:37 +0000
committerrvelices <rv-github@modusoptimus.com>2011-11-21 20:48:37 +0000
commitaa87a2583b10dfcd7cd2b0e5bbdd717122778c3f (patch)
treec06c3e4437523a007c4e8102996fee884269e173 /admin/rating.php
parent26def6668593bfbc03935eb2bd1ab7bc66d974a9 (diff)
feature 2486 merge from trunk -r12624,12625,12650 Add an admin view for rates by user (improvement)
git-svn-id: http://piwigo.org/svn/branches/2.3@12651 68402e56-0260-453c-a942-63ccdbb3a9ee
Diffstat (limited to 'admin/rating.php')
-rw-r--r--admin/rating.php8
1 files changed, 8 insertions, 0 deletions
diff --git a/admin/rating.php b/admin/rating.php
index 2f0959023..70dc10fc3 100644
--- a/admin/rating.php
+++ b/admin/rating.php
@@ -33,6 +33,14 @@ include_once(PHPWG_ROOT_PATH.'admin/include/functions.php');
// +-----------------------------------------------------------------------+
check_status(ACCESS_ADMINISTRATOR);
+
+include_once(PHPWG_ROOT_PATH.'admin/include/tabsheet.class.php');
+$tabsheet = new tabsheet();
+$tabsheet->add('rating', l10n('Photos'), get_root_url().'admin.php?page=rating');
+$tabsheet->add('rating_user', l10n('Users'), get_root_url().'admin.php?page=rating_user');
+$tabsheet->select('rating');
+$tabsheet->assign();
+
// +-----------------------------------------------------------------------+
// | initialization |
// +-----------------------------------------------------------------------+