Browse Source

统一格式优化

tags/6.2.8
叙述、别离 1 year ago
parent
commit
26f32e41d6
23 changed files with 42 additions and 42 deletions
  1. +2
    -2
      src/admin/inc/inc_archives_all.php
  2. +2
    -2
      src/admin/mychannel_edit.php
  3. +1
    -1
      src/admin/templets/album_add.htm
  4. +1
    -1
      src/admin/templets/archives_add.htm
  5. +1
    -1
      src/admin/templets/article_description_main.htm
  6. +1
    -1
      src/admin/templets/catalog_add.htm
  7. +2
    -2
      src/admin/templets/freelist_add.htm
  8. +2
    -2
      src/admin/templets/login.htm
  9. +1
    -1
      src/admin/templets/makehtml_homepage.htm
  10. +1
    -1
      src/admin/templets/member_rank.htm
  11. +3
    -3
      src/admin/templets/soft_add.htm
  12. +1
    -1
      src/admin/templets/spec_add.htm
  13. +1
    -1
      src/admin/templets/spec_edit.htm
  14. +2
    -2
      src/admin/templets/sys_data.htm
  15. +1
    -1
      src/admin/templets/sys_sql_query.htm
  16. +1
    -1
      src/admin/templets/templets_one_add.htm
  17. +4
    -4
      src/admin/templets/vote_add.htm
  18. +1
    -1
      src/system/customfields.func.php
  19. +1
    -1
      src/theme/apps/heightsearch.htm
  20. +2
    -2
      src/user/templets/login.htm
  21. +5
    -5
      src/user/templets/reg-new.htm
  22. +3
    -3
      src/user/templets/resetpassword.htm
  23. +3
    -3
      src/user/templets/resetpassword2.htm

+ 2
- 2
src/admin/inc/inc_archives_all.php View File

