Projekt

Obecné

Profil

« Předchozí | Další » 

Revize 8f55a2a5

Přidáno uživatelem Michal Kliment před více než 9 roky(ů)

Release 1.1.6

Zobrazit rozdíly:

application/views/js/devices_add.php
<?php if (!empty($connection_request_model)): ?>
// add mac from request
if ((default_iface >= 0) && (i == default_iface))
if ((default_iface >= 0) && ((i - start_index) == default_iface))
{
auto_fill = true;
html_buffer.push('value="<?php echo $connection_request_model->mac_address ?>" ');
......
html_buffer.push(']" ');
<?php if (!empty($connection_request_model)): ?>
// add mac from request
if ((default_iface >= 0) && (i == default_iface))
// add ip from request
if ((default_iface >= 0) && ((i - start_index) == default_iface))
{
html_buffer.push('value="<?php echo $connection_request_model->ip_address ?>" ');
}
......
<?php if (!empty($connection_request_model)): ?>
// add mac from request
if ((default_iface >= 0) && (i == default_iface))
if ((default_iface >= 0) && ((i - start_index) == default_iface))
{
html_buffer.push('class="subnet_fill_in_connection_request_model_value" ');
}
......
html_buffer.push('<a href="#" class="device_add_detail_button get_connected_to_device_and_iface');
<?php if (!empty($connection_request_model)): ?>
// enable getting on connection request (MAC and subnet aready filled in)
if (i != default_iface)
if ((i - start_index) != default_iface)
{
html_buffer.push(' dispNone');
}

Také k dispozici: Unified diff