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


PHP smarty_template_function_dropdown函数代码示例

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


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

示例1: content_55ccdf866478f4_26867985


//.........这里部分代码省略.........
                        echo $_smarty_tpl->__("settings");
                        $_tmp2 = ob_get_clean();
                        echo $_smarty_tpl->getSubTemplate("common/popupbox.tpl", $_smarty_tpl->cache_id, $_smarty_tpl->compile_id, 0, null, array('id' => "group" . (string) $_smarty_tpl->tpl_vars['key']->value, 'text' => $_tmp2 . ": " . (string) $_smarty_tpl->tpl_vars['a']->value['name'], 'act' => ($tmp = @$_smarty_tpl->tpl_vars['act']->value) === null || $tmp === '' ? "link" : $tmp, 'link_text' => $_smarty_tpl->tpl_vars['link_text']->value, 'href' => $_smarty_tpl->tpl_vars['href']->value, 'is_promo' => !$_smarty_tpl->tpl_vars['a']->value['snapshot_correct']), 0);
                        ?>
</li>
                        <?php 
                    }
                    ?>
                        <?php 
                    if ($_smarty_tpl->tpl_vars['href_delete']->value) {
                        ?>
                            <li><?php 
                        smarty_template_function_btn($_smarty_tpl, array('type' => "list", 'class' => "cm-confirm", 'text' => __("uninstall"), 'data' => array('data-ca-target-id' => 'addons_list,header_navbar,header_subnav'), 'href' => $_smarty_tpl->tpl_vars['href_delete']->value));
                        ?>
</li>
                        <?php 
                    }
                    ?>
                    <?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 
                    smarty_template_function_dropdown($_smarty_tpl, array('content' => Smarty::$_smarty_vars['capture']['tools_list']));
                    ?>

                    </div>
                <?php 
                }
                ?>

            </td>
            <td width="15%">
                <?php 
                if ($_smarty_tpl->tpl_vars['a']->value['status'] == 'N') {
                    ?>
                    <?php 
                    if (!$_smarty_tpl->tpl_vars['hide_for_vendor']->value) {
                        ?>
                    <div class="pull-right">
                        <a class="btn lowercase <?php 
                        if ($_smarty_tpl->tpl_vars['a']->value['snapshot_correct']) {
                            ?>
cm-ajax cm-ajax-full-render<?php 
                        } else {
                            ?>
cm-promo-popup<?php 
                        }
                        ?>
" href="<?php 
                        echo htmlspecialchars(fn_url("addons.install?addon=" . (string) $_smarty_tpl->tpl_vars['key']->value . "&redirect_url=" . (string) $_smarty_tpl->tpl_vars['c_url']->value), ENT_QUOTES, 'UTF-8');
                        ?>
" data-ca-target-id="addons_list,header_navbar,header_subnav"><?php 
                        echo $_smarty_tpl->__("install");
                        ?>
</a>
开发者ID:OneataBogdan,项目名称:lead_coriolan,代码行数:67,代码来源:c0eff889363ab909ac04270260867c3ca1ee038a.tygh.addons_list.tpl.php

示例2: content_55dc78e2952329_40439016


//.........这里部分代码省略.........
                if ($_smarty_tpl->tpl_vars['is_promo']->value) {
                    ?>
                                    <?php 
                    $_smarty_tpl->tpl_vars['class'] = new Smarty_variable("cm-promo-popup", null, 0);
                    ?>
                                <?php 
                } else {
                    ?>
                                    <?php 
                    $_smarty_tpl->tpl_vars['class'] = new Smarty_variable("cm-delete-row", null, 0);
                    ?>
                                    <?php 
                    $_smarty_tpl->tpl_vars['href'] = new Smarty_variable($_smarty_tpl->tpl_vars['href_delete']->value, null, 0);
                    ?>
                                <?php 
                }
                ?>
                                <li><?php 
                smarty_template_function_btn($_smarty_tpl, array('type' => "text", 'text' => __("delete"), 'href' => $_smarty_tpl->tpl_vars['href']->value, 'class' => "cm-confirm cm-tooltip cm-ajax cm-post cm-ajax-force cm-ajax-full-render " . (string) $_smarty_tpl->tpl_vars['class']->value, 'data' => array("data-ca-target-id" => $_smarty_tpl->tpl_vars['delete_target_id']->value, "data-ca-params" => $_smarty_tpl->tpl_vars['delete_data']->value)));
                ?>
</li>
                            <?php 
            }
            ?>
                        <?php 
        }
        ?>
                    <?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 
        smarty_template_function_dropdown($_smarty_tpl, array('content' => Smarty::$_smarty_vars['capture']['items_tools'], 'class' => "dropleft"));
        ?>

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

            </td>
            <?php 
        if (!$_smarty_tpl->tpl_vars['nostatus']->value) {
            ?>
                <td width="12%">
                    <div class="pull-right nowrap">
                        <?php 
            if ($_smarty_tpl->tpl_vars['non_editable']->value == true || $_smarty_tpl->tpl_vars['is_promo']->value) {
                ?>
                            <?php 
                $_smarty_tpl->tpl_vars["display"] = new Smarty_variable("text", null, 0);
                ?>
                        <?php 
            }
            ?>

                        <?php 
            if ($_smarty_tpl->tpl_vars['can_change_status']->value) {
                ?>
                            <?php 
                $_smarty_tpl->tpl_vars["non_editable"] = new Smarty_variable(false, null, 0);
                ?>
                            <?php 
                $_smarty_tpl->tpl_vars["display"] = new Smarty_variable('', null, 0);
                ?>
                        <?php 
            }
            ?>

                        <?php 
            echo $_smarty_tpl->getSubTemplate("common/select_popup.tpl", $_smarty_tpl->cache_id, $_smarty_tpl->compile_id, 0, null, array('popup_additional_class' => "dropleft", 'id' => $_smarty_tpl->tpl_vars['id']->value, 'status' => $_smarty_tpl->tpl_vars['status']->value, 'hidden' => $_smarty_tpl->tpl_vars['hidden']->value, 'object_id_name' => $_smarty_tpl->tpl_vars['object_id_name']->value, 'table' => $_smarty_tpl->tpl_vars['table']->value, 'hide_for_vendor' => $_smarty_tpl->tpl_vars['hide_for_vendor']->value, 'display' => $_smarty_tpl->tpl_vars['display']->value, 'non_editable' => $_smarty_tpl->tpl_vars['non_editable']->value, 'update_controller' => $_smarty_tpl->tpl_vars['update_controller']->value, 'st_result_ids' => $_smarty_tpl->tpl_vars['st_result_ids']->value), 0);
            ?>

                    </div>
                </td>
            <?php 
        }
        ?>
        <!--<?php 
        echo htmlspecialchars($_smarty_tpl->tpl_vars['row_id']->value, ENT_QUOTES, 'UTF-8');
        ?>
