LuckyCoinkydink/templates/2k15/plugin_categories.tpl
Matthias Mees 2d90abe4d3 Add new frontend theme 2k15
2k15 is basically 2k11, but up to date. Changes include:

- mobile-first CSS
- toggle-style smallscreen nav instead of select menu
- different choice of webfonts
- updated JS assets
- removed some JS cruft (plugins that are no longer necessary)
- reduced visual style (no, it's NOT 'flat design'!)
- simplified layout (number of columns depends on resolution)
- reduced theme options

Note: 2k15 is NOT compatible with the 2k11 user.css generator.
Currently, there is no 2k15 user.css generator. I don't intend
on building one at the moment.

Also note that I do NOT suggest 2k15 should replace 2k11 as the
default or standard theme in s9y.
2015-02-10 12:28:08 +01:00

23 lines
970 B
Smarty

{if $is_form}
<form id="serendipity_category_form" action="{$form_url}" method="post">
{/if}
<ul>
{foreach from=$categories item="plugin_category"}
<li id="category_{$plugin_category.categoryid}" class="category_depth{$plugin_category.catdepth}">
{if $is_form}
<input type="checkbox" name="serendipity[multiCat][]" value="{$plugin_category.categoryid}">
{/if}
{if !empty($category_image)}
<a class="serendipity_xml_icon" href="{$plugin_category.feedCategoryURL}"><span class="icon-rss" aria-hidden="true"></span><span class="fallback-text">XML</span></a>
{/if}
<a href="{$plugin_category.categoryURL}" title="{$plugin_category.category_description|escape}">{$plugin_category.category_name|escape}</a>
</li>
{/foreach}
</ul>
{if $is_form}
<input id="category_submit" type="submit" name="serendipity[isMultiCat]" value="{$CONST.GO}">
{/if}
{if $is_form}
</form>
{/if}