Projekt

Obecné

Profil

« Předchozí | Další » 

Revize 1656

Přidáno uživatelem David Raška před asi 12 roky(ů)

Opravy:
- Oprava velikosti poli pro zadavani mac a ip adresy
- Oprava linku pro mazani zarizeni v rozsirenem modu

Zobrazit rozdíly:

freenetis/branches/testing/application/views/devices/show_by_user.php
<a name="device_<?php echo $id ?>_link" href="<?php echo url_lang::base() ?>devices/show/<?php echo $id ?>" title="<?php echo __('Show device') ?>"><?php echo __('device') ?> <?php echo $device['name'] ?> (<?php echo $device['type'] ?>)</a>
<img src="<?php echo url::base() ?>media/images/icons/ico_minus.gif" id="device_<?php echo $id ?>_button" class="device_button">
<?php echo html::anchor('devices/edit/' . $id, html::image(array('src' => 'media/images/icons/gtk_edit.png')), array('title' => __('Edit device'))) ?>
<?php echo html::anchor('devices/delete/' . $id, html::image(array('src' => 'media/images/icons/delete.png', 'class' => 'delete_link')), array('title' => __('Delete device'), 'class' => 'delete_link')) ?>
<?php echo html::anchor('devices/delete/' . $id, html::image(array('src' => 'media/images/icons/delete.png')), array('title' => __('Delete device'), 'class' => 'delete_link')) ?>
</h3>
<div id="device_<?php echo $id ?>" class="device">
freenetis/branches/testing/application/views/js/devices_add.php
html_buffer.push('<label class="device_add_label">MAC: </label>');
html_buffer.push('<input type="text" name="mac[');
html_buffer.push(i);
html_buffer.push(']" class="mac_address" style="width: 9em" />');
html_buffer.push(']" class="mac_address" style="width: 12em" />');
}
else if (data['type'] == <?php echo Iface_Model::TYPE_PORT ?>)
{
......
html_buffer.push('<label class="device_add_label">IP: </label>');
html_buffer.push('<input type="text" name="ip[');
html_buffer.push(i);
html_buffer.push(']" style="width:8.5em" class="ip_address ip_address_check" />');
html_buffer.push(']" style="width:11em" class="ip_address ip_address_check" />');
html_buffer.push(ip_hiddden);
html_buffer.push('<a href="#" class="device_add_detail_button add_detail_to_ip" title="<?php echo __('Add details to IP address') ?>">');
html_buffer.push('<?php echo html::image(array('src' => 'media/images/icons/settings.gif')) ?>');

Také k dispozici: Unified diff