123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118 |
- <form id="edit-form" class="form-horizontal" role="form" data-toggle="validator" method="POST" action="">
- <div class="form-group">
- <label for="c-title" class="control-label col-xs-12 col-sm-2">{:__('Title')}:</label>
- <div class="col-xs-12 col-sm-8">
- <input id="c-title" class="form-control" name="row[title]" type="text" value="{$row.title}">
- </div>
- </div>
- <div class="form-group">
- <label for="c-entitle" class="control-label col-xs-12 col-sm-2">{:__('Entitle')}:</label>
- <div class="col-xs-12 col-sm-8">
- <input id="c-entitle" class="form-control" name="row[entitle]" type="text" value="{$row.entitle}">
- </div>
- </div>
- <div class="form-group">
- <label for="c-version" class="control-label col-xs-12 col-sm-2">{:__('Version')}:</label>
- <div class="col-xs-12 col-sm-8">
- <input id="c-version" class="form-control" name="row[version]" type="text" value="{$row.version}">
- </div>
- </div>
- <div class="form-group">
- <label for="c-basic_title" class="control-label col-xs-12 col-sm-2">{:__('Basic_title')}:</label>
- <div class="col-xs-12 col-sm-8">
- <input id="c-basic_title" class="form-control" name="row[basic_title]" type="text" value="{$row.basic_title}">
- </div>
- </div>
- <div class="form-group">
- <label for="c-boy_voice_title" class="control-label col-xs-12 col-sm-2">{:__('Boy_voice_title')}:</label>
- <div class="col-xs-12 col-sm-8">
- <input id="c-boy_voice_title" class="form-control" name="row[boy_voice_title]" type="text" value="{$row.boy_voice_title}">
- </div>
- </div>
- <div class="form-group">
- <label for="c-girl_voice_title" class="control-label col-xs-12 col-sm-2">{:__('Girl_voice_title')}:</label>
- <div class="col-xs-12 col-sm-8">
- <input id="c-girl_voice_title" class="form-control" name="row[girl_voice_title]" type="text" value="{$row.girl_voice_title}">
- </div>
- </div>
- <div class="form-group">
- <label for="c-male_anchor_title" class="control-label col-xs-12 col-sm-2">{:__('Male_anchor_title')}:</label>
- <div class="col-xs-12 col-sm-8">
- <input id="c-male_anchor_title" class="form-control" name="row[male_anchor_title]" type="text" value="{$row.male_anchor_title}">
- </div>
- </div>
- <div class="form-group">
- <label for="c-child_anchor_title" class="control-label col-xs-12 col-sm-2">{:__('Child_anchor_title')}:</label>
- <div class="col-xs-12 col-sm-8">
- <input id="c-child_anchor_title" class="form-control" name="row[child_anchor_title]" type="text" value="{$row.child_anchor_title}">
- </div>
- </div>
- <div class="form-group">
- <label for="c-voice_file" class="control-label col-xs-12 col-sm-2">{:__('voice_file')}:</label>
- <div class="col-xs-12 col-sm-8">
- <div class="input-group">
- <input id="c-voice_file" data-rule="required" class="form-control" size="50" name="row[voice_file]" type="text" value="{$row.voice_file}">
- <div class="input-group-addon no-border no-padding">
- <span><button type="button" id="plupload-voice_file" class="btn btn-danger plupload" data-url="ajax/upload" data-mimetype="application/zip" data-input-id="c-voice_file" data-multiple="false"><i class="fa fa-upload"></i> {:__('Upload')}</button></span>
- <!--<span><button type="button" id="fachoose-voice_file" class="btn btn-primary fachoose" data-input-id="c-voice_file" data-multiple="false"><i class="fa fa-list"></i> {:__('Choose')}</button></span>-->
- </div>
- <span class="msg-box n-right" for="c-voice_file"></span>
- </div>
- </div>
- </div>
- <div class="form-group">
- <label for="c-package_title" class="control-label col-xs-12 col-sm-2">{:__('Package_title')}:</label>
- <div class="col-xs-12 col-sm-8">
- <input id="c-package_title" class="form-control" name="row[package_title]" type="text" value="{$row.package_title}">
- </div>
- </div>
- <div class="form-group">
- <label for="c-isallowed" class="control-label col-xs-12 col-sm-2">{:__('Isallowed')}:</label>
- <div class="col-xs-12 col-sm-8">
-
- <select id="c-isallowed" class="form-control selectpicker" name="row[isallowed]">
- {foreach name="isallowedList" item="vo"}
- <option value="{$key}" {in name="key" value="$row.isallowed"}selected{/in}>{$vo}</option>
- {/foreach}
- </select>
- </div>
- </div>
- <div class="form-group">
- <label for="c-appid" class="control-label col-xs-12 col-sm-2">{:__('Appid')}:</label>
- <div class="col-xs-12 col-sm-8">
- <input id="c-appid" class="form-control" name="row[appid]" type="text" value="{$row.appid}">
- </div>
- </div>
- <div class="form-group">
- <label for="c-apikey" class="control-label col-xs-12 col-sm-2">{:__('Apikey')}:</label>
- <div class="col-xs-12 col-sm-8">
- <input id="c-apikey" class="form-control" name="row[apikey]" type="text" value="{$row.apikey}">
- </div>
- </div>
- <div class="form-group">
- <label for="c-servretkey" class="control-label col-xs-12 col-sm-2">{:__('Servretkey')}:</label>
- <div class="col-xs-12 col-sm-8">
- <input id="c-servretkey" class="form-control" name="row[servretkey]" type="text" value="{$row.servretkey}">
- </div>
- </div>
- <div class="form-group">
- <label for="c-status" class="control-label col-xs-12 col-sm-2">{:__('Status')}:</label>
- <div class="col-xs-12 col-sm-8">
-
- <div class="radio">
- {foreach name="statusList" item="vo"}
- <label for="row[status]-{$key}"><input id="row[status]-{$key}" name="row[status]" type="radio" value="{$key}" {in name="key" value="$row.status"}checked{/in} /> {$vo}</label>
- {/foreach}
- </div>
- </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-success btn-embossed disabled">{:__('OK')}</button>
- <button type="reset" class="btn btn-default btn-embossed">{:__('Reset')}</button>
- </div>
- </div>
- </form>
|