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


PHP smarty_function_decorator函数代码示例

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


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

示例1: content_5493cf1fd98ab2_70359875

    function content_5493cf1fd98ab2_70359875($_smarty_tpl)
    {
        if (!is_callable('smarty_block_block_decorator')) {
            include 'C:\\xampp\\htdocs\\havanabook\\ow_smarty\\plugin\\block.block_decorator.php';
        }
        if (!is_callable('smarty_function_text')) {
            include 'C:\\xampp\\htdocs\\havanabook\\ow_smarty\\plugin\\function.text.php';
        }
        if (!is_callable('smarty_function_decorator')) {
            include 'C:\\xampp\\htdocs\\havanabook\\ow_smarty\\plugin\\function.decorator.php';
        }
        $_smarty_tpl->smarty->_tag_stack[] = array('block_decorator', array('name' => "box", 'type' => "empty"));
        $_block_repeat = true;
        echo smarty_block_block_decorator(array('name' => "box", 'type' => "empty"), null, $_smarty_tpl, $_block_repeat);
        while ($_block_repeat) {
            ob_start();
            ?>

    <div class="ow_stdmargin" style="text-align: center;">
        <?php 
            echo smarty_function_text(array('key' => "base+admin_delete_user_text"), $_smarty_tpl);
            ?>
<br /><br /><br />
        <?php 
            echo smarty_function_decorator(array('name' => "button", 'id' => "baseDCButton", 'type' => "submit", 'buttonName' => "delete_user_button", 'class' => "ow_ic_delete ow_red", 'langLabel' => "base+delete_user_delete_button"), $_smarty_tpl);
            ?>

    </div>
<?php 
            $_block_content = ob_get_clean();
            $_block_repeat = false;
            echo smarty_block_block_decorator(array('name' => "box", 'type' => "empty"), $_block_content, $_smarty_tpl, $_block_repeat);
        }
        array_pop($_smarty_tpl->smarty->_tag_stack);
    }
开发者ID:jorgemunoz8807,项目名称:havanabook,代码行数:35,代码来源:f9ec637f81f7a4f3ad216457cde133b09118d894.file.delete_user.html.php

示例2: content_548e5310941967_84047426

    function content_548e5310941967_84047426($_smarty_tpl)
    {
        if (!is_callable('smarty_function_decorator')) {
            include 'C:\\xampp\\htdocs\\havanabook\\ow_smarty\\plugin\\function.decorator.php';
        }
        if (empty($_smarty_tpl->tpl_vars['events']->value)) {
            ?>
<div class="ow_nocontent"><?php 
            echo $_smarty_tpl->tpl_vars['no_content_message']->value;
            ?>
</div>
<?php 
        } else {
            $_smarty_tpl->tpl_vars['event'] = new Smarty_Variable();
            $_smarty_tpl->tpl_vars['event']->_loop = false;
            $_from = $_smarty_tpl->tpl_vars['events']->value;
            if (!is_array($_from) && !is_object($_from)) {
                settype($_from, 'array');
            }
            foreach ($_from as $_smarty_tpl->tpl_vars['event']->key => $_smarty_tpl->tpl_vars['event']->value) {
                $_smarty_tpl->tpl_vars['event']->_loop = true;
                ?>
    <?php 
                echo smarty_function_decorator(array('name' => 'ipc', 'addClass' => 'ow_smallmargin', 'data' => $_smarty_tpl->tpl_vars['event']->value, 'infoString' => "<a href=\"" . (string) $_smarty_tpl->tpl_vars['event']->value['eventUrl'] . "\">" . (string) $_smarty_tpl->tpl_vars['event']->value['title'] . "</a>"), $_smarty_tpl);
                ?>

<?php 
            }
            if (!empty($_smarty_tpl->tpl_vars['toolbar']->value)) {
                echo smarty_function_decorator(array('name' => 'box_toolbar', 'itemList' => $_smarty_tpl->tpl_vars['toolbar']->value), $_smarty_tpl);
            }
        }
    }
开发者ID:jorgemunoz8807,项目名称:havanabook,代码行数:33,代码来源:096774e9d6f9e79e135b43fc408f71ca02e0f197.file.upcoming_events.html.php