--></tr>
<?php 
        if (!$_smarty_tpl->tpl_vars['no_table']->value) {
            ?>
    </tbody>
</table>
<?php 
        }
    }
开发者ID:AlanIsrael0,项目名称:market,代码行数:101,代码来源:ce643fce2dedd35764393a99f2fef7c853053823.tygh.object_group.tpl.php

示例3: content_55e61f9bd91919_70061537


//.........这里部分代码省略.........
</th>
    <th>&nbsp;</th>
</tr>
</thead>
<tbody>
    <?php 
            $_smarty_tpl->tpl_vars["s"] = new Smarty_Variable();
            $_smarty_tpl->tpl_vars["s"]->_loop = false;
            $_from = $_smarty_tpl->tpl_vars['product_subscribers']->value;
            if (!is_array($_from) && !is_object($_from)) {
                settype($_from, 'array');
            }
            foreach ($_from as $_smarty_tpl->tpl_vars["s"]->key => $_smarty_tpl->tpl_vars["s"]->value) {
                $_smarty_tpl->tpl_vars["s"]->_loop = true;
                ?>
    <tr>
        <td class="center">
               <input type="checkbox" name="subscriber_ids[]" value="<?php 
                echo htmlspecialchars($_smarty_tpl->tpl_vars['s']->value['subscriber_id'], ENT_QUOTES, 'UTF-8');
                ?>
" class="cm-item" /></td>
        <td><input type="hidden" name="subscribers[<?php 
                echo htmlspecialchars($_smarty_tpl->tpl_vars['s']->value['subscriber_id'], ENT_QUOTES, 'UTF-8');
                ?>
][email]" value="<?php 
                echo htmlspecialchars($_smarty_tpl->tpl_vars['s']->value['email'], ENT_QUOTES, 'UTF-8');
                ?>
" />
            <a href="mailto:<?php 
                echo htmlspecialchars(rawurlencode($_smarty_tpl->tpl_vars['s']->value['email']), ENT_QUOTES, 'UTF-8');
                ?>
"><?php 
                echo htmlspecialchars($_smarty_tpl->tpl_vars['s']->value['email'], ENT_QUOTES, 'UTF-8');
                ?>
</a></td>
            <input type="hidden" name="product_id" value="<?php 
                echo htmlspecialchars($_smarty_tpl->tpl_vars['product_id']->value, ENT_QUOTES, 'UTF-8');
                ?>
" />
        <td class="nowrap right" width="5%">
            <?php 
                $_smarty_tpl->_capture_stack[0][] = array("tools_list", null, null);
                ob_start();
                ?>
                <li><?php 
                smarty_template_function_btn($_smarty_tpl, array('type' => "delete", 'href' => "products.update?product_id=" . (string) $_smarty_tpl->tpl_vars['product_id']->value . "&selected_section=subscribers&deleted_subscription_id=" . (string) $_smarty_tpl->tpl_vars['s']->value['subscriber_id']));
                ?>
</li>
            <?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();
                }
                ?>
            <div class="hidden-tools">
            <?php 
                if (!$_smarty_tpl->tpl_vars['runtime']->value['company_id'] || $_smarty_tpl->tpl_vars['runtime']->value['company_id'] && $_smarty_tpl->tpl_vars['product_data']->value['company_id'] == $_smarty_tpl->tpl_vars['runtime']->value['company_id']) {
                    ?>
                <?php 
                    smarty_template_function_dropdown($_smarty_tpl, array('content' => Smarty::$_smarty_vars['capture']['tools_list']));
                    ?>

            <?php 
                }
                ?>
            </div>
        </td>
    </tr>
    <?php 
            }
            ?>
</tbody>
</table>
<?php 
        } else {
            ?>
    <p class="no-items"><?php 
            echo $_smarty_tpl->__("no_data");
            ?>
</p>
<?php 
        }
        ?>

<?php 
        echo $_smarty_tpl->getSubTemplate("common/pagination.tpl", $_smarty_tpl->cache_id, $_smarty_tpl->compile_id, 0, null, array('div_id' => "product_subscribers", 'search' => $_smarty_tpl->tpl_vars['product_subscribers_search']->value), 0);
        ?>


</form>
<?php 
    }
开发者ID:AlanIsrael0,项目名称:market,代码行数:101,代码来源:13eafb56a2aa2a4d627b376e74ec019218a8efc4.tygh.product_subscribers.tpl.php

