Fix double css class in link-manager.php, props Simek, fixes #7702
git-svn-id: http://svn.automattic.com/wordpress/trunk@8844 1a063a9b-81f0-0310-95a4-ce76da25c4cd
This commit is contained in:
parent
fe20c47b1b
commit
e318656a0f
|
@ -73,7 +73,7 @@ switch ($order_by) {
|
||||||
}
|
}
|
||||||
|
|
||||||
if ( isset($_GET['deleted']) ) {
|
if ( isset($_GET['deleted']) ) {
|
||||||
echo '<div style="background-color: rgb(207, 235, 247);" id="message" class="updated fade"><p>';
|
echo '<div id="message" class="updated fade"><p>';
|
||||||
$deleted = (int) $_GET['deleted'];
|
$deleted = (int) $_GET['deleted'];
|
||||||
printf(__ngettext('%s link deleted.', '%s links deleted', $deleted), $deleted);
|
printf(__ngettext('%s link deleted.', '%s links deleted', $deleted), $deleted);
|
||||||
echo '</p></div>';
|
echo '</p></div>';
|
||||||
|
@ -185,7 +185,7 @@ if ( $links ) {
|
||||||
switch($column_name) {
|
switch($column_name) {
|
||||||
case 'name':
|
case 'name':
|
||||||
|
|
||||||
echo "<td><strong><a class='row-title' href='$edit_link' title='" . attribute_escape(sprintf(__('Edit "%s"'), $link->link_name)) . "' class='edit'>$link->link_name</a></strong><br />";
|
echo "<td><strong><a class='row-title' href='$edit_link' title='" . attribute_escape(sprintf(__('Edit "%s"'), $link->link_name)) . "'>$link->link_name</a></strong><br />";
|
||||||
$actions = array();
|
$actions = array();
|
||||||
$actions['edit'] = '<a href="' . $edit_link . '">' . __('Edit') . '</a>';
|
$actions['edit'] = '<a href="' . $edit_link . '">' . __('Edit') . '</a>';
|
||||||
$actions['delete'] = "<a class='submitdelete' href='" . wp_nonce_url("link.php?action=delete&link_id=$link->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') . "</a>";
|
$actions['delete'] = "<a class='submitdelete' href='" . wp_nonce_url("link.php?action=delete&link_id=$link->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') . "</a>";
|
||||||
|
@ -214,7 +214,7 @@ if ( $links ) {
|
||||||
$cat_names[] = $cat_name;
|
$cat_names[] = $cat_name;
|
||||||
}
|
}
|
||||||
echo implode(', ', $cat_names);
|
echo implode(', ', $cat_names);
|
||||||
?> </td><?php
|
?></td><?php
|
||||||
break;
|
break;
|
||||||
case 'rel':
|
case 'rel':
|
||||||
?><td><?php echo $link->link_rel; ?></td><?php
|
?><td><?php echo $link->link_rel; ?></td><?php
|
||||||
|
|
Loading…
Reference in New Issue