示例3: content_548e5f7d136ce9_98881776

    function content_548e5f7d136ce9_98881776($_smarty_tpl)
    {
        if (!is_callable('smarty_function_decorator')) {
            include 'C:\\xampp\\htdocs\\havanabook\\ow_smarty\\plugin\\function.decorator.php';
        }
        if ($_smarty_tpl->tpl_vars['mailModeEnabled']->value && $_smarty_tpl->tpl_vars['isAuthorizedSendMessage']->value) {
            ?>
<div class="ow_content_menu_wrap clearfix">
    <div class="ow_right">
        <?php 
            echo smarty_function_decorator(array('name' => "button", 'type' => "button", 'class' => "ow_ic_add", 'id' => "newMessageBtn", 'langLabel' => 'mailbox+label_btn_new_message'), $_smarty_tpl);
            ?>

    </div>
</div>
<?php 
        }
        ?>
<div class="ow_mailbox_table ow_alt1 clearfix <?php 
        if (!$_smarty_tpl->tpl_vars['mailModeEnabled']->value || !$_smarty_tpl->tpl_vars['chatModeEnabled']->value) {
            ?>
ow_mailbox_table_single<?php 
        }
        ?>
" id="messagesContainerControl">
    <?php 
        echo $_smarty_tpl->tpl_vars['conversationList']->value;
        ?>

    <?php 
        echo $_smarty_tpl->tpl_vars['conversationContainer']->value;
        ?>

</div><?php 
    }
开发者ID:jorgemunoz8807,项目名称:havanabook,代码行数:35,代码来源:ff99f5294d362030ef282fa55a64ea1d14b9a535.file.messages_index.html.php

示例4: content_548faebf542c84_90451751

    function content_548faebf542c84_90451751($_smarty_tpl)
    {
        if (!is_callable('smarty_function_decorator')) {
            include 'C:\\xampp\\htdocs\\havanabook\\ow_smarty\\plugin\\function.decorator.php';
        }
        ?>
<div class="questions-list" id="<?php 
        echo $_smarty_tpl->tpl_vars['uniqId']->value;
        ?>
">
    <ul class="ql-items ow_smallmargin">
        <?php 
        echo $_smarty_tpl->tpl_vars['list']->value;
        ?>

    </ul>
    <?php 
        if ($_smarty_tpl->tpl_vars['viewMore']->value) {
            ?>
        <div class="ql_view_more_c">
            <?php 
            echo smarty_function_decorator(array('name' => "button", 'class' => "ql_view_more ow_ic_down_arrow", 'langLabel' => "questions+view_more_questions_btn"), $_smarty_tpl);
            ?>

        </div>
    <?php 
        }
        ?>
</div><?php 
    }
开发者ID:jorgemunoz8807,项目名称:havanabook,代码行数:30,代码来源:57c8a5eaad41df3951297d44849951f64fef055c.file.feed.html.php

示例5: content_548fa55289c3e5_77479449

    function content_548fa55289c3e5_77479449($_smarty_tpl)
    {
        if (!is_callable('smarty_block_block_decorator')) {
            include 'C:\\xampp\\htdocs\\havanabook\\ow_smarty\\plugin\\block.block_decorator.php';
        }
        if (!is_callable('smarty_function_text')) {
            include 'C:\\xampp\\htdocs\\havanabook\\ow_smarty\\plugin\\function.text.php';
        }
        if (!is_callable('smarty_function_decorator')) {
            include 'C:\\xampp\\htdocs\\havanabook\\ow_smarty\\plugin\\function.decorator.php';
        }
        $_smarty_tpl->smarty->_tag_stack[] = array('block_decorator', array('name' => "box", 'type' => "empty", 'addClass' => "ow_stdmargin ow_wide ow_automargin ow_center"));
        $_block_repeat = true;
        echo smarty_block_block_decorator(array('name' => "box", 'type' => "empty", 'addClass' => "ow_stdmargin ow_wide ow_automargin ow_center"), null, $_smarty_tpl, $_block_repeat);
        while ($_block_repeat) {
            ob_start();
            ?>

    <?php 
            echo smarty_function_text(array('key' => "base+delete_user_confirmation"), $_smarty_tpl);
            ?>

<?php 
            $_block_content = ob_get_clean();
            $_block_repeat = false;
            echo smarty_block_block_decorator(array('name' => "box", 'type' => "empty", 'addClass' => "ow_stdmargin ow_wide ow_automargin ow_center"), $_block_content, $_smarty_tpl, $_block_repeat);
        }
        array_pop($_smarty_tpl->smarty->_tag_stack);
        ?>


<?php 
        $_smarty_tpl->smarty->_tag_stack[] = array('block_decorator', array('name' => "box", 'type' => "empty", 'addClass' => "ow_stdmargin ow_wide ow_automargin ow_center"));
        $_block_repeat = true;
        echo smarty_block_block_decorator(array('name' => "box", 'type' => "empty", 'addClass' => "ow_stdmargin ow_wide ow_automargin ow_center"), null, $_smarty_tpl, $_block_repeat);
        while ($_block_repeat) {
            ob_start();
            ?>

    <form name="deleteUser" method="post">
        <?php 
            echo smarty_function_decorator(array('name' => "button", 'type' => "submit", 'buttonName' => "delete_user_button", 'class' => "ow_ic_delete ow_red", 'langLabel' => "base+delete_user_delete_button"), $_smarty_tpl);
            ?>

        <?php 
            echo smarty_function_decorator(array('name' => "button", 'type' => "submit", 'buttonName' => "cansel_button", 'langLabel' => "base+delete_user_cancel_button"), $_smarty_tpl);
            ?>

    </form>
<?php 
            $_block_content = ob_get_clean();
            $_block_repeat = false;
            echo smarty_block_block_decorator(array('name' => "box", 'type' => "empty", 'addClass' => "ow_stdmargin ow_wide ow_automargin ow_center"), $_block_content, $_smarty_tpl, $_block_repeat);
        }
        array_pop($_smarty_tpl->smarty->_tag_stack);
        ?>

<?php 
    }
