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


PHP smarty_function_style函数代码示例

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


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

示例1: content_55db8bda354729_13376326

 function content_55db8bda354729_13376326($_smarty_tpl)
 {
     if (!is_callable('smarty_function_style')) {
         include '/var/www/html/market/app/functions/smarty_plugins/function.style.php';
     }
     echo smarty_function_style(array('src' => "addons/hybrid_auth/styles.css"), $_smarty_tpl);
 }
开发者ID:AlanIsrael0,项目名称:market,代码行数:7,代码来源:f78a2d4c08e05814d3bb9b7e34d13cde8ecc66ee.tygh.styles.post.tpl.php

示例2: content_55ccdf859ad106_40677724

 function content_55ccdf859ad106_40677724($_smarty_tpl)
 {
     if (!is_callable('smarty_function_style')) {
         include '/home/coriolan/public_html/lead/app/functions/smarty_plugins/function.style.php';
     }
     echo smarty_function_style(array('src' => "addons/seo/styles.less"), $_smarty_tpl);
 }
开发者ID:OneataBogdan,项目名称:lead_coriolan,代码行数:7,代码来源:44ce2721895580abe326081e35c33caaeeb70f6e.tygh.styles.post.tpl.php

示例3: content_55ccdf859b3a07_51721256

 function content_55ccdf859b3a07_51721256($_smarty_tpl)
 {
     if (!is_callable('smarty_function_style')) {
         include '/home/coriolan/public_html/lead/app/functions/smarty_plugins/function.style.php';
     }
     echo smarty_function_style(array('src' => "addons/altteam_review_attributes/styles.css"), $_smarty_tpl);
 }
开发者ID:OneataBogdan,项目名称:lead_coriolan,代码行数:7,代码来源:22ac4c19663f59f1f14a50e2a2df50e1341af1a9.tygh.styles.post.tpl.php

示例4: content_55d2ec3d9ab3f8_08333480

 function content_55d2ec3d9ab3f8_08333480($_smarty_tpl)
 {
     if (!is_callable('smarty_function_style')) {
         include '/home/coriolan/public_html/lead/app/functions/smarty_plugins/function.style.php';
     }
     echo smarty_function_style(array('src' => "addons/hw_restrict/styles.less"), $_smarty_tpl);
 }
开发者ID:OneataBogdan,项目名称:lead_coriolan,代码行数:7,代码来源:d906df6ff36205a7f79bacbc20df7e0182198d8b.tygh.styles.post.tpl.php

示例5: content_55db8bda351b25_32570246

 function content_55db8bda351b25_32570246($_smarty_tpl)
 {
     if (!is_callable('smarty_function_style')) {
         include '/var/www/html/market/app/functions/smarty_plugins/function.style.php';
     }
     echo smarty_function_style(array('src' => "addons/discussion/styles.less"), $_smarty_tpl);
 }
开发者ID:AlanIsrael0,项目名称:market,代码行数:7,代码来源:b5f4a2ea0e7a9f29013190586996c9fcfbc37086.tygh.styles.post.tpl.php

示例6: content_55db8bda33b778_56043465

 function content_55db8bda33b778_56043465($_smarty_tpl)
 {
     if (!is_callable('smarty_function_style')) {
         include '/var/www/html/market/app/functions/smarty_plugins/function.style.php';
     }
     echo smarty_function_style(array('src' => "addons/seo/styles.less"), $_smarty_tpl);
 }
开发者ID:AlanIsrael0,项目名称:market,代码行数:7,代码来源:db4a6b36b71a756ee4cf94320bc39fcd576b253f.tygh.styles.post.tpl.php

示例7: content_55ccdf859b05a7_65053932

 function content_55ccdf859b05a7_65053932($_smarty_tpl)
 {
     if (!is_callable('smarty_function_style')) {
         include '/home/coriolan/public_html/lead/app/functions/smarty_plugins/function.style.php';
     }
     echo smarty_function_style(array('src' => "addons/discussion/styles.less"), $_smarty_tpl);
 }
