Plugin Directory

Changeset 487882


Ignore:
Timestamp:
01/11/2012 01:55:28 AM (13 years ago)
Author:
AgentsOfValue
Message:
  • Minor fix on using shortcode when displaying to content.
  • Note is added on what syntax to use if using shortcode.
  • Minor changes on rtp-style-admin.css
Location:
rate-this-page-plugin/trunk
Files:
3 edited

Legend:

Unmodified
Added
Removed
  • rate-this-page-plugin/trunk/css/rtp-style-admin.css

    r486794 r487882  
    99    padding: 0 10px 10px;
    1010   
    11     border-radius: 10px 10px 10px 10px;
    12     -moz-border-radius: 10px 10px 10px 10px;
    13     -webkit-border-radius: 10px 10px 10px 10px;
    14     -khtml-border-radius: 10px 10px 10px 10px;
     11    border-radius: 6px 6px 6px 6px;
     12    -moz-border-radius: 6px 6px 6px 6px;
     13    -webkit-border-radius: 6px 6px 6px 6px;
     14    -khtml-border-radius: 6px 6px 6px 6px;
    1515}
    1616
     
    210210}
    211211
    212 #rtp-questions th span {
     212#rtp-questions th span, #rtp-plugin-config th span {
    213213    color: #c10202;
    214214    display: block;
  • rate-this-page-plugin/trunk/rtp-admin-main.php

    r487350 r487882  
    383383                        </tr>
    384384                        <tr>
    385                             <th><?php _e( 'Use Shortcode:', RTP_PLUGIN_NAME ); ?></th>
     385                            <th><?php _e( 'Use Shortcode:', RTP_PLUGIN_NAME ); ?><span>( <?php _e( 'Use [rate_this_page] syntax.', RTP_PLUGIN_SNAME ); ?> )</span></th>
    386386                            <td>
    387387                                <select name="rtp-use-shortcode" style="width: 60px">
     
    410410                        </tr>
    411411                        <tr>
    412                             <th><?php _e( 'Customize Label', RTP_PLUGIN_SNAME ); ?>:<span>( <?php _e( 'will be used if customizing is enabled.', RTP_PLUGIN_SNAME ); ?> )<span></th>
     412                            <th><?php _e( 'Customize Label:', RTP_PLUGIN_SNAME ); ?><span>( <?php _e( 'will be used if customizing is enabled.', RTP_PLUGIN_SNAME ); ?> )</span></th>
    413413                            <td>
    414414                                <input id="trustworthy-custom" type="text" name="trustworthy-custom" value="<?php echo $options['rtp_custom_labels'][0]; ?>" maxlength="25" />
     
    423423                        </tr>
    424424                        <tr>
    425                             <th><?php _e( 'Choose Hint', RTP_PLUGIN_SNAME ); ?>:<span>( <?php _e( 'if customizing label is enabled you must choose atleast 1 of the custom hints.', RTP_PLUGIN_SNAME ); ?> )<span></th>
     425                            <th><?php _e( 'Choose Hint:', RTP_PLUGIN_SNAME ); ?><span>( <?php _e( 'if customizing label is enabled you must choose atleast 1 of the custom hints.', RTP_PLUGIN_SNAME ); ?> )<span></th>
    426426                            <td>
    427427                                <input id="rtp-custom-hint-1" name="rtp-custom-hint" type="radio" value="1" <?php if ( $options['rtp_custom_hints'] == 1 ) echo 'checked=""' ?> /><label for="rtp-custom-hint-1">[<?php _e( 'Poor, Average and Excellent', RTP_PLUGIN_SNAME ); ?>]</label>
     
    642642                    <table class="rtp-form-table">
    643643                        <tr>
    644                             <th class="rtp-p"><?php _e( 'Table Installation', RTP_PLUGIN_SNAME ); ?>:</th>
     644                            <th class="rtp-p"><?php _e( 'Table Installation:', RTP_PLUGIN_SNAME ); ?></th>
    645645                            <td>
    646646                            <?php if ( $wpdb->get_var("SHOW TABLES LIKE '$tbl_feedbacks'") != $tbl_feedbacks
  • rate-this-page-plugin/trunk/rtp-query.php

    r487350 r487882  
    637637if( !function_exists( 'rtp_shortcode' ) ) {
    638638    function rtp_shortcode() {
    639         return rtp_display_template();
     639        if ( is_single() || is_page() ) {
     640            return rtp_display_template();
     641        }
    640642    }
    641643}
Note: See TracChangeset for help on using the changeset viewer.