开发者ID:jorgemunoz8807,项目名称:havanabook,代码行数:59,代码来源:720c95b5a8ba713bb10ab3b3c0cd428703dd5e1f.file.delete_user_index.html.php

示例6: content_5555a6e078ff38_80803903

    function content_5555a6e078ff38_80803903($_smarty_tpl)
    {
        if (!is_callable('smarty_block_block_decorator')) {
            include '/homepages/11/d222791150/htdocs/Hammulandingpage/hammu/ow_smarty/plugin/block.block_decorator.php';
        }
        if (!is_callable('smarty_function_text')) {
            include '/homepages/11/d222791150/htdocs/Hammulandingpage/hammu/ow_smarty/plugin/function.text.php';
        }
        if (!is_callable('smarty_function_decorator')) {
            include '/homepages/11/d222791150/htdocs/Hammulandingpage/hammu/ow_smarty/plugin/function.decorator.php';
        }
        $_smarty_tpl->smarty->_tag_stack[] = array('block_decorator', array('name' => "box", 'type' => "empty", 'addClass' => "ow_stdmargin ow_wide ow_automargin ow_center"));
        $_block_repeat = true;
        echo smarty_block_block_decorator(array('name' => "box", 'type' => "empty", 'addClass' => "ow_stdmargin ow_wide ow_automargin ow_center"), null, $_smarty_tpl, $_block_repeat);
        while ($_block_repeat) {
            ob_start();
            ?>

    <?php 
            echo smarty_function_text(array('key' => "base+delete_user_confirmation"), $_smarty_tpl);
            ?>

<?php 
            $_block_content = ob_get_clean();
            $_block_repeat = false;
            echo smarty_block_block_decorator(array('name' => "box", 'type' => "empty", 'addClass' => "ow_stdmargin ow_wide ow_automargin ow_center"), $_block_content, $_smarty_tpl, $_block_repeat);
        }
        array_pop($_smarty_tpl->smarty->_tag_stack);
        ?>


<?php 
        $_smarty_tpl->smarty->_tag_stack[] = array('block_decorator', array('name' => "box", 'type' => "empty", 'addClass' => "ow_stdmargin ow_wide ow_automargin ow_center"));
        $_block_repeat = true;
        echo smarty_block_block_decorator(array('name' => "box", 'type' => "empty", 'addClass' => "ow_stdmargin ow_wide ow_automargin ow_center"), null, $_smarty_tpl, $_block_repeat);
        while ($_block_repeat) {
            ob_start();
            ?>

    <form name="deleteUser" method="post">
        <?php 
            echo smarty_function_decorator(array('name' => "button", 'type' => "submit", 'buttonName' => "delete_user_button", 'class' => "ow_ic_delete ow_red", 'langLabel' => "base+delete_user_delete_button"), $_smarty_tpl);
            ?>

        <?php 
            echo smarty_function_decorator(array('name' => "button", 'type' => "submit", 'buttonName' => "cansel_button", 'langLabel' => "base+delete_user_cancel_button"), $_smarty_tpl);
            ?>

    </form>
<?php 
            $_block_content = ob_get_clean();
            $_block_repeat = false;
            echo smarty_block_block_decorator(array('name' => "box", 'type' => "empty", 'addClass' => "ow_stdmargin ow_wide ow_automargin ow_center"), $_block_content, $_smarty_tpl, $_block_repeat);
        }
        array_pop($_smarty_tpl->smarty->_tag_stack);
        ?>

<?php 
    }
