⭐ 欢迎来到虫虫下载站! | 📦 资源下载 📁 资源专辑 ℹ️ 关于我们
⭐ 虫虫下载站

📄 config_m.jsp

📁 这是论坛原代码,希望大家能好好看看,说明需要的太多了吧
💻 JSP
📖 第 1 页 / 共 2 页
字号:
        <td align="left"><input type="text" name="Application.bak_path" value="<%=cfg.get("Application.bak_path")%>"/>&nbsp;( 
          <lt:Label res="res.label.cms.config" key="relative_contents"/>
)</td>
      </tr>
      <tr>
        <td height="24" align="right"><lt:Label res="res.label.cms.config" key="fileSize"/></td>
        <td align="left"><input type="text" name="Application.FileSize" value="<%=Global.FileSize%>"/> 
          ( <lt:Label res="res.label.cms.config" key="unit"/> ) </td>
      </tr>
      <tr>
        <td height="24" align="right"><lt:Label res="res.label.cms.config" key="WebEdit_maxSize"/></td>
        <td align="left"><input type="text" name="Application.WebEdit.MaxSize" value="<%=cfg.get("Application.WebEdit.MaxSize")%>"/>
          ( <lt:Label res="res.label.cms.config" key="unit_byte_html_attatch_count"/> )</td>
      </tr>
      <tr>
        <td height="24" align="right"><lt:Label res="res.label.cms.config" key="max_uploading_file_count"/></td>
        <td align="left"><input type="text" name="Application.WebEdit.maxUploadingFileCount" value="<%=cfg.get("Application.WebEdit.maxUploadingFileCount")%>"/>
          ( <lt:Label res="res.label.cms.config" key="webedit_uploading"/> )</td>
      </tr>
      <tr>
        <td height="24" align="right"><lt:Label res="res.label.cms.config" key="App_if_chinese"/></td>
        <td align="left"><select name="Application.isRequestSupportCN">
            <option value="true"><lt:Label res="res.label.cms.config" key="yes"/></option>
            <option value="false" selected="selected"><lt:Label res="res.label.cms.config" key="no"/></option>
          </select>
            <script>
		var supobj = findObj("Application.isRequestSupportCN");
		supobj.value = "<%=Global.requestSupportCN%>";
		    </script>