示例4: content_55db8f57a02b71_27074353


//.........这里部分代码省略.........
                    <?php 
                    if (!$_smarty_tpl->tpl_vars['hide_inputs_if_shared_product']->value) {
                        ?>
                        <li><?php 
                        smarty_template_function_btn($_smarty_tpl, array('type' => "list", 'text' => __("delete"), 'class' => "cm-confirm cm-post", 'href' => "products.delete?product_id=" . (string) $_smarty_tpl->tpl_vars['product']->value['product_id']));
                        ?>
</li>
                    <?php 
                    }
                    ?>
                <?php 
                    $_block_content = ob_get_clean();
                    $_block_repeat = false;
                    echo smarty_block_hook(array('name' => "products:list_extra_links"), $_block_content, $_smarty_tpl, $_block_repeat);
                }
                array_pop($_smarty_tpl->smarty->_tag_stack);
                ?>

            <?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 
                smarty_template_function_dropdown($_smarty_tpl, array('content' => Smarty::$_smarty_vars['capture']['tools_list']));
                ?>

        </div>
    </td>
    <td class="right nowrap">
    <?php 
                echo $_smarty_tpl->getSubTemplate("common/select_popup.tpl", $_smarty_tpl->cache_id, $_smarty_tpl->compile_id, 0, null, array('popup_additional_class' => "dropleft", 'id' => $_smarty_tpl->tpl_vars['product']->value['product_id'], 'status' => $_smarty_tpl->tpl_vars['product']->value['status'], 'hidden' => true, 'object_id_name' => "product_id", 'table' => "products"), 0);
                ?>

    </td>
</tr>
<?php 
            }
            ?>
</table>
<?php 
        } else {
            ?>
    <p class="no-items"><?php 
            echo $_smarty_tpl->__("no_data");
            ?>
</p>
<?php 
        }
        ?>

<?php 
        $_smarty_tpl->_capture_stack[0][] = array("select_fields_to_edit", null, null);
        ob_start();
        ?>

<p><?php 
开发者ID:AlanIsrael0,项目名称:market,代码行数:67,代码来源:c0ea1450969548284ad3899a8da6a8cfa089b6b7.tygh.manage.tpl.php

示例5: content_55ccecb50542d2_46842350


//.........这里部分代码省略.........
                echo htmlspecialchars($_smarty_tpl->tpl_vars['holder']->value, ENT_QUOTES, 'UTF-8');
                ?>
_<?php 
                echo htmlspecialchars($_smarty_tpl->tpl_vars['order_id']->value, ENT_QUOTES, 'UTF-8');
                ?>
" <?php 
            }
            ?>
class="cm-js-item<?php 
            if ($_smarty_tpl->tpl_vars['clone']->value) {
                ?>
 cm-clone hidden<?php 
            }
            ?>
">
    <td>
        <a href="<?php 
            echo htmlspecialchars(fn_url("orders.details?order_id=" . (string) $_smarty_tpl->tpl_vars['order_id']->value), ENT_QUOTES, 'UTF-8');
            ?>
">&nbsp;<span>#<?php 
            echo htmlspecialchars($_smarty_tpl->tpl_vars['order_id']->value, ENT_QUOTES, 'UTF-8');
            ?>
</span>&nbsp;</a></td>
    <td><?php 
            if ($_smarty_tpl->tpl_vars['clone']->value) {
                echo htmlspecialchars($_smarty_tpl->tpl_vars['status']->value, ENT_QUOTES, 'UTF-8');
            } else {
                echo $_smarty_tpl->getSubTemplate("common/status.tpl", $_smarty_tpl->cache_id, $_smarty_tpl->compile_id, 0, null, array('status' => $_smarty_tpl->tpl_vars['status']->value, 'display' => "view", 'name' => "order_statuses[" . (string) $_smarty_tpl->tpl_vars['order_id']->value . "]"), 0);
            }
            ?>
</td>
    <td><?php 
            echo htmlspecialchars($_smarty_tpl->tpl_vars['customer']->value, ENT_QUOTES, 'UTF-8');
            ?>
</td>
    <td>
        <a href="<?php 
            echo htmlspecialchars(fn_url("orders.details?order_id=" . (string) $_smarty_tpl->tpl_vars['order_id']->value), ENT_QUOTES, 'UTF-8');
            ?>
" class="underlined"><?php 
            if ($_smarty_tpl->tpl_vars['clone']->value) {
                echo htmlspecialchars($_smarty_tpl->tpl_vars['timestamp']->value, ENT_QUOTES, 'UTF-8');
            } else {
                echo htmlspecialchars(smarty_modifier_date_format($_smarty_tpl->tpl_vars['timestamp']->value, (string) $_smarty_tpl->tpl_vars['settings']->value['Appearance']['date_format'] . ", " . (string) $_smarty_tpl->tpl_vars['settings']->value['Appearance']['time_format']), ENT_QUOTES, 'UTF-8');
            }
            ?>
</a></td>
    <td class="right">
        <?php 
            if ($_smarty_tpl->tpl_vars['clone']->value) {
                echo htmlspecialchars($_smarty_tpl->tpl_vars['total']->value, ENT_QUOTES, 'UTF-8');
            } else {
                echo $_smarty_tpl->getSubTemplate("common/price.tpl", $_smarty_tpl->cache_id, $_smarty_tpl->compile_id, 0, null, array('value' => $_smarty_tpl->tpl_vars['total']->value), 0);
            }
            ?>
