Changeset 457


Ignore:
Timestamp:
Nov 4, 2012, 7:27:32 PM (12 years ago)
Author:
chronos
Message:
  • Přidáno: Zobrazování ikon v nabídce ve správě dat.
Location:
trunk
Files:
1 added
8 edited

Legend:

Unmodified
Added
Removed
  • trunk/finance/manage.php

    r453 r457  
    150150    $this->Database->insert('FinanceClaimsLiabilities', array('Text' => $Text, 'Subject' => $Subject, 'TimeCreation' => TimeToMysqlDateTime($TimeCreation), 'TimeDue' => TimeToMysqlDateTime($TimeDue), 'Value' => $Value, 'BillCode' => $BillCode));
    151151    $Output = '.'; //$this->Database->LastQuery.'<br />';
    152     $LastInsertTime = $Time;
     152    //$LastInsertTime = $Time;
    153153    //$this->CheckAdvancesAndLiabilities($Subject);
    154154    return($Output);
  • trunk/form_classes.php

    r454 r457  
    274274      'AddressPSC' => array('Type' => 'String', 'Caption' => 'PSČ', 'Default' => ''),
    275275      'AddressCountry' => array('Type' => 'TCountry', 'Caption' => 'Země', 'Default' => ''),
     276      'IC' => array('Type' => 'String', 'Caption' => 'IČ', 'Default' => ''),
    276277      'DIC' => array('Type' => 'String', 'Caption' => 'DIČ', 'Default' => ''),
    277278      'MapPositionX' => array('Type' => 'Float', 'Caption' => 'Pozice X', 'Default' => '0'),
     
    279280      'WWW' => array('Type' => 'Hyperlink', 'Caption' => 'WWW', 'Default' => ''),
    280281      'Note' => array('Type' => 'String', 'Caption' => 'Poznámka', 'Default' => ''),
     282      'Customer' => array('Type' => 'TMemberListSubject', 'Caption' => 'Členové', 'Default' => ''),
    281283    ),
    282284  ),
     
    595597    'Filter' => '1',
    596598  ),
     599  'TMemberListSubject' => array(
     600    'Type' => 'ManyToOne',
     601    'Table' => 'Member',
     602    'Id' => 'Id',
     603    'Ref' => 'Subject',
     604    'Filter' => '1',
     605  ),
    597606  'TUser' => array(
    598607    'Type' => 'Reference',
  • trunk/is/index.php

    r445 r457  
    226226      $LinkTitle = $MenuItem['Name'];
    227227      if($MenuItem['Table'] != '') $LinkTitle = MakeLink('?t='.$MenuItem['Table'].'&amp;a=list', $LinkTitle);
    228       $Output .= '<li>'.$LinkTitle.'</li>';
     228      if($MenuItem['IconName'] != '') $Image = '<img src="../images/favicons/'.$MenuItem['IconName'].'"/>&nbsp;';
     229        else $Image = '';
     230      $Output .= '<li>'.$Image.$LinkTitle.'</li>';
    229231      $Output .= $this->ShowMenuItem($MenuItem['Id']);
    230232    }
  • trunk/sql/updates/446.sql

    r452 r457  
    4848(3, 'Anglicky'),
    4949(4, 'Německy'),
    50 (5, 'Slovensky'),
    51 (6, 'Polsky');
     50(5, 'Polsky');
    5251
    5352
     
    6059ALTER TABLE `TV` CHANGE `Language` `Language` INT( 11 ) NULL ;
    6160UPDATE `TV` SET Language=NULL WHERE Language=0;
    62 ALTER TABLE `TV` ADD INDEX  `Language` ;
     61ALTER TABLE `TV` ADD INDEX  `Language` (`Language`);
    6362ALTER TABLE `TV` DROP INDEX `ShortName_2` ;
    6463ALTER TABLE `TV` ADD FOREIGN KEY ( `Language` ) REFERENCES `Language` (`Id`) ON DELETE RESTRICT ON UPDATE RESTRICT ;
  • trunk/temp/mailtest.php

    r396 r457  
    11<?php
     2
     3die();
    24
    35//echo(mail('robie@centrum.cz', 'Zkouška', 'obsah zprávy'));
  • trunk/temp/product.php

    r456 r457  
    11<?php
     2die();
     3
    24include('../Common/Global.php');
    35GlobalInit();
  • trunk/temp/renumbering.php

    r255 r457  
    11<?php
     2
     3die();
    24
    35//$SessionDisable = true;
  • trunk/temp/user_mail.php

    r180 r457  
    11<?php
     2
     3die();
    24
    35//$SessionDisable = true;
Note: See TracChangeset for help on using the changeset viewer.