Revize 1368
Přidáno uživatelem Michal Kliment před více než 12 roky(ů)
freenetis/branches/testing/application/models/monitor_host.php | ||
---|---|---|
),
|
||
', ',
|
||
t.zip_code
|
||
) AS town_name,
|
||
) AS town_name,town,street,d.type,
|
||
IFNULL(tr.translated_term, et.value) AS type_name,
|
||
u.member_id, m.name AS member_name,
|
||
IF(state <> ?, IF(state <> ?, ?, ?), ?) AS state_name,
|
freenetis/branches/testing/application/controllers/monitoring.php | ||
---|---|---|
|
||
$filter_form->add('town')
|
||
->type('select')
|
||
->table('t')
|
||
->values(
|
||
array_unique(
|
||
ORM::factory('town')->select_list('town', 'town')
|
||
... | ... | |
|
||
$filter_form->add('street')
|
||
->type('select')
|
||
->table('s')
|
||
->values(
|
||
array_unique(
|
||
ORM::factory('street')->select_list('street', 'street')
|
||
... | ... | |
|
||
$filter_form->add('type')
|
||
->type('select')
|
||
->table('d')
|
||
->values(
|
||
ORM::factory('enum_type')
|
||
->get_values(Enum_type_Model::DEVICE_TYPE_ID)
|
||
);
|
||
|
||
$filter_form->add('ip_address')
|
||
->table('ip')
|
||
->type('network_address')
|
||
->class(array
|
||
(
|
Také k dispozici: Unified diff
Oprava filtru u monitoringu.