index.php 494 B

12345678910111213141516
  1. <?php
  2. if (cfr('TASKMANSEARCH')) {
  3. $tasksDuplicates = new TasksDuplicates();
  4. show_window(__('Tasks duplicates'), $tasksDuplicates->renderSearchForm());
  5. if (ubRouting::checkPost($tasksDuplicates::PROUTE_SHOWREPORT)) {
  6. show_window(__('Search results'), $tasksDuplicates->renderReport());
  7. } else {
  8. show_window('', $tasksDuplicates->renderAdviceOfTheDay());
  9. }
  10. show_window('', wf_BackLink('?module=taskman'));
  11. } else {
  12. show_error(__('Access denied'));
  13. }