Changeset 94
- Timestamp:
- May 25, 2020, 9:54:02 PM (4 years ago)
- Location:
- trunk
- Files:
-
- 5 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/Application/Version.php
r92 r94 6 6 // and system will need database update. 7 7 8 $Revision = 9 2;8 $Revision = 94; 9 9 $DatabaseRevision = 79; 10 $ReleaseTime = strtotime('2020-0 4-07');10 $ReleaseTime = strtotime('2020-05-25'); -
trunk/Packages/Common/Base.php
r69 r94 21 21 function __construct(Application $System) 22 22 { 23 $this->System = &$System;24 $this->Database = &$System->Database;23 $this->System = $System; 24 $this->Database = $System->Database; 25 25 } 26 26 } -
trunk/Packages/Common/Common.php
r92 r94 41 41 } 42 42 43 class Paging 43 class Paging extends Base 44 44 { 45 45 var $TotalCount; … … 49 49 var $Page; 50 50 51 function __construct( )51 function __construct(Application &$System) 52 52 { 53 global $System;53 parent::__construct($System); 54 54 55 55 $this->ItemPerPage = $System->Config['Web']['ItemsPerPage']; -
trunk/Packages/Common/Setup.php
r92 r94 402 402 function CheckState() 403 403 { 404 $this->Database->Connected() and $this->UpdateManager->IsInstalled() and404 return $this->Database->Connected() and $this->UpdateManager->IsInstalled() and 405 405 $this->UpdateManager->IsUpToDate(); 406 406 } -
trunk/Packages/Common/Table.php
r92 r94 1 1 <?php 2 2 3 class Control 3 class Control extends Base 4 4 { 5 5 var $Name; … … 98 98 var $Style; 99 99 100 function __construct( )100 function __construct(Application $System) 101 101 { 102 global $System;102 parent::__construct($System); 103 103 104 104 $this->Columns = array(); 105 105 $this->Table = new TableMemory(); 106 106 $this->OrderDirSQL = array('ASC', 'DESC'); 107 $this->OrderArrowImage = array($ System->Link('/images/sort_asc.png'),108 $ System->Link('/images/sort_desc.png'));107 $this->OrderArrowImage = array($this->System->Link('/images/sort_asc.png'), 108 $this->System->Link('/images/sort_desc.png')); 109 109 $this->DefaultOrder = 0; 110 110 $this->Style = 'BaseTable';
Note:
See TracChangeset
for help on using the changeset viewer.