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


PHP smarty_function_input函数代码示例

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


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

示例1: content_548e8fd641eeb6_54807543

    function content_548e8fd641eeb6_54807543($_smarty_tpl)
    {
        if (!is_callable('smarty_block_style')) {
            include 'C:\\xampp\\htdocs\\havanabook\\ow_smarty\\plugin\\block.style.php';
        }
        if (!is_callable('smarty_block_form')) {
            include 'C:\\xampp\\htdocs\\havanabook\\ow_smarty\\plugin\\block.form.php';
        }
        if (!is_callable('smarty_function_input')) {
            include 'C:\\xampp\\htdocs\\havanabook\\ow_smarty\\plugin\\function.input.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();
            ?>


.flags-input ul li{
    float: left;
    width: 100px !important;
    text-align: left;
}

<?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 style="height: 40px; text-align: center; margin-top: 10px;" class="flags-container">
<?php 
        $_smarty_tpl->smarty->_tag_stack[] = array('form', array('name' => "flag"));
        $_block_repeat = true;
        echo smarty_block_form(array('name' => "flag"), null, $_smarty_tpl, $_block_repeat);
        while ($_block_repeat) {
            ob_start();
            ?>

    <div class="clearfix flags-input">
        <?php 
            echo smarty_function_input(array('name' => "reason", 'onchange' => "\$" . "(this.form).submit(); " . "\$" . "('.flags-input').hide(); " . "\$" . "('.flags-container').addClass('ow_preloader_content');"), $_smarty_tpl);
            ?>

    </div>
<?php 
            $_block_content = ob_get_clean();
            $_block_repeat = false;
            echo smarty_block_form(array('name' => "flag"), $_block_content, $_smarty_tpl, $_block_repeat);
        }
        array_pop($_smarty_tpl->smarty->_tag_stack);
        ?>

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

示例2: content_5493cf40058a46_10119319

    function content_5493cf40058a46_10119319($_smarty_tpl)
    {
        if (!is_callable('smarty_block_form')) {
            include 'C:\\xampp\\htdocs\\havanabook\\ow_smarty\\plugin\\block.form.php';
        }
        if (!is_callable('smarty_function_text')) {
            include 'C:\\xampp\\htdocs\\havanabook\\ow_smarty\\plugin\\function.text.php';
        }
        if (!is_callable('smarty_function_input')) {
            include 'C:\\xampp\\htdocs\\havanabook\\ow_smarty\\plugin\\function.input.php';
        }
        if (!is_callable('smarty_function_submit')) {
            include 'C:\\xampp\\htdocs\\havanabook\\ow_smarty\\plugin\\function.submit.php';
        }
        $_smarty_tpl->smarty->_tag_stack[] = array('form', array('name' => "set_suspend_message"));
        $_block_repeat = true;
        echo smarty_block_form(array('name' => "set_suspend_message"), null, $_smarty_tpl, $_block_repeat);
        while ($_block_repeat) {
            ob_start();
            ?>

<div class="ow_std_margin">
 
        <?php 
            echo smarty_function_text(array('key' => "base+set_suspend_message_label"), $_smarty_tpl);
            ?>

        <?php 
            echo smarty_function_input(array('name' => 'message'), $_smarty_tpl);
            ?>

        

    
</div>
<div class="ow_right">
    <?php 
            echo smarty_function_submit(array('name' => 'submit'), $_smarty_tpl);
            ?>

</div>
<?php 
            $_block_content = ob_get_clean();
            $_block_repeat = false;
            echo smarty_block_form(array('name' => "set_suspend_message"), $_block_content, $_smarty_tpl, $_block_repeat);
        }
        array_pop($_smarty_tpl->smarty->_tag_stack);
    }
开发者ID:jorgemunoz8807,项目名称:havanabook,代码行数:48,代码来源:1f44797fae02baa92a25d949c8e7fd9456aeb96d.file.set_suspend_message.html.php

示例3: content_55e9605e911854_68772435

    function content_55e9605e911854_68772435($_smarty_tpl)
    {
        if (!is_callable('smarty_modifier_cut')) {
            require_once 'plugins\\modifier.cut.php';
        }
        if (!is_callable('smarty_function_input')) {
            require_once 'plugins\\function.input.php';
        }
        $_smarty_tpl->properties['nocache_hash'] = '2265155e9605e7b9bf3_62485938';
        ?>
<!DOCTYPE html>
<html>
<head>

<meta charset="UTF-8">

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

</head>


<body>
	主内容为:<?php 
        echo smarty_modifier_cut($_smarty_tpl->tpl_vars['str']->value);
        ?>

	
	<br>
	
	自定义函数:input :
	<?php 
        echo smarty_function_input(array('name' => "username", 'width' => 20, 'value' => "请输入"), $_smarty_tpl);
        ?>

</body>
</html><?php 
    }
开发者ID:VampireMe,项目名称:Common_PHP,代码行数:40,代码来源:7440ac163ef29c374bb890f6deb51290392effca_0.file.common.tpl.php

示例4: content_548f196c25f9d4_52089953

    function content_548f196c25f9d4_52089953($_smarty_tpl)
    {
        if (!is_callable('smarty_block_form')) {
            include 'C:\\xampp\\htdocs\\havanabook\\ow_smarty\\plugin\\block.form.php';
        }
        if (!is_callable('smarty_function_input')) {
            include 'C:\\xampp\\htdocs\\havanabook\\ow_smarty\\plugin\\function.input.php';
        }
        if (!is_callable('smarty_function_submit')) {
            include 'C:\\xampp\\htdocs\\havanabook\\ow_smarty\\plugin\\function.submit.php';
        }
        $_smarty_tpl->smarty->_tag_stack[] = array('form', array('name' => $_smarty_tpl->tpl_vars['formName']->value));
        $_block_repeat = true;
        echo smarty_block_form(array('name' => $_smarty_tpl->tpl_vars['formName']->value), null, $_smarty_tpl, $_block_repeat);
        while ($_block_repeat) {
            ob_start();
            ?>

<div class="owm_newsfeed_comment_input">
    <?php 
            echo smarty_function_input(array('name' => 'commentText'), $_smarty_tpl);
            ?>

</div>
<div class="owm_newsfeed_comment_submit clearfix comment_submit" style="display:none;">
    <div class="owm_float_right"><?php 
            echo smarty_function_submit(array('name' => 'comment-submit'), $_smarty_tpl);
            ?>
</div>
</div>
<?php 
            $_block_content = ob_get_clean();
            $_block_repeat = false;
            echo smarty_block_form(array('name' => $_smarty_tpl->tpl_vars['formName']->value), $_block_content, $_smarty_tpl, $_block_repeat);
        }
        array_pop($_smarty_tpl->smarty->_tag_stack);
        ?>

<?php 
    }
开发者ID:jorgemunoz8807,项目名称:havanabook,代码行数:40,代码来源:73162bbf1a6f122f5265ad3e17d906a5833c6208.file.comments_form.html.php

示例5: content_5349e254913c91_37639437

    function content_5349e254913c91_37639437($_smarty_tpl)
    {
        if (!is_callable('smarty_block_form')) {
            include '/home/agilekod/domains/baksmaker.com/public_html/fulfill/ow_smarty/plugin/block.form.php';
        }
        if (!is_callable('smarty_function_input')) {
            include '/home/agilekod/domains/baksmaker.com/public_html/fulfill/ow_smarty/plugin/function.input.php';
        }
        if (!is_callable('smarty_function_submit')) {
            include '/home/agilekod/domains/baksmaker.com/public_html/fulfill/ow_smarty/plugin/function.submit.php';
        }
        $_smarty_tpl->smarty->_tag_stack[] = array('form', array('name' => 'inite-friends'));
        $_block_repeat = true;
        echo smarty_block_form(array('name' => 'inite-friends'), null, $_smarty_tpl, $_block_repeat);
        while ($_block_repeat) {
            ob_start();
            ?>

    <?php 
            echo smarty_function_input(array('name' => 'emailList'), $_smarty_tpl);
            ?>

    <div class="ow_smallmargin"><?php 
            echo smarty_function_input(array('name' => 'text'), $_smarty_tpl);
            ?>
</div>
    <div class="clearfix ow_smallmargin">
        <div class="ow_right"><?php 
            echo smarty_function_submit(array('name' => 'submit'), $_smarty_tpl);
            ?>
</div>
    </div>
<?php 
            $_block_content = ob_get_clean();
            $_block_repeat = false;
            echo smarty_block_form(array('name' => 'inite-friends'), $_block_content, $_smarty_tpl, $_block_repeat);
        }
        array_pop($_smarty_tpl->smarty->_tag_stack);
    }
开发者ID:vazahat,项目名称:dudex,代码行数:39,代码来源:696d2932c172c3d067e79d0abea51c81700b4966.file.email_invite.html.php

示例6: smarty_function_setting

function smarty_function_setting($params, &$smarty)
{
    if (!$GLOBALS['_settingList']) {
        $system =& $GLOBALS['system'];
        $GLOBALS['_settingList'] =& $system->__setting->source();
    }
    smarty_core_load_plugins(array('plugins' => array(array('function', 'input', $smarty->_current_file, $smarty->_current_line_no, 20, false))), $smarty);
    $system =& $GLOBALS['system'];
    $params = array_merge($params, $GLOBALS['_settingList'][$params['key']]);
    $params['value'] = $system->getConf($params['key']);
    if ($params['key'] == 'site.tax_ratio') {
        $params['value'] *= 100;
    }
    //ever add 20080327
    if ($params['type'] == SET_T_INT) {
        $params['type'] = 'number';
    } elseif ($params['type'] == SET_T_ENUM) {
        $params['type'] = 'select';
    } elseif ($params['type'] == SET_T_BOOL) {
        $params['type'] = 'bool';
    } elseif ($params['type'] == SET_T_TXT) {
        $params['type'] = 'textarea';
    } elseif ($params['type'] == SET_T_FILE) {
        $params['type'] = 'file';
    } elseif ($params['type'] == SET_T_DIGITS) {
        $params['type'] = 'digits';
    } else {
        $params['type'] = 'text';
    }
    if (!$params['id']) {
        $params['id'] = 'el_' . substr(md5(rand(0, time())), 0, 6);
    }
    $params['name'] = ($params['namespace'] ? $params['namespace'] : 'setting') . '[' . $params['key'] . ']';
    $key = $params['key'];
    unset($params['desc']);
    unset($params['key']);
    return $html . smarty_function_input($params, $smarty) . '<input type="hidden" name="_set_[' . $key . ']" value="' . $params['type'] . '" />';
}
开发者ID:dalinhuang,项目名称:shopexts,代码行数:38,代码来源:function.setting.php

示例7: content_555adc1608ff39_49867460

    function content_555adc1608ff39_49867460($_smarty_tpl)
    {
        if (!is_callable('smarty_block_block_decorator')) {
            include 'E:\\wamp\\www\\hammu\\ow_smarty\\plugin\\block.block_decorator.php';
        }
        if (!is_callable('smarty_block_form')) {
            include 'E:\\wamp\\www\\hammu\\ow_smarty\\plugin\\block.form.php';
        }
        if (!is_callable('smarty_function_text')) {
            include 'E:\\wamp\\www\\hammu\\ow_smarty\\plugin\\function.text.php';
        }
        if (!is_callable('smarty_function_cycle')) {
            include 'E:\\wamp\\www\\hammu\\ow_libraries\\smarty3\\plugins\\function.cycle.php';
        }
        if (!is_callable('smarty_function_label')) {
            include 'E:\\wamp\\www\\hammu\\ow_smarty\\plugin\\function.label.php';
        }
        if (!is_callable('smarty_function_input')) {
            include 'E:\\wamp\\www\\hammu\\ow_smarty\\plugin\\function.input.php';
        }
        if (!is_callable('smarty_function_error')) {
            include 'E:\\wamp\\www\\hammu\\ow_smarty\\plugin\\function.error.php';
        }
        if (!is_callable('smarty_function_question_description_lang')) {
            include 'E:\\wamp\\www\\hammu\\ow_smarty\\plugin\\function.question_description_lang.php';
        }
        if (!is_callable('smarty_function_submit')) {
            include 'E:\\wamp\\www\\hammu\\ow_smarty\\plugin\\function.submit.php';
        }
        $_smarty_tpl->smarty->_tag_stack[] = array('block_decorator', array('name' => "box", 'type' => "empty", 'addClass' => "ow_superwide ow_automargin"));
        $_block_repeat = true;
        echo smarty_block_block_decorator(array('name' => "box", 'type' => "empty", 'addClass' => "ow_superwide ow_automargin"), null, $_smarty_tpl, $_block_repeat);
        while ($_block_repeat) {
            ob_start();
            ?>


    <?php 
            $_smarty_tpl->smarty->_tag_stack[] = array('block_decorator', array('name' => "box_cap", 'type' => "empty", 'addClass' => "ow_center", 'style' => "padding:15px;", 'langLabel' => "base+required_profile_questions"));
            $_block_repeat = true;
            echo smarty_block_block_decorator(array('name' => "box_cap", 'type' => "empty", 'addClass' => "ow_center", 'style' => "padding:15px;", 'langLabel' => "base+required_profile_questions"), null, $_smarty_tpl, $_block_repeat);
            while ($_block_repeat) {
                ob_start();
                ?>

    <?php 
                $_block_content = ob_get_clean();
                $_block_repeat = false;
                echo smarty_block_block_decorator(array('name' => "box_cap", 'type' => "empty", 'addClass' => "ow_center", 'style' => "padding:15px;", 'langLabel' => "base+required_profile_questions"), $_block_content, $_smarty_tpl, $_block_repeat);
            }
            array_pop($_smarty_tpl->smarty->_tag_stack);
            ?>


    <?php 
            $_smarty_tpl->smarty->_tag_stack[] = array('form', array('name' => 'requiredQuestionsForm'));
            $_block_repeat = true;
            echo smarty_block_form(array('name' => 'requiredQuestionsForm'), null, $_smarty_tpl, $_block_repeat);
            while ($_block_repeat) {
                ob_start();
                ?>

        <table class="ow_table_1 ow_form ow_stdmargin">
            <?php 
                $_smarty_tpl->tpl_vars['questions'] = new Smarty_Variable();
                $_smarty_tpl->tpl_vars['questions']->_loop = false;
                $_smarty_tpl->tpl_vars['section'] = new Smarty_Variable();
                $_from = $_smarty_tpl->tpl_vars['questionArray']->value;
                if (!is_array($_from) && !is_object($_from)) {
                    settype($_from, 'array');
                }
                $_smarty_tpl->tpl_vars['questions']->total = $_smarty_tpl->_count($_from);
                $_smarty_tpl->tpl_vars['questions']->iteration = 0;
                $_smarty_tpl->tpl_vars['questions']->index = -1;
                foreach ($_from as $_smarty_tpl->tpl_vars['questions']->key => $_smarty_tpl->tpl_vars['questions']->value) {
                    $_smarty_tpl->tpl_vars['questions']->_loop = true;
                    $_smarty_tpl->tpl_vars['section']->value = $_smarty_tpl->tpl_vars['questions']->key;
                    $_smarty_tpl->tpl_vars['questions']->iteration++;
                    $_smarty_tpl->tpl_vars['questions']->index++;
                    $_smarty_tpl->tpl_vars['questions']->first = $_smarty_tpl->tpl_vars['questions']->index === 0;
                    $_smarty_tpl->tpl_vars['questions']->last = $_smarty_tpl->tpl_vars['questions']->iteration === $_smarty_tpl->tpl_vars['questions']->total;
                    $_smarty_tpl->tpl_vars['smarty']->value['foreach']['question']['first'] = $_smarty_tpl->tpl_vars['questions']->first;
                    $_smarty_tpl->tpl_vars['smarty']->value['foreach']['question']['last'] = $_smarty_tpl->tpl_vars['questions']->last;
                    ?>

                <?php 
                    if (!empty($_smarty_tpl->tpl_vars['section']->value)) {
                        ?>
                    <tr class="ow_tr_first"><th colspan="3"><?php 
                        echo smarty_function_text(array('key' => "base+questions_section_" . (string) $_smarty_tpl->tpl_vars['section']->value . "_label"), $_smarty_tpl);
                        ?>
</th></tr>
                <?php 
                    }
                    ?>
                
                <?php 
                    $_smarty_tpl->tpl_vars['question'] = new Smarty_Variable();
                    $_smarty_tpl->tpl_vars['question']->_loop = false;
                    $_from = $_smarty_tpl->tpl_vars['questions']->value;
//.........这里部分代码省略.........
开发者ID:bhushansonar,项目名称:hammu,代码行数:101,代码来源:80fab9d06ae1ab08cb78dd747acbb19e5b4f73af.file.complete_profile_fill_required_questions.html.php

示例8: content_548fa9ca841891_23807637

    function content_548fa9ca841891_23807637($_smarty_tpl)
    {
        if (!is_callable('smarty_block_form')) {
            include 'C:\\xampp\\htdocs\\havanabook\\ow_smarty\\plugin\\block.form.php';
        }
        if (!is_callable('smarty_function_input')) {
            include 'C:\\xampp\\htdocs\\havanabook\\ow_smarty\\plugin\\function.input.php';
        }
        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_label')) {
            include 'C:\\xampp\\htdocs\\havanabook\\ow_smarty\\plugin\\function.label.php';
        }
        if (!is_callable('smarty_function_submit')) {
            include 'C:\\xampp\\htdocs\\havanabook\\ow_smarty\\plugin\\function.submit.php';
        }
        ?>
<div class="questions-add clearfix" id="<?php 
        echo $_smarty_tpl->tpl_vars['uniqId']->value;
        ?>
">
    <?php 
        $_smarty_tpl->smarty->_tag_stack[] = array('form', array('name' => "questions_add"));
        $_block_repeat = true;
        echo smarty_block_form(array('name' => "questions_add"), null, $_smarty_tpl, $_block_repeat);
        while ($_block_repeat) {
            ob_start();
            ?>

    <div class="form_auto_click">
        <div class="questions-add-question">
            <?php 
            echo smarty_function_input(array('name' => "question", 'class' => "questions-input"), $_smarty_tpl);
            ?>

        </div>
        <div class="ow_submit_auto_click" style="display: none;">

            <div class="questions-add-answers" style="display: none;">
                <?php 
            $_smarty_tpl->smarty->_tag_stack[] = array('block_decorator', array('name' => 'tooltip', 'addClass' => 'qaa-tooltip ow_small '));
            $_block_repeat = true;
            echo smarty_block_block_decorator(array('name' => 'tooltip', 'addClass' => 'qaa-tooltip ow_small '), null, $_smarty_tpl, $_block_repeat);
            while ($_block_repeat) {
                ob_start();
                ?>

                    <div class="q-add-answers-field">
                        <div class="ow_smallmargin">
                            <div class="qaa-label-c">
                                <span class="qaa-label"><strong><?php 
                echo smarty_function_text(array('key' => "questions+question_add_answers_label"), $_smarty_tpl);
                ?>
</strong></span>
                            </div>
                        </div>

                        <?php 
                echo smarty_function_input(array('name' => "answers"), $_smarty_tpl);
                ?>

                    </div>
                <?php 
                $_block_content = ob_get_clean();
                $_block_repeat = false;
                echo smarty_block_block_decorator(array('name' => 'tooltip', 'addClass' => 'qaa-tooltip ow_small '), $_block_content, $_smarty_tpl, $_block_repeat);
            }
            array_pop($_smarty_tpl->smarty->_tag_stack);
            ?>

            </div>

            <div class="clearfix qa-submit-c ow_border">
                <div class="ow_left questions-add-answers-btn-c">
                    <a href="javascript://" class="questions-add-answers-btn"><?php 
            echo smarty_function_text(array('key' => "questions+question_add_show_options_btn"), $_smarty_tpl);
            ?>
</a>
                    <div class="questions-add-answers-options" style="display: none;">
                        <?php 
            echo smarty_function_input(array('name' => "allowAddOprions"), $_smarty_tpl);
            echo smarty_function_label(array('name' => "allowAddOprions"), $_smarty_tpl);
            ?>

                    </div>
                </div>

                <div class="ow_right q-save-c">
                    <span class="ow_attachment_btn"><?php 
            echo smarty_function_submit(array('name' => "save"), $_smarty_tpl);
            ?>
</span>
                </div>
                
                <div class="ow_inprogress q-status-preloader Q_StatusPreloader"></div>
            </div>
//.........这里部分代码省略.........
开发者ID:jorgemunoz8807,项目名称:havanabook,代码行数:101,代码来源:8aa6386f5942af37b7b68fc4dc9bb0d965e2d42a.file.question_add.html.php

示例9: content_548e6fffda2ce5_48853078

    function content_548e6fffda2ce5_48853078($_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_block_form')) {
            include 'C:\\xampp\\htdocs\\havanabook\\ow_smarty\\plugin\\block.form.php';
        }
        if (!is_callable('smarty_function_cycle')) {
            include 'C:\\xampp\\htdocs\\havanabook\\ow_libraries\\smarty3\\plugins\\function.cycle.php';
        }
        if (!is_callable('smarty_function_label')) {
            include 'C:\\xampp\\htdocs\\havanabook\\ow_smarty\\plugin\\function.label.php';
        }
        if (!is_callable('smarty_function_input')) {
            include 'C:\\xampp\\htdocs\\havanabook\\ow_smarty\\plugin\\function.input.php';
        }
        if (!is_callable('smarty_function_error')) {
            include 'C:\\xampp\\htdocs\\havanabook\\ow_smarty\\plugin\\function.error.php';
        }
        if (!is_callable('smarty_function_question_description_lang')) {
            include 'C:\\xampp\\htdocs\\havanabook\\ow_smarty\\plugin\\function.question_description_lang.php';
        }
        if (!is_callable('smarty_function_submit')) {
            include 'C:\\xampp\\htdocs\\havanabook\\ow_smarty\\plugin\\function.submit.php';
        }
        $_smarty_tpl->smarty->_tag_stack[] = array('block_decorator', array('name' => "box", 'type' => "empty", 'addClass' => "ow_superwide ow_automargin"));
        $_block_repeat = true;
        echo smarty_block_block_decorator(array('name' => "box", 'type' => "empty", 'addClass' => "ow_superwide ow_automargin"), null, $_smarty_tpl, $_block_repeat);
        while ($_block_repeat) {
            ob_start();
            ?>

<?php 
            if (isset($_smarty_tpl->tpl_vars['notValidInviteCode']->value)) {
                ?>
    <?php 
                $_smarty_tpl->smarty->_tag_stack[] = array('block_decorator', array('name' => "box", 'type' => "empty", 'addClass' => "ow_center", 'style' => "padding:15px;"));
                $_block_repeat = true;
                echo smarty_block_block_decorator(array('name' => "box", 'type' => "empty", 'addClass' => "ow_center", 'style' => "padding:15px;"), null, $_smarty_tpl, $_block_repeat);
                while ($_block_repeat) {
                    ob_start();
                    ?>

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

    <?php 
                    $_block_content = ob_get_clean();
                    $_block_repeat = false;
                    echo smarty_block_block_decorator(array('name' => "box", 'type' => "empty", 'addClass' => "ow_center", 'style' => "padding:15px;"), $_block_content, $_smarty_tpl, $_block_repeat);
                }
                array_pop($_smarty_tpl->smarty->_tag_stack);
                ?>

<?php 
            } else {
                ?>
    <?php 
                if ($_smarty_tpl->tpl_vars['step']->value == 1) {
                    ?>
        <?php 
                    $_smarty_tpl->smarty->_tag_stack[] = array('block_decorator', array('name' => "box", 'type' => "empty", 'addClass' => "ow_center", 'style' => "padding:15px;"));
                    $_block_repeat = true;
                    echo smarty_block_block_decorator(array('name' => "box", 'type' => "empty", 'addClass' => "ow_center", 'style' => "padding:15px;"), null, $_smarty_tpl, $_block_repeat);
                    while ($_block_repeat) {
                        ob_start();
                        ?>

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

        <?php 
                        $_block_content = ob_get_clean();
                        $_block_repeat = false;
                        echo smarty_block_block_decorator(array('name' => "box", 'type' => "empty", 'addClass' => "ow_center", 'style' => "padding:15px;"), $_block_content, $_smarty_tpl, $_block_repeat);
                    }
                    array_pop($_smarty_tpl->smarty->_tag_stack);
                    ?>


        <?php 
                    if (!empty($_smarty_tpl->tpl_vars['joinConnectHook']->value)) {
                        ?>
           <?php 
                        $_smarty_tpl->smarty->_tag_stack[] = array('block_decorator', array('name' => "box", 'addClass' => "ow_center", 'style' => "overflow:hidden;", 'iconClass' => 'ow_ic_key', 'langLabel' => 'base+join_connect_title'));
                        $_block_repeat = true;
                        echo smarty_block_block_decorator(array('name' => "box", 'addClass' => "ow_center", 'style' => "overflow:hidden;", 'iconClass' => 'ow_ic_key', 'langLabel' => 'base+join_connect_title'), null, $_smarty_tpl, $_block_repeat);
                        while ($_block_repeat) {
                            ob_start();
                            ?>

               <?php 
                            $_smarty_tpl->tpl_vars['item'] = new Smarty_Variable();
                            $_smarty_tpl->tpl_vars['item']->_loop = false;
//.........这里部分代码省略.........
开发者ID:jorgemunoz8807,项目名称:havanabook,代码行数:101,代码来源:094cde348f3f5da8f205124692dffb9d41a7ca6f.file.join_index.html.php

示例10: content_548e7d70123a35_99519172

    function content_548e7d70123a35_99519172($_smarty_tpl)
    {
        if (!is_callable('smarty_block_style')) {
            include 'C:\\xampp\\htdocs\\havanabook\\ow_smarty\\plugin\\block.style.php';
        }
        if (!is_callable('smarty_function_text')) {
            include 'C:\\xampp\\htdocs\\havanabook\\ow_smarty\\plugin\\function.text.php';
        }
        if (!is_callable('smarty_block_block_decorator')) {
            include 'C:\\xampp\\htdocs\\havanabook\\ow_smarty\\plugin\\block.block_decorator.php';
        }
        if (!is_callable('smarty_block_form')) {
            include 'C:\\xampp\\htdocs\\havanabook\\ow_smarty\\plugin\\block.form.php';
        }
        if (!is_callable('smarty_function_cycle')) {
            include 'C:\\xampp\\htdocs\\havanabook\\ow_libraries\\smarty3\\plugins\\function.cycle.php';
        }
        if (!is_callable('smarty_function_input')) {
            include 'C:\\xampp\\htdocs\\havanabook\\ow_smarty\\plugin\\function.input.php';
        }
        if (!is_callable('smarty_function_decorator')) {
            include 'C:\\xampp\\htdocs\\havanabook\\ow_smarty\\plugin\\function.decorator.php';
        }
        if (!is_callable('smarty_function_submit')) {
            include 'C:\\xampp\\htdocs\\havanabook\\ow_smarty\\plugin\\function.submit.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();
            ?>


.theme_icon{
	background-repeat:no-repeat;
	background-position:50% 50%;
	height:180px;
	width:180px;
}

.theme_title{
	font-weight:bold;
}

.theme_desc{
	padding:10px 0;
}

.theme_controls input[type="text"]{
	width:232px;
	padding:4px;
}

.theme_control_image{
	background-repeat:no-repeat;
	background-position:0% 0%;
	border:1px solid #ccc;
	height:40px;
	width:170px;
    float:left;
    cursor:pointer;
}

.theme_controls select{
	width:240px;
}

body table.theme_controls td.ow_label{
	width:35%;
}

body table.theme_controls td.ow_input{
	width:30%;
}

body table.theme_controls td.ow_desc{
	text-align:left;
	width:35%;
}

.color_input input[type="text"]{
	width:170px;
}

.theme_controls .color_button{
	width:30px;
	height:27px;
	padding:0;
	box-shadow: 0px 0px 2px rgba(0,0,0,0.5);
}

.preview_graphics{
    background-repeat:no-repeat;
	background-position:50% 50%;
	border:1px solid #ccc;
    width:500px;
    height:350px;
    margin:0 auto;
}
//.........这里部分代码省略.........
开发者ID:jorgemunoz8807,项目名称:havanabook,代码行数:101,代码来源:a7beaf96517d027e8ffb5b2fed188c793e109db4.file.theme_settings.html.php

示例11: content_55f6d479d8fb30_70387519

    function content_55f6d479d8fb30_70387519($_smarty_tpl)
    {
        if (!is_callable('smarty_block_form')) {
            include 'E:\\wamp\\www\\loov\\ow_smarty\\plugin\\block.form.php';
        }
        if (!is_callable('smarty_function_text')) {
            include 'E:\\wamp\\www\\loov\\ow_smarty\\plugin\\function.text.php';
        }
        if (!is_callable('smarty_function_input')) {
            include 'E:\\wamp\\www\\loov\\ow_smarty\\plugin\\function.input.php';
        }
        if (!is_callable('smarty_function_submit')) {
            include 'E:\\wamp\\www\\loov\\ow_smarty\\plugin\\function.submit.php';
        }
        ?>
<!-- ----------------------MAILBOX SEND NEW MESSAGE--------------------------- -->
<div class="ow_chat_dialog ow_mailchat_new_message " id="newMessageWindow">
    <div class="ow_chat_block ow_mailchat_select_user_wrap">
        <?php 
        $_smarty_tpl->smarty->_tag_stack[] = array('form', array('name' => "mailbox-new-message-form"));
        $_block_repeat = true;
        echo smarty_block_form(array('name' => "mailbox-new-message-form"), null, $_smarty_tpl, $_block_repeat);
        while ($_block_repeat) {
            ob_start();
            ?>

        <!-- ---- NEW MESSAGE CAP ---->
        <!-- ----------------------- SELECTED USER CAP --------------------------- -->
        <div class="ow_mailchat_selected_user ow_author_block clearfix">
            <div aria-disabled="false" style="position: absolute;" class="ow_puller ui-draggable"></div>
            <a href="javascript://" target="_blank" class="ow_chat_in_item_author_href ow_chat_in_item_photo_wrap" id="userFieldProfileLink">
                <span class="ow_chat_in_item_photo"><img title="" alt="" src="<?php 
            echo $_smarty_tpl->tpl_vars['defaultAvatarUrl']->value;
            ?>
" height="32px" width="32px" id="userFieldAvatar"></span>
            </a>
            <a href="javascript://" class="ow_chat_item_author_wrap" id="newMessageWindowMinimizeBtn">
                <span class="ow_chat_item_author">
                    <span class="ow_chat_message_to"><?php 
            echo smarty_function_text(array('key' => 'mailbox+new_message_to'), $_smarty_tpl);
            ?>
</span>
                    <span class="ow_chat_in_item_author" id="userFieldDisplayname"></span>
                </span>
                <span class="ow_mailchat_delete_receiver" id="userFieldDeleteBtn"></span>
            </a>
            <a class="ow_btn_close" id="newMessageWindowCloseBtn" href="javascript://"><span></span></a>
        </div>
        <!-- ----------------------- UNSELECTED USER CAP --------------------------- -->
        <div class="ow_mailchat_select_user ow_author_block">
            <div aria-disabled="false" style="position: absolute;" class="ow_puller ui-draggable"></div>
            <?php 
            echo smarty_function_input(array('name' => 'opponentId'), $_smarty_tpl);
            ?>

            <a href="javascript://" class="ow_chat_minimize_btn" id="newMessageWindowUnselectedCapMinimizeBtn"></a>
            <a class="ow_btn_close" id="newMessageWindowUnselectedCapCloseBtn" href="javascript://"><span></span></a>
            <div class="ow_mailchat_new_message_title"><?php 
            echo smarty_function_text(array('key' => "mailbox+new_message_title"), $_smarty_tpl);
            ?>
</div>
        </div>
        <!-- ----------------------- END OF USER CAP --------------------------- -->
        <!-- ---- END OF NEW MESSAGE CAP ---->
        <div class="ow_chat_subject_block">
            <?php 
            echo smarty_function_input(array('name' => 'subject', 'class' => "newMessageWindowSubjectInputControl"), $_smarty_tpl);
            ?>

        </div>
        <div class="ow_chat_mailchat_inputarea">
            <?php 
            echo smarty_function_input(array('name' => 'message', 'class' => "newMessageWindowMessageInputControl"), $_smarty_tpl);
            ?>

            <?php 
            if ($_smarty_tpl->tpl_vars['enableAttachments']->value) {
                ?>
            <div class="ow_file_attachment_preview clearfix">
            <?php 
                echo $_smarty_tpl->tpl_vars['attachments']->value;
                ?>

            </div>
            <?php 
            }
            ?>
            <div class="ow_file_attachment_preview clearfix" id="newMessageWindowEmbedAttachmentsBlock"></div>
            <div class="ow_chat_mailchat_buttons clearfix">
                <span class="ow_attachment_btn">
                    <?php 
            echo smarty_function_submit(array('name' => "send"), $_smarty_tpl);
            ?>

                </span>
                <?php 
            if ($_smarty_tpl->tpl_vars['enableAttachments']->value) {
                ?>
                <span class="ow_attachment_icons">
                    <div class="ow_attachments">
//.........这里部分代码省略.........
开发者ID:hardikamutech,项目名称:loov,代码行数:101,代码来源:4032c5556ef97e9df9f6bfcee295d2829070c7b6.file.new_message.html.php

示例12: content_5349e0e505d416_94689138

    function content_5349e0e505d416_94689138($_smarty_tpl)
    {
        if (!is_callable('smarty_block_form')) {
            include '/home/agilekod/domains/baksmaker.com/public_html/fulfill/ow_smarty/plugin/block.form.php';
        }
        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_label')) {
            include '/home/agilekod/domains/baksmaker.com/public_html/fulfill/ow_smarty/plugin/function.label.php';
        }
        if (!is_callable('smarty_function_input')) {
            include '/home/agilekod/domains/baksmaker.com/public_html/fulfill/ow_smarty/plugin/function.input.php';
        }
        if (!is_callable('smarty_function_error')) {
            include '/home/agilekod/domains/baksmaker.com/public_html/fulfill/ow_smarty/plugin/function.error.php';
        }
        if (!is_callable('smarty_function_submit')) {
            include '/home/agilekod/domains/baksmaker.com/public_html/fulfill/ow_smarty/plugin/function.submit.php';
        }
        echo $_smarty_tpl->tpl_vars['menu']->value;
        ?>


<?php 
        $_smarty_tpl->smarty->_tag_stack[] = array('form', array('name' => 'cacheControlForm'));
        $_block_repeat = true;
        echo smarty_block_form(array('name' => 'cacheControlForm'), null, $_smarty_tpl, $_block_repeat);
        while ($_block_repeat) {
            ob_start();
            ?>


<table class="ow_table_1 ow_form ow_stdmargin">
    <tr class="ow_tr_first">
        <th class="ow_name ow_txtleft" colspan="3">
            <span class="ow_section_icon ow_ic_gear_wheel"><?php 
            echo smarty_function_text(array('key' => 'cacheextreme+cache_settings'), $_smarty_tpl);
            ?>
</span>
        </th>
    </tr>
    <tr class="ow_alt1">
        <td class="ow_label"><?php 
            echo smarty_function_label(array('name' => 'templateCache'), $_smarty_tpl);
            ?>
</td>
        <td class="ow_value">
            <?php 
            echo smarty_function_input(array('name' => 'templateCache', 'class' => 'ow_settings_input'), $_smarty_tpl);
            ?>
 <?php 
            echo smarty_function_error(array('name' => 'templateCache'), $_smarty_tpl);
            ?>

        </td>
        <td class="ow_desc ow_small"><?php 
            echo smarty_function_text(array('key' => 'cacheextreme+templateCache_setting_desc'), $_smarty_tpl);
            ?>
</td>
    </tr>
    <tr class="ow_alt1">
        <td class="ow_label"><?php 
            echo smarty_function_label(array('name' => 'backendCache'), $_smarty_tpl);
            ?>
</td>
        <td class="ow_value">
            <?php 
            echo smarty_function_input(array('name' => 'backendCache', 'class' => 'ow_settings_input'), $_smarty_tpl);
            ?>
 <?php 
            echo smarty_function_error(array('name' => 'backendCache'), $_smarty_tpl);
            ?>

        </td>
        <td class="ow_desc ow_small"><?php 
            echo smarty_function_text(array('key' => 'cacheextreme+backendCache_setting_desc'), $_smarty_tpl);
            ?>
</td>
    </tr>
    <tr class="ow_alt1">
        <td class="ow_label"><?php 
            echo smarty_function_label(array('name' => 'themeStatic'), $_smarty_tpl);
            ?>
</td>
        <td class="ow_value">
            <?php 
            echo smarty_function_input(array('name' => 'themeStatic', 'class' => 'ow_settings_input'), $_smarty_tpl);
            ?>
 <?php 
            echo smarty_function_error(array('name' => 'themeStatic'), $_smarty_tpl);
            ?>

        </td>
        <td class="ow_desc ow_small"><?php 
            echo smarty_function_text(array('key' => 'cacheextreme+themeStatic_setting_desc'), $_smarty_tpl);
            ?>
</td>
    </tr>
    <tr class="ow_alt1">
//.........这里部分代码省略.........
开发者ID:vazahat,项目名称:dudex,代码行数:101,代码来源:1ce44065759f02b1b9d73fe522ffd7b763da7128.file.admin_index.html.php

示例13: content_548ea95ac7d462_23768537

    function content_548ea95ac7d462_23768537($_smarty_tpl)
    {
        if (!is_callable('smarty_block_form')) {
            include 'C:\\xampp\\htdocs\\havanabook\\ow_smarty\\plugin\\block.form.php';
        }
        if (!is_callable('smarty_function_label')) {
            include 'C:\\xampp\\htdocs\\havanabook\\ow_smarty\\plugin\\function.label.php';
        }
        if (!is_callable('smarty_function_input')) {
            include 'C:\\xampp\\htdocs\\havanabook\\ow_smarty\\plugin\\function.input.php';
        }
        if (!is_callable('smarty_function_text')) {
            include 'C:\\xampp\\htdocs\\havanabook\\ow_smarty\\plugin\\function.text.php';
        }
        if (!is_callable('smarty_function_submit')) {
            include 'C:\\xampp\\htdocs\\havanabook\\ow_smarty\\plugin\\function.submit.php';
        }
        ?>
<div id="edit_template_form">
    <div>
    <?php 
        $_smarty_tpl->smarty->_tag_stack[] = array('form', array('name' => 'edit-template-form'));
        $_block_repeat = true;
        echo smarty_block_form(array('name' => 'edit-template-form'), null, $_smarty_tpl, $_block_repeat);
        while ($_block_repeat) {
            ob_start();
            ?>

        <table class="ow_table_3">
            <?php 
            if ($_smarty_tpl->tpl_vars['single']->value) {
                ?>
            <tr class="ow_tr_first">
            	<td class="ow_label"><?php 
                echo smarty_function_label(array('name' => 'file'), $_smarty_tpl);
                ?>
</td>
            	<td class="ow_value">
                	<div class="ow_smallmargin"><img src="<?php 
                echo $_smarty_tpl->tpl_vars['imageUrl']->value;
                ?>
" width="80" /></div>
                	<?php 
                echo smarty_function_input(array('name' => 'file'), $_smarty_tpl);
                ?>

            	</td>
            </tr>
            <?php 
            }
            ?>
            <?php 
            if ($_smarty_tpl->tpl_vars['categoriesSetup']->value) {
                ?>
            <tr>
            	<td class="ow_label"><?php 
                echo smarty_function_label(array('name' => 'category'), $_smarty_tpl);
                ?>
</td>
            	<td class="ow_value"><?php 
                echo smarty_function_input(array('name' => 'category'), $_smarty_tpl);
                ?>
</td>
            </tr>
            <?php 
            }
            ?>
            <?php 
            if ($_smarty_tpl->tpl_vars['setPrice']->value) {
                ?>
            <tr class="ow_tr_last">
            	<td class="ow_label"><?php 
                echo smarty_function_label(array('name' => 'price'), $_smarty_tpl);
                ?>
</td>
            	<td class="ow_value"><?php 
                echo smarty_function_input(array('name' => 'price', 'class' => 'ow_settings_input'), $_smarty_tpl);
                ?>
 <?php 
                echo smarty_function_text(array('key' => 'usercredits+credits'), $_smarty_tpl);
                ?>
</td>
            </tr>
            <?php 
            }
            ?>
        </table>
        <div class="clearfix">
			<div class="ow_right">
				<?php 
            echo smarty_function_submit(array('name' => 'save', 'class' => 'ow_ic_save ow_positive'), $_smarty_tpl);
            ?>

			</div>
		</div>
    <?php 
            $_block_content = ob_get_clean();
            $_block_repeat = false;
            echo smarty_block_form(array('name' => 'edit-template-form'), $_block_content, $_smarty_tpl, $_block_repeat);
        }
//.........这里部分代码省略.........
开发者ID:jorgemunoz8807,项目名称:havanabook,代码行数:101,代码来源:e5418317dc6403d53b911f9dcded2e29a110b9db.file.template_edit.html.php

示例14: content_549696d0054457_98855199

    function content_549696d0054457_98855199($_smarty_tpl)
    {
        if (!is_callable('smarty_block_form')) {
            include 'C:\\xampp\\htdocs\\havanabook\\ow_smarty\\plugin\\block.form.php';
        }
        if (!is_callable('smarty_function_cycle')) {
            include 'C:\\xampp\\htdocs\\havanabook\\ow_libraries\\smarty3\\plugins\\function.cycle.php';
        }
        if (!is_callable('smarty_function_text')) {
            include 'C:\\xampp\\htdocs\\havanabook\\ow_smarty\\plugin\\function.text.php';
        }
        if (!is_callable('smarty_function_input')) {
            include 'C:\\xampp\\htdocs\\havanabook\\ow_smarty\\plugin\\function.input.php';
        }
        if (!is_callable('smarty_function_error')) {
            include 'C:\\xampp\\htdocs\\havanabook\\ow_smarty\\plugin\\function.error.php';
        }
        if (!is_callable('smarty_function_submit')) {
            include 'C:\\xampp\\htdocs\\havanabook\\ow_smarty\\plugin\\function.submit.php';
        }
        if (!is_callable('smarty_block_block_decorator')) {
            include 'C:\\xampp\\htdocs\\havanabook\\ow_smarty\\plugin\\block.block_decorator.php';
        }
        if (!is_callable('smarty_function_decorator')) {
            include 'C:\\xampp\\htdocs\\havanabook\\ow_smarty\\plugin\\function.decorator.php';
        }
        echo $_smarty_tpl->tpl_vars['menu']->value;
        ?>


<?php 
        $_smarty_tpl->smarty->_tag_stack[] = array('form', array('name' => 'mailSettingsForm'));
        $_block_repeat = true;
        echo smarty_block_form(array('name' => 'mailSettingsForm'), null, $_smarty_tpl, $_block_repeat);
        while ($_block_repeat) {
            ob_start();
            ?>


<table class="ow_table_1 ow_form">
    <!-- Smtp Settings -->

    
    <tr class="<?php 
            echo smarty_function_cycle(array('name' => "install", 'values' => "ow_alt2, ow_alt1"), $_smarty_tpl);
            ?>
 ow_tr_first">
        <td class="ow_label"><?php 
            echo smarty_function_text(array('key' => 'admin+mail_smtp_title_enabled'), $_smarty_tpl);
            ?>
</td>
        <td class="ow_value"><?php 
            echo smarty_function_input(array('name' => 'mailSmtpEnabled'), $_smarty_tpl);
            ?>
 <?php 
            echo smarty_function_error(array('name' => 'mailSmtpEnabled'), $_smarty_tpl);
            ?>
</td>
        <td class="ow_desc"><?php 
            echo smarty_function_text(array('key' => 'admin+mail_smtp_title_enabled_desc'), $_smarty_tpl);
            ?>
</td>
    </tr>
    <tr class="<?php 
            echo smarty_function_cycle(array('name' => "install", 'values' => "ow_alt2, ow_alt1"), $_smarty_tpl);
            ?>
">
        <td class="ow_label"><?php 
            echo smarty_function_text(array('key' => 'admin+mail_smtp_title_host'), $_smarty_tpl);
            ?>
</td>
        <td class="ow_value"><?php 
            echo smarty_function_input(array('name' => 'mailSmtpHost', 'style' => "width: 172px"), $_smarty_tpl);
            ?>
:<?php 
            echo smarty_function_input(array('name' => 'mailSmtpPort', 'maxlength' => 5, 'style' => "width: 60px"), $_smarty_tpl);
            echo smarty_function_error(array('name' => 'mailSmtpHost'), $_smarty_tpl);
            ?>
</td>
        <td class="ow_desc"></td>
    </tr>
    <tr class="<?php 
            echo smarty_function_cycle(array('name' => "install", 'values' => "ow_alt2, ow_alt1"), $_smarty_tpl);
            ?>
">
        <td class="ow_label"><?php 
            echo smarty_function_text(array('key' => 'admin+mail_smtp_title_user'), $_smarty_tpl);
            ?>
</td>
        <td class="ow_value"><?php 
            echo smarty_function_input(array('name' => 'mailSmtpUser'), $_smarty_tpl);
            ?>
 <?php 
            echo smarty_function_error(array('name' => 'mailSmtpUser'), $_smarty_tpl);
            ?>
</td>
        <td class="ow_desc ow_small"></td>
    </tr>
    <tr class="<?php 
            echo smarty_function_cycle(array('name' => "install", 'values' => "ow_alt2, ow_alt1"), $_smarty_tpl);
//.........这里部分代码省略.........
开发者ID:jorgemunoz8807,项目名称:havanabook,代码行数:101,代码来源:8bf526c43418c928f4e5c2d7b57b66c35daec00e.file.settings_mail.html.php

示例15: content_55d2db955f9496_99686269

    function content_55d2db955f9496_99686269($_smarty_tpl)
    {
        if (!is_callable('smarty_function_url_for_route')) {
            include '/homepages/11/d222791150/htdocs/Hammulandingpage/hammu/ow_smarty/plugin/function.url_for_route.php';
        }
        if (!is_callable('smarty_function_text')) {
            include '/homepages/11/d222791150/htdocs/Hammulandingpage/hammu/ow_smarty/plugin/function.text.php';
        }
        if (!is_callable('smarty_block_form')) {
            include '/homepages/11/d222791150/htdocs/Hammulandingpage/hammu/ow_smarty/plugin/block.form.php';
        }
        if (!is_callable('smarty_function_input')) {
            include '/homepages/11/d222791150/htdocs/Hammulandingpage/hammu/ow_smarty/plugin/function.input.php';
        }
        if (!is_callable('smarty_function_error')) {
            include '/homepages/11/d222791150/htdocs/Hammulandingpage/hammu/ow_smarty/plugin/function.error.php';
        }
        if (!is_callable('smarty_function_submit')) {
            include '/homepages/11/d222791150/htdocs/Hammulandingpage/hammu/ow_smarty/plugin/function.submit.php';
        }
        ?>

<div class="ow_photo_upload_wrap" id="add-new-photo-container">
    <div class="ow_hidden">
        <iframe name="iframe_upload" id="iframe_upload" src="about:blank"></iframe>
        <form id="upload-form" target="iframe_upload" enctype="multipart/form-data" method="post" action="<?php 
        echo smarty_function_url_for_route(array('for' => 'photo.ajax_upload'), $_smarty_tpl);
        ?>
">
            <input type="file" name="file" accept="image/jpeg,image/png,image/gif" multiple />
        </form>
        <div id="slot-prototype" class="ow_photo_preview_edit">
            <input type="hidden" name="slot" />
            <input type="hidden" name="rotate" />
            <div class="ow_photo_preview_action">
                <div class="ow_photo_preview_image ow_photo_preview_loading">
                    <div class="ow_photo_preview_image_filter"></div>
                </div>
                <div class="ow_photo_preview_x"></div>
                <div class="ow_photo_preview_rotate"></div>
            </div>
            <div class="ow_photo_upload_description" style="min-height: 58px">
                <textarea class="ow_hidden invitation"></textarea>
            </div>
        </div>
    </div>

    <div class="ow_photo_dragndrop">
        <div id="drop-area" ondragover="return false;"></div>
        <span id="drop-area-label"><?php 
        echo smarty_function_text(array('key' => "photo+dnd_support"), $_smarty_tpl);
        ?>
</span>
    </div>

    <?php 
        $_smarty_tpl->smarty->_tag_stack[] = array('form', array('name' => "ajax-upload"));
        $_block_repeat = true;
        echo smarty_block_form(array('name' => "ajax-upload"), null, $_smarty_tpl, $_block_repeat);
        while ($_block_repeat) {
            ob_start();
            ?>

        <div id="slot-area" class="ow_photo_preview_block_wrap clearfix"></div>

        <div id="photo-album-form" class="ow_photo_upload_bottom clearfix">
            <div id="photo-album-list" class="ow_left">
                <div class="ow_suggest_field ow_smallmargin">
                    <?php 
            echo smarty_function_input(array('name' => 'album'), $_smarty_tpl);
            ?>

                    <div class="ow_dropdown_list_wrap">
                        <ul class="ow_dropdown_list">
                            <li><?php 
            echo smarty_function_text(array('key' => "photo+create_album"), $_smarty_tpl);
            ?>
<span class="ow_add_item"></span></li>
                            <?php 
            if (!empty($_smarty_tpl->tpl_vars['albumNameList']->value)) {
                ?>
                                <li class="ow_dropdown_delimeter"><div></div></li>
                                <?php 
                $_smarty_tpl->tpl_vars['album'] = new Smarty_Variable();
                $_smarty_tpl->tpl_vars['album']->_loop = false;
                $_from = $_smarty_tpl->tpl_vars['albumNameList']->value;
                if (!is_array($_from) && !is_object($_from)) {
                    settype($_from, 'array');
                }
                foreach ($_from as $_smarty_tpl->tpl_vars['album']->key => $_smarty_tpl->tpl_vars['album']->value) {
                    $_smarty_tpl->tpl_vars['album']->_loop = true;
                    ?>
                                    <li><?php 
                    echo $_smarty_tpl->tpl_vars['album']->value;
                    ?>
</li>
                                <?php 
                }
                ?>
                            <?php 
//.........这里部分代码省略.........
开发者ID:hardikamutech,项目名称:hammu,代码行数:101,代码来源:6800ba92048b6b30d0a7ba5d769a930bd7e5bd28.file.ajax_upload.html.php


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