|
250 | 250 | ) |
251 | 251 | ); |
252 | 252 | $form["tabs"]['php_cli'] = array ( |
253 | | -'title' => "PHP-CLI settings", |
254 | | -'width' => 80, |
255 | | -'template' => "templates/server_php_cli_edit.htm", |
256 | | -'fields' => array( |
257 | | - //################################# |
258 | | - // Begin Datatable fields |
259 | | - //################################# |
260 | | - 'php_cli_binary' => array( |
261 | | - 'datatype' => 'VARCHAR', |
262 | | - 'formtype' => 'TEXT', |
263 | | - 'validators' => array( |
264 | | - 0 => array ( |
265 | | - 'type' => 'REGEX', |
266 | | - 'regex' => '/^\/[a-zA-Z0-9\/\-\_\ ]*$/', |
267 | | - 'errmsg'=> 'php_cli_binary_error_regex' |
| 253 | + 'title' => "PHP-CLI settings", |
| 254 | + 'width' => 80, |
| 255 | + 'template' => "templates/server_php_cli_edit.htm", |
| 256 | + 'fields' => array( |
| 257 | + //################################# |
| 258 | + // Begin Datatable fields |
| 259 | + //################################# |
| 260 | + 'php_cli_binary' => array( |
| 261 | + 'datatype' => 'VARCHAR', |
| 262 | + 'formtype' => 'TEXT', |
| 263 | + 'validators' => array( |
| 264 | + 0 => array ( |
| 265 | + 'type' => 'REGEX', |
| 266 | + 'regex' => '/^\/[a-zA-Z0-9\/\-\_\s]*$/', |
| 267 | + 'errmsg'=> 'php_cli_binary_error_regex' |
| 268 | + ), |
268 | 269 | ), |
| 270 | + 'default' => '', |
| 271 | + 'value' => '', |
| 272 | + 'width' => '40', |
| 273 | + 'maxlength' => '255' |
269 | 274 | ), |
270 | | - 'default' => '', |
271 | | - 'value' => '', |
272 | | - 'width' => '40', |
273 | | - 'maxlength' => '255' |
274 | | - ), |
275 | | - 'php_jk_section' => array( |
276 | | - 'datatype' => 'TEXT', |
277 | | - 'formtype' => 'TEXT', |
278 | | - 'default' => '', |
279 | | - 'validators' => array( |
280 | | - 0 => array ( |
281 | | - 'type' => 'REGEX', |
282 | | - 'regex' => '/^[a-zA-Z0-9\-\_\ ]*$/', |
283 | | - 'errmsg'=> 'php_cli_jk_section_error_regex' |
| 275 | + 'php_jk_section' => array( |
| 276 | + 'datatype' => 'VARCHAR', |
| 277 | + 'formtype' => 'TEXT', |
| 278 | + 'default' => '', |
| 279 | + 'validators' => array( |
| 280 | + 0 => array ( |
| 281 | + 'type' => 'REGEX', |
| 282 | + 'regex' => '/^[a-zA-Z0-9\-\_]*$/', |
| 283 | + 'errmsg'=> 'php_cli_jk_section_error_regex' |
| 284 | + ), |
284 | 285 | ), |
| 286 | + 'value' => '', |
| 287 | + 'width' => '40', |
| 288 | + 'maxlength' => '255' |
285 | 289 | ), |
286 | | - 'value' => '', |
287 | | - 'width' => '40', |
288 | | - 'maxlength' => '255' |
289 | | - ), |
290 | | -) |
291 | | -); |
| 290 | + ) |
| 291 | + ); |
| 292 | + |
292 | 293 | $form["tabs"]['php_sort'] = array ( |
293 | 294 | 'title' => "PHP Sort Priority", |
294 | 295 | 'width' => 80, |
|
0 commit comments