开发者ID:OneataBogdan,项目名称:lead_coriolan,代码行数:7,代码来源:4b94b65969cc309e0bb1b3060252d011bbb089f6.tygh.styles.post.tpl.php

示例8: content_55dc759c8b8983_44968297

    function content_55dc759c8b8983_44968297($_smarty_tpl)
    {
        if (!is_callable('smarty_function_style')) {
            include '/var/www/html/market/app/functions/smarty_plugins/function.style.php';
        }
        if (!is_callable('smarty_function_set_id')) {
            include '/var/www/html/market/app/functions/smarty_plugins/function.set_id.php';
        }
        if ($_smarty_tpl->tpl_vars['runtime']->value['customization_mode']['design'] == "Y" && @constant('AREA') == "C") {
            $_smarty_tpl->_capture_stack[0][] = array("template_content", null, null);
            ob_start();
            echo smarty_function_style(array('src' => "addons/form_builder/styles.less"), $_smarty_tpl);
            ?>

<?php 
            echo smarty_function_style(array('src' => "addons/form_builder/responsive.less"), $_smarty_tpl);
            ?>

<?php 
            list($_capture_buffer, $_capture_assign, $_capture_append) = array_pop($_smarty_tpl->_capture_stack[0]);
            if (!empty($_capture_buffer)) {
                if (isset($_capture_assign)) {
                    $_smarty_tpl->assign($_capture_assign, ob_get_contents());
                }
                if (isset($_capture_append)) {
                    $_smarty_tpl->append($_capture_append, ob_get_contents());
                }
                Smarty::$_smarty_vars['capture'][$_capture_buffer] = ob_get_clean();
            } else {
                $_smarty_tpl->capture_error();
            }
            if (trim(Smarty::$_smarty_vars['capture']['template_content'])) {
                if ($_smarty_tpl->tpl_vars['auth']->value['area'] == "A") {
                    ?>
<span class="cm-template-box template-box" data-ca-te-template="addons/form_builder/hooks/index/styles.post.tpl" id="<?php 
                    echo smarty_function_set_id(array('name' => "addons/form_builder/hooks/index/styles.post.tpl"), $_smarty_tpl);
                    ?>
"><div class="cm-template-icon icon-edit ty-icon-edit hidden"></div><?php 
                    echo Smarty::$_smarty_vars['capture']['template_content'];
                    ?>
<!--[/tpl_id]--></span><?php 
                } else {
                    echo Smarty::$_smarty_vars['capture']['template_content'];
                }
            }
        } else {
            echo smarty_function_style(array('src' => "addons/form_builder/styles.less"), $_smarty_tpl);
            ?>

<?php 
            echo smarty_function_style(array('src' => "addons/form_builder/responsive.less"), $_smarty_tpl);
            ?>

<?php 
        }
    }
开发者ID:AlanIsrael0,项目名称:market,代码行数:56,代码来源:63682609c533bbc990f6fdefd47310fec53eaae8.tygh.styles.post.tpl.php

示例9: content_55ccdf859a9bf7_71676976

    function content_55ccdf859a9bf7_71676976($_smarty_tpl)
    {
        if (!is_callable('smarty_function_style')) {
            include '/home/coriolan/public_html/lead/app/functions/smarty_plugins/function.style.php';
        }
        echo smarty_function_style(array('src' => "addons/help_tutorial/styles.less"), $_smarty_tpl);
        ?>

<?php 
    }
开发者ID:OneataBogdan,项目名称:lead_coriolan,代码行数:10,代码来源:bee7053fe458cf6f6d83e900141267f4a52529be.tygh.styles.post.tpl.php

示例10: content_55db8bda3575d6_07817942

    function content_55db8bda3575d6_07817942($_smarty_tpl)
    {
        if (!is_callable('smarty_function_style')) {
            include '/var/www/html/market/app/functions/smarty_plugins/function.style.php';
        }
        echo smarty_function_style(array('src' => "addons/twigmo/styles.css"), $_smarty_tpl);
        ?>

<?php 
    }
