Update modules page

This commit is contained in:
Brian Miyaji
2015-02-03 12:10:44 +11:00
parent 3b9dd2c132
commit 0d84843ff1
2 changed files with 21 additions and 7 deletions

View File

@@ -98,10 +98,19 @@ class SP_Settings_Modules extends SP_Settings_Page {
</thead>
<tbody>
<tr><td>
<p><?php _e( 'Help spread the word by tweeting with #SportsPress and get the Twitter module for free.','sportspress' ); ?></p>
<ol><li><?php echo str_replace(
array( '[link]', '[/link]' ),
array( '<a target="_blank" href="http://tboy.co/tweet">', '</a>' ),
__( 'Help spread the word by tweeting with [link]#SportsPress[/link] and get the Twitter module for free.','sportspress' )
); ?></li>
<li><?php echo str_replace(
array( '[link]', '[/link]' ),
array( '<a href="mailto:tweets@themeboy.com">', '</a>' ),
__( '[link]Email us[/link] for the download link.', 'sportspress' )
); ?></li></ol>
<p class="sp-module-actions">
<span><?php _e( 'Free with tweet', 'sportspress' ); ?></span>
<a class="button" href="http://ctt.ec/d0sCF" target="_blank"><?php _e( 'Tweet', 'sportspress' ); ?></a>
<a class="button" href="http://tboy.co/tweet" target="_blank"><?php _e( 'Tweet', 'sportspress' ); ?></a>
</p>
</td></tr>
</tbody>
@@ -117,16 +126,16 @@ class SP_Settings_Modules extends SP_Settings_Page {
</thead>
<tbody>
<tr><td>
<p><?php echo str_replace(
<ol><li><?php echo str_replace(
array( '[stars]', '[link]', '[/link]' ),
array( '<a target="_blank" href="http://tboy.co/review">&#9733;&#9733;&#9733;&#9733;&#9733;</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' )
); ?></p>
<p><?php echo str_replace(
); ?></li>
<li><?php echo str_replace(
array( '[link]', '[/link]' ),
array( '<a href="mailto:reviews@themeboy.com">', '</a>' ),
__( 'Already posted a review? [link]Email us[/link] for the download link.', 'sportspress' )
); ?></p>
__( '[link]Email us[/link] for the download 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>