Changeset 94 for trunk/www/Application/View/Task.php
- Timestamp:
- Aug 16, 2013, 10:20:57 PM (11 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/www/Application/View/Task.php
r93 r94 30 30 $Table->OnRow = array($this, 'ShowListOnRow'); 31 31 $Table->Definition['Table'] = '(SELECT Id, (COALESCE(UNIX_TIMESTAMP(TimeEnd), UNIX_TIMESTAMP(NOW())) - UNIX_TIMESTAMP(TimeStart)) AS Duration, TimeCreate, Title, State FROM Task WHERE User='. 32 $this->System->Modules['User']-> User['Id'].' ORDER BY Id DESC)';32 $this->System->Modules['User']->Data['Id'].' ORDER BY Id DESC)'; 33 33 $Table->Definition['Items']['Id'] = array('Type' => 'Hidden', 'Caption' => '', 'Default' => ''); 34 34 $Table->LoadValuesFromDatabase($this->Database); … … 40 40 } 41 41 $Output .= $Table->Show(); 42 $Output .= '<br /><div style="text-align: center;"><a href="? Action=TaskList">Obnovit pohled</a></dev>';42 $Output .= '<br /><div style="text-align: center;"><a href="?Module=Task&Action=ItemList">Obnovit pohled</a></dev>'; 43 43 return($Output); 44 44 }
Note:
See TracChangeset
for help on using the changeset viewer.