Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Browse files

Buttonize special configuration links.

  • Loading branch information...
commit 69553f255bd798b56c1c1d0b928fd9c1d08f383d 1 parent aa048f9
Michael Sisk authored
Showing with 3 additions and 3 deletions.
  1. +3 −3 -/php/config.php
View
6 -/php/config.php
@@ -572,7 +572,7 @@ public function collection_transcripts_languages() {
</optgroup>
</select>
<span class="description"><?php echo _e( 'Hold <code>CTRL</code>, <code>Command</code>, or <code>Shift</code> to select multiple languages.', 'webcomic' ); ?></span><br>
- <small class="description"><a href="<?php echo add_query_arg( array( 'taxonomy' => 'webcomic_language', 'post_type' => 'webcomic_transcript' ), admin_url( 'edit-tags.php' ) ); ?>"><?php echo _e( 'Manage Transcript Languages', 'webcomic' ); ?></a><small>
+ <a href="<?php echo add_query_arg( array( 'taxonomy' => 'webcomic_language', 'post_type' => 'webcomic_transcript' ), admin_url( 'edit-tags.php' ) ); ?>" class="button"><?php echo _e( 'Manage Languages', 'webcomic' ); ?></a>
<?php
}
@@ -583,7 +583,7 @@ public function collection_transcripts_languages() {
public function collection_commerce_business() {
?>
<input type="email" name="webcomic_commerce_business" id="webcomic_commerce_business" value="<?php echo esc_attr( self::$config[ 'collections' ][ $_GET[ 'post_type' ] ][ 'commerce' ][ 'business' ] ); ?>" class="regular-text">
- <span class="description"><a href="//paypal.com" target="_blank"><?php _e( 'Get a PayPal Account', 'webcomic' ); ?></a></span>
+ <span><a href="//paypal.com" target="_blank" class="button"><?php _e( 'Get a PayPal Account', 'webcomic' ); ?></a></span>
<?php
}
@@ -1222,7 +1222,7 @@ public static function ajax_twitter_account( $consumer_key, $consumer_secret, $c
update_option( 'webcomic_options', self::$config );
if ( isset( $credentials->screen_name ) ) {
- printf( '<a href="http://twitter.com/%s" target="_blank"><b>@%s</b></a> | <a href="https://twitter.com/settings/applications" target="_blank">%s</a>',
+ printf( '<a href="http://twitter.com/%s" target="_blank"><b>@%s</b></a> <a href="https://twitter.com/settings/applications" target="_blank" class="button">%s</a>',
$credentials->screen_name,
$credentials->screen_name,
__( 'Revoke Access', 'webcomic' )
Please sign in to comment.
Something went wrong with that request. Please try again.