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.

49 lines
1.6 KiB

<div class="narrow">
<?= partial('partials/header') ?>
<div style=" margin-top: 4em; margin-bottom: 4em;">
<ul class="post-type-icons">
<?php if(supports_post_type($this->user, 'article')): ?>
<li><a href="/editor">📄</a></li>
<?php endif; ?>
<?php if(supports_post_type($this->user, 'note')): ?>
<li><a href="/new">✏️</a></li>
<?php endif; ?>
<?php if(supports_post_type($this->user, 'event')): ?>
<li><a href="/event">📅</a></li>
<?php endif; ?>
<?php if(supports_post_type($this->user, 'bookmark')): ?>
<li><a href="/bookmark">🔖</a></li>
<?php endif; ?>
<?php if(supports_post_type($this->user, 'like')): ?>
<li><a href="/favorite">👍</a></li>
<?php endif; ?>
<?php if(supports_post_type($this->user, 'weight')): ?>
<li><a href="/weight">⚖️</a></li>
<?php endif; ?>
<?php if(supports_post_type($this->user, 'repost')): ?>
<li><a href="/repost">♺</a></li>
<?php endif; ?>
<?php if(supports_post_type($this->user, 'itinerary')): ?>
<li><a href="/itinerary">✈️</a></li>
<?php endif; ?>
<?php if(supports_post_type($this->user, 'review')): ?>
<li><a href="/review">⭐️</a></li>
<?php endif; ?>
<li><a href="/email">✉️</a></li>
<li><a href="/settings">⚙</a></li>
</ul>
<div style="clear:both;"></div>
</div>
</div>
<style type="text/css">
.post-type-icons {
margin-top: 0;
list-style-type: none;
font-size: 39pt;
}
.post-type-icons li {
float: left;
margin-right: 12px;
}
</style>