Skip to content

Commit

Permalink
Cleaned up the shortcode insert button
Browse files Browse the repository at this point in the history
Been bugging me for a while.
  • Loading branch information
DavidCramer committed Oct 22, 2014
1 parent 9817f83 commit 74eec7f
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion classes/PodsAdmin.php
Original file line number Diff line number Diff line change
Expand Up @@ -664,7 +664,7 @@ public function media_button ( $context = null ) {

add_action( 'admin_footer', array( $this, 'mce_popup' ) );

echo '<a href="#TB_inline?width=640&inlineId=pods_shortcode_form" class="thickbox" id="add_pod_button" title="Pods Shortcode"><img src="' . PODS_URL . 'ui/images/icon16.png" alt="Pods Shortcode" /></a>';
echo '<a href="#TB_inline?width=640&inlineId=pods_shortcode_form" class="thickbox button" id="add_pod_button" title="Pods Shortcode"><img style="padding: 0px 6px 0px 0px; margin: -3px 0px 0px;" src="' . PODS_URL . 'ui/images/icon16.png" alt="' . __('Pods Shortcode' ,'pods') . '" />' . __('Pods Shortcode' ,'pods') . '</a>';
}

/**
Expand Down

6 comments on commit 74eec7f

@sc0ttkclark
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This should probably be added to pods-admin.css and pushed to 3.0-unstable too. @Shelob9

@DavidCramer
Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

It already is styled better in 3.0-unstable.

@sc0ttkclark
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

OK cool, just wanted to be sure this didn't miss implementation on 3.0-unstable side. Thanks!

@Shelob9
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@sc0ttkclark I'm pretty sure we the one who did it in 3.0-unstable:)

@sc0ttkclark
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

tumblr_nbjsfruz741qzag1wo1_400

@DavidCramer
Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

More input!

Please sign in to comment.