@@ -48,7 +48,7 @@ function GetFormItem($ctag)
$i = 0;
if ($v != '') {
if ($i == 0) {
$myformItem .= "<label><input type='radio' name='$fieldname' value='$v' checked> $v</label>\r\n";
$myformItem .= "<label><input type='radio' name='$fieldname' value='$v' checked='checked'> $v</label>\r\n";
} else {
$myformItem .= "<label><input type='radio' name='$fieldname' value='$v'> $v</label>\r\n";
}
@@ -247,7 +247,7 @@ function GetFormItemValue($ctag, $fvalue)
$v = trim($v);
if ($v != '') {
if ($fvalue == $v) {
$myformItem .= "<label><input type='radio' name='$fieldname' value='$v' checked> $v</label>\r\n";
$myformItem .= "<label><input type='radio' name='$fieldname' value='$v' checked='checked'> $v</label>\r\n";
} else {
$myformItem .= "<label><input type='radio' name='$fieldname' value='$v'> $v</label>\r\n";
}


+ 2
- 2
src/admin/mychannel_edit.php View File

@@ -399,7 +399,7 @@ if ($dopost == "show") {
$label = $ctag->GetAtt('itemname');
if (in_array($datatype, $searchtype)) {
$checked = in_array($value, $addonfieldsarr) ? 'checked' : '';
$addonfields .= "<label><input type='checkbox' name='addonfields[]' value='$value' $checked> $label</label> ";
$addonfields .= "<label><input type='checkbox' name='addonfields[]' value='$value' $checked='checked'> $label</label> ";
}
}
}
@@ -501,7 +501,7 @@ if ($dopost == "show") {
} else if ($type == 'radio') {
$values = explode(',', $valuearr[$k]);
if (is_array($values) && !empty($values)) {
$forms .= "$itemname:<label><input type=\"radio\" name=\"".$name."\" value=\"\" checked> 不限</label><br>";
$forms .= "$itemname:<label><input type=\"radio\" name=\"".$name."\" value=\"\" checked=\"checked\"> 不限</label><br>";
foreach ($values as $value) {
$forms .= "<label><input type=\"radio\" name=\"".$name."\" value=\"$value\"> $value</label>";
}


+ 1
- 1
src/admin/templets/album_add.htm View File

@@ -289,7 +289,7 @@
</td>
<td width="120">发布选项:</td>
<td>
<label><input type="radio" name="ishtml" value="1" checked> 生成网页</label>
<label><input type="radio" name="ishtml" value="1" checked="checked"> 生成网页</label>
<label><input type="radio" name="ishtml" value="0"> 仅动态浏览</label>
</td>
</tr>


+ 1
- 1
src/admin/templets/archives_add.htm View File

@@ -222,7 +222,7 @@
</td>
<td width="120">发布选项:</td>
<td>
<label><input type="radio" name="ishtml" value="1" checked> 生成网页</label>
<label><input type="radio" name="ishtml" value="1" checked="checked"> 生成网页</label>
<label><input type="radio" name="ishtml" value="0"> 仅动态浏览</label>
</td>
</tr>


+ 1
- 1
src/admin/templets/article_description_main.htm View File

@@ -53,7 +53,7 @@
<tr>
<td width="120">操作:</td>
<td>
<label><input type="radio" name="dojob" value="des" checked> 自动摘要</label>
<label><input type="radio" name="dojob" value="des" checked="checked"> 自动摘要</label>
<label><input type="radio" name="dojob" value="page"> 自动分页</label>
</td>
<td width="120">自动分页大小:</td>


+ 1
- 1
src/admin/templets/catalog_add.htm View File

@@ -265,7 +265,7 @@
<td>
<input type="text" name="apikey" id="apikey" class="admin-input-lg" placeholder="请输入跨站调用秘钥">
<label class="l-height-28"><input type="radio" name="apienabled" value="1"> 支持</label>
<label class="l-height-28"><input type="radio" name="apienabled" value="0" checked> 不支持</label>
<label class="l-height-28"><input type="radio" name="apienabled" value="0" checked="checked"> 不支持</label>
<span class="btn btn-success btn-sm ml-2" title="更新秘钥" onclick="makeAPIKey()"><i class="fa fa-repeat"></i></span>
</td>
</tr>


+ 2
- 2
src/admin/templets/freelist_add.htm View File

@@ -47,7 +47,7 @@
<label><img src="../static/web/img/g_t3.jpg"><input type="radio" name="liststyle" onclick="ChangeListStyle()" value="3"></label>
</td>
<td>
<label><img src="../static/web/img/g_t4.jpg"><input type="radio" name="liststyle" onclick="ChangeListStyle()" value="4" checked></label>
<label><img src="../static/web/img/g_t4.jpg"><input type="radio" name="liststyle" onclick="ChangeListStyle()" value="4" checked="checked"></label>
</td>
</tr>
</table>
@@ -162,7 +162,7 @@
<option value="lastpost">最后评论时间</option>
<option value="postnum">评论总数</option>
</select>
<label class="l-height-28"><input type="radio" name="order" value="desc" checked> 由高到低</label>
<label class="l-height-28"><input type="radio" name="order" value="desc" checked="checked"> 由高到低</label>
<label class="l-height-28"><input type="radio" name="order" value="asc"> 由低到高</label>
</td>
</tr>


+ 2
- 2
src/admin/templets/login.htm View File

@@ -40,11 +40,11 @@
<input type="hidden" name="adminstyle" value="newDedeBIZ">
<div class="form-group">
<label>管理员账号</label>
<input type="text" name="userid" id="iptUserid" class="form-control" placeholder="请输入管理员账号" required>
<input type="text" name="userid" id="iptUserid" class="form-control" placeholder="请输入管理员账号" required="required">
</div>
<div class="form-group">
<label>管理员密码</label>
<input type="password" name="pwd" id="iptPwd" class="form-control" placeholder="请输入管理员密码" required>
<input type="password" name="pwd" id="iptPwd" class="form-control" placeholder="请输入管理员密码" required="required">
</div>
<div id="vdimgck" class="form-group" style="display:none">
<label>验证码</label>


+ 1
- 1
src/admin/templets/makehtml_homepage.htm View File

@@ -37,7 +37,7 @@
<td>相关选项:</td>
<td>
<label><input type="radio" name="saveset" value="0"> 不保存当前选项</label>
<label><input type="radio" name="saveset" value="1" checked> 保存当前选项</label>
<label><input type="radio" name="saveset" value="1" checked="checked"> 保存当前选项</label>
</td>
</tr>
<tr>


+ 1
- 1
src/admin/templets/member_rank.htm View File

@@ -65,7 +65,7 @@
<td><input type="text" name="rank_new" id="rank_new" value="20"></td>
<td><input type="text" name="money_new" id="money_new" value="0"></td>
<td><input type="text" name="scores_new" id="scores_new" value="100"></td>
<td><input type="checkbox" name="check_new" id="check_new" value="1" checked> 添加等级</td>
<td><input type="checkbox" name="check_new" id="check_new" value="1" checked="checked"> 添加等级</td>
<td></td>
</tr>
<tr>


+ 3
- 3
src/admin/templets/soft_add.htm View File

@@ -277,7 +277,7 @@
<option value="KB">KB</option>
<option value="GB">GB</option>
</select>
<label><input type="checkbox" name="autosize" id="autosize" value="1" checked>自动获取</label>
<label><input type="checkbox" name="autosize" id="autosize" value="1" checked="checked">自动获取</label>
</td>
<td width="120">需会员权限:</td>
<td align="left">
@@ -336,7 +336,7 @@
<input type='text' name='softurlfirst<?php echo $startNum;?>' class='admin-input-lg' value='<?php echo $siteurl;?>'> +
<input type='text' name='softurl<?php echo $startNum;?>' class='admin-input-sm'> =
<input type='text' name='servermsg<?php echo $startNum;?>' class='admin-input-sm' value='<?php echo $sitename;?>'>
<label><input type='checkbox' name='need<?php echo $startNum;?>' value='1' checked> 启用</label>
<label><input type='checkbox' name='need<?php echo $startNum;?>' value='1' checked="checked"> 启用</label>
</div>
<?php
$startNum++;
@@ -392,7 +392,7 @@
</td>
<td width="120">发布选项:</td>
<td>
<label><input type="radio" name="ishtml" value="1" checked> 生成网页</label>
<label><input type="radio" name="ishtml" value="1" checked="checked"> 生成网页</label>
<label><input type="radio" name="ishtml" value="0"> 仅动态浏览</label>
</td>
</tr>


+ 1
- 1
src/admin/templets/spec_add.htm View File

@@ -171,7 +171,7 @@
<td class="admin-td">
<label>栏目id:<input type="text" name="typeid<?php echo $i?>" id="_typeid<?php echo $i?>" value="0" class="admin-input-sm"></label>
<label>关键词:<input type="text" name="keywords<?php echo $i?>" id="keywords<?php echo $i?>" value="" class="admin-input-lg">(英文逗号分开)</label>
<label><input type="radio" name="isauto<?php echo $i?>" id="isauto<?php echo $i?>" value="0" checked> 按文档列表</label>
<label><input type="radio" name="isauto<?php echo $i?>" id="isauto<?php echo $i?>" value="0" checked="checked"> 按文档列表</label>
<label><input type="radio" name="isauto<?php echo $i?>" id="isauto<?php echo $i?>" value="1"> 自动获取文档</label>
</td>
</tr>


+ 1
- 1
src/admin/templets/spec_edit.htm View File

@@ -229,7 +229,7 @@
<td class="admin-td">
<label>栏目id:<input type="text" name="typeid<?php echo $i?>" id="_typeid<?php echo $i?>" value="0" class="admin-input-sm"></label>
<label>关键词:<input type="text" name="keywords<?php echo $i?>" id="keywords<?php echo $i?>" value="" class="admin-input-lg">(空格分开)</label>
<label><input type="radio" name="isauto<?php echo $i?>" id="isauto<?php echo $i?>" value="0" checked> 按文档列表</label>
<label><input type="radio" name="isauto<?php echo $i?>" id="isauto<?php echo $i?>" value="0" checked="checked"> 按文档列表</label>
<label><input type="radio" name="isauto<?php echo $i?>" id="isauto<?php echo $i?>" value="1"> 自动获取文档</label>
</td>
</tr>


+ 2
- 2
src/admin/templets/sys_data.htm View File

@@ -46,7 +46,7 @@
$t = $dedeSysTables[$i];
echo "<tr align='center'>";
?>
<td><input type="checkbox" name="tables" value="<?php echo $t;?>" checked></td>
<td><input type="checkbox" name="tables" value="<?php echo $t;?>" checked="checked"></td>
<td><?php echo $t;?></td>
<td><?php echo TjCount($t,$dsql);?></td>
<td>
@@ -59,7 +59,7 @@
if (isset($dedeSysTables[$i])) {
$t = $dedeSysTables[$i];
?>
<td><input type="checkbox" name="tables" value="<?php echo $t;?>" checked></td>
<td><input type="checkbox" name="tables" value="<?php echo $t;?>" checked="checked"></td>
<td><?php echo $t;?></td>
<td><?php echo TjCount($t,$dsql);?></td>
<td>


+ 1
- 1
src/admin/templets/sys_sql_query.htm View File

@@ -61,7 +61,7 @@
<td colspan="2">
<span>运行SQL命令行:</span>
<label><input type="radio" name="querytype" value="0"> 单行命令</label>
<label><input type="radio" name="querytype" value="2" checked> 多行命令</label>
<label><input type="radio" name="querytype" value="2" checked="checked"> 多行命令</label>
</td>
</tr>
<tr>


+ 1
- 1
src/admin/templets/templets_one_add.htm View File

@@ -64,7 +64,7 @@
<td>是否编译文档:</td>
<td>
<?php if (!DEDEBIZ_SAFE_MODE) {?><label><input type="radio" name="ismake" value="1"> 含模板标记,要编译</label><?php }?>
<label><input type="radio" name="ismake" value="0" checked> 不含模板标记,不需要编译</label>
<label><input type="radio" name="ismake" value="0" checked="checked"> 不含模板标记,不需要编译</label>
</td>
</tr>
<tr>


+ 4
- 4
src/admin/templets/vote_add.htm View File

@@ -39,14 +39,14 @@
<td>是否允许游客投票:</td>
<td>
<label><input type="radio" name="isallow" value="0"> 是</label>
<label><input type="radio" name="isallow" value="1" checked> 否</label>
<label><input type="radio" name="isallow" value="1" checked="checked"> 否</label>
</td>
</tr>
<tr>
<td>是否允许查看投票:</td>
<td>
<label><input type="radio" name="view" value="0"> 是</label>
<label><input type="radio" name="view" value="1" checked> 否</label>
<label><input type="radio" name="view" value="1" checked="checked"> 否</label>
</td>
</tr>
<tr>
@@ -59,7 +59,7 @@
<tr>
<td>是否多选:</td>
<td>
<label><input type="radio" name="ismore" value="0" checked> 单选</label>
<label><input type="radio" name="ismore" value="0" checked="checked"> 单选</label>
<label><input type="radio" name="ismore" value="1"> 多选</label>
</td>
</tr>
@@ -79,7 +79,7 @@
<tr>
<td>是否启用:</td>
<td>
<label><input type="radio" name="isenable" value="0" checked> 是</label>
<label><input type="radio" name="isenable" value="0" checked="checked"> 是</label>
<label><input type="radio" name="isenable" value="1"> 否</label>
</td>
</tr>


+ 1
- 1
src/system/customfields.func.php View File

@@ -68,7 +68,7 @@ function GetFormItem($ctag, $admintype = 'admin')
foreach ($items as $v) {
$v = trim($v);
if ($v != '') {
$myformItem .= ($i == 0 ? "<div class='form-check form-check-inline'><label class='form-check-label'><input type='radio' name='$fieldname' class='form-check-input' value='$v' checked> $v</label></div>" : "<div class='form-check form-check-inline'><label class='form-check-label'><input type='radio' name='$fieldname' class='form-check-input' value='$v'> $v</label></div>");
$myformItem .= ($i == 0 ? "<div class='form-check form-check-inline'><label class='form-check-label'><input type='radio' name='$fieldname' class='form-check-input' value='$v' checked='checked'> $v</label></div>" : "<div class='form-check form-check-inline'><label class='form-check-label'><input type='radio' name='$fieldname' class='form-check-input' value='$v'> $v</label></div>");
$i++;
}
}


+ 1
- 1
src/theme/apps/heightsearch.htm View File

@@ -80,7 +80,7 @@
<tr>
<td>关键词模式:</td>
<td>
<label><input type="radio" name="kwtype" value="1" checked> 或</label>
<label><input type="radio" name="kwtype" value="1" checked="checked"> 或</label>
<label><input type="radio" name="kwtype" value="0"> 与</label>
</td>
</tr>


+ 2
- 2
src/user/templets/login.htm View File

@@ -26,11 +26,11 @@
<input type="hidden" name="gourl" value="<?php if (!empty($gourl)) echo $gourl;?>">
<div class="form-group">
<label>会员账号</label>
<input type="text" name="userid" id="iptUserid" class="form-control" placeholder="请输入登录会员账号" required>
<input type="text" name="userid" id="iptUserid" class="form-control" placeholder="请输入登录会员账号" required="required">
</div>
<div class="form-group">
<label>会员密码</label>
<input type="password" name="pwd" id="iptPwd" class="form-control" placeholder="请输入登录会员密码" required>
<input type="password" name="pwd" id="iptPwd" class="form-control" placeholder="请输入登录会员密码" required="required">
</div>
<div id="vdimgck" class="form-group" style="display:none">
<label>验证码</label>


+ 5
- 5
src/user/templets/reg-new.htm View File

@@ -25,25 +25,25 @@
<input type="hidden" name="pid" value="<?php echo $pid;?>">
<div class="form-group">
<label>会员账号</label>
<input type="text" name="userid" id="iptUserid" class="form-control" placeholder="请输入会员账号" required>
<input type="text" name="userid" id="iptUserid" class="form-control" placeholder="请输入会员账号" required="required">
</div>
<div class="form-group">
<label>会员密码</label>
<input type="password" name="userpwd" id="iptUserpwd" class="form-control" placeholder="请输入会员密码" required>
<input type="password" name="userpwd" id="iptUserpwd" class="form-control" placeholder="请输入会员密码" required="required">
</div>
<div class="form-group">
<label>确认会员密码</label>
<input type="password" name="userpwdok" id="iptUserpwdok" class="form-control" placeholder="请输入确认会员密码" required>
<input type="password" name="userpwdok" id="iptUserpwdok" class="form-control" placeholder="请输入确认会员密码" required="required">
</div>
<div class="form-group">
<label>验证码</label>
<div class="input-group">
<input type="text" name="vdcode" id="iptValidate" class="form-control text-uppercase" placeholder="请输入验证码" required>
<input type="text" name="vdcode" id="iptValidate" class="form-control text-uppercase" placeholder="请输入验证码" required="required">
<img src="<?php echo $cfg_cmsurl;?>/apps/vdimgck.php" id="validateimg" onClick="this.src='<?php echo $cfg_cmsurl;?>/apps/vdimgck.php?'+new Date().getTime()+Math.round(Math.random() * 10000)" title="验证码">
</div>
</div>
<div class="form-group form-check">
<input type="checkbox" id="iptLicence" class="form-check-input">
<input type="checkbox" id="iptLicence" class="form-check-input" checked="false">
<label class="form-check-label licence" for="iptLicence">我已阅读并接受<a href="">《会员注册条款》</a>和<a href="">《隐私保护条例》</a></label>
</div>
<div class="form-group"><button type="submit" class="btn btn-success btn-md btn-block">注册</button></div>


+ 3
- 3
src/user/templets/resetpassword.htm View File

@@ -22,11 +22,11 @@
<input type="hidden" name="gourl" value="<?php if (!empty($gourl)) echo $gourl;?>">
<div class="form-group">
<label>会员账号</label>
<input type="text" name="userid" id="iptUserid" class="form-control" placeholder="请输入账号" required>
<input type="text" name="userid" id="iptUserid" class="form-control" placeholder="请输入会员账号" required="required">
</div>
<div class="form-group">
<label>邮箱</label>
<input type="text" name="mail" id="iptMail" class="form-control" placeholder="请输入邮箱" required>
<input type="text" name="mail" id="iptMail" class="form-control" placeholder="请输入邮箱" required="required">
</div>
<div class="form-group">
<label>找回方式</label>
@@ -40,7 +40,7 @@
<div class="form-group">
<label>验证码</label>
<div class="input-group">
<input type="text" name="vdcode" id="iptValidate" class="form-control text-uppercase" placeholder="请输入验证码" required>
<input type="text" name="vdcode" id="iptValidate" class="form-control text-uppercase" placeholder="请输入验证码" required="required">
<img src="<?php echo $cfg_cmsurl;?>/apps/vdimgck.php" id="validateimg" onclick="this.src='<?php echo $cfg_cmsurl;?>/apps/vdimgck.php?'+new Date().getTime()+Math.round(Math.random() * 10000)" title="验证码">
</div>
</div>


+ 3
- 3
src/user/templets/resetpassword2.htm View File

@@ -28,7 +28,7 @@
<?php if (empty($key)) {?>
<div class="form-group">
<label>会员临时密码</label>
<input type="password" name="pwdtmp" id="iptPwdtmp" class="form-control" placeholder="请输临时密码">
<input type="password" name="pwdtmp" id="iptPwdtmp" class="form-control" placeholder="请输会员临时密码">
</div>
<?php } else {?>
<div class="form-group">
@@ -38,11 +38,11 @@
<?php }?>
<div class="form-group">
<label>会员新密码</label>
<input type="password" name="pwd" id="iptPwd" class="form-control" placeholder="请输入新密码">
<input type="password" name="pwd" id="iptPwd" class="form-control" placeholder="请输入会员新密码">
</div>
<div class="form-group">
<label>会员确认密码</label>
<input type="password" name="pwdok" id="iptPwdok" class="form-control" placeholder="请输入确认密码">
<input type="password" name="pwdok" id="iptPwdok" class="form-control" placeholder="请输入会员确认密码">
</div>
<div><button type="submit" class="btn btn-success btn-md btn-block">下一步</button></div>
</form>


Loading…
Cancel
Save