<?php 
        }
        ?>
				<td>
				<?php 
        if (edd_sl_license_has_upgrades($license->ID) && 'expired' !== $edd_sl->get_license_status($license->ID)) {
            ?>
					<a href="<?php 
            echo esc_url(add_query_arg(array('view' => 'upgrades', 'license_id' => $license->ID)));
            ?>
"><?php 
            _e('View Upgrades', 'edd_sl');
            ?>
</a>
				<?php 
        } elseif (edd_sl_license_has_upgrades($license->ID) && 'expired' == $edd_sl->get_license_status($license->ID)) {
            ?>
					<span class="edd_sl_no_upgrades"><?php 
            _e('Renew to upgrade', 'edd_sl');
            ?>
</span>
				<?php 
        } else {
            ?>
					<span class="edd_sl_no_upgrades"><?php 
            _e('No upgrades available', 'edd_sl');
            ?>
</span>
				<?php 
        }
        ?>
Ejemplo n.º 2
0
					<?php 
        }
        ?>
					<?php 
        if (edd_sl_license_has_upgrades($license->ID) && 'expired' !== edd_software_licensing()->get_license_status($license->ID)) {
            ?>
						<span class="edd_sl_limit_sep">&nbsp;&ndash;&nbsp;</span>
						<a href="<?php 
            echo esc_url(add_query_arg(array('view' => 'upgrades', 'license_id' => $license->ID, 'action' => 'manage_licenses', 'payment_id' => $payment_id), get_permalink(edd_get_option('purchase_history_page'))));
            ?>
"><?php 
            _e('View Upgrades', 'edd_sl');
            ?>
</a>
					<?php 
        } elseif (edd_sl_license_has_upgrades($license->ID) && 'expired' == edd_software_licensing()->get_license_status($license->ID)) {
            ?>
						<span class="edd_sl_limit_sep">&nbsp;&ndash;&nbsp;</span>
						<span class="edd_sl_no_upgrades"><?php 
            _e('Renew to upgrade', 'edd_sl');
            ?>
</span>
					<?php 
        }
        ?>
					<?php 
        if (edd_sl_renewals_allowed()) {
            ?>
						<?php 
            if ('expired' === edd_software_licensing()->get_license_status($license->ID)) {
                ?>