开发者ID:AlanIsrael0,项目名称:market,代码行数:10,代码来源:e7ad580d07f21464ded658e8378abba765dde356.tygh.styles.post.tpl.php

示例11: content_55db8bda338049_18928026

    function content_55db8bda338049_18928026($_smarty_tpl)
    {
        if (!is_callable('smarty_function_style')) {
            include '/var/www/html/market/app/functions/smarty_plugins/function.style.php';
        }
        echo smarty_function_style(array('src' => "addons/tags/styles.css"), $_smarty_tpl);
        ?>

<?php 
    }
开发者ID:AlanIsrael0,项目名称:market,代码行数:10,代码来源:910b3fcad4b98099d50eeff062adc957397f0196.tygh.styles.post.tpl.php

示例12: content_55db8bda3347c2_93639823

    function content_55db8bda3347c2_93639823($_smarty_tpl)
    {
        if (!is_callable('smarty_function_style')) {
            include '/var/www/html/market/app/functions/smarty_plugins/function.style.php';
        }
        echo smarty_function_style(array('src' => "addons/help_tutorial/styles.less"), $_smarty_tpl);
        ?>

<?php 
    }
开发者ID:AlanIsrael0,项目名称:market,代码行数:10,代码来源:bd356e011bbfde68e5ffdc26d913158437090f92.tygh.styles.post.tpl.php

示例13: content_55ccec9be97749_64076698

    function content_55ccec9be97749_64076698($_smarty_tpl)
    {
        if (!is_callable('smarty_function_style')) {
            include '/home/coriolan/public_html/lead/app/functions/smarty_plugins/function.style.php';
        }
        if (!is_callable('smarty_function_set_id')) {
            include '/home/coriolan/public_html/lead/app/functions/smarty_plugins/function.set_id.php';
        }
        if ($_smarty_tpl->tpl_vars['runtime']->value['customization_mode']['design'] == "Y" && @constant('AREA') == "C") {
            $_smarty_tpl->_capture_stack[0][] = array("template_content", null, null);
            ob_start();
            echo smarty_function_style(array('src' => "addons/hybrid_auth/colorbox.css"), $_smarty_tpl);
            list($_capture_buffer, $_capture_assign, $_capture_append) = array_pop($_smarty_tpl->_capture_stack[0]);
            if (!empty($_capture_buffer)) {
                if (isset($_capture_assign)) {
                    $_smarty_tpl->assign($_capture_assign, ob_get_contents());
                }
                if (isset($_capture_append)) {
                    $_smarty_tpl->append($_capture_append, ob_get_contents());
                }
                Smarty::$_smarty_vars['capture'][$_capture_buffer] = ob_get_clean();
            } else {
                $_smarty_tpl->capture_error();
            }
            if (trim(Smarty::$_smarty_vars['capture']['template_content'])) {
                if ($_smarty_tpl->tpl_vars['auth']->value['area'] == "A") {
                    ?>
<span class="cm-template-box template-box" data-ca-te-template="addons/hybrid_auth/hooks/index/styles.post.tpl" id="<?php 
                    echo smarty_function_set_id(array('name' => "addons/hybrid_auth/hooks/index/styles.post.tpl"), $_smarty_tpl);
                    ?>
"><div class="cm-template-icon icon-edit ty-icon-edit hidden"></div><?php 
                    echo Smarty::$_smarty_vars['capture']['template_content'];
                    ?>
<!--[/tpl_id]--></span><?php 
                } else {
                    echo Smarty::$_smarty_vars['capture']['template_content'];
                }
            }
        } else {
            echo smarty_function_style(array('src' => "addons/hybrid_auth/colorbox.css"), $_smarty_tpl);
        }
    }
开发者ID:OneataBogdan,项目名称:lead_coriolan,代码行数:42,代码来源:925d0b977352a25b45e77937488eacb0902a489d.tygh.styles.post.tpl.php

