PageRenderTime 32ms CodeModel.GetById 10ms RepoModel.GetById 1ms app.codeStats 0ms

/lib/Cake/TestSuite/templates/menu.php

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