Example #1
0
<?php

/**
* @author    Roland Soos
* @copyright (C) 2015 Nextendweb.com
* @license GNU/GPLv3 http://www.gnu.org/licenses/gpl-3.0.html
**/
defined('_JEXEC') or die('Restricted access');
?>
<div class="n2-form-tab ">
    <div class="n2-h2 n2-content-box-title-bg"><?php 
n2_e('Limited access');
?>
</div>

    <div class="n2-description">
        <p><?php 
n2_e('Access to this resource not allowed!');
?>
</p>
    </div>
</div>
                                <div title="<?php 
n2_e('Font size modifier');
?>
"
                                     class="n2-form-element-text n2-form-element-autocomplete ui-front n2-form-element-number n2-text-has-unit n2-border-radius">
                                <div class="n2-text-sub-label n2-h5 n2-uc"><i
                                        class="n2-i n2-it n2-i-16 n2-i-fontmodifier"></i></div>
                                <input type="text" autocomplete="off" style="width:32px"
                                       class="n2-h5 ui-autocomplete-input" value="100" name="n2-ss-font-size"
                                       id="n2-ss-font-size">

                                <div class="n2-text-unit n2-h5 n2-uc">%</div></div>
                                <div id="n2-ss-reset-to-desktop" class="n2-button n2-button-grey n2-button-small"
                                     title="<?php 
n2_e('Reset to desktop');
?>
"><i
                                        class="n2-i n2-it n2-i-16 n2-i-reset"></i></div>
                            </div>
                        </div>
                    </div>
                    <div class="n2-td" id="n2-ss-zoom">
                        <div class="n2-ss-slider-zoom-container">
                            <i class="n2-i n2-i-minus"></i>
                            <i class="n2-i n2-i-plus"></i>

                            <div class="n2-ss-slider-zoom-bg"></div>

                            <div class="n2-ss-slider-zoom-1"></div>
Example #3
0
                    <tbody>
                    <tr>
                        <td class="n2-box-button">
                            <div class="n2-h2"><?php 
n2_e('It\'s a great day to start something new.');
?>
</div>

                            <div
                                class="n2-h3"><?php 
n2_e('Click on the \'Create Slider\' button to get started.');
?>
</div>
                            <a href="#"
                               class="n2-button n2-button-x-big n2-button-green n2-uc n2-h3 n2-ss-create-slider"><?php 
n2_e('Create slider');
?>
</a>
                        </td>
                    </tr>
                    </tbody>
                </table>
            </div>
        </div>

        <?php 
function n2GetBox($class, $image, $html, $hasBorder = true)
{
    echo N2Html::tag('div', array('class' => 'n2-box n2-box-title ' . $class . ($hasBorder ? ' n2-box-border' : '')), N2Html::image(N2ImageHelper::fixed('$ss$/admin/images/' . $image)) . N2Html::tag("div", array('class' => 'n2-box-placeholder'), N2Html::tag("table", array(), N2Html::tag("tr", array(), N2Html::tag("td", array('class' => 'n2-box-button'), $html)))));
}
n2GetBox('n2-ss-demo-slider', 'add-demo.png', '<div>' . n2_('100+ Sample slide with one click.') . '</div><a href="#" class="n2-button n2-button-small n2-button-green n2-uc n2-h5">' . n2_('add sample slider') . '</a>');
Example #4
0
</div>

<?php 
foreach (N2Base::getApplications() as $info) {
    if (!$info->isPublic() || !N2Acl::canDo($info->getName(), $info)) {
        continue;
    }
    $info->getInstance();
    ?>
    <div class="n2-form-tab">
        <div class="n2-h2 n2-content-box-title-bg"><?php 
    echo $info->getLabel();
    ?>
</div>

        <div class="n2-description">
            <a href="<?php 
    echo $info->getUrl();
    ?>
"
               class="n2-button n2-button-big n2-button-green"><?php 
    n2_e('Go to');
    ?>
 <?php 
    echo $info->getLabel();
    ?>
</a>
        </div>
    </div>
<?php 
}
            <div class="n2-td n2-h3 n2-uc n2-has-underline n2-slides-tab-label">
                <span class="n2-underline"><?php 
