PageRenderTime 46ms CodeModel.GetById 20ms RepoModel.GetById 0ms app.codeStats 0ms

/baser/views/elements/admin/navi.php

https://github.com/hashing/basercms
PHP | 33 lines | 14 code | 0 blank | 19 comment | 4 complexity | 69053d8480ee1d1fcbc0bc95b2a82c3a MD5 | raw file
Possible License(s): MIT
  1. <?php
  2. /* SVN FILE: $Id$ */
  3. /**
  4. * [ADMIN] ナビゲーション
  5. *
  6. * PHP versions 5
  7. *
  8. * baserCMS : Based Website Development Project <http://basercms.net>
  9. * Copyright 2008 - 2012, baserCMS Users Community <http://sites.google.com/site/baserusers/>
  10. *
  11. * @copyright Copyright 2008 - 2012, baserCMS Users Community
  12. * @link http://basercms.net baserCMS Project
  13. * @package baser.views
  14. * @since baserCMS v 0.1.0
  15. * @version $Revision$
  16. * @modifiedby $LastChangedBy$
  17. * @lastmodified $Date$
  18. * @license http://basercms.net/license/index.html
  19. * @deprecated 2.0の次のバージョンで削除
  20. */
  21. if ($this->viewPath != 'dashboard'){
  22. $bcBaser->addCrumb('ダッシュボード',array('plugin' => null, 'controller' => 'dashboard'));
  23. }
  24. if (!empty($navis)){
  25. foreach($navis as $key => $navi){
  26. $bcBaser->addCrumb($key,$navi);
  27. }
  28. }
  29. if ($title_for_element){
  30. $bcBaser->addCrumb('<strong>'.$title_for_element.'</strong>');
  31. }
  32. $bcBaser->crumbs(' &gt; ');
  33. ?>