PHP Classes

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

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

Contents

Class file image Download
<h2>{{ __("Rename this Directory?") }}</h2> <pre>{{ cabin_url(cabin) ~ (parent ? parent ~ "/" ~ dir : dir) }}</pre> <form method="post">{{ form_token() }} <fieldset> <label for="destination">{{ __("Parent Directory:") }}</label> <select id="destination" name="move_destination"> <option value=""></option> {% for cab in cabins %} <option {% if not dirinfo.parent and dirinfo.cabin == cab %} selected="selected" {% endif %} value="{{ cab|e('html_attr') }}" class="depth0" data-cabin="{{ cab|e('html_attr') }}" >{{ cab }}</option> {% for subdir in custom_dir_tree[cab] %} {{ cdir.dirTree( subdir, cab, cab, 1 ) }} {% endfor %} {% endfor %} </select><br /> <label for="name">{{ __("Directory Name") }}:</label> <input id="name" type="text" name="url" value="{{ dir|e('html_attr') }}" /><br /> <input type="checkbox" name="create_redirect" value="1" id="create_redirect" /> <label for="create_redirect"> {{ __("Create redirects from the old URL to the new URL for all contents?") }} </label> </fieldset> <hr /> <button class="pure-button pure-button-secondary" name="rename_btn" type="submit" value="confirm" > {{ __("Rename Directory") }} </button> <a class="pure-button pure-button-tertiary" href="{{ ( cabin_url() ~ "pages/" ~ cabin|e('url') ~ "?dir=" ~ parent|e('url') ) }}" id="cancel_btn" type="button" > {{ __("Cancel") }} </a> </form>