nbwjdh 发表于 2010-1-12 16:38:06

防QQ邮箱模板怎么才能够改为默认用户名不含域名登录呢?

1、默认是带域名用户名登录
http://club.isso.com.cn/uploads/70247/5cf732b6a8fe4723b6829fb024079e36.png

希望能够改成默认不带域名的用户名登录,如下图
http://club.isso.com.cn/uploads/70247/faccc913056948b2a45439e70bcff447.png

xxymaster 发表于 2010-1-14 09:10:19

我直接把含域登录的代码给删除了^_^

wuhe 发表于 2010-1-15 14:48:28

今天QQ群里,我也提出过这个问题。晚上回来再细细研究一下。
原代码位置:
<div style="height: 25px;">
                        <label for="uin" class="column">
                            帐&nbsp;&nbsp;号:</label>

                            <% if trim(request("mode"))="own" then%>
                            <input type="text" id="usernameshow" name="usernameshow" value="" tabindex="1" style="ime-mode: disabled;"
                              class="text2" />
                            <%else %>
                            <input type="text" id="usernameshow" name="usernameshow" value="" tabindex="1" style="ime-mode: disabled;"
                              class="text" /><div class="subfix" style="font: bold 13px Arial; float: left; margin: 0 0 0 4px">
                                    <select style="padding-top: 2px; height: 24px; font: normal 13px Tahoma; width: 105px"
                                        id="sel_domain" name="sel_domain">
                                        <option value="@<%=from %>" selected>@<%=from %></option>
                                        <option value="own">我要自己输入</option>
                                    </select>
                              </div>
                            <%end if %>
                  </div>
修改成如下:
<div style="height: 25px;">
                        <label for="uin" class="column">
                            帐&nbsp;&nbsp;号:</label>

                            <input type="text" id="usernameshow" name="usernameshow" value="" tabindex="1" style="ime-mode: disabled;"
                              class="text2" />
      <div class="subfix" id="sel_domain" name="sel_domain" value="">
                                 </div>
                  </div>

就是将第一段中红色的内容用第二段中蓝色的内容替换。测试过了没有问题。

[ 本帖最后由 wuhe 于 2010-1-16 15:14 编辑 ]
页: [1]
查看完整版本: 防QQ邮箱模板怎么才能够改为默认用户名不含域名登录呢?