129 lines
6.0 KiB
HTML
129 lines
6.0 KiB
HTML
<form id="edit-form" class="form-horizontal" role="form" data-toggle="validator" method="POST" action="">
|
|
|
|
<div class="form-group">
|
|
<label class="control-label col-xs-12 col-sm-2">{:__('Event')}:</label>
|
|
<div class="col-xs-12 col-sm-8">
|
|
<input id="c-event" data-rule="required" class="form-control" name="row[event]" type="text" value="{$row.event|htmlentities}">
|
|
</div>
|
|
</div>
|
|
|
|
<div class="form-group">
|
|
<label class="control-label col-xs-12 col-sm-2">{:__('Event_two')}:</label>
|
|
<div class="col-xs-12 col-sm-8">
|
|
<input id="c-event_two" data-rule="required" class="form-control" name="row[event_two]" type="text" value="{$row.event_two|htmlentities}">
|
|
</div>
|
|
</div>
|
|
|
|
<div class="form-group">
|
|
<label class="control-label col-xs-12 col-sm-2">{:__('Name')}:</label>
|
|
<div class="col-xs-12 col-sm-8">
|
|
<input id="c-name" data-rule="required" class="form-control" name="row[name]" type="text" value="{$row.name|htmlentities}">
|
|
</div>
|
|
</div>
|
|
<div class="form-group">
|
|
<label class="control-label col-xs-12 col-sm-2">{:__('Wechat_wap')}:</label>
|
|
<div class="col-xs-12 col-sm-8">
|
|
|
|
<select id="c-wechat_wap" data-rule="required" class="form-control selectpicker" name="row[wechat_wap]">
|
|
{foreach name="wechatWapList" item="vo"}
|
|
<option value="{$key}" {in name="key" value="$row.wechat_wap"}selected{/in}>{$vo}</option>
|
|
{/foreach}
|
|
</select>
|
|
|
|
</div>
|
|
</div>
|
|
<div class="form-group">
|
|
<label class="control-label col-xs-12 col-sm-2">{:__('Message')}:</label>
|
|
<div class="col-xs-12 col-sm-8">
|
|
|
|
<select id="c-message" data-rule="required" class="form-control selectpicker" name="row[message]">
|
|
{foreach name="messageList" item="vo"}
|
|
<option value="{$key}" {in name="key" value="$row.message"}selected{/in}>{$vo}</option>
|
|
{/foreach}
|
|
</select>
|
|
|
|
</div>
|
|
</div>
|
|
<div class="form-group">
|
|
<label class="control-label col-xs-12 col-sm-2">{:__('Selfmail')}:</label>
|
|
<div class="col-xs-12 col-sm-8">
|
|
|
|
<select id="c-selfmail" data-rule="required" class="form-control selectpicker" name="row[selfmail]">
|
|
{foreach name="selfmailList" item="vo"}
|
|
<option value="{$key}" {in name="key" value="$row.selfmail"}selected{/in}>{$vo}</option>
|
|
{/foreach}
|
|
</select>
|
|
|
|
</div>
|
|
</div>
|
|
<div class="form-group">
|
|
<label class="control-label col-xs-12 col-sm-2">{:__('Message_id')}:</label>
|
|
<div class="col-xs-12 col-sm-8">
|
|
<input id="c-message_id" class="form-control" name="row[message_id]" type="text" value="{$row.message_id|htmlentities}">
|
|
</div>
|
|
</div>
|
|
<div class="form-group">
|
|
<label class="control-label col-xs-12 col-sm-2">{:__('Wechat_wap_id')}:</label>
|
|
<div class="col-xs-12 col-sm-8">
|
|
<input id="c-wechat_wap_id" class="form-control" name="row[wechat_wap_id]" type="text" value="{$row.wechat_wap_id|htmlentities}">
|
|
</div>
|
|
</div>
|
|
<div class="form-group">
|
|
<label class="control-label col-xs-12 col-sm-2">{:__('Selfmail_title')}:</label>
|
|
<div class="col-xs-12 col-sm-8">
|
|
<input id="c-selfmail_title" class="form-control" name="row[selfmail_title]" type="text" value="{$row.selfmail_title|htmlentities}">
|
|
</div>
|
|
</div>
|
|
<div class="form-group">
|
|
<label class="control-label col-xs-12 col-sm-2">{:__('Selfmail_template_text')}:</label>
|
|
<div class="col-xs-12 col-sm-8">
|
|
<textarea id="c-selfmail_template_text" class="form-control " rows="5" name="row[selfmail_template_text]" cols="50">{$row.selfmail_template_text|htmlentities}</textarea>
|
|
<span style="color: red">( 模板字段变量用“ {{}} ” 双花括号包裹即可在模板中显示,如:{{title}} 。实际发送时会被替换成实际数值 )</span>
|
|
</div>
|
|
</div>
|
|
<div class="form-group">
|
|
<label class="control-label col-xs-12 col-sm-2">{:__('Configjson')}:</label>
|
|
<div class="col-xs-12 col-sm-8">
|
|
|
|
<dl class="fieldlist" data-name="row[configjson]">
|
|
<dd>
|
|
<ins>{:__('Key')}</ins>
|
|
<ins>{:__('Value')}</ins>
|
|
</dd>
|
|
<dd><a href="javascript:;" class="btn btn-sm btn-success btn-append"><i class="fa fa-plus"></i> {:__('Append')}</a></dd>
|
|
<textarea name="row[configjson]" class="form-control hide" cols="30" rows="5">{$row.configjson|htmlentities}</textarea>
|
|
</dl>
|
|
|
|
|
|
</div>
|
|
</div>
|
|
<div class="form-group">
|
|
<label class="control-label col-xs-12 col-sm-2">{:__('Thirdjson')}:</label>
|
|
<div class="col-xs-12 col-sm-8">
|
|
|
|
<dl class="fieldlist" data-name="row[thirdjson]">
|
|
<dd>
|
|
<ins>{:__('Key')}</ins>
|
|
<ins>{:__('Value')}</ins>
|
|
</dd>
|
|
<dd><a href="javascript:;" class="btn btn-sm btn-success btn-append"><i class="fa fa-plus"></i> {:__('Append')}</a></dd>
|
|
<textarea name="row[thirdjson]" class="form-control hide" cols="30" rows="5">{$row.thirdjson|htmlentities}</textarea>
|
|
</dl>
|
|
|
|
|
|
</div>
|
|
</div>
|
|
<div class="form-group">
|
|
<label class="control-label col-xs-12 col-sm-2">{:__('Weigh')}:</label>
|
|
<div class="col-xs-12 col-sm-8">
|
|
<input id="c-weigh" class="form-control" name="row[weigh]" type="number" value="{$row.weigh|htmlentities}">
|
|
</div>
|
|
</div>
|
|
<div class="form-group layer-footer">
|
|
<label class="control-label col-xs-12 col-sm-2"></label>
|
|
<div class="col-xs-12 col-sm-8">
|
|
<button type="submit" class="btn btn-primary btn-embossed disabled">{:__('OK')}</button>
|
|
</div>
|
|
</div>
|
|
</form>
|