function footer()
 {
     if ($this->install_error == false && $this->activated) {
         echo '<script type="text/javascript">document.location.href = "' . str_replace('-lite', '', slidedeck2_action()) . '";</script>';
         exit;
     }
     echo '<p><a href="' . admin_url('/admin.php?page=' . basename(SLIDEDECK2_BASENAME)) . "/upgrades" . '">Back to ' . SlideDeckLitePlugin::$st_friendly_name . ' Upgrades</a></p>';
 }
<div id="create-custom-slidedeck" class="create-slidedeck">
    <div class="custom-content">
        <div class="slide-type image"></div>
        <a class="slide-type text upgrade-modal" rel="slide-types-textonly" href="#custom-slide-type"></a>
        <a class="slide-type video upgrade-modal" rel="slide-types-video" href="#custom-slide-type"></a>
        <a class="slide-type html upgrade-modal" rel="slide-types-html" href="#custom-slide-type"></a>
    </div>
    <div class="slidedeck-inner">
        <h4>Custom Content</h4>
        <p>Mix and match your content slides (image, video, text only, HTML) for a tailored experience.</p>
        <p><a href="<?php 
echo slidedeck2_action("&action=create&source=custom");
?>
" class="button create-button"><span>Create SlideDeck</span></a></p>
    </div>
</div>
Exemplo n.º 3
0
but WITHOUT ANY WARRANTY; without even the implied warranty of
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
GNU General Public License for more details.

You should have received a copy of the GNU General Public License
along with SlideDeck.  If not, see <http://www.gnu.org/licenses/>.
*/
?>
<div class="lens">
    
    <div class="inner">
	    <?php 
if (!$lens['is_protected'] && $can_edit_lenses) {
    ?>
	        <a href="<?php 
    echo slidedeck2_action("/lenses&action=edit&slidedeck-lens={$lens['slug']}");
    ?>
" class="thumbnail">
	    <?php 
} else {
    ?>
	        <span class="thumbnail">
	    <?php 
}
?>
	    
	        <span class="thumbnail-inner" style="background-image:url(<?php 
echo $lens['thumbnail-large'];
?>
);"></span>
	        
Exemplo n.º 4
0
    $is_addon_activated = get_option("slidedeck_addon_activate", false);
} else {
    $addon_slug = str_replace("-", "_", $addon['slug']);
    $is_addon_activated = get_option("slidedeck_" . $addon_slug . "_addon_activate", false);
}
if ($is_addon_activated) {
    ?>
				<a href="<?php 
    echo slidedeck2_action("/addons&action=deactivate&slidedeck-addon=" . $addon_slug);
    ?>
" class="deactivate-addon">Deactivate</a>
			<?php 
} else {
    ?>
				<a href="<?php 
    echo slidedeck2_action("/addons&action=activate&slidedeck-addon=" . $addon_slug);
    ?>
" class="deactivate-addon">Activate</a>
			<?php 
}
?>
				<?php 
wp_nonce_field("{$namespace}-delete-addon");
?>
				<input type="hidden" name="lens" value="<?php 
echo $addon['slug'];
?>
" />
				<input type="submit" value="<?php 
_e('Delete', $namespace);
?>
?>
</h1>
    </div>
    <div class="background">
        <div class="inner">
            <div class="copyblock">
                <h3><?php 
_e("More lenses? Yep, we've got those ready for you", $this->namespace);
?>
</h3>
                <p><?php 
_e("We have 7 additional highly-crafted SlideDeck lenses available to all our Personal tier customers and up.");
?>
</p>
                <?php 
include SLIDEDECK2_DIRNAME . '/views/upsells/_upsell-additional-lenses.php';
?>
            </div>
            <div class="cta">
                <a class="slidedeck-noisy-button" href="<?php 
echo slidedeck2_action("/upgrades&referrer=Lenses+Handslap");
?>
" class="button slidedeck-noisy-button"><span>Upgrade to Personal</span></a>
                <a class="features-link" href="http://demo.slidedeck.com/wp-login.php?utm_campaign=sd2_lite&utm_medium=handslap_link&utm_source=handslap_lenses&utm_content=more_lenses_list<?php 
echo self::get_cohort_query_string('&') . slidedeck2_km_link();
?>
" target="_blank">or check out all the lenses in the live demo</a>
            </div>
        </div>
    </div>