n2_e('Slides');
?>
</span>
            </div>

            <div style="<?php 
if (N2SSPRO) {
    echo 'width:40%;';
}
?>
"
                 class="n2-td n2-h3 n2-uc n2-has-underline n2-layers-tab-label n2-active">
                <span class="n2-underline"><?php 
n2_e('Layers');
?>
</span>
            </div>
            <?php 
?>
        </div>
    </div>

    <div class="n2-slides-tab" style="display:none;">
        <?php 
$this->renderInline("_sliders");
?>
    </div>

    <div class="n2-layers-tab" style="display:block;">
Example #6
0
            <div class="n2-h4"><?php 
n2_e('Insert it into an existing post with the icon:');
?>
</div>
            <img
                src="<?php 
echo N2ImageHelper::fixed('$ss$/admin/images/wordpress-publish.png');
?>
"/>
        </div>
        <div class="n2-td n2-last">
            <div class="n2-h2"><?php 
n2_e('PHP code');
?>
</div>

            <div class="n2-h4"><?php 
n2_e('Paste the PHP code into your template file:');
?>
</div>
            <code><div onclick="return selectText(this);">
                    &lt;?php <br />
                    echo do_shortcode('[smartslider3 slider=<?php 
echo $sliderid;
?>
]');<br />
                    ?&gt;</div></code>
        </div>
    </div>
</div>
Example #7
0
    <div class="n2-form-tab n2-editor-preview-box">
        <div class="n2-heading-controls n2-content-box-title-bg">
            <div class="n2-table n2-table-fixed">
                <div class="n2-tr">
                    <div class="n2-td n2-h2">
                        <?php 
n2_e('Preview');
?>
                    </div>

                    <div class="n2-td n2-last n2-visual-editor-preview-tab">
                        <div class="n2-form-element-radio-tab n2-expert">
                            <div class="n2-radio-option n2-h4 n2-first n2-last n2-active">
                                <?php 
n2_e('Default');
?>
                            </div>
                            <input type="hidden" autocomplete="off" value="0" name="n2-style-editor-preview-mode"
                                   id="n2-style-editor-preview-mode">
                        </div>
                        <div class="n2-editor-background-color">
                            <div style="" class="n2-form-element-text n2-form-element-color n2-border-radius">
                                <div class="n2-sp-replacer">
                                    <div class="n2-sp-preview">
                                        <div class="n2-sp-preview-inner"></div>
                                    </div>
                                    <div class="n2-sp-dd">▲</div>
                                </div>
                                <input type="text" autocomplete="off" class="n2-h5" value="ced3d5"
                                       name="n2-style-editor-background-color" id="n2-style-editor-background-color">
Example #8
0
<?php

$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("#nextend-config");'), n2_('Save')))));
?>
    <div class="n2-heading-bar">
        <div class="n2-h1 n2-heading"><?php 
n2_e('General settings');
?>
</div>
    </div>
<?php 
$_class->renderGlobalConfigurationForm();
Example #9
0
            <div class="n2-tr">
                <div class="n2-td n2-h2">
                    <?php 
n2_e('Preview');
?>
                </div>

                <div class="n2-td n2-last n2-visual-editor-tabs">
                    <div class="n2-form-element-radio-tab">
                        <div class="n2-radio-option n2-h4 n2-first n2-active">
                            <?php 
n2_e('Forward');
?>
                        </div><!-- --><div class="n2-radio-option n2-h4 n2-last">
                            <?php 
n2_e('Backward');
?>
                        </div>
                        <input type="hidden" autocomplete="off" value="0" name="n2-background-animation-preview-tabs"
                               id="n2-background-animation-preview-tabs">
                    </div>
                </div>
            </div>
        </div>
    </div>

    <div>
        <div class="n2-bg-animation-slider">

            <div class="n2-bg-animation">
            </div>
Example #10
0
<?php

$this->widget->init('topbar', array("actions" => array(N2Html::tag('a', array('href' => $this->appType->router->createUrl(array('sliders/index')), 'class' => 'n2-button n2-button-red n2-button-big n2-h4 n2-b n2-uc'), n2_('Cancel')), 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_('Import')))));
?>
<form id="smartslider-form" action="" method="post">
    <?php 
