Dimas Jindoll Blog
1
{% block guestbook_comments_list %}
{% if data.in_comments_thread %}
← {{ data.translations.t_show_all_comments }}

{% endif %} {% if data.comments %} {{ data.translations.t_guestbook }} {% else %} {{ data.translations.t_guestbook_empty }} {% endif %} {% macro comments_list (comments, ctx) %} {% for comment in comments %}
[{{ comment.date }}] {% if comment.author_profile %} {{ comment.author_profile.name }} {% else %} {{ comment.nick|raw }} {% endif %}: {% if not ( ctx.data.in_comments_thread and comment.childs and (comment.childs_count > 0) ) %}
{% if not comment.owner_of_comment %} {% if ctx.data.visitor_is_admin and not comment.childs %} {{ ctx.data.translations.t_reply }} {% endif %} {% if ctx.data.reported_spam and ctx.data.reported_spam == comment.id %} {{ctx.data.translations.t_reported}} {% else %} {% if ctx.data.is_logged_in and not comment.is_hidden and not data.comments_form.is_maintenance %} {{ ctx.data.translations.t_report_spam }} {% elseif not ctx.data.is_logged_in and not comment.is_hidden and not data.comments_form.is_maintenance %} {{ ctx.data.translations.t_report_spam }} {% endif %} {% endif %} {% endif %}
{% endif %} {% if comment.is_hidden %}
{{ ctx.data.translations.t_hidden_comment }}
{% else %}
{{ comment.message|raw }}
{% endif %} {% if comment.childs %}
{{ _self.comments_list(comment.childs, ctx) }}
{% endif %}
{% endfor %} {% endmacro %} {{ _self.comments_list(data.comments, _context) }}

{{ data.comments_pagination_html|raw }} {% endblock %} {% block guestbook_comments_form %} {% if data.comments_form.is_maintenance %} {{ data.comments_form.maintenante_markup|raw }} {% elseif data.is_logged_in and not data.community_name %}
{{ data.translations.t_provide_community_name }}
{% if data.in_comments_thread %} {% endif %}

{% else %}
{{ data.translations.t_post_a_comment }} {% if data.comments_form.comments_restriction == "logged_in" and not data.is_logged_in %}
{{ data.translations.t_comments_login_required }}: {{ data.translations.t_login }} | {{ data.translations.t_signup }}
{% elseif data.comments_form.comments_restriction == "logged_in" and data.is_logged_in and not data.is_confirmed_email %}
{{ data.translations.t_confirm_email }}
{% else %}
{% if data.entry.in_comments_thread %} {% endif %} {% if data.is_logged_in %}
{% else %} {% if data.comments_form.spam_comments_reserved_name %}
{{ data.translations.t_reserved_name }}
{% endif %} {% if data.comments_form.poster %} {% else %}

{% endif %} {% endif %} {% if data.comments_form.comments_restriction == "email_required" and not data.is_logged_in %}

{% endif %}
{% if data.comments_form.spam_comments %} Please enter the text you can see on the image below:


{% endif %}
{% endif %}
{% endif %} {% endblock %}
Check PageRank
© dimasjindoll 2014

XtGem Forum catalog