PHP Classes
elePHPant
Icontem

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

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

Contents

Class file image Download
<h2>{{ __("Cabin: ") ~ name }}</h2>

<ul>
    {% if can_read("cabins/manage/ ~ cabin") %}
        <li>
            <a href="{{ cabin_url() }}cabins/manage/{{ name|e('url') }}">
                {{ __("Manage") }}
            </a>
        </li>
    {% endif %}
    {% if can_read("pages/" ~ cabin) %}
        <li>
            <a href="{{ cabin_url() }}pages/{{ name|e('url') }}">
                {{ __("Web Pages") }}
            </a>
        </li>
    {% endif %}
    {% if can_read("redirects/" ~ cabin) %}
        <li>
            <a href="{{ cabin_url() }}redirects/{{ name|e('url') }}">
                {{ __("Redirects") }}
            </a>
        </li>
    {% endif %}
    {% if is_admin() %}
        <li>
            <a href="{{ cabin_url() }}file_manager/{{ name|e('url') }}">
                {{ __("Files") }}
            </a>
        </li>
    {% endif %}
</ul>