当前位置: 首页>>代码示例>>PHP>>正文


PHP slidedeck2_action函数代码示例

本文整理汇总了PHP中slidedeck2_action函数的典型用法代码示例。如果您正苦于以下问题:PHP slidedeck2_action函数的具体用法?PHP slidedeck2_action怎么用?PHP slidedeck2_action使用的例子?那么, 这里精选的函数代码示例或许可以为您提供帮助。


在下文中一共展示了slidedeck2_action函数的15个代码示例,这些例子默认根据受欢迎程度排序。您可以为喜欢或者感觉有用的代码点赞,您的评价将有助于系统推荐出更棒的PHP代码示例。

示例1: footer

 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>';
 }
开发者ID:gloomyghost,项目名称:Tip-Top-Art,代码行数:8,代码来源:slidedeck-plugin-install.php

示例2: slides

<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>
开发者ID:danaiser,项目名称:hollandLawns,代码行数:16,代码来源:_create-custom-slidedeck-block.php

示例3: slidedeck2_action

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>
	        
开发者ID:jocher,项目名称:httpdocs,代码行数:30,代码来源:_lens.php

示例4: get_option

    $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);
?>
开发者ID:elmehdiboutaleb,项目名称:mjwebsite,代码行数:31,代码来源:_addons.php

示例5: _e

?>
</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>
开发者ID:w392807287,项目名称:FirstRepository,代码行数:31,代码来源:_upsell-modal-lenses.php

示例6: do_action

 * 
 * @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'];
?>
" />
开发者ID:rigelstpierre,项目名称:Everlovin-Press,代码行数:31,代码来源:form.php

示例7: slidedeck2_action

<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) {
开发者ID:w392807287,项目名称:FirstRepository,代码行数:31,代码来源:manage.php

示例8: after

 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));
     }
 }
开发者ID:danaiser,项目名称:hollandLawns,代码行数:8,代码来源:slidedeck-lens-upload.php

示例9: _e

                <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>
开发者ID:danaiser,项目名称:hollandLawns,代码行数:31,代码来源:_upsell-modal-lenses.php

示例10: _e

<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>
开发者ID:w392807287,项目名称:FirstRepository,代码行数:30,代码来源:_upsell-modal-covers.php

示例11: slides

<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>
开发者ID:w392807287,项目名称:FirstRepository,代码行数:16,代码来源:_create-custom-slidedeck-block.php

示例12: _e

    </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>
开发者ID:danaiser,项目名称:hollandLawns,代码行数:31,代码来源:_upsell-modal-slide-types-textonly.php

示例13: _e

<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>
开发者ID:w392807287,项目名称:FirstRepository,代码行数:29,代码来源:_upsell-modal-need-support.php

示例14: _e

<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>
开发者ID:w392807287,项目名称:FirstRepository,代码行数:30,代码来源:_upsell-modal-slidecount.php

示例15: slidedeck2_action

 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) {
        ?>
开发者ID:jocher,项目名称:httpdocs,代码行数:30,代码来源:manage.php


注:本文中的slidedeck2_action函数示例由纯净天空整理自Github/MSDocs等开源代码及文档管理平台,相关代码片段筛选自各路编程大神贡献的开源项目,源码版权归原作者所有,传播和使用请参考对应项目的License;未经允许,请勿转载。