summaryrefslogtreecommitdiff
path: root/kolab.org/www/drupal-7.18/sites/all/modules/views/views.module
diff options
context:
space:
mode:
Diffstat (limited to 'kolab.org/www/drupal-7.18/sites/all/modules/views/views.module')
-rw-r--r--kolab.org/www/drupal-7.18/sites/all/modules/views/views.module10
1 files changed, 8 insertions, 2 deletions
diff --git a/kolab.org/www/drupal-7.18/sites/all/modules/views/views.module b/kolab.org/www/drupal-7.18/sites/all/modules/views/views.module
index 3b9eff1..fc427f4 100644
--- a/kolab.org/www/drupal-7.18/sites/all/modules/views/views.module
+++ b/kolab.org/www/drupal-7.18/sites/all/modules/views/views.module
@@ -69,7 +69,7 @@ function views_theme($existing, $type, $theme, $path) {
// Our extra version of pager from pager.inc
$hooks['views_mini_pager'] = $base + array(
- 'variables' => array('tags' => array(), 'quantity' => 10, 'element' => 0, 'parameters' => array()),
+ 'variables' => array('tags' => array(), 'element' => 0, 'parameters' => array()),
'pattern' => 'views_mini_pager__',
);
@@ -341,10 +341,12 @@ function views_permission() {
'administer views' => array(
'title' => t('Administer views'),
'description' => t('Access the views administration pages.'),
+ 'restrict access' => TRUE,
),
'access all views' => array(
'title' => t('Bypass views access control'),
'description' => t('Bypass access control when accessing views.'),
+ 'restrict access' => TRUE,
),
);
}
@@ -373,7 +375,7 @@ function views_menu() {
'page callback' => 'views_ajax_autocomplete_user',
'theme callback' => 'ajax_base_page_theme',
'access callback' => 'user_access',
- 'access arguments' => array('access content'),
+ 'access arguments' => array('access user profiles'),
'type' => MENU_CALLBACK,
'file' => 'includes/ajax.inc',
);
@@ -2511,6 +2513,10 @@ if (!function_exists('system_views_api')) {
function system_views_api() { return views_views_api(); }
}
+if (!function_exists('tracker_views_api')) {
+ function tracker_views_api() { return views_views_api(); }
+}
+
if (!function_exists('taxonomy_views_api')) {
function taxonomy_views_api() { return views_views_api(); }
}