| 123456789101112131415161718192021 |
- <?php
- namespace zin;
- $message = $this->task->checkDepend($task->id, 'end');
- if($message)
- {
- modalHeader();
- div
- (
- setClass('inline-flex items-center alert with-icon w-full py-4'),
- icon('exclamation-sign text-gray icon-2x pl-2 text-warning'),
- span($message)
- );
- render();
- }
- else
- {
- $oldDir = getcwd();
- chdir($app->getModuleRoot() . 'task/ui/');
- include './finish.html.php';
- chdir($oldDir);
- }
|