</td>
    <?php 
            if (!$_smarty_tpl->tpl_vars['view_only']->value) {
                ?>
    <td class="nowrap">
        <div class="hidden-tools">
            <?php 
                $_smarty_tpl->_capture_stack[0][] = array("tools_list", null, null);
                ob_start();
                ?>
                <li><?php 
                smarty_template_function_btn($_smarty_tpl, array('type' => "list", 'text' => __("edit"), 'href' => "orders.details?order_id=" . (string) $_smarty_tpl->tpl_vars['order_id']->value));
                ?>
</li>
                <li><?php 
                smarty_template_function_btn($_smarty_tpl, array('type' => "list", 'text' => __("remove"), 'onclick' => "Tygh." . "\$" . ".cePicker('delete_js_item', '" . (string) $_smarty_tpl->tpl_vars['holder']->value . "', '" . (string) $_smarty_tpl->tpl_vars['order_id']->value . "', 'o'); return false;"));
                ?>
</li>
            <?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 
                smarty_template_function_dropdown($_smarty_tpl, array('content' => Smarty::$_smarty_vars['capture']['tools_list']));
                ?>

        </div>
    </td>
    <?php 
            }
            ?>
</tr>
<?php 
        }
    }
开发者ID:OneataBogdan,项目名称:lead_coriolan,代码行数:101,代码来源:0551dd5af3f5f3e1f27d9309bb9caae107e46ae1.tygh.js.tpl.php

示例6: content_55d2ecf6a248d2_80709672


//.........这里部分代码省略.........
                $_smarty_tpl->_capture_stack[0][] = array("tools_list", null, null);
                ob_start();
                ?>
            <li><?php 
                smarty_template_function_btn($_smarty_tpl, array('type' => "list", 'text' => $_smarty_tpl->tpl_vars['link_text']->value, 'href' => "shippings.update?shipping_id=" . (string) $_smarty_tpl->tpl_vars['shipping']->value['shipping_id']));
                ?>
</li>
            <?php 
                if ($_smarty_tpl->tpl_vars['allow_save']->value) {
                    ?>
                <li><?php 
                    smarty_template_function_btn($_smarty_tpl, array('type' => "list", 'text' => __("delete"), 'class' => "cm-confirm", 'href' => "shippings.delete?shipping_id=" . (string) $_smarty_tpl->tpl_vars['shipping']->value['shipping_id']));
                    ?>
</li>
            <?php 
                }
                ?>
        <?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();
                }
                ?>
        <div class="hidden-tools">
            <?php 
                smarty_template_function_dropdown($_smarty_tpl, array('content' => Smarty::$_smarty_vars['capture']['tools_list']));
                ?>

        </div>
    </td>
    <td class="right">
        <?php 
                echo $_smarty_tpl->getSubTemplate("common/select_popup.tpl", $_smarty_tpl->cache_id, $_smarty_tpl->compile_id, 0, null, array('id' => $_smarty_tpl->tpl_vars['shipping']->value['shipping_id'], 'display' => $_smarty_tpl->tpl_vars['status_display']->value, 'status' => $_smarty_tpl->tpl_vars['shipping']->value['status'], 'hidden' => '', 'object_id_name' => "shipping_id", 'table' => "shippings"), 0);
                ?>
        
    </td>
</tr>
<?php 
            }
            ?>
</table>
<?php 
        } else {
            ?>
    <p class="no-items"><?php 
            echo $_smarty_tpl->__("no_data");
            ?>
</p>
<?php 
        }
        ?>
</form>

<?php 
        $_smarty_tpl->_capture_stack[0][] = array("buttons", null, null);
        ob_start();
        ?>
    <?php 
开发者ID:OneataBogdan,项目名称:lead_coriolan,代码行数:67,代码来源:143871deb342fb3918d73544726939a19734c0f9.tygh.manage.tpl.php

示例7: content_55e61f9b7722c4_18014718


//.........这里部分代码省略.........
                    <?php 
                    $_smarty_tpl->_capture_stack[0][] = array("buttons_insert", null, null);
                    ob_start();
                    ?>
                <?php 
                }
                ?>
                <?php 
                if (fn_check_view_permissions("discussion.m_delete")) {
                    ?>
                    <?php 
                    $_smarty_tpl->_capture_stack[0][] = array("tools_list", null, null);
                    ob_start();
                    ?>
                        <li><?php 
                    smarty_template_function_btn($_smarty_tpl, array('type' => "delete_selected", 'dispatch' => "dispatch[discussion.m_delete]", 'form' => "update_posts_form"));
                    ?>
</li>
                    <?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 
                    smarty_template_function_dropdown($_smarty_tpl, array('content' => Smarty::$_smarty_vars['capture']['tools_list']));
                    ?>

                <?php 
                }
                ?>
                <?php 
                if ($_smarty_tpl->tpl_vars['discussion']->value['object_type'] == "E") {
                    ?>
                    <?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 
                }
                ?>
            <?php 
            }
            ?>
        </div>
    </div><br>

    <?php 
开发者ID:AlanIsrael0,项目名称:market,代码行数:67,代码来源:f32ec0ae1c49f934b66e0ce0de2654d56f300a59.tygh.discussion.tpl.php

示例8: content_55e61e6bb11d10_64552035


//.........这里部分代码省略.........
                ?>