开发者ID:bhushansonar,项目名称:hammu,代码行数:59,代码来源:f09f30aa9bde66870b5a9da9bd46e7c8b1e61521.file.delete_user_index.html.php

示例7: content_548e8c476f35c9_46727590

    function content_548e8c476f35c9_46727590($_smarty_tpl)
    {
        if (!is_callable('smarty_function_decorator')) {
            include 'C:\\xampp\\htdocs\\havanabook\\ow_smarty\\plugin\\function.decorator.php';
        }
        ?>
<div class="owm_box<?php 
        echo $_smarty_tpl->tpl_vars['data']->value['addClass'];
        ?>
">
    <?php 
        if ($_smarty_tpl->tpl_vars['data']->value['capEnabled']) {
            ?>
        <div class="owm_box_cap<?php 
            echo $_smarty_tpl->tpl_vars['data']->value['capAddClass'];
            ?>
 clearfix">
            <?php 
            if (!empty($_smarty_tpl->tpl_vars['data']->value['label'])) {
                ?>
<h3 class="<?php 
                echo $_smarty_tpl->tpl_vars['data']->value['iconClass'];
                ?>
"><?php 
                echo $_smarty_tpl->tpl_vars['data']->value['label'];
                ?>
</h3><?php 
            }
            echo $_smarty_tpl->tpl_vars['data']->value['capContent'];
            ?>

        </div>
    <?php 
        }
        ?>
    <div class="owm_box_body">
        <div class="owm_box_body_cont clearfix">
            <div class="owm_box_padding">
                <?php 
        echo $_smarty_tpl->tpl_vars['data']->value['content'];
        ?>

            </div>
        </div>
    </div>
    <?php 
        if (!empty($_smarty_tpl->tpl_vars['data']->value['toolbar'])) {
            ?>
        <div class="owm_box_bottom">
            <?php 
            echo smarty_function_decorator(array('name' => 'box_toolbar', 'itemList' => $_smarty_tpl->tpl_vars['data']->value['toolbar']), $_smarty_tpl);
            ?>

        </div>
    <?php 
        }
        ?>
</div><?php 
    }
开发者ID:jorgemunoz8807,项目名称:havanabook,代码行数:59,代码来源:6fdf945565f0efd25b459a892627eea60cd53c1e.file.box.html.php

示例8: content_55b23ba335fc84_97651798

    function content_55b23ba335fc84_97651798($_smarty_tpl)
    {
        if (!is_callable('smarty_function_decorator')) {
            include '/homepages/11/d222791150/htdocs/Hammulandingpage/hammu/ow_smarty/plugin/function.decorator.php';
        }
        if (!empty($_smarty_tpl->tpl_vars['menu']->value)) {
            echo $_smarty_tpl->tpl_vars['menu']->value;
        }
        ?>
<div id="<?php 
        echo $_smarty_tpl->tpl_vars['widgetId']->value;
        ?>
">
	<?php 
        $_smarty_tpl->tpl_vars['item'] = new Smarty_Variable();
        $_smarty_tpl->tpl_vars['item']->_loop = false;
        $_smarty_tpl->tpl_vars['type'] = new Smarty_Variable();
        $_from = $_smarty_tpl->tpl_vars['data']->value;
        if (!is_array($_from) && !is_object($_from)) {
            settype($_from, 'array');
        }
        foreach ($_from as $_smarty_tpl->tpl_vars['item']->key => $_smarty_tpl->tpl_vars['item']->value) {
            $_smarty_tpl->tpl_vars['item']->_loop = true;
            $_smarty_tpl->tpl_vars['type']->value = $_smarty_tpl->tpl_vars['item']->key;
            ?>
		<div id="<?php 
            echo $_smarty_tpl->tpl_vars['item']->value['contId'];
            ?>
" style="display:<?php 
            if ($_smarty_tpl->tpl_vars['item']->value['active']) {
                ?>
block<?php 
            } else {
                ?>
none<?php 
            }
            ?>
;"><?php 
            echo $_smarty_tpl->tpl_vars['item']->value['users'];
            ?>
</div>
		<?php 
            if (!empty($_smarty_tpl->tpl_vars['item']->value['toolbarId'])) {
                ?>
<div id="<?php 
                echo $_smarty_tpl->tpl_vars['item']->value['toolbarId'];
                ?>
"  style="display: none;"><?php 
                echo smarty_function_decorator(array('name' => 'box_toolbar', 'class' => "clearfix", 'itemList' => $_smarty_tpl->tpl_vars['item']->value['toolbar']), $_smarty_tpl);
                ?>
</div><?php 
            }
            ?>
	<?php 
        }
        ?>
</div><?php 
    }