$_class->renderImportFromServerForm();
?>
    <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 
printf(n2_('Smart Slider export files are listed from the directory only with <i>ss3</i> extension: %s'), N2Platform::getPublicDir());
?>
            </p>
        </div>
    </div>
</div>
<?php 
N2SS3::showBeacon('Import slider');
Example #11
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');
<div class="n2-sidebar-row n2-sidebar-header-bg n2-form-dark n2-sets-header">
    <div class="n2-table">
        <div class="n2-tr">
            <div class="n2-td">
                <div class="n2-h3 n2-uc"><?php 
n2_e('Set');
?>
</div>
            </div>
            <div class="n2-td n2-manage-set">
                <?php 
$model->renderSetsForm();
?>
            </div>
        </div>
    </div>
</div>
<div class="n2-lightbox-sidebar-list">

</div>
Example #13
0
<?php

/**
 * @var $_class N2SystemBackendSettingsView
 * @see Actions
 */
$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("#nextend-config");'), n2_('Save')))));
?>
    <div class="n2-heading-bar">
        <div class="n2-h1 n2-heading"><?php 
echo n2_e('Fonts Configuration');
?>
</div>
    </div>
<?php 
$_class->renderFontsConfigurationForm();
Example #14
0
            <script type="text/javascript">
                n2(window).ready(function ($) {
                    $('.n2-main-top-bar').append('<div class="n2-left n2-top-bar-menu"><span><?php 
    printf(n2_('Version %s available!'), $updateModel->getVersion());
    ?>
</span> <a style="font-size: 12px;margin-right: 10px;" class="n2-h3 n2-uc n2-has-underline n2-button n2-button-blue n2-button-medium" href="<?php 
    echo $updateUrl;
    ?>
"><?php 
    n2_e('Update');
    ?>
</a> <a style="font-size: 12px;" class="n2-h3 n2-uc n2-has-underline n2-button n2-button-grey n2-button-medium" href="#" onclick="NextendModalDocumentation(\'<?php 
    n2_e('Changelog');
    ?>
\', \'http://doc.smartslider3.com/article/432-changelog\');return false;"><?php 
    n2_e('Changelog');
    ?>
</a></div>');
                });
            </script>
        <?php 
}
n2GetBox('', 'Documentation.png', N2Html::tag('div', array(), 'Interactive online documentation.') . N2Html::link('Read', 'http://doc.smartslider3.com', array('target' => '_blank', 'class' => 'n2-button n2-button-grey n2-button-small n2-h5 n2-uc')));
n2GetBox('', 'Videos.png', N2Html::tag('div', array(), 'Helpful tutorial videos.') . N2Html::link('Watch', 'https://www.youtube.com/watch?v=MKmIwHAFjSU&list=PLSawiBnEUNfvzcI3pBHs4iKcbtMCQU0dB', array('target' => '_blank', 'class' => 'n2-button n2-button-grey n2-button-small n2-h5 n2-uc')));
n2GetBox('', 'Help.png', N2Html::tag('div', array(), 'First class support with real people. ') . N2Html::link('Write', 'http://smartslider3.com/contact-us/', array('target' => '_blank', 'class' => 'n2-button n2-button-grey n2-button-small n2-h5 n2-uc')));
n2GetBox('', 'Newsletter.png', N2Html::tag('div', array(), 'Receive the latest news.') . N2Html::link('Subscribe', 'http://eepurl.com/bDp_8b', array('target' => '_blank', 'class' => 'n2-button n2-button-grey n2-button-small n2-h5 n2-uc')));
n2GetBox('', 'Facebook.png', N2Html::tag('div', array(), 'Join the community on Facebook.') . N2Html::link('Join', 'https://www.facebook.com/nextendweb', array('class' => 'n2-button n2-button-grey n2-button-small n2-h5 n2-uc', 'target' => '_blank')));
n2GetBox('', 'Love.png', N2Html::tag('div', array(), 'Are you satisfied with Smart Slider 3?') . N2Html::link('Yes', 'http://smartslider3.com/satisfied-customer/', array('target' => '_blank', 'class' => 'n2-button n2-button-green n2-button-small n2-h5 n2-uc')) . N2Html::link('No', 'http://smartslider3.com/suggestion/', array('target' => '_blank', 'class' => 'n2-button n2-button-red n2-button-small n2-h5 n2-uc')));
?>

        <div class="n2-clear"></div>