</li>
        <?php 
            }
            ?>
        <?php 
            if (fn_user_need_login($_smarty_tpl->tpl_vars['user_data']->value['user_type']) && (!$_smarty_tpl->tpl_vars['runtime']->value['company_id'] || $_smarty_tpl->tpl_vars['runtime']->value['company_id'] == $_smarty_tpl->tpl_vars['auth']->value['company_id']) && $_smarty_tpl->tpl_vars['user_data']->value['user_id'] != $_smarty_tpl->tpl_vars['auth']->value['user_id'] && !($_smarty_tpl->tpl_vars['user_data']->value['user_type'] == 'A' && $_smarty_tpl->tpl_vars['user_data']->value['is_root'] == 'Y' && !$_smarty_tpl->tpl_vars['user_data']->value['company_id'])) {
                ?>
            <li><?php 
                smarty_template_function_btn($_smarty_tpl, array('type' => "list", 'target' => "_blank", 'text' => __("act_on_behalf"), 'href' => "profiles.act_as_user?user_id=" . (string) $_smarty_tpl->tpl_vars['id']->value));
                ?>
</li>
            <li class="divider"></li>
            <li><?php 
                smarty_template_function_btn($_smarty_tpl, array('type' => "list", 'text' => __("delete"), 'class' => "cm-confirm cm-post", 'href' => "profiles.delete?user_id=" . (string) $_smarty_tpl->tpl_vars['id']->value . "&redirect_url=" . (string) $_smarty_tpl->tpl_vars['redirect_url']->value));
                ?>
</li>
        <?php 
            }
            ?>
        <?php 
            $_block_content = ob_get_clean();
            $_block_repeat = false;
            echo smarty_block_hook(array('name' => "profiles:update_tools_list"), $_block_content, $_smarty_tpl, $_block_repeat);
        }
        array_pop($_smarty_tpl->smarty->_tag_stack);
        ?>

    <?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 
        if ($_smarty_tpl->tpl_vars['id']->value && trim(Smarty::$_smarty_vars['capture']['tools_list']) !== '') {
            ?>
        <?php 
            smarty_template_function_dropdown($_smarty_tpl, array('content' => Smarty::$_smarty_vars['capture']['tools_list']));
            ?>

    <?php 
        }
        ?>
<div class="btn-group btn-hover dropleft">
    <?php 
        if ($_smarty_tpl->tpl_vars['id']->value) {
            ?>
        <?php 
            echo $_smarty_tpl->getSubTemplate("buttons/save_changes.tpl", $_smarty_tpl->cache_id, $_smarty_tpl->compile_id, 0, null, array('but_meta' => "dropdown-toggle", 'but_role' => "submit-link", 'but_name' => "dispatch[profiles." . (string) $_smarty_tpl->tpl_vars['runtime']->value['mode'] . "]", 'but_target_form' => "profile_form", 'save' => $_smarty_tpl->tpl_vars['id']->value), 0);
            ?>

    <?php 
        } else {
            ?>
        <?php 
            echo $_smarty_tpl->getSubTemplate("buttons/button.tpl", $_smarty_tpl->cache_id, $_smarty_tpl->compile_id, 0, null, array('but_text' => __("create"), 'but_meta' => "dropdown-toggle", 'but_role' => "submit-link", 'but_name' => "dispatch[profiles." . (string) $_smarty_tpl->tpl_vars['runtime']->value['mode'] . "]", 'but_target_form' => "profile_form", 'save' => $_smarty_tpl->tpl_vars['id']->value), 0);
            ?>

    <?php 
        }
        ?>
    <ul class="dropdown-menu">
        <li><a><input type="checkbox" name="notify_customer" value="Y" checked="checked"  id="notify_customer" />
            <?php 
        echo $_smarty_tpl->__("notify_user");
        ?>
</a></li>
    </ul>
</div>

<?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_tpl->getSubTemplate("common/mainbox.tpl", $_smarty_tpl->cache_id, $_smarty_tpl->compile_id, 0, null, array('title' => $_smarty_tpl->tpl_vars['_title']->value, 'content' => Smarty::$_smarty_vars['capture']['mainbox'], 'buttons' => Smarty::$_smarty_vars['capture']['buttons']), 0);
        ?>

</form><?php 
    }
开发者ID:AlanIsrael0,项目名称:market,代码行数:101,代码来源:5b8fd1e7b35939d40c4955681a16f65aaceaa4da.tygh.update.tpl.php

示例9: content_55ccf16de31ed7_69152506


//.........这里部分代码省略.........
                                echo htmlspecialchars($_smarty_tpl->tpl_vars['theme_name']->value, ENT_QUOTES, 'UTF-8');
                                ?>
" class="cm-previewer"><?php 
                                echo $_smarty_tpl->__("preview");
                                ?>
</a></li>
                            <?php 
                            }
                            ?>

                            
                            <li><a class="cm-comet cm-ajax" data-ca-target-id="themes_list" href="<?php 
                            echo htmlspecialchars(fn_url("themes.install?theme_name=" . (string) $_smarty_tpl->tpl_vars['theme_name']->value), ENT_QUOTES, 'UTF-8');
                            ?>
" data-ca-target-id="themes_list"><?php 
                            echo $_smarty_tpl->__("install");
                            ?>
</a></li>
                        <?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 
                            smarty_template_function_dropdown($_smarty_tpl, array('content' => Smarty::$_smarty_vars['capture']['tools_list'], 'placement' => "right"));
                            ?>

                    </div>
                </div>
            </div>
        <?php 
                        }
                        ?>
    <?php 
                    }
                    ?>
    </div>
    <?php 
                }
                ?>
    <?php 
            } else {
                ?>
        <div class="no-items">
            <?php 
                echo $_smarty_tpl->__("no_themes_available");
                ?>

        </div>
    <?php 
            }
            ?>
    </div>
<?php 
            $_block_content = ob_get_clean();
            $_block_repeat = false;
            echo smarty_block_hook(array('name' => "themes:install_themes"), $_block_content, $_smarty_tpl, $_block_repeat);
