Changeset 812


Ignore:
Timestamp:
Mar 9, 2016, 8:36:25 AM (9 years ago)
Author:
chronos
Message:
  • Added: Setup also base DNS name.
Location:
trunk/Modules
Files:
4 edited

Legend:

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

    r810 r812  
    567567      'Items' => array(
    568568        'DocumentLine' => array('Type' => 'TDocumentLine', 'Caption' => 'Dokladová řada', 'Default' => ''),
    569         'BillCode' => array('Type' => 'TDocumentLineCode', 'Caption' => 'Kód', 'Default' => ''),
     569        'BillCode' => array('Type' => 'TDocumentLineCode', 'Caption' => 'Kód', 'Default' => '', 'Null' => true),
    570570        'Subject' => array('Type' => 'TSubject', 'Caption' => 'Subjekt', 'Default' => ''),
    571571        'ValidFrom' => array('Type' => 'Date', 'Caption' => 'Platnost od', 'Default' => ''),
  • trunk/Modules/Finance/Import.php

    r747 r812  
    6161    //print_r($Data);
    6262
    63     if($Header != $Data[0]) $Output = 'Nekompatibilní struktura CSV';
     63    if($Header != $Data[0]) {
     64      $Output = 'Nekompatibilní struktura CSV';
     65      print_r($Header);
     66      print_r($Data[0]);
     67    }
    6468    else
    6569    {
  • trunk/Modules/NetworkConfigLinux/Generators/DNS.php

    r798 r812  
    3939          $MailServer.".\tIN\tSPF\t\"v=spf1 a -all\"\n";
    4040    }
     41
     42    // Base server
     43    $Output .= "@\tIN\tCNAME\t".strtolower($DNS['BaseServer'])."\n";
    4144
    4245    // IPv4 host list
     
    174177        'MailServer' => array('centrala.'.$BaseDomain),
    175178        'NameServer' => array('centrala.'.$BaseDomain, 'mozek.'.$BaseDomain),
     179        'BaseServer' => 'centrala.'.$BaseDomain,
    176180        'ReverseNameServer' => array('centrala.'.$BaseDomain, 'mozek.'.$BaseDomain),
    177181        'Host' => array(),
     
    239243        'MailServer' => array('centrala.'.$BaseDomain),
    240244        'NameServer' => array('gw-hajda.inext.cz', 'ns0.xname.org', 'ns2.afraid.org'),
     245        'BaseServer' => 'centrala.'.$BaseDomain,
    241246        'ReverseNameServer' => array('gw-hajda.inext.cz', 'inext.inext.cz'),
    242247        'Host' => array(),
     
    280285        'MailServer' => array('centrala.'.$BaseDomain),
    281286        'NameServer' => array('centrala.'.$BaseDomain, 'mozek'.$BaseDomain),
     287        'BaseServer' => 'centrala.'.$BaseDomain,
    282288        'ReverseNameServer' => array('centrala.'.$BaseDomain, 'mozek.'.$BaseDomain),
    283289        'Host' => array(),
     
    321327        'MailServer' => array('centrala.'.$BaseDomain),
    322328        'NameServer' => array('centrala.'.$BaseDomain, 'mozek.'.$BaseDomain),
     329        'BaseServer' => 'centrala.'.$BaseDomain,
    323330        'ReverseNameServer' => array('centrala.'.$BaseDomain, 'mozek.'.$BaseDomain),
    324331        'Host' => array(),
  • trunk/Modules/WebCam/WebCam.php

    r738 r812  
    6767    global $Config;
    6868    $Output = '';
    69     $Output = '<a href="http://www.zdechov.net/kamery/?id=1"><img alt="Webkamera školní hřiště" width="140" height="105" src="http://www.zdechov.net/images/webcam/webcam.jpg" /></a>';
     69    $Output .= '<a href="http://www.zdechov.net/kamery/?id=5"><img alt="Koupaliště" width="140" height="79" src="http://www.zdechov.net/images/webcam/webcam5.jpg" /></a>';
     70    $Output .= '<a href="http://www.zdechov.net/kamery/?id=1"><img alt="Webkamera školní hřiště" width="140" height="105" src="http://www.zdechov.net/images/webcam/webcam.jpg" /></a>';
    7071    $Output .= '<a href="http://www.zdechov.net/kamery/?id=2"><img alt="Webkamera střed obce obloha" width="140" height="105" src="http://www.zdechov.net/images/webcam/webcam2.jpg" /></a>';
    7172    $Output .= '<a href="http://www.zdechov.net/kamery/?id=3"><img alt="Skiareál, motokrosová grapa" width="140" height="79" src="http://www.zdechov.net/images/webcam/webcam3.jpg" /></a>';
Note: See TracChangeset for help on using the changeset viewer.