开发者ID:hardikamutech,项目名称:hammu,代码行数:58,代码来源:48eafdbff61db9900b0a8882e43027473887303c.file.users_widget.html.php

示例9: content_5349e254e23317_49599650

    function content_5349e254e23317_49599650($_smarty_tpl)
    {
        if (!is_callable('smarty_function_decorator')) {
            include '/home/agilekod/domains/baksmaker.com/public_html/fulfill/ow_smarty/plugin/function.decorator.php';
        }
        if (!empty($_smarty_tpl->tpl_vars['menu']->value)) {
            echo $_smarty_tpl->tpl_vars['menu']->value;
        }
        ?>
<div id="<?php 
        echo $_smarty_tpl->tpl_vars['widgetId']->value;
        ?>
">
	<?php 
        $_smarty_tpl->tpl_vars['item'] = new Smarty_Variable();
        $_smarty_tpl->tpl_vars['item']->_loop = false;
        $_smarty_tpl->tpl_vars['type'] = new Smarty_Variable();
        $_from = $_smarty_tpl->tpl_vars['data']->value;
        if (!is_array($_from) && !is_object($_from)) {
            settype($_from, 'array');
        }
        foreach ($_from as $_smarty_tpl->tpl_vars['item']->key => $_smarty_tpl->tpl_vars['item']->value) {
            $_smarty_tpl->tpl_vars['item']->_loop = true;
            $_smarty_tpl->tpl_vars['type']->value = $_smarty_tpl->tpl_vars['item']->key;
            ?>
		<div id="<?php 
            echo $_smarty_tpl->tpl_vars['item']->value['contId'];
            ?>
" style="display:<?php 
            if ($_smarty_tpl->tpl_vars['item']->value['active']) {
                ?>
block<?php 
            } else {
                ?>
none<?php 
            }
            ?>
;"><?php 
            echo $_smarty_tpl->tpl_vars['item']->value['users'];
            ?>
</div>
		<?php 
            if (!empty($_smarty_tpl->tpl_vars['item']->value['toolbarId'])) {
                ?>
<div id="<?php 
                echo $_smarty_tpl->tpl_vars['item']->value['toolbarId'];
                ?>
"  style="display: none;"><?php 
                echo smarty_function_decorator(array('name' => 'box_toolbar', 'class' => "clearfix", 'itemList' => $_smarty_tpl->tpl_vars['item']->value['toolbar']), $_smarty_tpl);
                ?>
</div><?php 
            }
            ?>
	<?php 
        }
        ?>
</div><?php 
    }
开发者ID:vazahat,项目名称:dudex,代码行数:58,代码来源:5e8a21bf05034884b08b03e48b1bafe2812126e3.file.users_widget.html.php

示例10: content_548e53105d7ee8_77290268

    function content_548e53105d7ee8_77290268($_smarty_tpl)
    {
        if (!is_callable('smarty_function_decorator')) {
            include 'C:\\xampp\\htdocs\\havanabook\\ow_smarty\\plugin\\function.decorator.php';
        }
        if (!empty($_smarty_tpl->tpl_vars['menu']->value)) {
            echo $_smarty_tpl->tpl_vars['menu']->value;
        }
        ?>
<div id="<?php 
        echo $_smarty_tpl->tpl_vars['widgetId']->value;
        ?>
">
	<?php 
        $_smarty_tpl->tpl_vars['item'] = new Smarty_Variable();
        $_smarty_tpl->tpl_vars['item']->_loop = false;
        $_smarty_tpl->tpl_vars['type'] = new Smarty_Variable();
        $_from = $_smarty_tpl->tpl_vars['data']->value;
        if (!is_array($_from) && !is_object($_from)) {
            settype($_from, 'array');
        }
        foreach ($_from as $_smarty_tpl->tpl_vars['item']->key => $_smarty_tpl->tpl_vars['item']->value) {
            $_smarty_tpl->tpl_vars['item']->_loop = true;
            $_smarty_tpl->tpl_vars['type']->value = $_smarty_tpl->tpl_vars['item']->key;
            ?>
		<div id="<?php 
            echo $_smarty_tpl->tpl_vars['item']->value['contId'];
            ?>
" style="display:<?php 
            if ($_smarty_tpl->tpl_vars['item']->value['active']) {
                ?>
block<?php 
            } else {
                ?>
none<?php 
            }
            ?>
;"><?php 
            echo $_smarty_tpl->tpl_vars['item']->value['users'];
            ?>
</div>
		<?php 
            if (!empty($_smarty_tpl->tpl_vars['item']->value['toolbarId'])) {
                ?>
<div id="<?php 
                echo $_smarty_tpl->tpl_vars['item']->value['toolbarId'];
                ?>
"  style="display: none;"><?php 
                echo smarty_function_decorator(array('name' => 'box_toolbar', 'class' => "clearfix", 'itemList' => $_smarty_tpl->tpl_vars['item']->value['toolbar']), $_smarty_tpl);
                ?>
</div><?php 
            }
            ?>
	<?php 
        }
        ?>
</div><?php 
    }