开发者ID:OneataBogdan,项目名称:lead_coriolan,代码行数:67,代码来源:5843822d3b215629d191dd472cf8d5f96d817294.tygh.manage.tpl.php

示例10: content_55e32f3b991356_25240200


//.........这里部分代码省略.........
        <?php 
        }
        ?>
    <!--content_<?php 
        echo htmlspecialchars($_smarty_tpl->tpl_vars['report']->value['report_id'], ENT_QUOTES, 'UTF-8');
        ?>
--></div>
<?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 
        $_smarty_tpl->_capture_stack[0][] = array("buttons", null, null);
        ob_start();
        ?>
    <?php 
        $_smarty_tpl->_capture_stack[0][] = array("tools_list", null, null);
        ob_start();
        ?>
        <li><?php 
        smarty_template_function_btn($_smarty_tpl, array('type' => "list", 'text' => __("manage_reports"), 'href' => "sales_reports.manage"));
        ?>
</li>
        <li><?php 
        smarty_template_function_btn($_smarty_tpl, array('type' => "list", 'text' => __("edit_report"), 'href' => "sales_reports.update_table?report_id=" . (string) $_smarty_tpl->tpl_vars['report_id']->value . "&table_id=" . (string) $_smarty_tpl->tpl_vars['table']->value['table_id']));
        ?>
</li>
    <?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 
        smarty_template_function_dropdown($_smarty_tpl, array('content' => Smarty::$_smarty_vars['capture']['tools_list']));
        ?>

<?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 
        $_smarty_tpl->_capture_stack[0][] = array("sidebar", null, null);
        ob_start();
        ?>
    <?php 
        echo $_smarty_tpl->getSubTemplate("views/sales_reports/components/sales_reports_search_form.tpl", $_smarty_tpl->cache_id, $_smarty_tpl->compile_id, 0, null, array('period' => $_smarty_tpl->tpl_vars['report']->value['period'], 'search' => $_smarty_tpl->tpl_vars['report']->value), 0);
        ?>

<?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_tpl->getSubTemplate("common/mainbox.tpl", $_smarty_tpl->cache_id, $_smarty_tpl->compile_id, 0, null, array('title' => __("reports"), 'content' => Smarty::$_smarty_vars['capture']['mainbox'], 'buttons' => Smarty::$_smarty_vars['capture']['buttons'], 'sidebar' => Smarty::$_smarty_vars['capture']['sidebar']), 0);
        ?>

<?php 
    }
开发者ID:OneataBogdan,项目名称:lead_coriolan,代码行数:101,代码来源:919328289b67bfd84dd18ae357e809386101de9a.tygh.view.tpl.php

示例11: content_55cdb2a772c4b0_94646970


//.........这里部分代码省略.........
                    $_smarty_tpl->tpl_vars["_href"] = new Smarty_variable("pages.update?page_id=" . (string) $_smarty_tpl->tpl_vars['page']->value['page_id'] . "&come_from=" . (string) $_smarty_tpl->tpl_vars['come_from']->value, null, 0);
                    ?>
            <?php 
                }
                ?>
            <li><?php 
                smarty_template_function_btn($_smarty_tpl, array('type' => "list", 'text' => __("edit"), 'href' => $_smarty_tpl->tpl_vars['_href']->value));
                ?>
</li>
            <?php 
                if (fn_allowed_for("ULTIMATE") && $_smarty_tpl->tpl_vars['allow_save']->value || !fn_allowed_for("ULTIMATE")) {
                    ?>
                <li><?php 
                    smarty_template_function_btn($_smarty_tpl, array('type' => "list", 'text' => __("delete"), 'class' => "confirm", 'href' => "pages.delete?page_type=" . (string) $_smarty_tpl->tpl_vars['page']->value['page_type'] . "&page_id=" . (string) $_smarty_tpl->tpl_vars['page']->value['page_id'] . (string) $_smarty_tpl->tpl_vars['multi_level']->value . "&come_from=" . (string) $_smarty_tpl->tpl_vars['come_from']->value));
                    ?>
</li>
            <?php 
                }
                ?>
        <?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();
                }
                ?>
        <div class="hidden-tools">
            <?php 
                smarty_template_function_dropdown($_smarty_tpl, array('content' => Smarty::$_smarty_vars['capture']['tools_list']));
                ?>

        </div>
    </td>
    <?php 
            }
            ?>
    <?php 
            if (!$_smarty_tpl->tpl_vars['hide_delete_button']->value) {
                ?>
    <td width="10%" class="nowrap right">
        <?php 
                if (fn_allowed_for("ULTIMATE") && $_smarty_tpl->tpl_vars['allow_save']->value || !fn_allowed_for("ULTIMATE")) {
                    ?>
            <?php 
                    echo $_smarty_tpl->getSubTemplate("common/select_popup.tpl", $_smarty_tpl->cache_id, $_smarty_tpl->compile_id, 0, null, array('id' => $_smarty_tpl->tpl_vars['page']->value['page_id'], 'status' => $_smarty_tpl->tpl_vars['page']->value['status'], 'hidden' => true, 'object_id_name' => "page_id", 'table' => "pages", 'popup_additional_class' => "dropleft"), 0);
                    ?>

        <?php 
                }
                ?>
    </td>
    <?php 
            }
            ?>
</tr>
</table>

