Changeset 825 for trunk/Modules
- Timestamp:
- Apr 16, 2016, 9:53:17 PM (9 years ago)
- Location:
- trunk/Modules
- Files:
-
- 11 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/Modules/Finance/Manage.php
r823 r825 81 81 $DbResult = $this->Database->query('SELECT COUNT(*) FROM ('.$SQL.') AS T'); 82 82 $DbRow = $DbResult->fetch_row(); 83 $PageList = GetPageList( $DbRow[0]);83 $PageList = GetPageList('MonthlyPayment', $DbRow[0]); 84 84 85 85 $Output = $PageList['Output']; … … 94 94 array('Name' => 'BillingPeriodName', 'Title' => 'Perioda'), 95 95 ); 96 $Order = GetOrderTableHeader( $TableColumns, 'SubjectName', 0);96 $Order = GetOrderTableHeader('MonthlyPayment', $TableColumns, 'SubjectName', 0); 97 97 $Output .= $Order['Output']; 98 98 -
trunk/Modules/Finance/UserState.php
r756 r825 22 22 $DbResult = $this->Database->query('SELECT COUNT(*) FROM '.$UserOperationTableQuery.' AS `T1`'); 23 23 $DbRow = $DbResult->fetch_row(); 24 $PageList = GetPageList( $DbRow[0]);24 $PageList = GetPageList('FinanceOperation', $DbRow[0]); 25 25 26 26 $Output .= $PageList['Output']; … … 35 35 array('Name' => 'BillCode', 'Title' => 'Doklad'), 36 36 ); 37 $Order = GetOrderTableHeader( $TableColumns, 'Time', 1);37 $Order = GetOrderTableHeader('FinanceOperation', $TableColumns, 'Time', 1); 38 38 $Output .= $Order['Output']; 39 39 -
trunk/Modules/IS/IS.php
r821 r825 527 527 $TotalFilteredCount = $DbRow[0]; 528 528 } else $TotalFilteredCount = $TotalCount; 529 $PageList = GetPageList($T otalFilteredCount);529 $PageList = GetPageList($Table, $TotalFilteredCount); 530 530 531 531 $Output = $PageList['Output']; … … 537 537 if(!array_key_exists('DefaultSortOrder', $FormClass)) 538 538 $FormClass['DefaultSortOrder'] = 0; 539 $Order = GetOrderTableHeader($Table Columns, $FormClass['DefaultSortColumn'], $FormClass['DefaultSortOrder']);539 $Order = GetOrderTableHeader($Table, $TableColumns, $FormClass['DefaultSortColumn'], $FormClass['DefaultSortOrder']); 540 540 $Output .= $Order['Output']; 541 541 -
trunk/Modules/Network/Network.php
r824 r825 208 208 'Wireless' => array('Type' => 'TNetworkInterfaceWirelessListInterface', 'Caption' => 'Bezdrátové spoje', 'Default' => ''), 209 209 'Ports' => array('Type' => 'TDevicePortListInterface', 'Caption' => 'Síťové porty', 'Default' => ''), 210 'Latency' => array('Type' => 'TDeviceInterfaceLatencyListInterface', 'Caption' => ' Odezva sítě', 'Default' => ''),210 'Latency' => array('Type' => 'TDeviceInterfaceLatencyListInterface', 'Caption' => 'Síťová odezva', 'Default' => ''), 211 211 ), 212 212 'AfterInsert' => array($this, 'AfterInsertNetworkInterface'), … … 261 261 )); 262 262 $this->System->FormManager->RegisterClass('NetworkInterfaceLatency', array( 263 'Title' => 'S ťová odezva',263 'Title' => 'Síťová odezva', 264 264 'Table' => 'NetworkInterfaceLatency', 265 'DefaultSortColumn' => 'Time', 266 'DefaultSortOrder' => 1, 265 267 'Items' => array( 266 268 'Time' => array('Type' => 'DateTime', 'Caption' => 'Čas', 'Default' => ''), -
trunk/Modules/Network/Subnet.php
r790 r825 15 15 $DbResult = $this->Database->query('SELECT COUNT(*) FROM `NetworkSubnet`'); 16 16 $DbRow = $DbResult->fetch_row(); 17 $PageList = GetPageList( $DbRow[0]);17 $PageList = GetPageList('Subnets', $DbRow[0]); 18 18 19 19 $Output = $PageList['Output']; … … 30 30 array('Name' => 'SubjectName', 'Title' => 'Účastník'), 31 31 ); 32 $Order = GetOrderTableHeader( $TableColumns, 'AddressRange', 0);32 $Order = GetOrderTableHeader('Subnets', $TableColumns, 'AddressRange', 0); 33 33 $Output .= $Order['Output']; 34 34 -
trunk/Modules/System/System.php
r738 r825 16 16 $DbResult = $this->Database->query('SELECT COUNT(*) FROM `Module`'); 17 17 $DbRow = $DbResult->fetch_row(); 18 $PageList = GetPageList( $DbRow[0]);18 $PageList = GetPageList('Modules', $DbRow[0]); 19 19 20 20 $Output .= $PageList['Output']; … … 31 31 array('Name' => '', 'Title' => 'Akce'), 32 32 ); 33 $Order = GetOrderTableHeader( $TableColumns, 'Name', 0);33 $Order = GetOrderTableHeader('Modules', $TableColumns, 'Name', 0); 34 34 $Output .= $Order['Output']; 35 35 $Query = 'SELECT *, (SELECT GROUP_CONCAT(`T1`.`Name` SEPARATOR ", ") FROM `ModuleLink` '. -
trunk/Modules/TV/TV.php
r738 r825 32 32 ' LEFT JOIN `Language` ON `Language`.`Id` = `TV`.`Language` WHERE (`TV`.`Stream` <> "") OR (`TV`.`StreamWeb` <> "")'); 33 33 $DbRow = $DbResult->fetch_row(); 34 $PageList = GetPageList( $DbRow[0]);34 $PageList = GetPageList('TVChannels', $DbRow[0]); 35 35 36 36 $Output .= $PageList['Output']; … … 44 44 array('Name' => '', 'Title' => 'Ladění'), 45 45 ); 46 $Order = GetOrderTableHeader( $TableColumns, 'Name', 0);46 $Order = GetOrderTableHeader('TVChannels', $TableColumns, 'Name', 0); 47 47 $Output .= $Order['Output']; 48 48 -
trunk/Modules/TimeMeasure/Main.php
r738 r825 200 200 $DbResult = $this->Database->query('SELECT COUNT(*) FROM `Measure` WHERE `Enabled`=1'); 201 201 $DbRow = $DbResult->fetch_row(); 202 $PageList = GetPageList( $DbRow[0]);202 $PageList = GetPageList('Measures', $DbRow[0]); 203 203 204 204 $Output = $PageList['Output']; … … 217 217 $TableColumns[] = array('Name' => 'MeasureDuration', 'Title' => 'Čas vykonání'); 218 218 } 219 $Order = GetOrderTableHeader( $TableColumns, 'Name', 0);219 $Order = GetOrderTableHeader('Measures', $TableColumns, 'Name', 0); 220 220 $Output .= $Order['Output']; 221 221 -
trunk/Modules/User/UserList.php
r790 r825 11 11 $DbResult = $this->Database->query('SELECT COUNT(*) FROM `User`'); 12 12 $DbRow = $DbResult->fetch_row(); 13 $PageList = GetPageList( $DbRow[0]);13 $PageList = GetPageList('Users', $DbRow[0]); 14 14 15 15 $Output = $PageList['Output']; … … 21 21 array('Name' => '', 'Title' => 'Počítače'), 22 22 ); 23 $Order = GetOrderTableHeader( $TableColumns, 'Name', 0);23 $Order = GetOrderTableHeader('Users', $TableColumns, 'Name', 0); 24 24 $Output .= $Order['Output']; 25 25 -
trunk/Modules/User/UserPage.php
r738 r825 22 22 $DbResult = $this->Database->query('SELECT COUNT(*) FROM ('.$Query.') AS T'); 23 23 $DbRow = $DbResult->fetch_row(); 24 $PageList = GetPageList( $DbRow[0]);24 $PageList = GetPageList('Contacts', $DbRow[0]); 25 25 26 26 $Output = '<div>Kontakty</div>'; … … 32 32 array('Name' => 'Value', 'Title' => 'Hodnota'), 33 33 ); 34 $Order = GetOrderTableHeader( $TableColumns, 'Value', 0);34 $Order = GetOrderTableHeader('Contacts', $TableColumns, 'Value', 0); 35 35 $Output .= $Order['Output']; 36 36 -
trunk/Modules/Wiki/Wiki.php
r745 r825 185 185 $DbResult2 = $this->Database->query('SELECT COUNT(*) FROM `WikiPageContent` WHERE Page='.$DbRow['Id']); 186 186 $DbRow2 = $DbResult2->fetch_row(); 187 $PageList = GetPageList( $DbRow2[0]);187 $PageList = GetPageList('WikiHistory', $DbRow2[0]); 188 188 189 189 $Output .= $PageList['Output']; … … 196 196 ); 197 197 198 $Order = GetOrderTableHeader( $TableColumns, 'Time', 1);198 $Order = GetOrderTableHeader('WikiHistory', $TableColumns, 'Time', 1); 199 199 $Output .= $Order['Output']; 200 200
Note:
See TracChangeset
for help on using the changeset viewer.