开发者ID:jorgemunoz8807,项目名称:havanabook,代码行数:58,代码来源:dc7d37cef82d16a67205ee4f4d9a7fe96e453d51.file.users_widget.html.php

示例11: content_548e930d5aa878_14511460

    function content_548e930d5aa878_14511460($_smarty_tpl)
    {
        if (!is_callable('smarty_function_decorator')) {
            include 'C:\\xampp\\htdocs\\havanabook\\ow_smarty\\plugin\\function.decorator.php';
        }
        if (!is_callable('smarty_function_text')) {
            include 'C:\\xampp\\htdocs\\havanabook\\ow_smarty\\plugin\\function.text.php';
        }
        if (!empty($_smarty_tpl->tpl_vars['list']->value)) {
            $_smarty_tpl->tpl_vars['item'] = new Smarty_Variable();
            $_smarty_tpl->tpl_vars['item']->_loop = false;
            $_from = $_smarty_tpl->tpl_vars['list']->value;
            if (!is_array($_from) && !is_object($_from)) {
                settype($_from, 'array');
            }
            foreach ($_from as $_smarty_tpl->tpl_vars['item']->key => $_smarty_tpl->tpl_vars['item']->value) {
                $_smarty_tpl->tpl_vars['item']->_loop = true;
                $_smarty_tpl->tpl_vars['dto'] = new Smarty_variable($_smarty_tpl->tpl_vars['item']->value['dto'], null, 0);
                $_smarty_tpl->tpl_vars['id'] = new Smarty_variable($_smarty_tpl->tpl_vars['dto']->value->id, null, 0);
                ?>
<div class="owm_content_list_item" onclick=" window.location.href='<?php 
                echo $_smarty_tpl->tpl_vars['avatars']->value[$_smarty_tpl->tpl_vars['id']->value]['url'];
                ?>
'  ">
    <div class="owm_user_list_item">
        <div class="owm_avatar">
            <?php 
                echo smarty_function_decorator(array('name' => 'avatar_item', 'data' => $_smarty_tpl->tpl_vars['avatars']->value[$_smarty_tpl->tpl_vars['id']->value]), $_smarty_tpl);
                ?>

        </div>
        <div class="owm_user_list_name"><span><?php 
                echo $_smarty_tpl->tpl_vars['displayNameList']->value[$_smarty_tpl->tpl_vars['id']->value];
                ?>
</span></div>
        <?php 
                if (!empty($_smarty_tpl->tpl_vars['onlineInfo']->value) && $_smarty_tpl->tpl_vars['onlineInfo']->value[$_smarty_tpl->tpl_vars['id']->value]) {
                    ?>
            <div class="owm_profile_online">
            </div>
        <?php 
                }
                ?>
    </div>
</div>
<?php 
            }
        } else {
            ?>
    <div class="owm_nocontent"><?php 
            echo smarty_function_text(array('key' => "base+user_no_users"), $_smarty_tpl);
            ?>
</div>
<?php 
        }
    }
开发者ID:jorgemunoz8807,项目名称:havanabook,代码行数:56,代码来源:3941c06a5b18240336dc9f9391ae787f1357f869.file.user_list.html.php

