Projekt

Obecné

Profil

« Předchozí | Další » 

Revize 1487

Přidáno uživatelem David Raška před více než 12 roky(ů)

Opravy:
- Chyba kontroly existence AP na lince pri pridavani noveho rozhranni
- Chybny odkaz na linku ve fulltextovem vyhledavani

Zobrazit rozdíly:

freenetis/branches/network/application/models/search.php
SELECT s.id, s.name AS value,
CONCAT(?, s.name) AS return_value,
CONCAT(?, ROUND(s.bitrate / 1048576), ' Mbps') AS `desc`,
'links/show' AS link
'links/show/' AS link
FROM links s
WHERE s.name LIKE ? COLLATE utf8_general_ci
", array
freenetis/branches/network/application/controllers/ifaces.php
$form = new Forge();
$base_form = $form->group('Basic data');
$form->hidden('itype')
->value($type);
$base_form->input('name')
->label('Interface name')
......
{
self::error(PAGE);
}
if ($this->input->post('itype') == Iface_Model::TYPE_WIRELESS)
{
{
if (trim($input->value) == '')
{
$input->add_error('required', __('Mode is required.'));
}
$count = ORM::factory('iface')->count_items_by_mode_and_link(
Iface_Model::WIRELESS_MODE_AP, $this->input->post('link_id'),
$this->iface_id
freenetis/branches/network/application/views/links/show.php
<?php if ($link->wireless_ssid != ''): ?>
<tr>
<th><?php echo __('SSID') ?></th>
<td><?php echo $link->wireless_ssid ?></td>
<td><b><?php echo $link->wireless_ssid ?></b></td>
</tr>
<?php endif ?>
<?php if ($link->wireless_norm != ''): ?>

Také k dispozici: Unified diff