Tag version 1.8.6
This commit is contained in:
@@ -5,7 +5,7 @@
|
||||
* @author ThemeBoy
|
||||
* @category Admin
|
||||
* @package SportsPress/Admin
|
||||
* @version 1.8.3
|
||||
* @version 1.8.6
|
||||
*/
|
||||
|
||||
if ( ! defined( 'ABSPATH' ) ) exit; // Exit if accessed directly
|
||||
@@ -124,34 +124,6 @@ class SP_Settings_Modules extends SP_Settings_Page {
|
||||
</table>
|
||||
<?php } ?>
|
||||
|
||||
<?php if ( ! class_exists( 'SportsPress_Birthdays' ) ) { ?>
|
||||
<table class="widefat" cellspacing="0">
|
||||
<thead>
|
||||
<tr><th>
|
||||
<strong><?php _e( 'Birthdays Module', 'sportspress' ); ?></strong>
|
||||
</th></tr>
|
||||
</thead>
|
||||
<tbody>
|
||||
<tr><td>
|
||||
<ol><li><?php echo str_replace(
|
||||
array( '[stars]', '[link]', '[/link]' ),
|
||||
array( '<a target="_blank" href="http://tboy.co/review">★★★★★</a>', '<a target="_blank" href="http://tboy.co/review">', '</a>' ),
|
||||
__( 'Add your [stars] on [link]wordpress.org[/link] and get the Birthdays module for free.','sportspress' )
|
||||
); ?></li>
|
||||
<li><?php echo str_replace(
|
||||
array( '[link]', '[/link]' ),
|
||||
array( '<a target="_blank" href="http://tboy.co/birthdaysmodule">', '</a>' ),
|
||||
__( '[link]Get the download link[/link].', 'sportspress' )
|
||||
); ?></li></ol>
|
||||
<p class="sp-module-actions">
|
||||
<span><?php _e( 'Free with review', 'sportspress' ); ?></span>
|
||||
<a class="button" href="http://tboy.co/review" target="_blank"><?php _e( 'Post Review', 'sportspress' ); ?></a>
|
||||
</p>
|
||||
</td></tr>
|
||||
</tbody>
|
||||
</table>
|
||||
<?php } ?>
|
||||
|
||||
<?php if ( current_user_can( 'install_themes' ) ) { ?>
|
||||
<?php $theme = wp_get_theme(); ?>
|
||||
<?php if ( 'rookie' == $theme->stylesheet ) { ?>
|
||||
|
||||
@@ -5,7 +5,7 @@
|
||||
* The SportsPress modules class stores available modules.
|
||||
*
|
||||
* @class SP_Modules
|
||||
* @version 1.8.3
|
||||
* @version 1.8.6
|
||||
* @package SportsPress/Classes
|
||||
* @category Class
|
||||
* @author ThemeBoy
|
||||
@@ -60,14 +60,8 @@ class SP_Modules {
|
||||
'birthdays' => array(
|
||||
'label' => __( 'Birthdays', 'sportspress' ),
|
||||
'class' => 'SportsPress_Birthdays',
|
||||
'action' => __( 'Review on WP.org', 'sportspress' ),
|
||||
'link' => 'http://tboy.co/review',
|
||||
'tip' => str_replace(
|
||||
array( '[stars]', '[link]', '[/link]' ),
|
||||
array( '★★★★★', '', '' ),
|
||||
__( 'Add your [stars] on [link]wordpress.org[/link] and get the Birthdays module for free.','sportspress' )
|
||||
),
|
||||
'icon' => 'sp-icon-cake',
|
||||
'link' => 'http://tboy.co/features',
|
||||
'desc' => __( "Display each player's birthday and their current age.", 'sportspress' ),
|
||||
),
|
||||
'staff_directories' => array(
|
||||
|
||||
Reference in New Issue
Block a user