本文整理汇总了PHP中tpl_form_field_image函数的典型用法代码示例。如果您正苦于以下问题:PHP tpl_form_field_image函数的具体用法?PHP tpl_form_field_image怎么用?PHP tpl_form_field_image使用的例子?那么恭喜您, 这里精选的函数代码示例或许可以为您提供帮助。
在下文中一共展示了tpl_form_field_image函数的20个代码示例,这些例子默认根据受欢迎程度排序。您可以为喜欢或者感觉有用的代码点赞,您的评价将有助于我们的系统推荐出更棒的PHP代码示例。
示例1: tpl_form_field_image
</div>
<div class="panel-body">
<div class="form-group">
<label class="col-xs-12 col-sm-3 col-md-2 control-label"><span style='color:red'>*</span> 结束标题</label>
<div class="col-sm-9 col-xs-12">
<input type="text" id="end_theme" class="form-control" placeholder="" name="end_theme" value="<?php
echo $reply['end_theme'];
?>
">
</div>
</div>
<div class="form-group">
<label class="col-xs-12 col-sm-3 col-md-2 control-label"><span style='color:red'>*</span> 结束图片</label>
<div class="col-sm-9 col-xs-12">
<?php
echo tpl_form_field_image('end_picurl', $reply['end_picurl']);
?>
</div>
</div>
<div class="form-group">
<label class="col-xs-12 col-sm-3 col-md-2 control-label"><span style='color:red'>*</span> 结束说明</label>
<div class="col-sm-9 col-xs-12">
<textarea style="height:60px;" id='end_instruction' name="end_instruction" class="form-control" cols="60"><?php
echo $reply['end_instruction'];
?>
</textarea>
</div>
</div>
</div>
</div>
<div class="panel panel-default">
开发者ID:nsoff,项目名称:wdlcms,代码行数:31,代码来源:2_form.tpl.php
示例2: tpl_form_field_image
</td>
</tr>
<tr>
<th><label for="">标题</label></th>
<td>
<input type="text" class="span6" placeholder="" name="title" value="<?php
echo $item['title'];
?>
">
</td>
</tr>
<tr>
<th><label for="">缩略图</label></th>
<td>
<?php
echo tpl_form_field_image('thumb', $item['thumb']);
?>
<span class="help-block"></span>
</td>
</tr>
<tr>
<th><label for="">链接</label></th>
<td>
<input type="text" class="span6" placeholder="" name="url" value="<?php
echo $item['url'];
?>
">
</td>
</tr>
</table>
开发者ID:alextiannus,项目名称:wormwood_wechat,代码行数:30,代码来源:slide.tpl.php
示例3: tpl_form_field_image
<label class="col-xs-12 col-sm-3 col-md-2 control-label"><span style='color:red'>*</span>排序(序号从小到大):</label>
<div class="col-sm-9 col-xs-12">
<input type="text" class="form-control span7"
placeholder="" name="sort" value="<?php
echo $gz_item['sort'];
?>
">
</div>
</div>
<div class="form-group">
<label class="col-xs-12 col-sm-3 col-md-2 control-label"><span class='red'>*</span>公众号图标logo:</label>
<div class="col-sm-9 col-xs-12">
<?php
echo tpl_form_field_image('icon', $gz_item['icon']);
?>
</div>
</div>
<div class="form-group">
<label class="col-xs-12 col-sm-3 col-md-2 control-label"><span class='red'>*</span>关注链接地址:</label>
<div class="col-sm-9 col-xs-12">
<input type="text" id="title" class="form-control span7"
placeholder="" name="i_url" value="<?php
echo $gz_item['i_url'];
?>
">
</div>
</div>
开发者ID:nsoff,项目名称:wdlcms,代码行数:30,代码来源:2_gz_item_edit.tpl.php
示例4: tpl_form_field_image
</div>
<div class="form-group">
<label class="col-xs-12 col-sm-3 col-md-2 control-label"><span style="color:red">*</span>分类名称</label>
<div class="col-sm-9 col-xs-12">
<input type="text" name="catename" class="form-control" value="<?php
echo $category['name'];
?>
" />
</div>
</div>
<div class="form-group">
<label class="col-xs-12 col-sm-3 col-md-2 control-label">分类图片</label>
<div class="col-sm-9 col-xs-12">
<?php
echo tpl_form_field_image('thumb', $category['thumb']);
?>
</div>
</div>
<div class="form-group">
<label class="col-xs-12 col-sm-3 col-md-2 control-label">分类描述</label>
<div class="col-sm-9 col-xs-12">
<textarea name="description" class="form-control" cols="70"><?php
echo $category['description'];
?>
</textarea>
</div>
</div>
<div class="form-group">
<label class="col-xs-12 col-sm-3 col-md-2 control-label">首页推荐</label>
<div class="col-sm-9 col-xs-12">
开发者ID:nsoff,项目名称:wdlcms,代码行数:31,代码来源:2_category.tpl.php
示例5: tpl_form_field_image
</div>
</div>
<div class="form-group">
<label class="col-xs-12 col-sm-3 col-md-2 control-label">封面标题</label>
<div class="col-sm-9 col-xs-12">
<input type='text' class='form-control' name='cover[title]' value="<?php
echo $cover['title'];
?>
" />
</div>
</div>
<div class="form-group">
<label class="col-xs-12 col-sm-3 col-md-2 control-label">封面图片</label>
<div class="col-sm-9 col-xs-12">
<?php
echo tpl_form_field_image('cover[thumb]', $cover['thumb']);
?>
</div>
</div>
<div class="form-group">
<label class="col-xs-12 col-sm-3 col-md-2 control-label">封面描述</label>
<div class="col-sm-9 col-xs-12">
<textarea name='cover[desc]' class='form-control'><?php
echo $cover['description'];
?>
</textarea>
</div>
</div>
<div class="form-group">
<label class="col-xs-12 col-sm-3 col-md-2 control-label">状态</label>
<div class="col-sm-9">
开发者ID:ChainBoy,项目名称:wxfx,代码行数:31,代码来源:cover.tpl.php
示例6: tpl_form_field_image
<div class="form-group">
<label class="col-xs-12 col-sm-3 col-md-2 control-label">封面参数</label>
<div class="col-sm-9">
<div class="panel panel-default reply-container" style="padding-top:2em;">
<div ng-hide="entry.saved">
<div class="form-group">
<label class="col-xs-12 col-sm-3 col-md-2 control-label">标题</label>
<div class="col-sm-9">
<input type="text" class="form-control" placeholder="标题" name="title" ng-model="entry.title" />
</div>
</div>
<div class="form-group">
<label class="col-xs-12 col-sm-3 col-md-2 control-label">封面</label>
<div class="col-sm-9" ng-invoker="context.bind();">
<?php
echo tpl_form_field_image('thumb', '', '', array('width' => 400, 'extras' => array('text' => 'ng-model="entry.thumb"')));
?>
</div>
</div>
<div class="form-group">
<label class="col-xs-12 col-sm-3 col-md-2 control-label">描述</label>
<div class="col-sm-9">
<textarea class="form-control" placeholder="添加图文消息的简短描述" name="description" ng-model="entry.description"></textarea>
</div>
</div>
<div class="form-group">
<label class="col-xs-12 col-sm-3 col-md-2 control-label">直接URL</label>
<div class="col-sm-9">
<p class="form-control-static" style="white-space:nowrap; overflow:hidden; text-overflow:ellipsis;"><?php
echo $entry['url'];
?>
开发者ID:nsoff,项目名称:wdlcms,代码行数:31,代码来源:cover.tpl.php
示例7: tpl_form_field_image
} else {
?>
@<?php
}
?>
" class="form-control"/>
<?php
}
?>
<?php
if ($row['type'] == 'image') {
?>
<div class="file">
<?php
echo tpl_form_field_image('field_' . $row['refid'] . '_' . $row['bind'], '');
?>
</div>
<?php
}
?>
<?php
if ($row['type'] == 'range') {
?>
<select name="field_<?php
echo $row['refid'];
?>
_<?php
echo $row['bind'];
?>
开发者ID:nsoff,项目名称:wdlcms,代码行数:31,代码来源:2_submit.tpl.php
示例8: tpl_form_field_image
</div>
</div>
<div class="form-group">
<label class="col-xs-12 col-sm-3 col-md-2 control-label">关注按钮链接</label>
<div class="col-sm-6 col-md-6">
<input type="text" class="form-control" name="follow_link" value="<?php
echo $settings['follow_link'];
?>
">
</div>
</div>
<div class="form-group">
<label class="col-xs-12 col-sm-3 col-md-2 control-label">底部banner图片</label>
<div class="col-sm-6 col-md-6">
<?php
echo tpl_form_field_image('banner_img', $settings['banner_img']);
?>
<div class="help-block">640 * 110像素</div>
</div>
</div>
<div class="form-group">
<label class="col-xs-12 col-sm-3 col-md-2 control-label">底部banner链接</label>
<div class="col-sm-6 col-md-6">
<input type="text" class="form-control" name="banner_link" value="<?php
echo $settings['banner_link'];
?>
">
</div>
</div>
<div class="form-group">
<label class="col-xs-12 col-sm-3 col-md-2 control-label"></label>
开发者ID:nsoff,项目名称:wdlcms,代码行数:31,代码来源:2_setting.tpl.php
示例9: tpl_form_field_image
" />
</div>
</div>
</div>
<div class="panel-heading">
海报设置:
</div>
<div class="panel-body">
<div class="form-group">
<label class="col-xs-12 col-sm-3 col-md-2 control-label"><span style="color:red">*</span> 二维码海报背景图</label>
<div class="col-sm-9 col-xs-12">
<?php
echo tpl_form_field_image('bg', $item['bg']);
?>
<div class="help-block">图片必须从本地上传,不支持直接使用网络图片;图片格式必须为jpg,大小建议为:530像素 * 800像素,图片大小建议控制在200KB以内</div>
</div>
</div>
<div class="form-group">
<label class="col-xs-12 col-sm-3 col-md-2 control-label">二维码</label>
<div class="col-sm-9 col-xs-12">
<div class="input-group">
<div class="input-group-addon">左边距</div>
<input type="text" class="form-control" placeholder="" name="qrleft" value="<?php
echo $item['qrleft'];
?>
">
开发者ID:6662680,项目名称:qday_wx,代码行数:31,代码来源:3_post.tpl.php
示例10: tpl_form_field_image
<h4>编辑奖品</h4>
<table class="tb">
<tr>
<th><label for="">奖品名称</label></th>
<td>
<input type="text" name="title" class="span5" value="<?php
echo $item['title'];
?>
" />
</td>
</tr>
<tr>
<th><label for="">宣传图</label></th>
<td>
<?php
echo tpl_form_field_image('logo', $item['logo'] == '' ? $setting['thumb'] : $item['logo']);
?>
<span class="help-block"></span>
</td>
</tr>
<tr>
<th><label for="">剩余可兑换奖品数</label></th>
<td>
<input type="text" name="amount" class="span2" value="<?php
echo $item['amount'];
?>
" />
<span class="help-block">此设置项设置该奖品剩余奖品数。为0时不对外显示,不接受兑换。</span>
</td>
</tr>
<tr>
开发者ID:alextiannus,项目名称:wormwood_wechat,代码行数:31,代码来源:award.tpl.php
示例11: tpl_form_field_image
<?php
} else {
?>
<?php
echo tpl_form_field_image('user-bg');
?>
<?php
}
?>
</div>
</div>
<div class="form-group">
<label class="col-xs-12 col-sm-3 col-md-2 control-label">LOGO</label>
<div class="col-sm-9 col-xs-12">
<?php
echo tpl_form_field_image('logo', $setting['logo']);
?>
</div>
</div>
</div>
</div>
<div class="panel panel-default">
<div class="panel-heading">
会员卡资料
</div>
<div class="panel-body table-responsive">
<table class="table table-hover">
<thead>
<tr>
开发者ID:legeng,项目名称:project-2,代码行数:31,代码来源:card.tpl.php
示例12: getWebControl2
public static function getWebControl2($type, $name, $value, $options = array())
{
$str = '';
switch ($type) {
case 'disabled':
$str = "<input class='form-control' type='text' id='{$name}' name='{$name}' value='{$value}' disabled/>";
break;
case 'text':
case 'tel':
$str = "<input class='form-control' type='text' id='{$name}' name='{$name}' value='{$value}' />";
break;
case 'hidden':
$str .= $value;
$str = "<input type='hidden' id='{$name}' name='{$name}' value='{$value}' />";
break;
case 'time':
load()->func('tpl');
$str = tpl_form_field_date($name, empty($value) ? date('Y-m-d H:i') : date('Y-m-d H:i', $value), 1);
break;
case 'image':
load()->func('tpl');
$str = tpl_form_field_image($name, $value);
break;
case 'textarea':
$str = "<textarea rows='4' cols='70' class='form-control' type='text' id='{$name}' name='{$name}'>{$value}</textarea>";
break;
case 'richtext':
$str = "<textarea class='form-control richtext-clone' type='text' id='{$name}' name='{$name}'>{$value}</textarea>";
break;
case 'number':
$str = "<input class='form-control' type='number' id='{$name}' name='{$name}' value='{$value}' />";
break;
case 'submit':
$str = "<input class='btn btn-primary form-control' type='submit' id='{$name}' name='{$name}' value='{$value}' />";
break;
case 'select':
case 'option':
$str = "<select style='border:1px solid #cccccc;' id='{$name}' name='{$name}' class='form-control'>";
foreach ($options as $_key => $_o) {
$checked = $_key == $value ? 'selected' : '';
$str .= "<option value ='{$_key}' {$checked}>{$_o}</option>";
}
$str .= "</select>";
break;
case 'radio':
$str = "";
foreach ($options as $_key => $_o) {
$checked = $_key == $value ? 'checked' : '';
$str .= "<label class='{$class} radio-inline'><input type='radio' name='{$name}'value='{$_key}' {$checked} />{$_o}</label>";
}
break;
case 'plain':
$str = $value;
break;
default:
break;
}
return $str;
}
开发者ID:aspnmy,项目名称:weizan,代码行数:59,代码来源:FormTpl.class.inc.php
示例13: tpl_form_field_image
<div class="help-block">活动详细说明</div>
</div>
</div>
<div class="form-group">
<label class="col-xs-12 col-sm-2 col-md-2 control-label">活动暂停图片</label>
<div class="col-sm-8">
<?php
echo tpl_form_field_image('nostart', $reply['nostart']);
?>
<div class="help-block">活动暂停图片背景图片</div>
</div>
</div>
<div class="form-group">
<label class="col-xs-12 col-sm-2 col-md-2 control-label">活动未开始图片</label>
<div class="col-sm-8">
<?php
echo tpl_form_field_image('stopping', $reply['stopping']);
?>
<div class="help-block">活动未开始图片背景图片</div>
</div>
</div>
<div class="form-group">
<label class="col-xs-12 col-sm-2 col-md-2 control-label">活动已结束图片</label>
<div class="col-sm-8">
<?php
echo tpl_form_field_image('end', $reply['end']);
?>
<div class="help-block">活动已结束图片背景图片</div>
</div>
</div>
开发者ID:nsoff,项目名称:wdlcms,代码行数:31,代码来源:2_form_basic.tpl.php
示例14: empty
<div class="form-group">
<label class="col-xs-12 col-sm-3 col-md-2 control-label">默认级别名称</label>
<div class="col-sm-9 col-xs-12">
<input type="text" name="setdata[levelname]" class="form-control" value="<?php
echo empty($set['levelname']) ? '普通等级' : $set['levelname'];
?>
" />
<span class="help-block">分销商默认等级名称,不填写默认“普通等级”</span>
</div>
</div>
<div class="form-group">
<label class="col-xs-12 col-sm-3 col-md-2 control-label">注册面头部图片</label>
<div class="col-sm-9 col-xs-12">
<?php
echo tpl_form_field_image('setdata[regbg]', $set['regbg'], '../addons/ewei_shop/plugin/commission/template/mobile/default/static/images/bg.png');
?>
</div>
</div>
</div>
<div class='panel-heading'>
文字设置
</div>
<div class='panel-body'>
<div class="form-group">
<label class="col-xs-12 col-sm-3 col-md-2 control-label"></label>
<div class="col-sm-9 col-xs-12">
<div class="input-group">
<div class="input-group-addon">按钮文字</div>
<input type="text" name="setdata[buttontext]" class="form-control" value="<?php
开发者ID:ChainBoy,项目名称:wxfx,代码行数:31,代码来源:set.tpl.php
示例15: defined
<?php
defined('IN_IA') or exit('Access Denied');
?>
<div class="js_scene_style js_btn hide">
<div class="control-group">
<label for="" class="control-label">按钮图片:</label>
<div class="margin-top10 controls">
<div id="btn_img_image_uploads" style="width:330px;">
<?php
echo tpl_form_field_image('btn[btnimg]', $data['btnimg']);
?>
</div>
</div>
</div>
<div class="control-group">
<label for="" class="control-label">链接:</label>
<div class="controls">
<input type="text" class="input-xlarge" name="btn[url]" value="<?php
echo $data['url'];
?>
" placeholder="请输入链接地址" data-rule-required="true" data-rule-url="true"/>
<span class="help-block">链接地址:http://</span>
</div>
</div>
</div>
开发者ID:nsoff,项目名称:wdlcms,代码行数:26,代码来源:2_btn.tpl.php
示例16: defined
<?php
defined('IN_IA') or exit('Access Denied');
?>
<div class='voteitem'>
<input name="option_title[]" type="text" class="form-control item_title" value="<?php
echo $o['title'];
?>
" placeholder="选项标题"/>
<input name="option_id[]" type="hidden" value="<?php
echo $o['id'];
?>
"/>
<div class="<?php
if ($o['type'] != 'image') {
?>
hide<?php
}
?>
item-image" style='margin-top:5px;width:225px;'>
<?php
load()->func('tpl');
echo tpl_form_field_image("option_thumb_" . $o['id'], $o['thumb']);
?>
</div>
<div style='margin-top:5px;width:225px;float:left;'>
<a href="javascript:;" onclick="deleteItem(this)" style="margin-top:10px;" title="删除">删除投票项 <i class='icon-remove'></i></a>
</div>
</div>
开发者ID:nsoff,项目名称:wdlcms,代码行数:29,代码来源:2_item.tpl.php
示例17: tpl_form_field_color
</div>
</div>
<div class="form-group">
<label class="col-xs-12 col-sm-3 col-md-2 col-lg-2 control-label">首页背景 [indexbgcolor] [indexbgextra] [indexbgimg]</label>
<div class="col-sm-9 col-xs-12">
<?php
echo tpl_form_field_color('style[indexbgcolor]', $styles['indexbgcolor']['content']);
?>
<span class="help-block">背景颜色 [indexbgcolor]</span>
<input class="form-control" type="text" name="style[indexbgextra]" value="<?php
echo $styles['indexbgextra']['content'];
?>
" placeholder="">
<span class="help-block">附加属性 [indexbgextra]</span>
<?php
echo tpl_form_field_image('style[indexbgimg]', $styles['indexbgimg']['content']);
?>
<span class="help-block">背景图 [indexbgimg]</span>
</div>
</div>
<div class="form-group">
<label class="col-xs-12 col-sm-3 col-md-2 col-lg-2 control-label">正常字体[fontfamily]</label>
<div class="col-sm-9 col-xs-12">
<input type="text" class="form-control" name="style[fontfamily]" value="<?php
echo $styles['fontfamily']['content'];
?>
" />
<span class="help-block"></span>
</div>
</div>
<div class="form-group">
开发者ID:7demo,项目名称:we7,代码行数:31,代码来源:style.tpl.php
示例18: defined
<?php
defined('IN_IA') or exit('Access Denied');
?>
<div class="control-group js_scene_style js_maplink hide">
<div class="control-group">
<label for="" class="control-label">按钮图片:</label>
<div class="margin-top10 controls">
<div id="btn_img_image_uploads" style="width:330px;">
<?php
echo tpl_form_field_image('maplink[btnimg]', $data['btnimg']);
?>
</div>
</div>
</div>
<div class="control-group">
<label class="control-label" for="tel">电话号码</label>
<div class="controls">
<input type="text" id="tel" class="input-large" name="maplink[tel]" data-rule-phone="true" value="<?php
echo $data['tel'];
?>
"/>
<span class="maroon">*</span><span class="help-inline">(为空,不显示)</span>
</div>
</div>
<div class="control-group">
<label class="control-label" for="sname">名称</label>
<div class="controls">
<input type="text" id="sname" class="input-large" name="maplink[sname]" value="<?php
echo $data['sname'];
?>
开发者ID:nsoff,项目名称:wdlcms,代码行数:31,代码来源:2_maplink.tpl.php
示例19: getWebPostTpl
function getWebPostTpl($data, $conf)
{
$str = '';
switch ($conf['type']) {
case 'hidden':
$str = $data;
$str .= "<input type='hidden' id='{$conf['name']}' name='{$conf['name']}' value='{$data}' />";
break;
case 'time':
$str = tpl_form_field_date($conf['name'], date('Y-m-d H:i', $data));
break;
case 'image':
$str = tpl_form_field_image($conf['name'], $data);
break;
case 'textarea':
$str = "<textarea rows='4' class='span7' type='text' id='{$conf['name']}' name='{$conf['name']}'>{$data}</textarea>";
break;
case 'richtext':
$str = "<textarea class='span7 richtext-clone' type='text' id='{$conf['name']}' name='{$conf['name']}'>{$data}</textarea>";
break;
case 'text':
case 'tel':
$str = "<input class='span7' type='text' id='{$conf['name']}' name='{$conf['name']}' value='{$data}' />";
break;
case 'number':
$str = "<input class='span3' type='number' id='{$conf['name']}' step='10000' name='{$conf['name']}' value='{$data}' />";
break;
case 'option':
$options = explode('|', $conf['value']);
$str = "<select name='{$conf['name']}'>";
foreach ($options as $_o) {
$checked = $_o == $data ? 'selected' : '';
$str .= "<option value ='{$_o}' {$checked}>{$_o}</option>";
}
$str .= "</select>";
break;
default:
break;
}
return $str;
}
开发者ID:keycoolkui,项目名称:weixinfenxiao,代码行数:41,代码来源:data_template.php
示例20: tpl_form_field_image
</div>
</div>
<div class="form-group">
<label class="col-xs-12 col-sm-3 col-md-2 control-label">logo:</label>
<div class="col-sm-9 col-xs-12">
<?php
echo tpl_form_field_image('logo', $item['logo']);
?>
<div class="help-block">替换页面上的logo图片</div>
</div>
</div>
<div class="form-group">
<label class="col-xs-12 col-sm-3 col-md-2 control-label">二维码:</label>
<div class="col-sm-9 col-xs-12">
<?php
echo tpl_form_field_image('qrcode', $item['qrcode']);
?>
<div class="help-block">替换页面上的二维码</div>
</div>
</div>
<div class="form-group">
<label class="col-xs-12 col-sm-3 col-md-2 control-label">底部版权:</label>
<div class="col-sm-9 col-xs-12">
<input type="text" name="copyright" class="form-control" value="<?php
echo $item['copyright'];
?>
" />
<div class="help-block">底部版权设置</div>
</div>
</div>
</div>
开发者ID:6662680,项目名称:qday_wx,代码行数:31,代码来源:3_t_auth.tpl.php
注:本文中的tpl_form_field_image函数示例整理自Github/MSDocs等源码及文档管理平台,相关代码片段筛选自各路编程大神贡献的开源项目,源码版权归原作者所有,传播和使用请参考对应项目的License;未经允许,请勿转载。 |
请发表评论