Exemplo n.º 1
0
<div id="rw_power_options" class="has-sidebar has-right-sidebar">
    <div class="has-sidebar-content">
        <div class="postbox rw-body">
            <h3><?php 
_e('Power User Settings', WP_RW__ID);
?>
</h3>
            <div class="inside rw-ui-content-container rw-no-radius">
                <label><input id="rw_custom_settings_enabled" name="rw_custom_settings_enabled" type="checkbox" value="1"<?php 
if ($custom_settings_enabled) {
    echo ' checked="checked"';
}
?>
 /> Activate / In-Activate</label>
                <p>Here you can customize the ratings according to our <a href="<?php 
rw_the_site_url('documentation');
?>
" target="_blank">advanced documentation</a>.</p>
				<textarea name="rw_custom_settings" style="display: none;"></textarea>
				<div id="js_editor" style="min-height: 350px; left: 1px;"><?php 
echo !empty($custom_settings) ? stripslashes($custom_settings) : '/*
 * We recommend to use this section only if you familiar with JavaScript.
 *
 * For your convenience, we have collected a set of examples which we are frequently
 * being asked about. Make sure to delete (or comment) the code you do NOT want to use.
 */

// Example: Hide ratings tooltip.
options.showTooltip = false;

// Example: Hide posts recommendations.
Exemplo n.º 2
0
        function rw_report_example_page()
        {
            ?>
<div class="wrap rw-dir-ltr rw-report">
    <h2><?php 
            echo __('Rating-Widget Reports', WP_RW__ID);
            ?>
</h2>
    <div style="width: 750px;">
        The Rating-Widget Reports page provides you with an analytical overview of your blog-ratings' votes in one page. 
        Here, you can gain an understanding of how interesting and attractive your blog elements (e.g. posts, pages), 
        how active your users, and check the segmentation of the votes.
    </div>
    <br />
    <div style="background: #FCE6E8; color: red; font-weight: bold; width: 725px; padding: 10px; text-align: center; border: 4px solid red; border-radius: 10px; -moz-border-radius: 10px; -webkit-border-radius:10px;">
        This feature is not included in your free plugin version.<br />
        To access this area you'll need to <a href="<?php 
            rw_the_site_url('get-the-word-press-plugin');
            ?>
" target="_blank">subscribe to the Premium Program</a>.
    </div>
    <br />
    <img src="<?php 
            echo WP_RW__ADDRESS_IMG . "wordpress/rw.report.example.png";
            ?>
" alt="">
</div>
<?php 
        }