本文整理汇总了PHP中PodsForm::submit_button方法的典型用法代码示例。如果您正苦于以下问题:PHP PodsForm::submit_button方法的具体用法?PHP PodsForm::submit_button怎么用?PHP PodsForm::submit_button使用的例子?那么恭喜您, 这里精选的方法代码示例或许可以为您提供帮助。您也可以进一步了解该方法所在类PodsForm
的用法示例。
在下文中一共展示了PodsForm::submit_button方法的1个代码示例,这些例子默认根据受欢迎程度排序。您可以为喜欢或者感觉有用的代码点赞,您的评价将有助于系统推荐出更棒的PHP代码示例。
示例1: filters
//.........这里部分代码省略.........
$clear_filters['filter_' . $filter . '_start'] = false;
$clear_filters['filter_' . $filter . '_end'] = false;
$clear_filters['filter_' . $filter] = false;
}
?>
<a href="<?php
echo esc_url(pods_query_arg($clear_filters, array('orderby' . $this->num, 'orderby_dir' . $this->num, 'limit' . $this->num, 'page'), $this->exclusion()));
?>
" class="pods-ui-filter-reset">[<?php
_e('Reset', 'pods');
?>
]</a>
<?php
}
if (false !== $this->do_hook('filters_show_search', true)) {
?>
<label class="screen-reader-text" for="page-search<?php
echo esc_attr($this->num);
?>
-input"><?php
_e('Search', 'pods');
?>
:</label>
<?php
echo PodsForm::field('search' . $this->num, $this->search, 'text', array('attributes' => array('id' => 'page-search' . $this->num . '-input')));
?>
<?php
} else {
echo PodsForm::field('search' . $this->num, '', 'hidden');
}
?>
<?php
echo PodsForm::submit_button($this->header['search'], 'button', false, false, array('id' => 'search' . $this->num . '-submit'));
?>
</p>
<?php
}
?>
</div>
<?php
if (!empty($this->filters)) {
?>
<div class="pods-ui-filter-bar-secondary">
<ul class="subsubsub">
<?php
if (!$filtered) {
?>
<li class="pods-ui-filter-bar-add-filter">
<a href="#TB_inline?width=640&inlineId=pods-ui-posts-filter-popup" class="thickbox" title="<?php
esc_attr_e('Advanced Filters', 'pods');
?>
">
<?php
_e('Advanced Filters', 'pods');
?>
</a>
</li>
<?php
} else {
?>
<li class="pods-ui-filter-bar-add-filter">
<a href="#TB_inline?width=640&inlineId=pods-ui-posts-filter-popup" class="thickbox" title="<?php
esc_attr_e('Advanced Filters', 'pods');
?>