</div>
Exemplo n.º 6
0
 * 
 * @package SlideDeck
 * @subpackage SlideDeck 2 Pro for WordPress
 * @author dtelepathy
 */
do_action("{$namespace}_before_form", $slidedeck, $form_action);
?>

<div class="wrap" id="slidedeck_form">
    
    <?php 
slidedeck2_flash();
?>
    
    <p><a href="<?php 
echo slidedeck2_action();
?>
" id="back-to-manage"><?php 
_e("Back to Manage Screen", $namespace);
?>
</a></p>
    
    <form action="" method="post" id="slidedeck-update-form" class="slidedeck-form">
        <fieldset id="slidedeck-section-header" class="slidedeck-form-section slidedeck-header">
            <img class="source-icon" src="<?php 
echo SLIDEDECK2_URLPATH . $source['icon'];
?>
" alt="<?php 
echo $source['label'];
?>
" />
Exemplo n.º 7
0
<div class="wrap" id="slidedeck_lens_management">
    
    <?php 
echo $this->upgrade_button('lenses');
?>
    
    <div class="slidedeck-header">
        <h1>SlideDeck Lenses</h1>
        
        <a class="button<?php 
if ($is_writable->valid !== true) {
    echo ' disabled';
}
?>
" href="<?php 
echo slidedeck2_action('/lenses&action=add');
?>
">Upload Lens</a>
        <?php 
do_action("{$namespace}_lens_management_header", $is_writable);
?>
    </div>
    
    <div id="slidedeck-lenses-wrapper">
        
        <?php 
slidedeck2_flash(5000);
?>
        
        <?php 
