PHP Classes
elePHPant
Icontem

File: src/Cabin/Hull/View/cargo/blog_read_series.twig

Recommend this page to a friend!
  Classes of Scott Arciszewski  >  CMS Airship  >  src/Cabin/Hull/View/cargo/blog_read_series.twig  >  Download  
File: src/Cabin/Hull/View/cargo/blog_read_series.twig
Role: Auxiliary data
Content type: text/plain
Description: Auxiliary data
Class: CMS Airship
Content management system with security features
Author: By
Last change:
Date: 1 year ago
Size: 1,872 bytes
 

Contents

Class file image Download
{% if blogpost.series %}
    <div id="blog_read_series_wrapper">
    {% for key, series in blogpost.series %}
        <div class="blog_read_series">
            <div class="blog_read_series_left">
                {% if series.prev_link %}{#
                    #}<a href="{{ series.prev_link|e('html_attr') }}">{#
                    #}{% if series.config.leftlink %}{#
                        #}{{ series.config.leftlink }}{#
                    #}{% else %}{#
                        #}&laquo; {{ __("Prev") }}{#
                    #}{% endif %}{#
                    #}</a>{#
                #}{% else %}{#
                    #}{% if series.config.leftlink %}{#
                        #}{{ series.config.leftlink }}{#
                    #}{% else %}{#
                        #}&laquo; {{ __("Prev") }}{#
                    #}{% endif %}{#
                #}{% endif %}
            </div>
            <div class="blog_read_series_name">
                <a href="{{ cabin_url() }}blog/series/{{ series.slug|e('url') }}">{{ series.name }}</a>
            </div>
            <div class="blog_read_series_right">
                {% if series.next_link %}{#
                    #}<a href="{{ series.next_link|e('html_attr') }}">{#
                    #}{% if series.config.rightlink %}{#
                        #}{{ series.config.rightlink }}{#
                    #}{% else %}{#
                        #}{{ __("Next") }} &raquo;{#
                    #}{% endif %}{#
                    #}</a>{#
                #}{% else %}
                    {% if series.config.rightlink %}{#
                        #}{{ series.config.rightlink }}{#
                    #}{% else %}{#
                        #}{{ __("Next") }} &raquo;{#
                    #}{% endif %}{#
                #}{% endif %}
            </div>
        </div>
    {% endfor %}
    </div>
{%  endif %}