Reduce dependency on inline style. Props mdawaffe. fixes #6228

git-svn-id: https://develop.svn.wordpress.org/trunk@7307 602fd350-edb4-49c9-b593-d223f7449a82
This commit is contained in:
Ryan Boren
2008-03-15 06:14:03 +00:00
parent 8316b8535a
commit 2e0c6c5cb0
9 changed files with 35 additions and 14 deletions
+1 -1
View File
@@ -52,7 +52,7 @@ function xfn_check($class, $value = '', $deprecated = '') {
</div>
<p class="submit">
<input type="submit" class="button" name="save" value="<?php _e('Save'); ?>" tabindex="4" class="button button-highlighted" />
<input type="submit" class="button button-highlighted" name="save" value="<?php _e('Save'); ?>" tabindex="4" />
<?php
if ( ( 'edit' == $action) && current_user_can('manage_links') )
echo "<a class='submitdelete' href='" . wp_nonce_url("link.php?action=delete&amp;link_id=$link_id", 'delete-bookmark_' . $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&nbsp;link') . "</a>";