if ($is_writable->valid !== true) {
 function after()
 {
     $install_actions = array('return' => '<a href="' . slidedeck2_action('/lenses') . '" title="' . __("Return to SlideDeck Lens Management", "slidedeck") . '">' . __("Return to SlideDeck Lens Management", "slidedeck") . '</a>');
     $install_actions = apply_filters('install_slidedeck_lens_complete_actions', $install_actions, $this->api);
     if (!empty($install_actions)) {
         $this->feedback(implode(' | ', (array) $install_actions));
     }
 }
                <div class="right">
                    <h3><?php 
_e("Use Classic for the Original SlideDeck Look", $this->namespace);
?>
</h3>
                    <p><?php 
_e("The Classic lens is available in higher tiers of SlideDeck");
?>
</p>
                </div>
                <div class="left">
                    <a href="#lens-upgrade" class="lens placeholder upgrade-modal" rel="lenses">
                        <span class="thumbnail"><img src="https://s3.amazonaws.com/slidedeck-pro/upsell_assets/images/lenses/classic/thumbnail.jpg" /></span>
                        <span class="title has-subtitle">Classic</span>
                        <span class="subtitle">Professional tier &amp; higher</span>
                    </a>
                </div>
            </div>
            <div class="cta">
                <a class="slidedeck-noisy-button" href="<?php 
echo slidedeck2_action("/upgrades&referrer=Classic+Lens+Handslap");
?>
" class="button slidedeck-noisy-button"><span>Upgrade</span></a>
                <a class="features-link" href="http://demo.slidedeck.com/wp-login.php?utm_campaign=sd2_personal&utm_medium=handslap_link&utm_source=handslap_lenses&utm_content=more_lenses_list<?php 
echo self::get_cohort_query_string('&');
?>
" target="_blank">or check out all the lenses in the live demo</a>
            </div>
        </div>
    </div>
</div>
<div class="upsell-modal">
	<div class="slidedeck-header">
	    <h1><?php 
_e("Upgrade to Get Covers", $this->namespace);
?>
</h1>
	</div>
	<div class="background">
		<div class="inner">
			<div class="copyblock">
			    <h3><?php 
_e("Curate the experience with SlideDeck Covers", $this->namespace);
?>
</h3>
				<p>A great story needs a beginning and an end. Covers give users context for what you're sharing. They're great for product tours, slideshows and more.</p>
				<img height="189" id="covers-modal-upsell" src="https://s3.amazonaws.com/slidedeck-pro/lite_upsell_assets/images/covers-modal-upsell.jpg" alt="SlideDeck Covers" />
			</div>
			<div class="cta">
				<a class="slidedeck-noisy-button" href="<?php 
echo slidedeck2_action("/upgrades&referrer=Covers+Handslap");
?>
" class="button slidedeck-noisy-button"><span>Upgrade to Personal</span></a>
				<a class="features-link" href="http://www.slidedeck.com/features?utm_campaign=sd2_lite&utm_medium=handslap_link&utm_source=handslap_covers&utm_content=slides_slider_image<?php 
echo self::get_cohort_query_string('&') . slidedeck2_km_link();
?>
" target="_blank">or learn more about other SlideDeck features</a>
			</div>
		</div>
	</div>
</div>
<div id="create-custom-slidedeck" class="create-slidedeck">
    <div class="custom-content">
        <a class="slide-type image upgrade-modal" rel="slide-types-image" href="#custom-slide-type"></a>
        <a class="slide-type text upgrade-modal" rel="slide-types-textonly" href="#custom-slide-type"></a>
        <a class="slide-type video upgrade-modal" rel="slide-types-video" href="#custom-slide-type"></a>
        <a class="slide-type html upgrade-modal" rel="slide-types-html" href="#custom-slide-type"></a>
    </div>
    <div class="slidedeck-inner">
        <h4>Custom Content</h4>
        <p>Mix and match your content slides (image, video, text only, HTML) for a tailored experience.</p>
        <p><a href="<?php 
echo slidedeck2_action("/upgrades&referrer=Create+Custom+Content+Button");
?>
" class="button create-button upgrade"><span>Upgrade Now</span></a></p>
    </div>
</div>
    </div>
    <div class="background">
        <div class="inner">
            <div class="copyblock">
                <h3><?php 
_e("Customizable Text Layouts", $this->namespace);
?>
</h3>
                <p><?php 
_e("The Text slide type offers three layouts for long-form text content, allowing you to present more info on each slide.", $this->namespace);
?>
</p>
                <h4><?php 
_e("Choose from 3 different layouts", $this->namespace);
?>
</h4>
                <p class="align-center"><img src="<?php 
echo SLIDEDECK2_URLPATH;
?>
/images/upsell-slide-type-textonly.jpg" alt="Basic, Multi Column, Block Quote" /></p>
            </div>
            <div class="cta">
                <a class="slidedeck-noisy-button" href="<?php 
echo slidedeck2_action("/upgrades&referrer=Textonly+Slide+Type+Handslap");
?>
" class="button slidedeck-noisy-button"><span>Upgrade to Professional</span></a>
                <a class="features-link" href="http://demo.slidedeck.com/wp-login.php?utm_campaign=sd2_personal&utm_medium=handslap_link&utm_source=handslap_slide_type&utm_content=textonly_slide" target="_blank">or try it out in the live demo</a>
            </div>
        </div>
    </div>
</div>
<div class="upsell-modal">
	<div class="slidedeck-header">
	    <h1><?php 
_e("Upgrade to Get Support", $this->namespace);
?>
</h1>
	</div>
	<div class="background">
		<div class="inner">
			<div class="copyblock">
			    <h3><?php 
_e("Talk to real human beings!", $this->namespace);
?>
</h3>
				<p>We're a proud team of design nerds whose passion is improving the Web. When you contact our support team, rest assured you're talking to the same folks who actually built SlideDeck.</p>
			</div>
			<div class="cta">
				<a class="slidedeck-noisy-button" href="<?php 
echo slidedeck2_action("/upgrades&referrer=Need+Support+Handslap");
?>
" class="button slidedeck-noisy-button"><span>Upgrade to Personal</span></a>
				<a class="features-link" href="http://www.slidedeck.com/features?utm_campaign=sd2_lite&utm_medium=handslap_link&utm_source=handslap_support&utm_content=support_team<?php 
echo self::get_cohort_query_string('&');
?>
" target="_blank">or learn more about other SlideDeck features</a>
			</div>
		</div>
	</div>
</div>
<div class="upsell-modal">
	<div class="slidedeck-header">
	    <h1><?php 
_e("Need More Slides in Your Decks?", $this->namespace);
?>
</h1>
	</div>
	<div class="background">
		<div class="inner">
			<div class="copyblock">
			    <h3><?php 
_e("As many slides as you like with SlideDeck Personal", $this->namespace);
?>
</h3>
				<p>You've got a lot of web content sources and slides fill up fast when they're coming in dynamically. Display all your web content across any number of slides.</p>
				<img height="114" id="covers-modal-upsell" src="https://s3.amazonaws.com/slidedeck-pro/lite_upsell_assets/images/slide-count-modal-upsell.jpg" alt="More Slides" />
			</div>
			<div class="cta">
				<a class="slidedeck-noisy-button" href="<?php 
echo slidedeck2_action("/upgrades&referrer=Slide+Count+Handslap");
?>
" class="button slidedeck-noisy-button"><span>Upgrade to Personal</span></a>
				<a class="features-link" href="http://www.slidedeck.com/features?utm_campaign=sd2_lite&utm_medium=handslap_link&utm_source=handslap_slide_count&utm_content=summer_vacation_three_covers<?php 
echo self::get_cohort_query_string('&');
?>
" target="_blank">or learn more about other SlideDeck features</a>
			</div>
		</div>
	</div>
</div>
Exemplo n.º 15
0
 SlideDeck is distributed in the hope that it will be useful,
 but WITHOUT ANY WARRANTY; without even the implied warranty of
 MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
 GNU General Public License for more details.

 You should have received a copy of the GNU General Public License
 along with SlideDeck.  If not, see <http://www.gnu.org/licenses/>.
*/
?>
<div class="wrap" id="slidedeck_lens_management">

    <div class="slidedeck-header">
        <h1>SlideDeck Addons</h1>
        <a class="button" href="<?php 
echo slidedeck2_action('/addons&action=add');
?>
">Upload Addon</a>
    </div>

    <div id="slidedeck-lenses-wrapper">

		<?php 
if (!empty($addons)) {
    ?>

			<div id="slidedeck-addons" class="lenses clearfix">

				<?php 
    foreach ($addons as &$addon) {
        ?>
Exemplo n.º 16
0
    ?>
</a><br />
                    <span class="nonessential"><?php 
    echo $file_basename;
    ?>
</span>
                </li>
	        <?php 
}
?>
	    </ul>
	    
	</div>
    
    <form action="<?php 
echo slidedeck2_action('/lenses');
?>
" method="post" id="slidedeck-lens-editor">
        
        <?php 
wp_nonce_field("{$namespace}-save-lens");
?>
		<input type="hidden" name="lens" value="<?php 
echo $lens['slug'];
?>
" />
        <input type="hidden" name="filename" id="slidedeck-lens-filename" value="<?php 
echo basename($lens_filename);
?>
" />
        
Exemplo n.º 17
0
        <a class="button<?php 
if ($is_writable->valid !== true) {
    echo ' disabled';
}
?>
" href="<?php 
echo slidedeck2_action('/lenses&action=add');
?>
">Upload Lens</a>
        <a class="button<?php 
if ($is_writable->valid !== true) {
    echo ' disabled';
}
?>
" href="<?php 
echo slidedeck2_action("/lenses&action=copy&lens=proto&new_lens_name=My%20Lens&new_lens_slug=my-lens&create_or_copy=create");
?>
">Create New</a>
    </div>
    
    
    <div id="slidedeck-lenses-wrapper">
        
        <?php 
slidedeck2_flash(5000);
?>
        
        <?php 
if ($is_writable->valid !== true) {
    ?>
            <div class="slidedeck-flash-message error"><p><?php 
            <div class="copyblock">
                <h3><?php 
_e("Add video to your sliders", $this->namespace);
?>
</h3>
                <p><?php 
_e("The Video slide type allows you to add your favorite clips from YouTube, Vimeo and Dailymotion into your slider. You can even choose from three different caption layouts, for the perfect fit.", $this->namespace);
?>
</p>
                <h4><?php 
_e("Choose from 3 different layouts", $this->namespace);
?>
</h4>
                <p class="align-center"><img src="<?php 
echo SLIDEDECK2_URLPATH;
?>
/images/upsell-slide-type-video.jpg" alt="Caption, Body Text, None" /></p>
            </div>
            <div class="cta">
                <a class="slidedeck-noisy-button" href="<?php 
echo slidedeck2_action("/upgrades&referrer=Video+Slide+Type+Handslap");
?>
" class="button slidedeck-noisy-button"><span>Upgrade to Professional</span></a>
                <a class="features-link" href="http://demo.slidedeck.com/wp-login.php?utm_campaign=sd2_lite&utm_medium=handslap_link&utm_source=handslap_slide_type&utm_content=video_slide<?php 
echo self::get_cohort_query_string('&') . slidedeck2_km_link();
?>
" target="_blank">or try it out in the live demo</a>
            </div>
        </div>
    </div>
</div>
<div id="lite-upsell-additional-sources">
    <div class="header">
        <div class="left">
            <h4>Need more sources?</h4>
            <p>Get more sources, lenses, unlimited slides and more</p>
        </div>
        <div class="right">
            <a href="<?php 
echo slidedeck2_action("/upgrades&referrer=More+Sources+Handslap");
?>
" class="button slidedeck-noisy-button">Upgrade to Personal</a>
        </div>
    </div>
    <img height="228" src="<?php 
echo SLIDEDECK2_URLPATH;
?>
/images/sources-modal-upsell-source-list.png" alt="Available Sources">
</div>
Exemplo n.º 20
0
 /**
  * Upgrade Button
  * 
  * Outputs the green upgrade button that displays contextually.
  * 
  * @param string $message_text The button area subtitle
  * 
  * @param string $button_text The main button text CTA
  *      */
 function upgrade_button($context = 'manage')
 {
     $tier = self::highest_installed_tier();
     if ($tier == 'tier_30') {
         return '';
     }
     // Here's the defaults
     $defaults = array('cta_text' => 'Upgrade', 'message_text' => 'Get more from SlideDeck', 'cta_url' => slidedeck2_action("/upgrades"));
     $array_data = array('tier_5' => array('manage' => array('message_text' => 'Get more lenses!'), 'edit' => array('message_text' => 'Get more sources!'), 'lenses' => array('message_text' => 'Copy and edit lenses!')), 'tier_10' => array('manage' => array('message_text' => 'Get more custom slides'), 'edit' => array('message_text' => 'Get the Classic lens'), 'lenses' => array('message_text' => 'Copy and edit lenses!')), 'tier_20' => array('manage' => array('message_text' => 'Get more custom slides'), 'edit' => array('message_text' => 'Use SlideDeck on more sites'), 'lenses' => array('message_text' => 'Copy and edit lenses!')));
     // Fetch the data (using cache!)
     $url = SLIDEDECK2_UPDATE_SITE . '/upgrade-buttons.json?v=' . SLIDEDECK2_VERSION;
     $response = slidedeck2_cache_read($url);
     if (!$response) {
         $response = wp_remote_get($url, array('sslverify' => false));
         if (!is_wp_error($response)) {
             slidedeck2_cache_write($url, $response, 60 * 60 * 24);
             // Decode the data
             $array_data = json_decode($response['body'], true);
         } else {
             slidedeck2_cache_write($url, '', 60 * 60 * 24);
         }
     }
     /**
      * Use the default values if all else fails.
      * If the found data isn't empty, replace the defaults.
      */
     $values = $defaults;
     if (isset($array_data[$tier][$context]) && !empty($array_data[$tier][$context])) {
         $values = array_merge($defaults, $array_data[$tier][$context]);
         $values['tier'] = $tier;
         $values['context'] = $context;
     }
     // Render the button!
     ob_start();
     include SLIDEDECK2_DIRNAME . '/views/elements/_upgrade_button.php';
     $html = ob_get_contents();
     ob_end_clean();
     return $html;
 }
Exemplo n.º 21
0
<div class="inner">
    <ul>
    <?php 
    foreach ((array) $slidedecks as $slidedeck) {
        ?>
        <li class="slidedeck-row<?php 
        if ($slidedeck == end($slidedecks)) {
            echo ' last ';
        }
        ?>
">
            <?php 
        slidedeck2_icon($slidedeck);
        ?>
            <a href="<?php 
        echo slidedeck2_action("&action=edit&slidedeck={$slidedeck['id']}");
        ?>
" class="slidedeck-title">
                <?php 
        echo $slidedeck['title'];
        ?>
                <span class="slidedeck-modified">Modified <?php 
        echo date("m-d-Y", strtotime($slidedeck['updated_at']) + get_option('gmt_offset') * 3600);
        ?>
</span>
            </a>
            <div class="slidedeck-actions">
                <div class="slidedeck-delete tooltip" title="<?php 
        _e("Delete", $namespace);
        ?>
">
            <span class="shadow">&nbsp;</span>
            <span class="title"><?php 
        echo $lens_meta['name'];
        ?>
</span>
        </a>
    
    <?php 
    }
    ?>

<?php 
}
?>

<div class="upgrade-license-lenses">
    <span class="upgrade">
        <img src="https://s3.amazonaws.com/slidedeck-pro/lite_upsell_assets/images/need-more-lenses.png" />
        <div class="upgrade-button-cta">
            <a href="<?php 
echo slidedeck2_action("/upgrades&referrer=Lens+Choices+Tab");
?>
" class="upgrade-button green">
                <span class="button-noise">
                    <span>Upgrade</span>
                </span>
            </a>
        </div>
    </span>
    <span class="shadow">&nbsp;</span>
</div>
Exemplo n.º 23
0
 /**
  * Upgrade Button
  * 
  * Outputs the green upgrade button that displays contextually.
  * 
  * @param string $message_text The button area subtitle
  * 
  * @param string $button_text The main button text CTA
  *      */
 function upgrade_button($context = 'manage')
 {
     $tier = self::highest_installed_tier();
     // Here's the defaults
     $defaults = array('context' => 'manage', 'cta_text' => 'Upgrade', 'message_text' => 'Get more from SlideDeck', 'cta_url' => slidedeck2_action("/upgrades"));
     $array_data = array('tier_5' => array('manage' => array('message_text' => 'Get more lenses!'), 'edit' => array('message_text' => 'Get more sources!'), 'lenses' => array('message_text' => 'Copy and edit lenses!')), 'tier_10' => array('manage' => array('message_text' => 'Get more custom slides'), 'edit' => array('message_text' => 'Get the Classic lens'), 'lenses' => array('message_text' => 'Copy and edit lenses!')), 'tier_20' => array('manage' => array('message_text' => 'Get more custom slides'), 'edit' => array('message_text' => 'Use SlideDeck on more sites'), 'lenses' => array('message_text' => 'Copy and edit lenses!')));
     // Fetch the data (using cache!)
     $url = SLIDEDECK2_UPDATE_SITE . '/upgrade-buttons.json?v=' . SLIDEDECK2_VERSION;
     $response = slidedeck2_cache_read($url);
     if (!$response) {
         $response = wp_remote_get($url, array('sslverify' => false));
         if (!is_wp_error($response)) {
             slidedeck2_cache_write($url, $response, 60 * 60 * 24);
             // Decode the data
             $array_data = json_decode($response['body'], true);
         } else {
             slidedeck2_cache_write($url, '', 60 * 60 * 24);
         }
     }
     /**
      * Use the default values if all else fails.
      * If the found data isn't empty, replace the defaults.
      */
     $values = $defaults;
     if (isset($array_data[$tier][$context]) && !empty($array_data[$tier][$context])) {
         $values = array_merge($defaults, $array_data[$tier][$context]);
         $values['tier'] = $tier;
         $values['context'] = $context;
     }
     // Overrides for license renewal
     $renewal_message = self::get_license_key_expiry_message();
     $license_key = slidedeck2_get_license_key();
     // If this is the developer tier, and there's no expiry message...
     if ($tier == 'tier_30' && $renewal_message['type'] == 'unspecified') {
         return '';
     }
     // don't return a button in this case
     switch ($renewal_message['type']) {
         case 'nearing-expiration':
             $values['cta_text'] = "Renew Now";
             $values['cta_url'] = slidedeck2_get_renewal_url() . '&when=warning';
             $values['message_text'] = "<strong>License expiring soon.</strong> Upgrade to continue getting updates and support.";
             if ($context == 'manage') {
                 $values['message_text'] = "<strong>License expiring soon.</strong> Upgrade to<br>continue getting updates and support.";
             }
             break;
         case 'expired':
             $values['cta_text'] = "Expired - Renew Now";
             $values['cta_url'] = slidedeck2_get_renewal_url() . '&when=expired';
             $values['message_text'] = "Your license is <strong>expired</strong>. Renew to resume updates and support";
             if ($context == 'manage') {
                 $values['message_text'] = "Your license is <strong>expired</strong>. Renew to<br>resume updates and support";
             }
             break;
     }
     // Render the button!
     ob_start();
     include SLIDEDECK2_DIRNAME . '/views/elements/_upgrade_button.php';
     $html = ob_get_contents();
     ob_end_clean();
     return $html;
 }