|
| 1 | +<?php |
| 2 | + |
| 3 | +/* |
| 4 | + Datatypes: |
| 5 | + - INTEGER |
| 6 | + - DOUBLE |
| 7 | + - CURRENCY |
| 8 | + - VARCHAR |
| 9 | + - TEXT |
| 10 | + - DATE |
| 11 | +*/ |
| 12 | + |
| 13 | + |
| 14 | + |
| 15 | +// Name of the list |
| 16 | +$liste["name"] = "web_vhost_aliasdomain"; |
| 17 | + |
| 18 | +// Database table |
| 19 | +$liste["table"] = "web_domain"; |
| 20 | + |
| 21 | +// Index index field of the database table |
| 22 | +$liste["table_idx"] = "domain_id"; |
| 23 | + |
| 24 | +// Search Field Prefix |
| 25 | +$liste["search_prefix"] = "search_"; |
| 26 | + |
| 27 | +// Records per page |
| 28 | +$liste["records_per_page"] = "15"; |
| 29 | + |
| 30 | +// Script File of the list |
| 31 | +$liste["file"] = "web_vhost_aliasdomain_list.php"; |
| 32 | + |
| 33 | +// Script file of the edit form |
| 34 | +$liste["edit_file"] = "web_vhost_aliasdomain_edit.php"; |
| 35 | + |
| 36 | +// Script File of the delete script |
| 37 | +$liste["delete_file"] = "web_vhost_aliasdomain_del.php"; |
| 38 | + |
| 39 | +// Paging Template |
| 40 | +$liste["paging_tpl"] = "templates/paging.tpl.htm"; |
| 41 | + |
| 42 | +// Enable auth |
| 43 | +$liste["auth"] = "yes"; |
| 44 | + |
| 45 | + |
| 46 | +/***************************************************** |
| 47 | +* Suchfelder |
| 48 | +*****************************************************/ |
| 49 | + |
| 50 | + |
| 51 | +$liste["item"][] = array( 'field' => "active", |
| 52 | + 'datatype' => "VARCHAR", |
| 53 | + 'formtype' => "SELECT", |
| 54 | + 'op' => "=", |
| 55 | + 'prefix' => "", |
| 56 | + 'suffix' => "", |
| 57 | + 'width' => "", |
| 58 | + 'value' => array('y' => "<div id=\"ir-Yes\" class=\"swap\"><span>Yes</span></div>", 'n' => "<div class=\"swap\" id=\"ir-No\"><span>No</span></div>")); |
| 59 | + |
| 60 | + |
| 61 | +$liste["item"][] = array( 'field' => "server_id", |
| 62 | + 'datatype' => "VARCHAR", |
| 63 | + 'formtype' => "SELECT", |
| 64 | + 'op' => "like", |
| 65 | + 'prefix' => "%", |
| 66 | + 'suffix' => "%", |
| 67 | + 'datasource' => array ( 'type' => 'SQL', |
| 68 | + 'querystring' => 'SELECT server_id,server_name FROM server WHERE {AUTHSQL} ORDER BY server_name', |
| 69 | + 'keyfield'=> 'server_id', |
| 70 | + 'valuefield'=> 'server_name' |
| 71 | + ), |
| 72 | + 'width' => "", |
| 73 | + 'value' => ""); |
| 74 | + |
| 75 | +$liste["item"][] = array( 'field' => "parent_domain_id", |
| 76 | + 'datatype' => "VARCHAR", |
| 77 | + 'filters' => array( 0 => array( 'event' => 'SHOW', |
| 78 | + 'type' => 'IDNTOUTF8') |
| 79 | + ), |
| 80 | + 'formtype' => "SELECT", |
| 81 | + 'op' => "=", |
| 82 | + 'prefix' => "", |
| 83 | + 'suffix' => "", |
| 84 | + 'datasource' => array ( 'type' => 'SQL', |
| 85 | + 'querystring' => "SELECT domain_id,domain FROM web_domain WHERE type = 'vhost' AND {AUTHSQL} ORDER BY domain", |
| 86 | + 'keyfield'=> 'domain_id', |
| 87 | + 'valuefield'=> 'domain' |
| 88 | + ), |
| 89 | + 'width' => "", |
| 90 | + 'value' => ""); |
| 91 | + |
| 92 | +$liste["item"][] = array( 'field' => "domain", |
| 93 | + 'datatype' => "VARCHAR", |
| 94 | + 'filters' => array( 0 => array( 'event' => 'SHOW', |
| 95 | + 'type' => 'IDNTOUTF8') |
| 96 | + ), |
| 97 | + 'formtype' => "TEXT", |
| 98 | + 'op' => "like", |
| 99 | + 'prefix' => "%", |
| 100 | + 'suffix' => "%", |
| 101 | + 'width' => "", |
| 102 | + 'value' => ""); |
| 103 | + |
| 104 | + |
| 105 | +?> |
0 commit comments