Changeset 755 for trunk/Modules/Task
- Timestamp:
- Oct 25, 2015, 9:51:51 PM (9 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/Modules/Task/Task.php
r746 r755 88 88 'Filter' => '1', 89 89 )); 90 91 $this->System->ModuleManager->Modules['IS']->RegisterDashboardItem('Task', 92 array('ModuleTask', 'ShowDashboardItem')); 90 93 } 91 94 … … 94 97 95 98 } 99 100 function ShowDashboardItem() 101 { 102 $DbResult = $this->Database->select('Task', 'COUNT(*)', '`Progress` < 100'); 103 $DbRow = $DbResult->fetch_row(); 104 $Output = 'Nedokončených úkolů: '.$DbRow['0'].'<br/>'; 105 return $Output; 106 } 96 107 }
Note:
See TracChangeset
for help on using the changeset viewer.