cs-controls

<p class="cs-controls">
    <tmpl_if user.canPost>
    <div class="post">
        <a href="<tmpl_var add.url>"><tmpl_var add.label></a> &bull;
    </div>
    </tmpl_if>
    <tmpl_unless user.isVisitor>
    <div class="subscribe">
        <tmpl_if user.isSubscribed>
            <a href="<tmpl_var unsubscribe.url>"><tmpl_var unsubscribe.label></a>
        <tmpl_else>
            <a href="<tmpl_var subscribe.url>"><tmpl_var subscribe.label></a>
        </tmpl_if>
        <tmpl_if pagination.pageCount.isMultiple>
            &bull;
        </tmpl_if>
    </div>
    </tmpl_unless>
    <tmpl_if pagination.pageCount.isMultiple>
    <div class="search">
        <a href="<tmpl_var search.url>"><tmpl_var search.label></a>
    </div>
    </tmpl_if>
</p>

 

.cs-controls for controlling the group of controls

.post for styling the link to add a new post

.subscribe for styling the subscribe/unsubscribe link

.search for styling the search link

Keywords: collaboration system

Search | Most Popular | Recent Changes | Wiki Home