| | |
| | | ################################## |
| | | # Begin Datatable fields |
| | | ################################## |
| | | /* |
| | | 'document_root' => array ( |
| | | 'datatype' => 'VARCHAR', |
| | | 'formtype' => 'TEXT', |
| | |
| | | 'width' => '30', |
| | | 'maxlength' => '255' |
| | | ), |
| | | */ |
| | | 'apache_directives' => array ( |
| | | 'datatype' => 'TEXT', |
| | | 'formtype' => 'TEXT', |
| | |
| | | <table width="500" border="0" cellspacing="0" cellpadding="2"> |
| | | <!-- |
| | | <tr> |
| | | <td class="frmText11">{tmpl_var name='document_root_txt'}:</td> |
| | | <td class="frmText11"><input name="document_root" type="text" class="text" value="{tmpl_var name='document_root'}" size="30" maxlength="255"></td> |
| | |
| | | <td class="frmText11">{tmpl_var name='system_group_txt'}:</td> |
| | | <td class="frmText11"><input name="system_group" type="text" class="text" value="{tmpl_var name='system_group'}" size="30" maxlength="255"></td> |
| | | </tr> |
| | | --> |
| | | <tr> |
| | | <td class="frmText11">{tmpl_var name='apache_directives_txt'}:</td> |
| | | <td class="frmText11"><textarea name="apache_directives" class="text" rows="10" cols="30">{tmpl_var name='apache_directives'}</textarea></td> |
| | |
| | | $client_id = intval($client["client_id"]); |
| | | } |
| | | |
| | | /* |
| | | // Set the values for document_root, system_user and system_group |
| | | $system_user = 'web'.$this->id; |
| | | $system_group = 'client'.$client_id; |
| | |
| | | |
| | | $sql = "UPDATE web_domain SET system_user = '$system_user', system_group = '$system_group', document_root = '$document_root' WHERE domain_id = ".$this->id; |
| | | $app->db->query($sql); |
| | | */ |
| | | |
| | | } |
| | | |