From dc4c461c8900737e08a4e210ca84f3ee258428df Mon Sep 17 00:00:00 2001 From: ryan Date: Tue, 2 Dec 2008 19:00:48 +0000 Subject: [PATCH] Show actions on hover for links and media. git-svn-id: http://svn.automattic.com/wordpress/trunk@10012 1a063a9b-81f0-0310-95a4-ce76da25c4cd --- wp-admin/edit-attachment-rows.php | 2 ++ wp-admin/link-manager.php | 2 ++ 2 files changed, 4 insertions(+) diff --git a/wp-admin/edit-attachment-rows.php b/wp-admin/edit-attachment-rows.php index eb8147fd7e..b6549601c8 100644 --- a/wp-admin/edit-attachment-rows.php +++ b/wp-admin/edit-attachment-rows.php @@ -86,11 +86,13 @@ foreach ($posts_columns as $column_name => $column_display_name ) { $actions['view'] = '' . __('View') . ''; $action_count = count($actions); $i = 0; + echo '
'; foreach ( $actions as $action => $link ) { ++$i; ( $i == $action_count ) ? $sep = '' : $sep = ' | '; echo "$link$sep"; } + echo '
'; ?>

link_id", 'delete-bookmark_' . $link->link_id) . "' onclick=\"if ( confirm('" . js_escape(sprintf( __("You are about to delete this link '%s'\n 'Cancel' to stop, 'OK' to delete."), $link->link_name )) . "') ) { return true;}return false;\">" . __('Delete') . ""; $action_count = count($actions); $i = 0; + echo '
'; foreach ( $actions as $action => $linkaction ) { ++$i; ( $i == $action_count ) ? $sep = '' : $sep = ' | '; echo "$linkaction$sep"; } + echo '
'; echo ''; break; case 'url':