Ignore:
Timestamp:
May 3, 2021, 9:48:26 PM (3 years ago)
Author:
chronos
Message:
  • Added: Support for customer address places.
  • Added: Limit direct traffic to router.
File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/Modules/Network/Network.php

    r908 r909  
    6363        foreach ($ChannelList as $Frequency)
    6464        {
    65           if (($DbRow2['Frequency'] == $Frequency)) $Color = '#000000';
    66             else if (($LowFrequency <= ($Frequency - 2.5)) and ($HighFrequency >= ($Frequency + 2.5))) $Color = '#808080';
    67             else if (($LowFrequency == $Frequency) or ($HighFrequency == $Frequency)) $Color = '#c0c0c0';
     65          if (($DbRow2['Frequency'] == $Frequency)) $Color = '#408040';
     66            else if (($LowFrequency <= ($Frequency - 2.5)) and ($HighFrequency >= ($Frequency + 2.5))) $Color = '#50d050';
     67            else if (($LowFrequency == $Frequency) or ($HighFrequency == $Frequency)) $Color = '#a0d0a0';
    6868            else $Color = '#ffffff';
    6969          $Output .= '<td style="background-color: '.$Color.';">&nbsp;</td>';
     
    168168        'Member' => array('Type' => 'TMember', 'Caption' => 'Zákazník', 'Default' => '0'),
    169169        'Location' => array('Type' => 'TMember', 'Caption' => 'Umístění', 'Default' => '0'),
    170         'AddressPlace' => array('Type' => 'TAddressPlace', 'Caption' => 'Adresní místo', 'Default' => null, 'Null' => true),
    171170        'Service' => array('Type' => 'TServiceCustomerRel', 'Caption' => 'Služba', 'Default' => '', 'Null' => true),
    172171        'Used' => array('Type' => 'Boolean', 'Caption' => 'Použito', 'Default' => '1'),
Note: See TracChangeset for help on using the changeset viewer.