Base for a static organization website

include_panel.ctp 969B

12345678910111213141516171819202122232425262728293031323334
  1. <?php
  2. /**
  3. * Included Files Element
  4. *
  5. * PHP 5
  6. *
  7. * CakePHP(tm) : Rapid Development Framework (http://cakephp.org)
  8. * Copyright (c) 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 (c) Cake Software Foundation, Inc. (http://cakefoundation.org)
  14. * @link http://cakephp.org CakePHP(tm) Project
  15. * @since DebugKit 2.0
  16. * @license http://www.opensource.org/licenses/mit-license.php MIT License
  17. **/
  18. ?>
  19. <h2> <?php echo __d('debug_kit', 'Included Files'); ?></h2>
  20. <h4>Include Paths</h4>
  21. <?php
  22. foreach ($content['paths'] as $i => $path) {
  23. if (strstr($path, CAKE)) {
  24. $content['paths'][$i] = '-> ' . $path;
  25. break;
  26. }
  27. }
  28. echo $this->Toolbar->makeNeatArray(array_filter($content['paths']));
  29. unset($content['paths']);
  30. ?>
  31. <h4>Included Files</h4>
  32. <?php echo $this->Toolbar->makeNeatArray($content);