示例14: content_55ccdf859a2700_03616223

    function content_55ccdf859a2700_03616223($_smarty_tpl)
    {
        if (!is_callable('smarty_function_style')) {
            include '/home/coriolan/public_html/lead/app/functions/smarty_plugins/function.style.php';
        }
        $_smarty_tpl->_capture_stack[0][] = array("styles", null, null);
        ob_start();
        $_smarty_tpl->tpl_vars['type'] = new Smarty_variable(($tmp = @$_smarty_tpl->tpl_vars['type']->value) === null || $tmp === '' ? @constant('STATUSES_ORDER') : $tmp, null, 0);
        $_smarty_tpl->tpl_vars['statuses'] = new Smarty_variable(fn_get_statuses($_smarty_tpl->tpl_vars['type']->value), null, 0);
        if ($_smarty_tpl->tpl_vars['statuses']->value) {
            ?>
	
    <?php 
            $_smarty_tpl->tpl_vars["status_data"] = new Smarty_Variable();
            $_smarty_tpl->tpl_vars["status_data"]->_loop = false;
            $_smarty_tpl->tpl_vars["status"] = new Smarty_Variable();
            $_from = $_smarty_tpl->tpl_vars['statuses']->value;
            if (!is_array($_from) && !is_object($_from)) {
                settype($_from, 'array');
            }
            foreach ($_from as $_smarty_tpl->tpl_vars["status_data"]->key => $_smarty_tpl->tpl_vars["status_data"]->value) {
                $_smarty_tpl->tpl_vars["status_data"]->_loop = true;
                $_smarty_tpl->tpl_vars["status"]->value = $_smarty_tpl->tpl_vars["status_data"]->key;
                ?>
        .<?php 
                echo htmlspecialchars(mb_strtolower($_smarty_tpl->tpl_vars['type']->value, 'UTF-8'), ENT_QUOTES, 'UTF-8');
                ?>
-status-<?php 
                echo htmlspecialchars(mb_strtolower($_smarty_tpl->tpl_vars['status']->value, 'UTF-8'), ENT_QUOTES, 'UTF-8');
                ?>
 {
            .buttonBackground(lighten(<?php 
                echo htmlspecialchars($_smarty_tpl->tpl_vars['status_data']->value['params']['color'], ENT_QUOTES, 'UTF-8');
                ?>
, 15%), darken(<?php 
                echo htmlspecialchars($_smarty_tpl->tpl_vars['status_data']->value['params']['color'], ENT_QUOTES, 'UTF-8');
                ?>
, 5%));
        }
    <?php 
            }
        }
        list($_capture_buffer, $_capture_assign, $_capture_append) = array_pop($_smarty_tpl->_capture_stack[0]);
        if (!empty($_capture_buffer)) {
            if (isset($_capture_assign)) {
                $_smarty_tpl->assign($_capture_assign, ob_get_contents());
            }
            if (isset($_capture_append)) {
                $_smarty_tpl->append($_capture_append, ob_get_contents());
            }
            Smarty::$_smarty_vars['capture'][$_capture_buffer] = ob_get_clean();
        } else {
            $_smarty_tpl->capture_error();
        }
        ?>

<?php 
        echo smarty_function_style(array('content' => Smarty::$_smarty_vars['capture']['styles'], 'type' => "less"), $_smarty_tpl);
        ?>

<?php 
    }
开发者ID:OneataBogdan,项目名称:lead_coriolan,代码行数:62,代码来源:6b92333258c9f4370c2924222a79b1cd30bd6164.tygh.styles.tpl.php

