You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

46 lines
1.5 KiB

  1. <div class="narrow">
  2. <?= partial('partials/header') ?>
  3. <div style=" margin-top: 4em; margin-bottom: 4em;">
  4. <ul class="post-type-icons">
  5. <?php if(supports_post_type($this->user, 'article')): ?>
  6. <li><a href="/editor">📄</a></li>
  7. <?php endif; ?>
  8. <?php if(supports_post_type($this->user, 'note')): ?>
  9. <li><a href="/new">✏️</a></li>
  10. <?php endif; ?>
  11. <?php if(supports_post_type($this->user, 'event')): ?>
  12. <li><a href="/event">📅</a></li>
  13. <?php endif; ?>
  14. <?php if(supports_post_type($this->user, 'bookmark')): ?>
  15. <li><a href="/bookmark">🔖</a></li>
  16. <?php endif; ?>
  17. <?php if(supports_post_type($this->user, 'like')): ?>
  18. <li><a href="/favorite">👍</a></li>
  19. <?php endif; ?>
  20. <?php if(supports_post_type($this->user, 'repost')): ?>
  21. <li><a href="/repost"></a></li>
  22. <?php endif; ?>
  23. <?php if(supports_post_type($this->user, 'itinerary')): ?>
  24. <li><a href="/itinerary">✈️</a></li>
  25. <?php endif; ?>
  26. <?php if(supports_post_type($this->user, 'review')): ?>
  27. <li><a href="/review">⭐️</a></li>
  28. <?php endif; ?>
  29. <li><a href="/email">✉️</a></li>
  30. <li><a href="/settings"></a></li>
  31. </ul>
  32. <div style="clear:both;"></div>
  33. </div>
  34. </div>
  35. <style type="text/css">
  36. .post-type-icons {
  37. margin-top: 0;
  38. list-style-type: none;
  39. font-size: 39pt;
  40. }
  41. .post-type-icons li {
  42. float: left;
  43. margin-right: 12px;
  44. }
  45. </style>