示例12: content_558900fcd74253_03783202

    function content_558900fcd74253_03783202($_smarty_tpl)
    {
        if (!is_callable('smarty_function_text')) {
            include 'E:\\wamp\\www\\hammu\\ow_smarty\\plugin\\function.text.php';
        }
        if (!is_callable('smarty_function_decorator')) {
            include 'E:\\wamp\\www\\hammu\\ow_smarty\\plugin\\function.decorator.php';
        }
        ?>
<div class="ow_lp_avatars<?php 
        if (!empty($_smarty_tpl->tpl_vars['css_class']->value)) {
            ?>
 <?php 
            echo $_smarty_tpl->tpl_vars['css_class']->value;
        }
        ?>
">
    <?php 
        if (empty($_smarty_tpl->tpl_vars['users']->value)) {
            ?>
        <div class="ow_nocontent"><?php 
            echo smarty_function_text(array('key' => 'base+empty_user_avatar_list'), $_smarty_tpl);
            ?>
</div>
    <?php 
        } else {
            ?>
        <?php 
            $_smarty_tpl->tpl_vars['user'] = new Smarty_Variable();
            $_smarty_tpl->tpl_vars['user']->_loop = false;
            $_from = $_smarty_tpl->tpl_vars['users']->value;
            if (!is_array($_from) && !is_object($_from)) {
                settype($_from, 'array');
            }
            foreach ($_from as $_smarty_tpl->tpl_vars['user']->key => $_smarty_tpl->tpl_vars['user']->value) {
                $_smarty_tpl->tpl_vars['user']->_loop = true;
                echo smarty_function_decorator(array('name' => 'avatar_item', 'data' => $_smarty_tpl->tpl_vars['user']->value), $_smarty_tpl);
            }
            if (!empty($_smarty_tpl->tpl_vars['view_more_array']->value)) {
                ?>
<a href="<?php 
                echo $_smarty_tpl->tpl_vars['view_more_array']->value['url'];
                ?>
" title="<?php 
                echo $_smarty_tpl->tpl_vars['view_more_array']->value['title'];
                ?>
" class="avatar_list_more_icon"></a><?php 
            }
            ?>
    <?php 
        }
        ?>
    
</div><?php 
    }
开发者ID:bhushansonar,项目名称:hammu,代码行数:55,代码来源:2574676645f803f96cf9d16184a35ad2e875aae7.file.avatar_user_list.html.php

示例13: content_55b23ba31f2421_42579643

    function content_55b23ba31f2421_42579643($_smarty_tpl)
    {
        if (!is_callable('smarty_function_text')) {
            include '/homepages/11/d222791150/htdocs/Hammulandingpage/hammu/ow_smarty/plugin/function.text.php';
        }
        if (!is_callable('smarty_function_decorator')) {
            include '/homepages/11/d222791150/htdocs/Hammulandingpage/hammu/ow_smarty/plugin/function.decorator.php';
        }
        ?>
<div class="ow_lp_avatars<?php 
        if (!empty($_smarty_tpl->tpl_vars['css_class']->value)) {
            ?>
 <?php 
            echo $_smarty_tpl->tpl_vars['css_class']->value;
        }
        ?>
">
    <?php 
        if (empty($_smarty_tpl->tpl_vars['users']->value)) {
            ?>
        <div class="ow_nocontent"><?php 
            echo smarty_function_text(array('key' => 'base+empty_user_avatar_list'), $_smarty_tpl);
            ?>
</div>
    <?php 
        } else {
            ?>
        <?php 
            $_smarty_tpl->tpl_vars['user'] = new Smarty_Variable();
            $_smarty_tpl->tpl_vars['user']->_loop = false;
            $_from = $_smarty_tpl->tpl_vars['users']->value;
            if (!is_array($_from) && !is_object($_from)) {
                settype($_from, 'array');
            }
            foreach ($_from as $_smarty_tpl->tpl_vars['user']->key => $_smarty_tpl->tpl_vars['user']->value) {
                $_smarty_tpl->tpl_vars['user']->_loop = true;
                echo smarty_function_decorator(array('name' => 'avatar_item', 'data' => $_smarty_tpl->tpl_vars['user']->value), $_smarty_tpl);
            }
            if (!empty($_smarty_tpl->tpl_vars['view_more_array']->value)) {
                ?>
<a href="<?php 
                echo $_smarty_tpl->tpl_vars['view_more_array']->value['url'];
                ?>
" title="<?php 
                echo $_smarty_tpl->tpl_vars['view_more_array']->value['title'];
                ?>
" class="avatar_list_more_icon"></a><?php 
            }
            ?>
    <?php 
        }
        ?>
    
</div><?php 
    }
开发者ID:hardikamutech,项目名称:hammu,代码行数:55,代码来源:13596d0fe1f980a4815ba67b0ece0870350347c2.file.avatar_user_list.html.php

