From 339b9f015d6b576559f5d8a9f6c623ee4abe214d Mon Sep 17 00:00:00 2001 From: Ryan Boren Date: Tue, 2 Dec 2008 19:00:48 +0000 Subject: [PATCH] Show actions on hover for links and media. git-svn-id: https://develop.svn.wordpress.org/trunk@10012 602fd350-edb4-49c9-b593-d223f7449a82 --- 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':