Example #1
0
		<?php 
} else {
    ?>
			<?php 
    if (wptouch_should_show_license_nag() && $_GET['page'] != 'wptouch-admin-license') {
        ?>
				<div class="alert-wrap">
					<div class="alert">
				  		<?php 
        echo sprintf(__('This copy of %s is currently unlicensed!', 'wptouch-pro'), 'WPtouch Pro');
        ?>
				  		<?php 
        if (wptouch_should_show_activation_nag()) {
            ?>
				  			<a href="<?php 
            echo wptouch_get_license_activation_url();
            ?>
" class="btn btn-small btn-warning"><?php 
            echo sprintf(__('Add a license %s', 'wptouch-pro'), '&raquo;');
            ?>
</a>
				  		<?php 
        }
        ?>
					</div>
				</div>
			<?php 
    }
    ?>
		<?php 
}
Example #2
0
			<td colspan="3" class="plugin-update colspanchange">
				<div class="update-message">
					<?php 
        if (!wptouch_has_license()) {
            ?>
						<?php 
            if (wptouch_show_renewal_notice()) {
                ?>
							<?php 
                echo sprintf(__('%sRenew your license%s to receive future product updates and product support.', 'wptouch-pro'), '<a href="//www.wptouch.com/renew/?utm_campaign=renew-plugins-page&utm_source=wptouch&utm_medium=web">', '</a>');
                ?>
						<?php 
            } else {
                if (wptouch_should_show_license_nag()) {
                    if (!is_plugin_active_for_network(WPTOUCH_PLUGIN_SLUG) || is_network_admin()) {
                        $nag_links = array('<a href="' . wptouch_get_license_activation_url() . '">', '</a>', '<a href="//www.wptouch.com/?utm_source=license_nag&utm_medium=web&utm_campaign=wptouch3_upgrades">', '</a>');
                    } else {
                        $nag_links = array('', '', '', '');
                    }
                }
            }
            ?>
							<?php 
            echo sprintf(__('Please %sactivate your license%s, or %spurchase a license%s to fully enable product updates and product support.', 'wptouch-pro'), $nag_links[0], $nag_links[1], $nag_links[2], $nag_links[3]);
            ?>
						<?php 
        }
        ?>
				</div>
			</td>
		</tr>
Example #3
0
				<div class="update-message">
					<?php 
        if (!wptouch_has_license()) {
            ?>
						<?php 
            if (wptouch_show_renewal_notice()) {
                ?>
							<?php 
                echo sprintf(__('%sRenew your license%s to receive future product updates and product support.', 'wptouch-pro'), '<a href="//www.wptouch.com/renew/?utm_campaign=renew-plugins-page&utm_source=wptouch&utm_medium=web">', '</a>');
                ?>
						<?php 
            } else {
                if (wptouch_should_show_license_nag()) {
                    ?>
							<?php 
                    echo sprintf(__('Please %sactivate your license%s, or %spurchase a license%s to fully enable product updates and product support.', 'wptouch-pro'), '<a href="' . wptouch_get_license_activation_url() . '">', '</a>', '<a href="//www.wptouch.com/?utm_source=license_nag&utm_medium=web&utm_campaign=wptouch3_upgrades">', '</a>');
                    ?>
						<?php 
                }
            }
            ?>
					<?php 
        }
        ?>
				</div>
			</td>
		</tr>
		<script type="text/javascript">
			( function(){
				jQuery( '#wptouch-pro' ).addClass( 'update' );
			}());
				<div class="update-message">
					<?php 
            if (!wptouch_has_license()) {
                ?>
						<?php 
                if (wptouch_show_renewal_notice()) {
                    ?>
							<?php 
                    echo sprintf(__('A new product version (%s) is available. %sRenew your license%s to download this update and receive additional product support.', 'wptouch-pro'), $version, '<a href="http://www.wptouch.com/renew/?utm_campaign=renew-plugins-page&utm_source=wptouch&utm_medium=web">', '</a>');
                    ?>
						<?php 
                } else {
                    if (wptouch_should_show_license_nag()) {
                        ?>
							<?php 
                        echo sprintf(__('A new product version (%s) is available. Please %sactivate your license%s, or %spurchase a new license%s to enable updates and full product support.', 'wptouch-pro'), $version, '<a href="' . wptouch_get_license_activation_url() . '">', '</a>', '<a href="http://www.wptouch.com/?utm_source=license_nag&utm_medium=web&utm_campaign=wptouch3_upgrades">', '</a>');
                        ?>
						<?php 
                    }
                }
                ?>
					<?php 
            }
            ?>
				</div>
			</td>
		</tr>
		<?php 
        }
        ?>
	<?php 
<?php

if (wptouch_should_show_license_nag()) {
    ?>
</tr>
<tr class="plugin-update-tr">
	<td colspan="5" class="plugin-update">
		<div class="update-message">
			<?php 
    if (wptouch_should_show_activation_nag()) {
        ?>
				<?php 
        echo sprintf(__('This copy of WPtouch Pro is unlicensed! Please %sactivate your license%s, or %spurchase a license%s to enable automatic updates and full product support from us!', 'wptouch-pro'), '<a href="' . wptouch_get_license_activation_url() . '">', '</a>', '<a href="http://www.bravenewcode.com/wptouch/?utm_source=license_nag&utm_medium=web&utm_campaign=wptouch3_upgrades">', '</a>');
        ?>
			<?php 
    } else {
        ?>
				<?php 
        _e('This copy of WPtouch Pro is unlicensed! Please contact the site administrator regarding product licensing.', 'wptouch-pro');
        ?>
			<?php 
    }
    ?>
		</div>
	</td>
</tr>
<?php 
}