Example #15
0
<div class="n2-sidebar-row n2-sidebar-header-bg n2-form-dark n2-sets-header">
    <div class="n2-table">
        <div class="n2-tr">
            <div class="n2-td n2-set-label">
                <div class="n2-h3 n2-uc"><?php 
n2_e('Set');
?>
</div>
            </div>
            <div class="n2-td n2-manage-set">
                <?php 
$model->renderSetsForm();
?>
                <div id="animationset-manage"
                     class="n2-button n2-button-medium n2-button-grey n2-h5 n2-uc"><?php 
n2_e('Manage');
?>
</div>
            </div>
        </div>
    </div>
</div>
<?php 
$ul = array();
$ul[] = array('class' => 'n2-button-container n2-save-as-new-container', 'contents' => N2Html::tag('a', array('class' => 'n2-button n2-button-big n2-button-green n2-uc n2-animation-save-as-new', 'href' => '#'), n2_('Save as new animation')));
$this->widget->init("listn", array("ul" => $ul));
?>
<div class="n2-lightbox-sidebar-list">

</div>
Example #16
0
        </div>

        <div>
            <?php 
$model->renderForm();
?>
        </div>
    </div>

    <div class="n2-form-tab n2-editor-preview-box">
        <div class="n2-heading-controls n2-content-box-title-bg">
            <div class="n2-table n2-table-fixed">
                <div class="n2-tr">
                    <div class="n2-td n2-h2">
                        <?php 
n2_e('Preview');
?>
                    </div>

                    <div class="n2-td n2-last n2-visual-editor-preview-tab">
                        <div class="n2-form-element-radio-tab">
                            <div class="n2-radio-option n2-h4 n2-first n2-last n2-active">
                                Default
                            </div>
                            <input type="hidden" autocomplete="off" value="0" name="n2-animation-editor-preview-mode"
                                   id="n2-animation-editor-preview-mode">
                        </div>
                        <div class="n2-editor-background-color">
                            <div style="" class="n2-form-element-text n2-form-element-color n2-border-radius">
                                <div class="n2-sp-replacer">
                                    <div class="n2-sp-preview">
Example #17
0
</div>
        <?php 
    $_class->_renderSourceList(N2SmartsliderBackendGeneratorView::$sources['notavailable']);
    ?>
        <div class="n2-clear"></div>
    </div>
<?php 
}
?>

<?php 
?>

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

    <div class="n2-description">
        <?php 
?>
        <ul>
            <li>WordPress custom post type</li>
            <li>WooCommerce</li>
            <li>Images from folder</li>
            <li>Facebook</li>
            <li>Twitter</li>
            <li>Instagram</li>
        </ul>
    <?php 
Example #18
0
        </div>
    </div>
<?php 
$values = N2ImageAviary::loadSettings();
if ($values['public'] && $values['secret']) {
    ?>
    <div class="n2-form-tab ">
        <div class="n2-h2 n2-content-box-title-bg"><?php 
    n2_e('High resolution feature');
    ?>
</div>

        <div class="n2-description">
            <p><?php 
    n2_e('By default Aviary is limited in the image size up to 1 megapixel. If you would like to edit bigger images, you can ask them (it\'s free) to enable high resolution image support on your app. ');
    ?>
</p>
            <a class="n2-button n2-button-big n2-button-green"
               href="mailto:websupport@creativesdk.zendesk.com?Subject=Web%20High%20Resolution%20Upgrade%20Inquiry&Body=Hello%2C%0AI%20would%20like%20to%20ask%20you%20to%20enable%20high%20resolution%20image%20support%20on%20my%20app.%0AMy%20Client%20id%20is%3A%20<?php 
    echo $values['public'];
    ?>
%0A%0AName%20of%20your%20company%3A%20%0ANumber%20of%20monthly%20active%20web%20users%3A%2010">
                <?php 
    n2_e('Request access to high resolution API');
    ?>
            </a>
        </div>
    </div>
<?php 
}
$_class->renderAviaryConfigurationForm();