PageRenderTime 53ms CodeModel.GetById 24ms RepoModel.GetById 1ms app.codeStats 0ms

/baser/views/elements/admin/contents_menu.php

https://github.com/hashing/basercms
PHP | 38 lines | 18 code | 2 blank | 18 comment | 4 complexity | 03357f34157611c5e4e916de827d9576 MD5 | raw file
Possible License(s): MIT
  1. <?php
  2. /* SVN FILE: $Id$ */
  3. /**
  4. * [ADMIN] コンテンツメニュー
  5. *
  6. * PHP versions 4 and 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 2.0.0
  15. * @version $Revision$
  16. * @modifiedby $LastChangedBy$
  17. * @lastmodified $Date$
  18. * @license http://basercms.net/license/index.html
  19. */
  20. ?>
  21. <?php if(!empty($user)): ?>
  22. <div id="ContentsMenu">
  23. <ul class="clearfix">
  24. <li><?php $bcBaser->link($bcBaser->getImg('admin/btn_menu_favorite.png', array('alt' => 'よく使う項目', 'width' => 90, 'height' => '18', 'class' => 'btn')), 'javascript:void(0)', array('id' => 'BtnMenuFavorite')) ?></li>
  25. <?php if(!empty($search)): ?>
  26. <li><?php $bcBaser->link($bcBaser->getImg('admin/btn_menu_search.png', array('alt' => '検索', 'width' => 50, 'height' => '18', 'class' => 'btn')), 'javascript:void(0)', array('id' => 'BtnMenuSearch')) ?></li>
  27. <?php endif ?>
  28. <?php if(!empty($help)): ?>
  29. <li><?php $bcBaser->link($bcBaser->getImg('admin/btn_menu_help.png', array('alt' => 'ヘルプ', 'width' => 60, 'height' => '18', 'class' => 'btn')), 'javascript:void(0)', array('id' => 'BtnMenuHelp')) ?></li>
  30. <?php endif ?>
  31. <?php if($bcBaser->isAdminUser()): ?>
  32. <li><?php $bcBaser->link($bcBaser->getImg('admin/btn_menu_permission.png', array('alt' => '制限設定', 'width' => 50, 'height' => '18', 'class' => 'btn')), 'javascript:void(0)', array('id' => 'BtnMenuPermission')) ?></li>
  33. <?php endif ?>
  34. </ul>
  35. </div>
  36. <?php endif ?>