2012-09-14, 08:10 PM
I've managed to get this code to produce buttons on my theme but the first line will not work. What do I have to do to get it to look the same as the other 3 buttons?
Here is the result in my footer template: (I need to make the Unread Posts link into a button like the other 3)
<div id="panel">
<span style="float:right;">
<class="buttons_cp"><!-- UNREADPOSTS_LINK -->{$unreadspost}
<a href="{$mybb->settings['bburl']}/search.php?action=getnew" class="buttons_cp">New Posts</a>
<a href="{$mybb->settings['bburl']}/search.php?action=getdaily" class="buttons_cp">Today's Posts</a>
<a href="http://www.pa2a.org/misc.php?action=markread&my_post_key={$mybb->post_code}" class="buttons_cp">Mark Read</a>
</span>
</div>
Here is the result in my footer template: (I need to make the Unread Posts link into a button like the other 3)