Esempio n. 1
0
<?php

/**
 * @var $_class N2SmartsliderBackendSettingsView
 */
$this->widget->init('topbar', array("actions" => array(N2Html::tag('a', array('href' => '#', 'class' => 'n2-button n2-button-green n2-button-big n2-h4 n2-b n2-uc', 'onclick' => 'return NextendForm.submit("#n2-form");'), n2_('Save')))));
?>
<form id="n2-form" action="" method="post">
    <?php 
$_class->renderDefaultsForm();
?>
    <input name="save" value="1" type="hidden"/>
</form>
<?php 
N2SS3::showBeacon('Item defaults');
Esempio n. 2
0
                    ],
                    title: n2_('Discover Smart Slider 3'),
                    back: false,
                    close: true,
                    content: '<iframe style="margin:20px 10px 0;" width="854" height="480" src="https://www.youtube.com/embed/fjmENHah_oY?autoplay=1" frameborder="0" allowfullscreen></iframe>',
                    controls: ['<a href="#" class="n2-button n2-button-big n2-button-green n2-uc n2-h4">' + n2_('Close') + '</a>'],
                    fn: {
                        show: function () {
                            this.createHeading(n2_("We've created a simple tutorial video to guide you through the basic steps of making your first slider. Good luck with the sliders!")).css({
                                width: '520px',
                                textAlign: 'center',
                                margin: '15px auto',
                                lineHeight: '24px'
                            }).appendTo(this.content);
                            this.controls.find('.n2-button-green')
                                .on('click', n2.proxy(function (e) {
                                    e.preventDefault();
                                    this.hide(e);
                                }, this));
                        }
                    }
                }
            }, true);

        });
    </script>

<?php 
}
N2SS3::showBeacon('Main page, Import, Update');
Esempio n. 3
0
<?php

/**
 * @var $_class N2SmartsliderBackendSettingsView
 */
$this->widget->init('topbar', array("actions" => array(N2Html::tag('a', array('href' => '#', 'class' => 'n2-button n2-button-green n2-button-big n2-h4 n2-b n2-uc', 'onclick' => 'return NextendForm.submit("#smartslider-form");'), n2_('Save')))));
?>

<form id="smartslider-form" action="" method="post">
    <?php 
$_class->_renderDefaultForm();
?>
    <input name="save" value="1" type="hidden"/>
</form>
<?php 
N2SS3::showBeacon('Global settings');
Esempio n. 4
0
                isPreview = false;
            });


            new NextendHeadingScrollToPane(headings, [
                $('#n2-tab-slider, #n2-tab-slider-size, #n2-tab-slider-size-tablet, #n2-tab-slider-size-mobile, #n2-tab-slider-responsive, #nextend-responsive-mode-panel, #n2-tab-slides, #n2-tab-slider-layer, #n2-tab-autoplay, #n2-tab-slider-advanced'),
                $('#n2-tab-widgets'),
                $('#n2-tab-slider-responsive')
            ], 'ss-slider-edit');


            $('#n2-form-matrix-slider-settings .n2-form-matrix-views').fixTo('#n2-form-matrix-slider-settings', {
                top: $('#wpadminbar, .navbar-fixed-top').height() + $('.n2-main-top-bar').height()
            });

            $('#n2-form-matrix-sliderwidgets .n2-form-matrix-views').fixTo('#n2-form-matrix-sliderwidgets', {
                top: $('#wpadminbar, .navbar-fixed-top').height() + $('.n2-main-top-bar').height()
            });
        }
    );
</script>

    <form id="smartslider-form" action="" method="post">
    <?php 
$_class->renderForm($slider);
?>
        <input name="save" value="1" type="hidden"/>
</form>
<?php 
N2SS3::showBeacon('Slider settings');
Esempio n. 5
0
<?php

$actions = array();
if (isset($slider)) {
    $actions[] = N2Html::tag('a', array('href' => $this->appType->router->createUrl(array("generator/create", array("sliderid" => $slider['id']))), 'class' => 'n2-button n2-button-red n2-button-big n2-h4 n2-b n2-uc'), n2_('Cancel'));
}
$actions[] = N2Html::tag('a', array('href' => '#', 'class' => 'n2-button n2-button-green n2-button-big n2-h4 n2-b n2-uc', 'onclick' => 'return NextendForm.submit("#smartslider-form");'), n2_('Save'));
$this->widget->init('topbar', array("actions" => $actions));
?>

<form id="smartslider-form" action="" method="post">
    <?php 
echo $configuration->render();
?>
    <input name="save" value="1" type="hidden"/>
</form>
<?php 
N2SS3::showBeacon(ucfirst(N2Request::getCmd('group')) . ' generator');
Esempio n. 6
0
<form id="smartslider-form" enctype="multipart/form-data" action="" method="post">
    <?php 
$_class->renderImportByUploadForm();
?>
    <input name="save" value="1" type="hidden"/>
</form>

<div class="n2-form ">
    <div class="n2-form-tab ">
        <div class="n2-h2 n2-content-box-title-bg"><?php 
n2_e('Instructions');
?>
</div>

        <div class="n2-description">
            <p><?php 
n2_e('You can upload the files which exported by Smart Slider 3.');
?>
</p>

            <p><?php 
printf(n2_('Your server has an upload file limit at %s, so if you have bigger export file, please use the <a href="%s">alternate method</a>.'), @ini_get('post_max_size'), $this->appType->router->createUrl(array('sliders/importFromServer')));
?>
</p>
        </div>
    </div>
</div>
<?php 
N2SS3::showBeacon('Import slider');
Esempio n. 7
0
    <form id="smartslider-form" enctype="multipart/form-data" action="" method="post">
    <?php 
$_class->renderRestoreByUploadForm();
?>
        <input name="save" value="1" type="hidden"/>
</form>

    <div class="n2-form ">
    <div class="n2-form-tab ">
        <div class="n2-h2 n2-content-box-title-bg"><?php 
n2_e('Instructions');
?>
</div>

        <div class="n2-description">
            <p><?php 
n2_e('You can upload the files which exported by Smart Slider 3.');
?>
</p>

            <p><?php 
printf(n2_('Your server has an upload file limit at %s, so if you have bigger export file, please use the <a href="%s">alternate method</a>.'), @ini_get('post_max_size'), $this->appType->router->createUrl(array('sliders/importFromServer')));
?>
</p>
        </div>
    </div>
</div>
<?php 
N2SS3::showBeacon('Restore slider');