- Bugfix: alias domain, subdomain, and vhost subdomain results in the global search link to the correct form now.
2 files added
3 files modified
| | |
| | | $result[] = _search('client', 'reseller', "AND limit_client != 0"); |
| | | |
| | | // web sites |
| | | $result[] = _search('sites', 'web_domain'); |
| | | $result[] = _search('sites', 'web_domain', "AND type = 'vhost'"); |
| | | |
| | | // subdomains |
| | | $result[] = _search('sites', 'web_subdomain', "AND type = 'subdomain'"); |
| | | |
| | | // web site aliases |
| | | $result[] = _search('sites', 'web_aliasdomain', "AND type = 'alias'"); |
| | | |
| | | // vhostsubdomains |
| | | $result[] = _search('sites', 'web_vhost_subdomain', "AND type = 'vhostsubdomain'"); |
| | | |
| | | // FTP users |
| | | $result[] = _search('sites', 'ftp_user'); |
| | |
| | | Hint: |
| | | The ID field of the database table is not part of the datafield definition. |
| | | The ID field must be always auto incement (int or bigint). |
| | | |
| | | Search: |
| | | - searchable = 1 or searchable = 2 include the field in the search |
| | | - searchable = 1: this field will be the title of the search result |
| | | - searchable = 2: this field will be included in the description of the search result |
| | | |
| | | |
| | | */ |
| | |
| | | 'default' => '', |
| | | 'value' => '', |
| | | 'width' => '30', |
| | | 'maxlength' => '255' |
| | | 'maxlength' => '255', |
| | | 'searchable' => 1 |
| | | ), |
| | | 'type' => array ( |
| | | 'datatype' => 'VARCHAR', |
| | |
| | | Hint: |
| | | The ID field of the database table is not part of the datafield definition. |
| | | The ID field must be always auto incement (int or bigint). |
| | | |
| | | Search: |
| | | - searchable = 1 or searchable = 2 include the field in the search |
| | | - searchable = 1: this field will be the title of the search result |
| | | - searchable = 2: this field will be included in the description of the search result |
| | | |
| | | |
| | | */ |
| | |
| | | 'default' => '', |
| | | 'value' => '', |
| | | 'width' => '30', |
| | | 'maxlength' => '255' |
| | | 'maxlength' => '255', |
| | | 'searchable' => 1 |
| | | ), |
| | | 'type' => array ( |
| | | 'datatype' => 'VARCHAR', |
| | |
| | | 'keyfield'=> 'domain_id', |
| | | 'valuefield'=> 'domain' |
| | | ), |
| | | 'value' => '' |
| | | 'value' => '', |
| | | 'searchable' => 2 |
| | | ), |
| | | 'redirect_type' => array ( |
| | | 'datatype' => 'VARCHAR', |
New file |
| | |
| | | <?php |
| | | $wb['domain_txt'] = 'Aliasdomain'; |
| | | ?> |
New file |
| | |
| | | <?php |
| | | $wb['domain_txt'] = 'Aliasdomain'; |
| | | ?> |