<?php 
            if ($_smarty_tpl->tpl_vars['page']->value['subpages'] || $_smarty_tpl->tpl_vars['page']->value['has_children']) {
                ?>
    <?php 
                echo $_smarty_tpl->getSubTemplate("views/pages/components/pages_tree.tpl", $_smarty_tpl->cache_id, $_smarty_tpl->compile_id, 0, null, array('pages_tree' => $_smarty_tpl->tpl_vars['page']->value['subpages'], 'parent_id' => $_smarty_tpl->tpl_vars['page']->value['page_id']), 0);
                ?>

<?php 
            }
        }
        if (!$_smarty_tpl->tpl_vars['page']->_loop) {
            ?>
    <?php 
            if (!$_smarty_tpl->tpl_vars['hide_show_all']->value) {
                ?>
        <p class="no-items"><?php 
                echo $_smarty_tpl->__("no_data");
                ?>
</p>
    <?php 
            }
        }
        ?>

<?php 
        if ($_smarty_tpl->tpl_vars['parent_id']->value) {
            ?>
<!--page<?php 
            echo htmlspecialchars($_smarty_tpl->tpl_vars['combination_suffix']->value, ENT_QUOTES, 'UTF-8');
            ?>
_<?php 
            echo htmlspecialchars($_smarty_tpl->tpl_vars['parent_id']->value, ENT_QUOTES, 'UTF-8');
            ?>
--></div><?php 
        }
    }
开发者ID:OneataBogdan,项目名称:lead_coriolan,代码行数:101,代码来源:328ed11efcab1ca9d3358a90b768cf3305059b9c.tygh.pages_tree.tpl.php

示例12: content_55dc81ac7ddd16_50130614


//.........这里部分代码省略.........
                    <?php 
                    $_smarty_tpl->_capture_stack[0][] = array("tools_items", null, null);
                    ob_start();
                    ?>
                        <li><?php 
                    smarty_template_function_btn($_smarty_tpl, array('type' => "list", 'text' => __("add_product"), 'href' => "products.add?category_id=" . (string) $_smarty_tpl->tpl_vars['category']->value['category_id']));
                    ?>
</li>
                        <?php 
                    if (!$_smarty_tpl->tpl_vars['hide_inputs']->value) {
                        ?>
                        <li class="divider"></li>
                        <?php 
                    }
                    ?>
                        <li><?php 
                    smarty_template_function_btn($_smarty_tpl, array('type' => "list", 'text' => __("edit"), 'href' => "categories.update?category_id=" . (string) $_smarty_tpl->tpl_vars['category']->value['category_id']));
                    ?>
</li>
                        <li><?php 
                    ob_start();
                    echo $_smarty_tpl->__("category_deletion_side_effects");
                    $_tmp2 = ob_get_clean();
                    smarty_template_function_btn($_smarty_tpl, array('type' => "list", 'class' => "cm-confirm cm-post", 'data' => array("data-ca-confirm-text" => $_tmp2), 'text' => __("delete"), 'href' => "categories.delete?category_id=" . (string) $_smarty_tpl->tpl_vars['category']->value['category_id']));
                    ?>
</li>
                    <?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 
                    smarty_template_function_dropdown($_smarty_tpl, array('content' => Smarty::$_smarty_vars['capture']['tools_items']));
                    ?>

                </div>
            </td>
            <td width="10%" class="nowrap right">
            <?php 
                    echo $_smarty_tpl->getSubTemplate("common/select_popup.tpl", $_smarty_tpl->cache_id, $_smarty_tpl->compile_id, 0, null, array('popup_additional_class' => "dropleft", 'id' => $_smarty_tpl->tpl_vars['category']->value['category_id'], 'status' => $_smarty_tpl->tpl_vars['category']->value['status'], 'hidden' => true, 'object_id_name' => "category_id", 'table' => "categories", 'non_editable' => $_smarty_tpl->tpl_vars['hide_inputs']->value), 0);
                    ?>

            </td>
        <?php 
                }
                ?>
    </tr>
    <?php 
            }
            ?>
    </table>
    <?php 
            if ($_smarty_tpl->tpl_vars['category']->value['has_children'] || $_smarty_tpl->tpl_vars['category']->value['subcategories']) {
                ?>
        <div class="<?php 
                if (!$_smarty_tpl->tpl_vars['expand_all']->value) {
                    ?>
 hidden<?php 
                }
                ?>
" id="<?php 
                echo htmlspecialchars($_smarty_tpl->tpl_vars['comb_id']->value, ENT_QUOTES, 'UTF-8');
                ?>
">
            <?php 
                if ($_smarty_tpl->tpl_vars['category']->value['subcategories']) {
                    ?>
            <?php 
                    echo $_smarty_tpl->getSubTemplate("views/categories/components/categories_tree.tpl", $_smarty_tpl->cache_id, $_smarty_tpl->compile_id, 0, null, array('categories_tree' => $_smarty_tpl->tpl_vars['category']->value['subcategories'], 'parent_id' => false), 0);
                    ?>

            <?php 
                }
                ?>
            <!--<?php 
                echo htmlspecialchars($_smarty_tpl->tpl_vars['comb_id']->value, ENT_QUOTES, 'UTF-8');
                ?>
--></div>
    <?php 
            }
        }
        ?>
    <?php 
        if ($_smarty_tpl->tpl_vars['parent_id']->value) {
            ?>
<!--cat_<?php 
            echo htmlspecialchars($_smarty_tpl->tpl_vars['parent_id']->value, ENT_QUOTES, 'UTF-8');
            ?>
--></div><?php 
        }
    }
开发者ID:AlanIsrael0,项目名称:market,代码行数:101,代码来源:4c238bffc06bad125f1597d203d95af2c49ec93b.tygh.categories_tree.tpl.php

示例13: content_55ccf5f2d76602_89796964


//.........这里部分代码省略.........
        ?>
</li>
        <li class="cm-te-compress"><?php 
        smarty_template_function_btn($_smarty_tpl, array('type' => "list", 'text' => __("make_archive")));
        ?>
