m.featurebar.html.php 1.6 KB

12345678910111213141516171819202122232425
  1. <?php if($extView = $this->getExtViewFile(__FILE__)){include $extView; return helper::cd();}?>
  2. <nav id='menu' class='menu nav affix dock-top canvas'>
  3. <?php
  4. if(!isset($type)) $type = 'today';
  5. if(!isset($period)) $period = 'today';
  6. $date = isset($date) ? $date : helper::today();
  7. echo $userList;
  8. echo html::a($this->createLink('user', 'todo', "userID={$user->id}"), $lang->user->todo, '', "id='todoTab'");
  9. echo html::a($this->createLink('user', 'effort', "userID={$user->id}"), $lang->user->effort, '', "id='effortTab'");
  10. echo html::a($this->createLink('user', 'story', "userID={$user->id}"), $lang->user->story, '', "id='storyTab'");
  11. echo html::a($this->createLink('user', 'task', "userID={$user->id}"), $lang->user->task, '', "id='taskTab'");
  12. echo html::a($this->createLink('user', 'bug', "userID={$user->id}"), $lang->user->bug, '', "id='bugTab'");
  13. echo html::a($this->createLink('user', 'testtask', "userID={$user->id}"), $lang->user->test, '', "id='testtaskTab'");
  14. echo html::a($this->createLink('user', 'dynamic', "userID={$user->id}"), $lang->user->dynamic, '', "id='dynamicTab'");
  15. echo html::a($this->createLink('user', 'execution', "userID={$user->id}"), $lang->user->execution, '', "id='executionTab'");
  16. echo html::a($this->createLink('user', 'profile', "userID={$user->id}"), $lang->user->profile, '', "id='profileTab'");
  17. ?>
  18. <a class='moreMenu hidden' data-display='dropdown' data-placement='beside-bottom'><?php echo $lang->more;?></a>
  19. <div id='moreMenu' class='list dropdown-menu'></div>
  20. </nav>
  21. <script>
  22. var type = '<?php echo $type;?>';
  23. var period = '<?php echo $period;?>';
  24. </script>