From 13796cc18921229f16f9b387e360f1c908336671 Mon Sep 17 00:00:00 2001 From: pete Date: Fri, 12 Mar 2010 12:26:22 +0000 Subject: Updated and simplified generic entity listings metadata block (edit, delete, access) to not use tables. git-svn-id: http://code.elgg.org/elgg/trunk@5375 36083f99-b078-4883-b0ff-0f9b5a30f544 --- mod/bookmarks/views/default/object/bookmarks.php | 18 +++++++++--------- 1 file changed, 9 insertions(+), 9 deletions(-) (limited to 'mod/bookmarks/views/default/object') diff --git a/mod/bookmarks/views/default/object/bookmarks.php b/mod/bookmarks/views/default/object/bookmarks.php index 833d160c6..fa5d6e30a 100644 --- a/mod/bookmarks/views/default/object/bookmarks.php +++ b/mod/bookmarks/views/default/object/bookmarks.php @@ -26,16 +26,16 @@ if($is_group instanceof ElggGroup){ //we decided to show that the item is in a group, rather than its actual access level $object_acl = "Group: " . $is_group->name; if($membership == 2) - $access_level = "class='group_open'"; + $access_level = "class='access_level group_open'"; else - $access_level = "class='group_closed'"; + $access_level = "class='access_level group_closed'"; }elseif($object_acl == 'Private'){ - $access_level = "class='private'"; + $access_level = "class='access_level private'"; }else{ if(!in_array($object_acl, $general_access)) - $access_level = "class='shared_collection'"; + $access_level = "class='access_level shared_collection'"; else - $access_level = "class='entity_access'"; + $access_level = "class='access_level entity_access'"; } if($vars['entity']->description != '') @@ -58,14 +58,14 @@ $delete .= "" . elgg_view('output/confirmlink',array )) . ""; } - $info = "
"; + $info = ""; - $info .= ""; + $info .= "username}/edit/{$vars['entity']->getGUID()}\">" . elgg_echo('edit') . ""; + $info .= $delete; } - $info .= "
{$object_acl}username}/edit/{$vars['entity']->getGUID()}\">" . elgg_echo('edit') . "".$delete."
"; + $info .= ""; $info .= "

address}\" target=\"_blank\">{$vars['entity']->title}

"; $info .= "

Bookmarked by username}\">{$owner->name} {$friendlytime} {$view_notes}

"; -- cgit v1.2.3