* Copyright 2016 Nicolas Goaziou * * This file is part of CHD Gestion. * * CHD Gestion is free software: you can redistribute it and/or modify * it under the terms of the GNU General Public License as published by * the Free Software Foundation, either version 3 of the License, or * (at your option) any later version. * * CHD Gestion is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the * GNU General Public License for more details. * * You should have received a copy of the GNU General Public License * along with CHD Gestion. If not, see . **/ ?>

Form->create(null) . "\n" ?> Form->end() . "\n" ?>
Form->input('q', [ 'placeholder' => __('MAC, IPv4, Hostname...'), 'empty' => __('MAC, IPv4, Hostname...') ]) ?> Form->input('equipement_modele_id', [ 'placeholder' => __('Equipement Modeles'), 'empty' => __('Equipement Modeles') ]) ?> Form->input('relais_id', [ 'placeholder' => __('Relais'), 'empty' => __('Relais') ]) ?> Form->button('Filter', ['type' => 'submit']) . "\n" ?> Html->link('Reset', ['action' => 'index']) . "\n" ?>
Paginator->sort('mac') ?> Paginator->sort('hostname') ?> Paginator->sort('equipement_modele_id') ?> Paginator->sort('uplink_id') ?> Paginator->sort('relais_id') ?> Paginator->sort('ipmgmt_id') ?>
$2', h($equipement->mac)) ?> hostname) ?> has('equipement_modele') ? $this->Html->link($equipement->equipement_modele->title, ['controller' => 'EquipementModeles', 'action' => 'view', $equipement->equipement_modele->id]) : '' ?> has('uplink_id') ? $this->Html->link($equipement->uplink_id, ['controller' => 'Equipements', 'action' => 'view', $equipement->uplink_id]) : '' ?> has('relais') ? $this->Html->link($equipement->relais->title, ['controller' => 'Relais', 'action' => 'view', $equipement->relais->id]) : '' ?> has('ipmgmt') ? $this->Html->link( $equipement->ipmgmt->ip4, 'http://' . $equipement->ipmgmt->ip4, [ 'target' => '_blank', '_full' => true ] ) : '' ?> Html->link(__('View'), ['action' => 'view', $equipement->id]) ?> Html->link(__('Edit'), ['action' => 'edit', $equipement->id]) ?>
    Paginator->prev('< ' . __('previous')) ?> Paginator->numbers() ?> Paginator->next(__('next') . ' >') ?>