PHP Classes
elePHPant
Icontem

File: src/Cabin/Bridge/View/cargo/bridge_pages_page_history_header.twig

Recommend this page to a friend!
  Classes of Scott Arciszewski  >  CMS Airship  >  src/Cabin/Bridge/View/cargo/bridge_pages_page_history_header.twig  >  Download  
File: src/Cabin/Bridge/View/cargo/bridge_pages_page_history_header.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: 0 years ago
Size: 947 bytes
 

Contents

Class file image Download
<h2>{{ __("Revision History") }}</h2>
<div class="page_history_header_nav">{#
#}{% set acc = "" %}{#
#}<a href="{{ cabin_url() }}pages/{{ cabin|e('url') }}">{#
    #}<i class="fa fa-home"></i>{{ __("Home") }}{#
#}</a>{#
#}{% for piece in pathinfo %}{#
    #}{% if piece != "" %}{#
        #}{% set acc = acc ~ "/" ~ piece  %}{#
            #}/{#
        #}<a href="{{ cabin_url() }}pages/{{ cabin|e('url') }}?dir={{ acc|e('html_attr') }}">{{ piece|default('(Home)') }}</a>{#
    #}{% endif %}{#
#}{% endfor %}{#
    #}/{#
#}<strong><a href="{{ cabin_url() }}pages/{{ cabin|e('url') }}/history?dir={{ acc|e('html_attr') }}&page={{ pageinfo.url|e('url') }}">{#
    #}{{ pageinfo.url|e('html_attr') }}{#
#}</a></strong>
    <a href="{{ cabin_url() }}pages/{{ cabin|e('url') }}/editPage?dir={{ acc|e('html_attr') }}&page={{ pageinfo.url|e('url') }}">{#
        #}<i class="fa fa-pencil" title="{{ __("Edit")|e('html_attr') }}"></i>{#
    #}</a>
</div>