menu.php 1.5 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152
  1. <?php
  2. // @codingStandardsIgnoreFile
  3. /**
  4. * Short description for file.
  5. *
  6. * PHP 5
  7. *
  8. * CakePHP(tm) Tests <http://book.cakephp.org/2.0/en/development/testing.html>
  9. * Copyright 2005-2012, Cake Software Foundation, Inc. (http://cakefoundation.org)
  10. *
  11. * Licensed under The MIT License
  12. * Redistributions of files must retain the above copyright notice
  13. *
  14. * @copyright Copyright 2005-2012, Cake Software Foundation, Inc. (http://cakefoundation.org)
  15. * @link http://book.cakephp.org/2.0/en/development/testing.html CakePHP(tm) Tests
  16. * @package Cake.TestSuite.templates
  17. * @since CakePHP(tm) v 1.2.0.4433
  18. * @license MIT License (http://www.opensource.org/licenses/mit-license.php)
  19. */
  20. ?>
  21. <div class="test-menu">
  22. <ul>
  23. <li>
  24. <span style="font-size: 18px">App</span>
  25. <ul>
  26. <li><a href='<?php echo $cases; ?>'>Tests</a></li>
  27. </ul>
  28. </li>
  29. <?php if (!empty($plugins)): ?>
  30. <li style="padding-top: 10px">
  31. <span style="font-size: 18px">Plugins</span>
  32. <?php foreach ($plugins as $plugin) : ?>
  33. <ul>
  34. <li style="padding-top: 10px">
  35. <span style="font-size: 18px"><?php echo $plugin; ?></span>
  36. <ul>
  37. <li><?php printf('<a href="%s&amp;plugin=%s">Tests</a>', $cases, $plugin); ?></li>
  38. </ul>
  39. </li>
  40. </ul>
  41. <?php endforeach; ?>
  42. </li>
  43. <?php endif; ?>
  44. <li style="padding-top: 10px">
  45. <span style="font-size: 18px">Core</span>
  46. <ul>
  47. <li><a href='<?php echo $cases; ?>&amp;core=true'>Tests</a></li>
  48. </ul>
  49. </li>
  50. </ul>
  51. </div>
  52. <div class="test-results">