function display_all_items($all_items, $array_value, $from, $to) { foreach ($all_items as $k => $v) { // 不显示在这里的 if // from - to if ($v['edit_hide']) { continue; } form_block($k, $v, $array_value[$k]); } }
echo $title; ?> </h4> </div> <div class="modal-body"> <form method="post" action="<?php echo U('config/submit_new'); ?> " class="form-horizontal post_ajax_form"> <table class="table table-noborder"> <?php if (is_array($config_fields)) { foreach ($config_fields as $key => $field) { echo form_block($key, $field, $config[$key]); } } ?> </table> </form> </div> <div class="modal-footer"> <a href="javascript:void(0)" onclick="box_submit_form();" class="btn btn-sm btn-primary"> <i class="fa fa-angle-right"></i> <?php if (empty($confirm_button_display)) { ?> 提交<?php } else {
</li><?php } ?> </ul> <div class="block"> <form action="<?php echo U('tag/save'); ?> " method="post" class="form-horizontal post_ajax_form"> <table class="table table-noborder"> <?php if (is_array($model_fields)) { foreach ($model_fields as $key => $field) { echo form_block($key, $field, $tag[$key]); } } ?> </table> <div class="form-group form-actions"> <input type="hidden" name="id" value="<?php echo $tag['id']; ?> "> <div class="col-md-9 col-md-offset-2"> <button type="submit" class="btn btn-sm btn-success" data-loading-text="保存中..."><i class="hi hi-ok"></i>保存</button> </div> </div> </form> </div>
) <?php if ($category['extend']['description']) { ?> <div style="padding:10px 0 0 12px;" class="text-danger">扩展备注:<?php echo nl2br($category['extend']['description']); ?> </div><?php } ?> </td> </tr> <?php if (is_array($extend_fields)) { foreach ($extend_fields as $key => $field) { echo form_block('_extend_' . $key, $field, $content['extend'][$key]); } } } ?> </table> <div class="form-group form-actions"> <input type="hidden" name="id" value="<?php echo $content['id']; ?> "> <input type="hidden" name="model_id" value="<?php echo $model_id; ?> ">
</td> </tr><?php } } ?> </table> </div> </td> </tr><?php break; ?> <?php default: ?> <?php echo form_block($key, $field, $category[$key]); } } } ?> </table> <div class="form-group form-actions"> <input type="hidden" name="id" value="<?php echo $category['id']; ?> "> <input type="hidden" name="pid" value="<?php echo $pid; ?> ">