( <lt:Label res="res.label.cms.config" key="change_App"/> ) </td>
      </tr>
      <tr>
        <td height="24" align="right"><lt:Label res="res.label.cms.config" key="internet_flag"/></td>
        <td align="left"><select name="Application.internetFlag">
            <option value="secure"><lt:Label res="res.label.cms.config" key="yes"/></option>
            <option value="no"><lt:Label res="res.label.cms.config" key="no"/></option>
          </select>
            <script>
		var obj = findObj("Application.internetFlag");
		obj.value = "<%=Global.internetFlag%>";
		</script>        </td>
      </tr>
      <tr>
        <td height="24" align="right"><lt:Label res="res.label.cms.config" key="smtp_server"/></td>
        <td align="left"><input type="text" name="Application.smtpServer" value="<%=Global.smtpServer%>"/></td>
      </tr>
      <tr>
        <td height="24" align="right"><lt:Label res="res.label.cms.config" key="smtp_port"/></td>
        <td align="left"><input type="text" name="Application.smtpPort" value="<%=Global.smtpPort%>"/></td>
      </tr>
      <tr>
        <td height="24" align="right"><lt:Label res="res.label.cms.config" key="smtp_user"/></td>
        <td align="left"><input type="text" name="Application.smtpUser" value="<%=Global.smtpUser%>"/></td>
      </tr>
      <tr>
        <td height="24" align="right"><lt:Label res="res.label.cms.config" key="smtp_user"/></td>
        <td align="left"><input type="password" name="Application.smtpPwd" value="<%=Global.smtpPwd%>"/></td>
      </tr>
      <tr>
        <td height="24" align="right"><lt:Label res="res.label.cms.config" key="email"/></td>
        <td align="left"><input type="text" name="Application.email" value="<%=Global.email%>"/></td>
      </tr>
      <tr>
        <td height="24" align="right"><lt:Label res="res.label.cms.config" key="icp"/></td>
        <td align="left"><input type="text" name="Application.icp" value="<%=Global.icp%>"/></td>
      </tr>
      <tr>
        <td height="24" align="right"><lt:Label res="res.label.cms.config" key="timeZone"/></td>
        <td align="left"><select name="i18n.timeZone">
          <option value="GMT-11:00">(GMT-11.00)<lt:Label res="res.label.cms.config" key="GMT-11.00"/></option>
          <option value="GMT-10:00">(GMT-10.00)<lt:Label res="res.label.cms.config" key="GMT-10.00"/></option>
          <option value="GMT-09:00">(GMT-9.00)<lt:Label res="res.label.cms.config" key="GMT-9.00"/></option>
          <option value="GMT-08:00">(GMT-8.00)<lt:Label res="res.label.cms.config" key="GMT-8.00"/></option>
          <option value="GMT-07:00">(GMT-7.00)<lt:Label res="res.label.cms.config" key="GMT-7.00"/></option>
          <option value="GMT-06:00">(GMT-6.00)<lt:Label res="res.label.cms.config" key="GMT-6.00"/></option>
          <option value="GMT-05:00">(GMT-5.00)<lt:Label res="res.label.cms.config" key="GMT-5.00"/></option>
          <option value="GMT-04:00">(GMT-4.00)<lt:Label res="res.label.cms.config" key="GMT-4.00"/></option>
          <option value="GMT-03:00">(GMT-3.00)<lt:Label res="res.label.cms.config" key="GMT-3.00"/></option>
          <option value="GMT-02:00">(GMT-2.00)<lt:Label res="res.label.cms.config" key="GMT-2.00"/></option>
          <option value="GMT-01:00">(GMT-1.00)<lt:Label res="res.label.cms.config" key="GMT-1.00"/></option>
          <option value="GMT">(GMT)<lt:Label res="res.label.cms.config" key="GMT"/></option>
          <option value="GMT+01:00">(GMT+1.00)<lt:Label res="res.label.cms.config" key="GMT+1.00"/></option>
          <option value="GMT+02:00">(GMT+2.00)<lt:Label res="res.label.cms.config" key="GMT+2.00"/></option>
          <option value="GMT+03:00">(GMT+3.00)<lt:Label res="res.label.cms.config" key="GMT+3.00"/></option>
          <option value="GMT+04:00">(GMT+4.00)<lt:Label res="res.label.cms.config" key="GMT+4.00"/></option>
          <option value="GMT+04:30">(GMT+4.30)<lt:Label res="res.label.cms.config" key="GMT+4.30"/></option>
          <option value="GMT+05:00">(GMT+5.00)<lt:Label res="res.label.cms.config" key="GMT+5.00"/></option>
          <option value="GMT+05:30">(GMT+5.30)<lt:Label res="res.label.cms.config" key="GMT+5.30"/></option>
          <option value="GMT+05:45">(GMT+5.45)<lt:Label res="res.label.cms.config" key="GMT+5.45"/></option>
		  <option value="GMT+06:00">(GMT+6.00)<lt:Label res="res.label.cms.config" key="GMT+6.00"/></option>
		  <option value="GMT+06:30">(GMT+6.30)<lt:Label res="res.label.cms.config" key="GMT+6.30"/></option>		  
          <option value="GMT+07:00">(GMT+7.00)<lt:Label res="res.label.cms.config" key="GMT+7.00"/></option>
          <option value="GMT+08:00" selected="selected">(GMT+8.00)<lt:Label res="res.label.cms.config" key="GMT+8.00"/></option>
          <option value="GMT+09:00">(GMT+9.00)<lt:Label res="res.label.cms.config" key="GMT+9.00"/></option>
          <option value="GMT+09:30">(GMT+9.30)<lt:Label res="res.label.cms.config" key="GMT+9.30"/></option>
          <option value="GMT+10:00">(GMT+10.00)<lt:Label res="res.label.cms.config" key="GMT+10.00"/></option>
          <option value="GMT+11:00">(GMT+11.00)<lt:Label res="res.label.cms.config" key="GMT+11.00"/></option>
          <option value="GMT+12:00">(GMT+12.00)<lt:Label res="res.label.cms.config" key="GMT+12.00"/></option>
          <option value="GMT+13:00">(GMT+13.00)<lt:Label res="res.label.cms.config" key="GMT+13.00"/></option>
        </select>
          <script>
			findObj("i18n.timeZone").value = "<%=Global.timeZone.getID()%>";
		</script>		</td>
      </tr>
      <tr>
        <td height="24" align="right"><lt:Label res="res.label.cms.config" key="default_lang"/></td>
        <td align="left"><select name=locale size=1>
          <%
            XMLConfig xc = new XMLConfig("config_i18n.xml", false, "utf-8");
            Element root = xc.getRootElement();
            Element child = root.getChild("support");
            List list = child.getChildren();
            if (list != null) {
                Iterator ir = list.iterator();
                while (ir.hasNext()) {
                    Element e = (Element) ir.next();
					String loc = e.getChildText("lang") + "_" + e.getChildText("country");
                    out.print("<option value=" + loc + ">" + SkinUtil.LoadString(request, "res.config.config_i18n", loc) + "</option>");
                }
            }
%>
        </select>
		<script>
		form1.locale.value = "<%=Global.locale.toString().toLowerCase()%>";
		</script>
		</td>
      </tr>
      <tr>
        <td height="24" align="right"><lt:Label res="res.label.cms.config" key="lang_specified"/></td>
        <td align="left"><select name="i18n.isSpecified">
          <option value="true">
            <lt:Label res="res.label.cms.config" key="yes"/>
            </option>
          <option value="false" selected="selected">
            <lt:Label res="res.label.cms.config" key="no"/>
            </option>
        </select>
        <script>
			findObj("i18n.isSpecified").value = "<%=Global.localeSpecified?"true":"false"%>";
		</script>		
		</td>
      </tr>
	  </form>
    </table>
    <input type="button" onClick="form1.submit()" value="<%=SkinUtil.LoadString(request, "res.label.cms.config","confirm")%>"></td></tr>
</table>    </td>
  </tr>
  <tr class=row style="BACKGROUND-COLOR: #fafafa">
    <td valign="top" bgcolor="#FFFFFF" class="thead">&nbsp;</td>
  </tr>
</table> 
</body>                                        
</html>                            
  

⌨️ 快捷键说明

复制代码 Ctrl + C
搜索代码 Ctrl + F
全屏模式 F11
切换主题 Ctrl + Shift + D
显示快捷键 ?
增大字号 Ctrl + =
减小字号 Ctrl + -