From 787000d1884bdd13561eb83d2f0600609e02e1ad Mon Sep 17 00:00:00 2001 From: cash Date: Sun, 3 Apr 2011 12:18:42 +0000 Subject: cleaned up css for output/access git-svn-id: http://code.elgg.org/elgg/trunk@8927 36083f99-b078-4883-b0ff-0f9b5a30f544 --- views/default/output/access.php | 16 ++++++++-------- 1 file changed, 8 insertions(+), 8 deletions(-) (limited to 'views') diff --git a/views/default/output/access.php b/views/default/output/access.php index cb1ffc94c..f312608d5 100644 --- a/views/default/output/access.php +++ b/views/default/output/access.php @@ -9,7 +9,7 @@ //sort out the access level for display if (isset($vars['entity']) && elgg_instanceof($vars['entity'])) { $access_id = $vars['entity']->access_id; - $access_class = 'access_level'; + $access_class = 'elgg-access'; $access_id_string = get_readable_access_level($access_id); // if within a group or shared access collection display group name and open/closed membership status @@ -23,17 +23,17 @@ if (isset($vars['entity']) && elgg_instanceof($vars['entity'])) { $membership = $is_group->membership; if ($membership == ACCESS_PUBLIC) { - $access_class .= ' group_open'; + $access_class .= ' elgg-access-group-open'; } else { - $access_class .= ' group_closed'; + $access_class .= ' elgg-access-group-closed'; } + + // @todo this is plugin specific code in core. Should be removed. } elseif ($container && $container->getSubtype() == 'shared_access') { - $access_level .= ' shared_collection'; + $access_class .= ' shared_collection'; } elseif ($access_id == ACCESS_PRIVATE) { - $access_level .= ' private'; - } else { - $access_level .= ' entity_access'; + $access_class .= ' elgg-access-private'; } echo "$access_id_string"; -} \ No newline at end of file +} -- cgit v1.2.3