First commit

This commit is contained in:
ebassi -
commit 3a568602da
36 changed files with 1584 additions and 0 deletions

View file

@ -0,0 +1 @@
{% INCLUDECSS '@pedodev_tagging/pedodev_tagging_main.css' %}

View file

@ -0,0 +1,18 @@
{% if TAGGING_ALLOWED %}
<dl style="clear: left;">
<dt>
<label for="tag">{{ lang('TAGGING_TAGS') ~ lang('COLON') }}</label>
</dt>
<dd class="content_tag_list">
{% if loops.tags|length %}
{% for TAG in loops.tags %}
<label class="content_tag" style="background: {{ TAG.COLOR }}">
<input type="checkbox" id="tag_{{ TAG.ID }}" name="tag_{{ TAG.ID }}" value="{{ TAG.TITLE }}" {% if TAG.SELECTED %} checked="checked"{% endif %}>
{{ TAG.TITLE }}
</label>
{% endfor %}
{% endif %}
<dd>
</dl>
{% endif %}

View file

@ -0,0 +1 @@
<span style="float: right;">{{ POST_TAGS }}</span>

View file

@ -0,0 +1,13 @@
{% if TAGGING_ALLOWED %}
<hr class="dashed" />
<dl style="clear: left;">
<dt>
<label for="tag-filter">{{ lang('TAGGING_TAGFILTER') ~ lang('COLON') }}</label><br /><span>{{ lang('TAGGING_TAGFILTER_EXPLANATION') }}</span>
</dt>
<dd>
<label><input type="radio" class="radio" name="tag_filter" value="intersect" id="tag_filter" checked="checked">{{ lang('TAGGING_INTERSECT') }}</label>
<label><input type="radio" class="radio" name="tag_filter" value="union"/>{{ lang('TAGGING_UNION') }}</label>
<dd>
</dl>
{% endif %}

View file

@ -0,0 +1,18 @@
{% if TAGGING_ALLOWED %}
<dl style="clear: left;">
<dt>
<label for="tag">{{ lang('TAGGING_TAGS') ~ lang('COLON') }}</label><br /><span>{{ lang('TAGGING_TAGS_EXPLANATION') }}</span>
</dt>
<dd>
{% if loops.tags|length %}
{% for TAG in loops.tags %}
<label class="content_tag" style="background: {{ TAG.COLOR }}">
<input type="checkbox" id="tag_{{ TAG.ID }}" name="tag_{{ TAG.ID }}" value="{{ TAG.TITLE }}">
{{ TAG.TITLE }}
</label>&nbsp;
{% endfor %}
{% endif %}
<dd>
</dl>
{% endif %}

View file

@ -0,0 +1 @@
<span style="float: right">{{ searchresults.POST_TAGS }}</span>

View file

@ -0,0 +1,2 @@
{% if topicrow.TOPIC_TAGS %}<span style="float: right">{{ topicrow.TOPIC_TAGS }}</span>{% endif %}
{% if searchresults.POST_TAGS %}<span style="float: right">{{ searchresults.POST_TAGS }}</span>{% endif %}

View file

@ -0,0 +1 @@
<li>{{ postrow.POST_TAGS }}</li>

View file

@ -0,0 +1,14 @@
.content_tag {
padding: 2px 4px 2px 4px;
color: white;
border-radius: 10px;
font-size: 80%;
font-weight: bold;
display: inline-block;
}
.content_tag_checkbox {
}
.content_tag_list {
}