plugins/gallery/nssetup.php
changeset 42 7c6e2e97aa08
parent 18 c1c398349651
--- a/plugins/gallery/nssetup.php	Sat Aug 21 23:25:41 2010 -0400
+++ b/plugins/gallery/nssetup.php	Sat Aug 21 23:32:06 2010 -0400
@@ -16,17 +16,17 @@
 
 function gallery_setup_namespace(&$paths)
 {
-  global $db, $session, $paths, $template, $plugins; // Common objects
-  
-  $paths->create_namespace('Gallery', 'Image:');
-  
-  $session->register_acl_type('gal_full_res', AUTH_ALLOW, 'View image at full resolution', array('read'), 'Gallery');
-  $session->register_acl_type('snapr_add_tag', AUTH_DISALLOW, 'Add image tags (separate from adding normal tags)', array('read'), 'Gallery');
-  
-  $session->acl_extend_scope('read',                   'Gallery', $paths);
-  $session->acl_extend_scope('post_comments',          'Gallery', $paths);
-  $session->acl_extend_scope('edit_comments',          'Gallery', $paths);
-  $session->acl_extend_scope('mod_comments',           'Gallery', $paths);
+	global $db, $session, $paths, $template, $plugins; // Common objects
+	
+	$paths->create_namespace('Gallery', 'Image:');
+	
+	$session->register_acl_type('gal_full_res', AUTH_ALLOW, 'View image at full resolution', array('read'), 'Gallery');
+	$session->register_acl_type('snapr_add_tag', AUTH_DISALLOW, 'Add image tags (separate from adding normal tags)', array('read'), 'Gallery');
+	
+	$session->acl_extend_scope('read',                   'Gallery', $paths);
+	$session->acl_extend_scope('post_comments',          'Gallery', $paths);
+	$session->acl_extend_scope('edit_comments',          'Gallery', $paths);
+	$session->acl_extend_scope('mod_comments',           'Gallery', $paths);
 }
 
 ?>