Config_sys.html 3.6 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119
  1. <form method='post' id="myform" action="{:U('Config/dosite')}">
  2. <table cellpadding=0 cellspacing=0 width="100%" class="table_form" >
  3. <tr>
  4. <th style="width:120px;">{:L('PAGE_LISTROWS')}:</th>
  5. <td><input name="PAGE_LISTROWS" type="text" class="input-text" size="5" id="PAGE_LISTROWS" value="{$PAGE_LISTROWS}"></td>
  6. </tr>
  7. <tr>
  8. <th>{:L('URL_MODEL')}:</th>
  9. <td>{:Form::select(array('field'=>'URL_MODEL','options'=>$urlmodelarr,'setup'=>array('onchange'=>'urlrule(this.value)')),$URL_MODEL)}
  10. </td>
  11. </tr>
  12. <tr id="urlrule">
  13. <th>{:L('URL_Urlrule')}:</th>
  14. <td>{:Form::select(array('field'=>'URL_URLRULE','options'=>$Urlrule),$URL_URLRULE)}</td>
  15. </tr>
  16. <tr>
  17. <th>{:L('URL_PATHINFO_DEPR')}:</th>
  18. <td><input name="URL_PATHINFO_DEPR" type="text" class="input-text" id="URL_PATHINFO_DEPR" value="{$URL_PATHINFO_DEPR}" size="20" /></td>
  19. </tr>
  20. <tr>
  21. <th>{:L('URL_HTML_SUFFIX')}:</th>
  22. <td><input name="URL_HTML_SUFFIX" type="text" class="input-text" id="URL_HTML_SUFFIX" value="{$URL_HTML_SUFFIX}"></td>
  23. </tr>
  24. <tr>
  25. <th>{:L('LAYOUT_ON')}:</th>
  26. <td>{:Form::select(array('field'=>'LAYOUT_ON','options'=>$openarr),$LAYOUT_ON)}
  27. </td>
  28. </tr>
  29. <tr>
  30. <th>{:L('TOKEN_ON')}:</th>
  31. <td>{:Form::select(array('field'=>'TOKEN_ON','options'=>$openarr),$TOKEN_ON)}
  32. </td>
  33. </tr>
  34. <tr>
  35. <th>{:L('TOKEN_NAME')}:</th>
  36. <td><input name="TOKEN_NAME" type="text" class="input-text" id="TOKEN_NAME" value="{$TOKEN_NAME}">
  37. </td>
  38. </tr>
  39. <tr>
  40. <th>{:L('TMPL_CACHE_ON')}:</th>
  41. <td>{:Form::select(array('field'=>'TMPL_CACHE_ON','options'=>$openarr),$TMPL_CACHE_ON)}
  42. </td>
  43. </tr>
  44. <tr>
  45. <th>{:L('TMPL_CACHE_TIME')}:</th>
  46. <td><input name="TMPL_CACHE_TIME" type="text" class="input-text" id="TMPL_CACHE_TIME" value="{$TMPL_CACHE_TIME}"> </td>
  47. </tr>
  48. <tr>
  49. <th>{:L('HTML_CACHE_ON')}:</th>
  50. <td>{:Form::select(array('field'=>'HTML_CACHE_ON','options'=>$openarr),$HTML_CACHE_ON)}</td>
  51. </tr>
  52. <tr>
  53. <th>{:L('HTML_CACHE_TIME')}:</th>
  54. <td><input name="HTML_CACHE_TIME" type="text" class="input-text" id="HTML_CACHE_TIME" value="{$HTML_CACHE_TIME}"> </td>
  55. </tr>
  56. <tr>
  57. <th>{:L('HTML_READ_TYPE')}:</th>
  58. <td>{:Form::select(array('field'=>'HTML_READ_TYPE','options'=>$readtypearr),$HTML_READ_TYPE)}
  59. </td>
  60. </tr>
  61. <tr>
  62. <th>{:L('HTML_FILE_SUFFIX')}:</th>
  63. <td><input name="HTML_FILE_SUFFIX" type="text" class="input-text" id="HTML_FILE_SUFFIX" value="{$HTML_FILE_SUFFIX}">
  64. </td>
  65. </tr>
  66. <tr>
  67. <th>ADMIN_ACCESS:</th>
  68. <td><input name="ADMIN_ACCESS" type="text" class="input-text" size="40" id="ADMIN_ACCESS" value="{$ADMIN_ACCESS}"> </td>
  69. </tr>
  70. <tr>
  71. <th>{:L('HOME_ISHTML')}:</th>
  72. <td>{:Form::select(array('field'=>'HOME_ISHTML','options'=>$openarr),$HOME_ISHTML)}</td>
  73. </tr>
  74. <tr>
  75. <th>{:L('ADMIN_VERIFY')}:</th>
  76. <td>{:Form::select(array('field'=>'ADMIN_VERIFY','options'=>$openarr),$ADMIN_VERIFY)}</td>
  77. </tr>
  78. <tr>
  79. <th>{:L('COOKIE_PATH')}:</th>
  80. <td><input name="COOKIE_PATH" type="text" class="input-text" id="COOKIE_PATH" value="{$COOKIE_PATH}"> </td>
  81. </tr>
  82. <tr>
  83. <th>{:L('COOKIE_DOMAIN')}:</th>
  84. <td><input name="COOKIE_DOMAIN" type="text" class="input-text" id="COOKIE_DOMAIN" value="{$COOKIE_DOMAIN}"> </td>
  85. </tr>
  86. <tr>
  87. <th>{:L('DEFAULT_LANG')}:</th>
  88. <td>{:Form::select(array('field'=>'DEFAULT_LANG','options'=>$Lang,'options_key'=>'key,name'),$DEFAULT_LANG)}</td>
  89. </tr>
  90. </table>
  91. <div class="btn">
  92. <INPUT TYPE="submit" value="{:L('save')}" class="button buttonBtn" >
  93. <input TYPE="reset" value="{:L('reset')}" class="button">
  94. </div>
  95. </form>
  96. </div>
  97. <script>
  98. function urlrule(m){
  99. if(m==1 || m==2){
  100. $('#urlrule').show();
  101. }else{
  102. $('#urlrule').hide();
  103. }
  104. }
  105. urlrule({$URL_MODEL});
  106. </script>