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


PHP n2_e函数代码示例

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


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

示例1: defined

<?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>
开发者ID:RenatoToasa,项目名称:Pagina-Web,代码行数:22,代码来源:noaccess.php

示例2: n2_e

                                <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>
开发者ID:rfulwell,项目名称:transitionalresources.org,代码行数:29,代码来源:edit.php

示例3: n2_e

                    <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>');
开发者ID:vicpril,项目名称:rep_bidqa,代码行数:31,代码来源:index.php

示例4: foreach

</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 
}
开发者ID:RenatoToasa,项目名称:Pagina-Web,代码行数:31,代码来源:index.php

示例5: n2_e

            <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;">
开发者ID:RenatoToasa,项目名称:Pagina-Web,代码行数:31,代码来源:_sidebar_slide.php

示例6: n2_e

            <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>
开发者ID:MBerguer,项目名称:wp-demo,代码行数:30,代码来源:publish.php

示例7: n2_e

    <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">
开发者ID:MBerguer,项目名称:wp-demo,代码行数:30,代码来源:index.php

示例8: array

<?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();
开发者ID:vicpril,项目名称:rep_bidqa,代码行数:12,代码来源:index.php

示例9: n2_e

            <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>
开发者ID:RenatoToasa,项目名称:Pagina-Web,代码行数:31,代码来源:index.php

示例10: array

<?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');
开发者ID:MBerguer,项目名称:wp-demo,代码行数:28,代码来源:importFromServer.php

示例11: n2_e

?>

<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');
开发者ID:MBerguer,项目名称:wp-demo,代码行数:31,代码来源:importByUpload.php

示例12: n2_e

<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>
开发者ID:rfulwell,项目名称:transitionalresources.org,代码行数:20,代码来源:backgroundanimation.php

示例13: array

<?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();
开发者ID:vicpril,项目名称:rep_bidqa,代码行数:16,代码来源:fonts.php

示例14: n2

            <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>
开发者ID:RenatoToasa,项目名称:Pagina-Web,代码行数:31,代码来源:index.php

示例15: n2_e

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


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