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

@@ -548,6 +548,11 @@ table.widefat.sp-sortable-table tbody tr .icon {
margin-bottom: 0; margin-bottom: 0;
} }
.sp-modules-sidebar table td ol {
margin: 2px 0 0.8em;
list-style-position: inside;
}
.sp-modules-sidebar table td span { .sp-modules-sidebar table td span {
color: #aaa; color: #aaa;
} }

View File

@@ -98,10 +98,19 @@ class SP_Settings_Modules extends SP_Settings_Page {
</thead> </thead>
<tbody> <tbody>
<tr><td> <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"> <p class="sp-module-actions">
<span><?php _e( 'Free with tweet', 'sportspress' ); ?></span> <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> </p>
</td></tr> </td></tr>
</tbody> </tbody>
@@ -117,16 +126,16 @@ class SP_Settings_Modules extends SP_Settings_Page {
</thead> </thead>
<tbody> <tbody>
<tr><td> <tr><td>
<p><?php echo str_replace( <ol><li><?php echo str_replace(
array( '[stars]', '[link]', '[/link]' ), 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>' ), 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' ) __( 'Add your [stars] on [link]wordpress.org[/link] and get the Birthdays module for free.','sportspress' )
); ?></p> ); ?></li>
<p><?php echo str_replace( <li><?php echo str_replace(
array( '[link]', '[/link]' ), array( '[link]', '[/link]' ),
array( '<a href="mailto:reviews@themeboy.com">', '</a>' ), array( '<a href="mailto:reviews@themeboy.com">', '</a>' ),
__( 'Already posted a review? [link]Email us[/link] for the download link.', 'sportspress' ) __( '[link]Email us[/link] for the download link.', 'sportspress' )
); ?></p> ); ?></li></ol>
<p class="sp-module-actions"> <p class="sp-module-actions">
<span><?php _e( 'Free with review', 'sportspress' ); ?></span> <span><?php _e( 'Free with review', 'sportspress' ); ?></span>
<a class="button" href="http://tboy.co/review" target="_blank"><?php _e( 'Post Review', 'sportspress' ); ?></a> <a class="button" href="http://tboy.co/review" target="_blank"><?php _e( 'Post Review', 'sportspress' ); ?></a>