diff options
author | cash <cash@36083f99-b078-4883-b0ff-0f9b5a30f544> | 2011-04-03 12:18:42 +0000 |
---|---|---|
committer | cash <cash@36083f99-b078-4883-b0ff-0f9b5a30f544> | 2011-04-03 12:18:42 +0000 |
commit | 787000d1884bdd13561eb83d2f0600609e02e1ad (patch) | |
tree | 13081e86e26fdc1310514fb93747550708b48c60 /views | |
parent | 6802c2a2754b98713b7c8af67ecf62d672c954bf (diff) | |
download | elgg-787000d1884bdd13561eb83d2f0600609e02e1ad.tar.gz elgg-787000d1884bdd13561eb83d2f0600609e02e1ad.tar.bz2 |
cleaned up css for output/access
git-svn-id: http://code.elgg.org/elgg/trunk@8927 36083f99-b078-4883-b0ff-0f9b5a30f544
Diffstat (limited to 'views')
-rw-r--r-- | views/default/output/access.php | 16 |
1 files changed, 8 insertions, 8 deletions
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 "<span class=\"$access_class\">$access_id_string</span>"; -}
\ No newline at end of file +} |