示例15: content_55dc759c7ba823_67022274

    function content_55dc759c7ba823_67022274($_smarty_tpl)
    {
        if (!is_callable('smarty_block_styles')) {
            include '/var/www/html/market/app/functions/smarty_plugins/block.styles.php';
        }
        if (!is_callable('smarty_block_hook')) {
            include '/var/www/html/market/app/functions/smarty_plugins/block.hook.php';
        }
        if (!is_callable('smarty_function_style')) {
            include '/var/www/html/market/app/functions/smarty_plugins/function.style.php';
        }
        if (!is_callable('smarty_function_set_id')) {
            include '/var/www/html/market/app/functions/smarty_plugins/function.set_id.php';
        }
        if ($_smarty_tpl->tpl_vars['runtime']->value['customization_mode']['design'] == "Y" && @constant('AREA') == "C") {
            $_smarty_tpl->_capture_stack[0][] = array("template_content", null, null);
            ob_start();
            $_smarty_tpl->smarty->_tag_stack[] = array('styles', array('use_scheme' => true, 'reflect_less' => $_smarty_tpl->tpl_vars['reflect_less']->value));
            $_block_repeat = true;
            echo smarty_block_styles(array('use_scheme' => true, 'reflect_less' => $_smarty_tpl->tpl_vars['reflect_less']->value), null, $_smarty_tpl, $_block_repeat);
            while ($_block_repeat) {
                ob_start();
                ?>

<?php 
                $_smarty_tpl->smarty->_tag_stack[] = array('hook', array('name' => "index:styles"));
                $_block_repeat = true;
                echo smarty_block_hook(array('name' => "index:styles"), null, $_smarty_tpl, $_block_repeat);
                while ($_block_repeat) {
                    ob_start();
                    ?>


    <?php 
                    echo smarty_function_style(array('src' => "styles.less"), $_smarty_tpl);
                    ?>

    <?php 
                    echo smarty_function_style(array('src' => "tygh/responsive.less"), $_smarty_tpl);
                    ?>


    
    <?php 
                    if ($_smarty_tpl->tpl_vars['runtime']->value['customization_mode']['live_editor'] || $_smarty_tpl->tpl_vars['runtime']->value['customization_mode']['design']) {
                        ?>
        <?php 
                        echo smarty_function_style(array('src' => "tygh/design_mode.less"), $_smarty_tpl);
                        ?>

    <?php 
                    }
                    ?>

    
    <?php 
                    if ($_smarty_tpl->tpl_vars['runtime']->value['customization_mode']['theme_editor']) {
                        ?>
        <?php 
                        echo smarty_function_style(array('src' => "tygh/theme_editor.less"), $_smarty_tpl);
                        ?>

    <?php 
                    }
                    $_block_content = ob_get_clean();
                    $_block_repeat = false;
                    echo smarty_block_hook(array('name' => "index:styles"), $_block_content, $_smarty_tpl, $_block_repeat);
                }
                array_pop($_smarty_tpl->smarty->_tag_stack);
                ?>

<?php 
                $_block_content = ob_get_clean();
                $_block_repeat = false;
                echo smarty_block_styles(array('use_scheme' => true, 'reflect_less' => $_smarty_tpl->tpl_vars['reflect_less']->value), $_block_content, $_smarty_tpl, $_block_repeat);
            }
            array_pop($_smarty_tpl->smarty->_tag_stack);
            list($_capture_buffer, $_capture_assign, $_capture_append) = array_pop($_smarty_tpl->_capture_stack[0]);
            if (!empty($_capture_buffer)) {
                if (isset($_capture_assign)) {
                    $_smarty_tpl->assign($_capture_assign, ob_get_contents());
                }
                if (isset($_capture_append)) {
                    $_smarty_tpl->append($_capture_append, ob_get_contents());
                }
                Smarty::$_smarty_vars['capture'][$_capture_buffer] = ob_get_clean();
            } else {
                $_smarty_tpl->capture_error();
            }
            if (trim(Smarty::$_smarty_vars['capture']['template_content'])) {
                if ($_smarty_tpl->tpl_vars['auth']->value['area'] == "A") {
                    ?>
<span class="cm-template-box template-box" data-ca-te-template="common/styles.tpl" id="<?php 
                    echo smarty_function_set_id(array('name' => "common/styles.tpl"), $_smarty_tpl);
                    ?>
"><div class="cm-template-icon icon-edit ty-icon-edit hidden"></div><?php 
                    echo Smarty::$_smarty_vars['capture']['template_content'];
                    ?>
<!--[/tpl_id]--></span><?php 
                } else {
//.........这里部分代码省略.........
开发者ID:AlanIsrael0,项目名称:market,代码行数:101,代码来源:3e1e40c3b1421969bbd4bfce18d155b8f4308594.tygh.styles.tpl.php


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