示例14: content_5349e254d46dd3_49807315

    function content_5349e254d46dd3_49807315($_smarty_tpl)
    {
        if (!is_callable('smarty_function_text')) {
            include '/home/agilekod/domains/baksmaker.com/public_html/fulfill/ow_smarty/plugin/function.text.php';
        }
        if (!is_callable('smarty_function_decorator')) {
            include '/home/agilekod/domains/baksmaker.com/public_html/fulfill/ow_smarty/plugin/function.decorator.php';
        }
        ?>
<div class="ow_lp_avatars<?php 
        if (!empty($_smarty_tpl->tpl_vars['css_class']->value)) {
            ?>
 <?php 
            echo $_smarty_tpl->tpl_vars['css_class']->value;
        }
        ?>
">
    <?php 
        if (empty($_smarty_tpl->tpl_vars['users']->value)) {
            ?>
    <div class="ow_nocontent"><?php 
            echo smarty_function_text(array('key' => 'base+empty_user_avatar_list'), $_smarty_tpl);
            ?>
</div>
    <?php 
        } else {
            ?>
    <?php 
            $_smarty_tpl->tpl_vars['user'] = new Smarty_Variable();
            $_smarty_tpl->tpl_vars['user']->_loop = false;
            $_from = $_smarty_tpl->tpl_vars['users']->value;
            if (!is_array($_from) && !is_object($_from)) {
                settype($_from, 'array');
            }
            foreach ($_from as $_smarty_tpl->tpl_vars['user']->key => $_smarty_tpl->tpl_vars['user']->value) {
                $_smarty_tpl->tpl_vars['user']->_loop = true;
                echo smarty_function_decorator(array('name' => 'avatar_item', 'data' => $_smarty_tpl->tpl_vars['user']->value), $_smarty_tpl);
            }
            if (!empty($_smarty_tpl->tpl_vars['view_more_array']->value)) {
                ?>
<a href="<?php 
                echo $_smarty_tpl->tpl_vars['view_more_array']->value['url'];
                ?>
" title="<?php 
                echo $_smarty_tpl->tpl_vars['view_more_array']->value['title'];
                ?>
" class="avatar_list_more_icon"></a><?php 
            }
            ?>
    <?php 
        }
        ?>
    
</div><?php 
    }
开发者ID:vazahat,项目名称:dudex,代码行数:55,代码来源:6110d761a323e50eeea9240a28fd4079181754e8.file.avatar_user_list.html.php

示例15: content_5589010f964012_66226774

    function content_5589010f964012_66226774($_smarty_tpl)
    {
        if (!is_callable('smarty_block_style')) {
            include 'E:\\wamp\\www\\hammu\\ow_smarty\\plugin\\block.style.php';
        }
        if (!is_callable('smarty_function_decorator')) {
            include 'E:\\wamp\\www\\hammu\\ow_smarty\\plugin\\function.decorator.php';
        }
        $_smarty_tpl->smarty->_tag_stack[] = array('style', array());
        $_block_repeat = true;
        echo smarty_block_style(array(), null, $_smarty_tpl, $_block_repeat);
        while ($_block_repeat) {
            ob_start();
            ?>


.ow_box_empty{ padding:0px !important; }
.ladyhome_left .ow_stdmargin{ margin-bottom:60px !important;}
.sign_joinbtn{ line-height:60px !important;}


<?php 
            $_block_content = ob_get_clean();
            $_block_repeat = false;
            echo smarty_block_style(array(), $_block_content, $_smarty_tpl, $_block_repeat);
        }
        array_pop($_smarty_tpl->smarty->_tag_stack);
        ?>

<div class="ow_my_avatar_widget clearfix my_img">
	<div class="ow_left ow_my_avatar_img lady_pic"><?php 
        echo smarty_function_decorator(array('name' => 'avatar_item', 'data' => $_smarty_tpl->tpl_vars['avatar']->value), $_smarty_tpl);
        ?>
</div>
    <div class="ow_my_avatar_cont my_name">
    	<a href="<?php 
        echo $_smarty_tpl->tpl_vars['avatar']->value['url'];
        ?>
" class="ow_my_avatar_username"><span><?php 
        echo $_smarty_tpl->tpl_vars['avatar']->value['title'];
        ?>
</span></a>
    </div>
        <div class="lady_btn">
            <a class="sign_joinbtn" href="<?php 
        echo $_smarty_tpl->tpl_vars['site_url']->value;
        ?>
sign-out">Sign Out</a>
        </div>
</div><?php 
    }
开发者ID:bhushansonar,项目名称:hammu,代码行数:51,代码来源:87bc5b6ced49ecf103d8cc3c2b9e1fd63b580dc3.file.my_avatar_widget.html.php


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