PageRenderTime 1314ms CodeModel.GetById 34ms RepoModel.GetById 0ms app.codeStats 0ms

/gui/themes/default/client/phpini.tpl

https://bitbucket.org/droidzone/i-mscp
Smarty Template | 120 lines | 118 code | 2 blank | 0 comment | 2 complexity | 09082cdc5d2a41657a22c84b6dc8de4c MD5 | raw file
  1. <!-- BDP: php_editor_first_block_js -->
  2. <script type="text/javascript">
  3. /*<![CDATA[*/
  4. $(document).ready(function() {
  5. // Fix for http://bugs.jqueryui.com/ticket/7856
  6. $('[type=checkbox]').change(function() {
  7. if(!$(this).is(':checked')) {
  8. $(this).blur();
  9. }
  10. });
  11. });
  12. /*]]>*/
  13. </script>
  14. <!-- EDP: php_editor_first_block_js -->
  15. <p class="hint" style="font-variant: small-caps;font-size: small;">{TR_PAGE_TEXT}</p>
  16. <form name="editFrm" method="post" action="phpini.php">
  17. <!-- BDP: php_editor_first_block -->
  18. <table class="firstColFixed">
  19. <tr>
  20. <th>{TR_DIRECTIVE_NAME}</th>
  21. <th>{TR_DIRECTIVE_VALUE}</th>
  22. </tr>
  23. <!-- BDP: allow_url_fopen_block -->
  24. <tr>
  25. <td>
  26. <label for="allow_url_fopen">{TR_ALLOW_URL_FOPEN}</label>
  27. </td>
  28. <td>
  29. <select name="allow_url_fopen" id="allow_url_fopen">
  30. <option value="off"{ALLOW_URL_FOPEN_OFF}>{TR_VALUE_OFF}</option>
  31. <option value="on"{ALLOW_URL_FOPEN_ON}>{TR_VALUE_ON}</option>
  32. </select>
  33. </td>
  34. </tr>
  35. <!-- EDP: allow_url_fopen_block -->
  36. <!-- BDP: display_errors_block -->
  37. <tr>
  38. <td>
  39. <label for="display_errors">{TR_DISPLAY_ERRORS}</label>
  40. </td>
  41. <td>
  42. <select name="display_errors" id="display_errors">
  43. <option value="off"{DISPLAY_ERRORS_OFF}>{TR_VALUE_OFF}</option>
  44. <option value="on"{DISPLAY_ERRORS_ON}>{TR_VALUE_ON}</option>
  45. </select>
  46. </td>
  47. </tr>
  48. <!-- EDP: display_errors_block -->
  49. <!-- BDP: error_reporting_block -->
  50. <tr>
  51. <td>
  52. <label for="error_reporting">{TR_ERROR_REPORTING}</label>
  53. </td>
  54. <td>
  55. <select name="error_reporting" id="error_reporting">
  56. <option value="E_ALL &amp; ~E_NOTICE"{ERROR_REPORTING_0}>{TR_ERROR_REPORTING_DEFAULT}</option>
  57. <option value="E_ALL | E_STRICT"{ERROR_REPORTING_1}>{TR_ERROR_REPORTING_DEVELOPEMENT}</option>
  58. <option value="E_ALL &amp; ~E_DEPRECATED"{ERROR_REPORTING_2}>{TR_ERROR_REPORTING_PRODUCTION}</option>
  59. <option value="0"{ERROR_REPORTING_3}>{TR_ERROR_REPORTING_NONE}</option>
  60. </select>
  61. </td>
  62. </tr>
  63. <!-- EDP: error_reporting_block -->
  64. <!-- BDP: disable_functions_block -->
  65. <tr>
  66. <td>
  67. <label>{TR_DISABLE_FUNCTIONS}</label>
  68. </td>
  69. <td>
  70. <div class="checkbox">
  71. <input name="show_source" id="show_source" type="checkbox" {SHOW_SOURCE} value="show_source" />
  72. <label for="show_source">show_source</label>
  73. <input name="system" id="system" type="checkbox"{SYSTEM} value="system" />
  74. <label for="system">system</label>
  75. <input name="shell_exec" id="shell_exec" type="checkbox"{SHELL_EXEC} value="shell_exec" />
  76. <label for="shell_exec">shell_exec</label>
  77. <input name="passthru" id="passthru" type="checkbox"{PASSTHRU} value="passthru" />
  78. <label for="passthru">passthru</label>
  79. <input name="exec" id="exec" type="checkbox"{EXEC} value="exec" />
  80. <label for="exec">exec</label>
  81. <input name="phpinfo" id="phpinfo" type="checkbox"{PHPINFO} value="phpinfo" />
  82. <label for="phpinfo">phpinfo</label>
  83. <input name="shell" id="shell" type="checkbox"{SHELL} value="shell" />
  84. <label for="shell">shell</label>
  85. <input name="symlink" id="symlink" type="checkbox"{SYMLINK} value="symlink" />
  86. <label for="symlink">symlink</label>
  87. </div>
  88. </td>
  89. </tr>
  90. <!-- EDP: disable_functions_block -->
  91. </table>
  92. <!-- EDP: php_editor_first_block -->
  93. <!-- BDP: php_editor_second_block -->
  94. <table class="firstColFixed">
  95. <tr>
  96. <th>{TR_PARAMETER}</th>
  97. <th>{TR_STATUS}</th>
  98. </tr>
  99. <tr>
  100. <td>
  101. <label>{TR_DISABLE_FUNCTIONS_EXEC}</label><span style="vertical-align: middle;" class="icon i_help" id="exec_help" title="{TR_EXEC_HELP}">{TR_HELP}</span>
  102. </td>
  103. <td>
  104. <div class="ui-buttonset">
  105. <input type="radio" name="exec" id="exec_allowed" value="allows" {EXEC_ALLOWED}/>
  106. <label for="exec_allowed">{TR_ALLOWED}</label>
  107. <input type="radio" name="exec" value="disallows" id="exec_disallowed" {EXEC_DISALLOWED}/>
  108. <label for="exec_disallowed">{TR_DISALLOWED}</label>
  109. </div>
  110. </td>
  111. </tr>
  112. </table>
  113. <!-- EDP: php_editor_second_block -->
  114. <div class="buttons">
  115. <input name="Submit" type="submit" value="{TR_UPDATE_DATA}" />
  116. <input name="Submit" type="submit" onclick="MM_goToURL('parent','domains_manage.php');return document.MM_returnValue" value="{TR_CANCEL}" />
  117. </div>
  118. </form>