</li>
        <li class="cm-te-decompress"><?php 
        smarty_template_function_btn($_smarty_tpl, array('type' => "list", 'text' => __("extract_archive")));
        ?>
</li>
        <li class="cm-te-rename"><?php 
        smarty_template_function_btn($_smarty_tpl, array('type' => "list", 'text' => __("rename")));
        ?>
</li>
        <li class="cm-te-delete"><?php 
        smarty_template_function_btn($_smarty_tpl, array('type' => "list", 'text' => __("delete")));
        ?>
</li>
    <?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 
        smarty_template_function_dropdown($_smarty_tpl, array('content' => Smarty::$_smarty_vars['capture']['tools_list'], 'class' => "ce-te-actions"));
        ?>


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

    <?php 
            echo $_smarty_tpl->getSubTemplate("buttons/save_changes.tpl", $_smarty_tpl->cache_id, $_smarty_tpl->compile_id, 0, null, array('but_meta' => "cm-te-save-file btn-primary disabled", 'but_role' => "submit"), 0);
            ?>

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

    
<?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());
开发者ID:OneataBogdan,项目名称:lead_coriolan,代码行数:67,代码来源:bea3509a7f6cf966e928b6cfb332a2050466fe6f.tygh.manage.tpl.php

示例14: content_55d2ed05346cd0_99774659


//.........这里部分代码省略.........
                $_smarty_tpl->_capture_stack[0][] = array("tools_list", null, null);
                ob_start();
                ?>
                <li><?php 
                smarty_template_function_btn($_smarty_tpl, array('type' => "list", 'text' => __("remove"), 'onclick' => "Tygh." . "\$" . ".cePicker('delete_js_item', '" . (string) $_smarty_tpl->tpl_vars['holder']->value . "', '" . (string) $_smarty_tpl->tpl_vars['company_id']->value . "', 'm'); return false;"));
                ?>
</li>
                <?php 
                if (!$_smarty_tpl->tpl_vars['hide_edit_button']->value != "view") {
                    ?>
                    <li><?php 
                    smarty_template_function_btn($_smarty_tpl, array('type' => "list", 'text' => __("edit"), 'href' => "companies.update?company_id=" . (string) $_smarty_tpl->tpl_vars['company_id']->value));
                    ?>
</li>
                <?php 
                }
                ?>
            <?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();
                }
                ?>
            <div class="hidden-tools">
                <?php 
                smarty_template_function_dropdown($_smarty_tpl, array('content' => Smarty::$_smarty_vars['capture']['tools_list']));
                ?>

            </div>
        <?php 
            }
            ?>
        </td>
    </tr>
<?php 
        } else {
            ?>
    <<?php 
            if ($_smarty_tpl->tpl_vars['single_line']->value) {
                ?>
span<?php 
            } else {
                ?>
p<?php 
            }
            ?>
 <?php 
            if (!$_smarty_tpl->tpl_vars['clone']->value) {
                ?>
id="<?php 
                echo htmlspecialchars($_smarty_tpl->tpl_vars['holder']->value, ENT_QUOTES, 'UTF-8');
                ?>
_<?php 
                echo htmlspecialchars($_smarty_tpl->tpl_vars['company_id']->value, ENT_QUOTES, 'UTF-8');
                ?>
" <?php 
            }
            ?>
开发者ID:OneataBogdan,项目名称:lead_coriolan,代码行数:67,代码来源:bbfb1cec7cb2a708f04284c2773e288dd8288836.tygh.js.tpl.php

示例15: content_55d2ec43d52980_67621944


//.........这里部分代码省略.........
            <?php 
            if (!$_smarty_tpl->tpl_vars['hide_inputs']->value) {
                ?>
            <li class="divider"></li>
            <li><?php 
                smarty_template_function_btn($_smarty_tpl, array('type' => "dialog", 'class' => "cm-process-items", 'text' => __("edit_selected"), 'target_id' => "content_select_fields_to_edit", 'form' => "category_tree_form"));
                ?>
</li>
            <?php 
            }
            ?>
            <li><?php 
            smarty_template_function_btn($_smarty_tpl, array('type' => "delete_selected", 'dispatch' => "dispatch[categories.m_delete]", 'form' => "category_tree_form"));
            ?>
</li>
        <?php 
        }
        ?>
    <?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 
        smarty_template_function_dropdown($_smarty_tpl, array('content' => Smarty::$_smarty_vars['capture']['tools_list']));
        ?>


    <?php 
        if ($_smarty_tpl->tpl_vars['categories_tree']->value) {
            ?>
        <?php 
            echo $_smarty_tpl->getSubTemplate("buttons/save.tpl", $_smarty_tpl->cache_id, $_smarty_tpl->compile_id, 0, null, array('but_name' => "dispatch[categories.m_update]", 'but_role' => "submit-link", 'but_target_form' => "category_tree_form"), 0);
            ?>

    <?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 
        $_smarty_tpl->_capture_stack[0][] = array("adv_buttons", null, null);
        ob_start();
        ?>
    <?php 
        echo $_smarty_tpl->getSubTemplate("common/tools.tpl", $_smarty_tpl->cache_id, $_smarty_tpl->compile_id, 0, null, array('tool_href' => "categories.add", 'prefix' => "top", 'hide_tools' => "true", 'title' => __("add_category"), 'icon' => "icon-plus"), 0);
开发者ID:OneataBogdan,项目名称:lead_coriolan,代码行数:67,代码来源:a93313074fb954d1d1020a03f8e616f092bbe4ce.tygh.manage.tpl.php


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