PHP Classes

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

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

Contents

Class file image Download
<form method="post" data-currentcabin="{{ pageinfo.cabin|e('html_attr') }}" id="move-page-form">{{ form_token() }} <div class="form-table"> <div class="table-row"> <label for="directory" class="table-cell table-label"> {{ __("Move/Rename") }}: </label> <div class="table-cell"> <select id="directory" name="directory">{% spaceless %} {% for cab in cabins %} <option value="{{ cab|e('html_attr') }}" class="depth0" {% if pageinfo.cabin == cab and not pageinfo.directory %} selected="selected"{% endif %} data-cabin="{{ cab|e('html_attr') }}" >{{ cab }}</option> {% for subdir in custom_dir_tree[cab] %} {{ cdir.dirTree( subdir, cab, cab, 1 ) }} {% endfor %} {% endfor %} {% endspaceless %}</select>/<input title="URL" type="text" required="required" name="url" value="{{ pageinfo.url|e('url') }}" /> </div> </div> <div class="table-row" id="create_redirect_row" data-checked="0"> <div class="table-cell table-label"></div> <div class="table-cell ypad-0-5 large_checkbox"> <input type="checkbox" name="create_redirect" value="1" id="create_redirect" /> <label for="create_redirect"> {{ __("Create a redirect from the old page to the new page? Only available for moves within the same Cabin.") }} </label> </div> </div> <div class="table-row"> <div class="table-cell table-label"></div> <div class="table-cell"> <button type="submit" name="save_btn" value="confirm" class="pure-button pure-button-secondary"> {{ __("Save Changes") }} </button> <button class="pure-button pure-button-tertiary" data-href="{{ cabin_url() ~ "pages/" ~ cabin|e('url') ~ "?dir=" ~ dir|e('url') }}" id="cancel_btn" type="button" > {{ __("Cancel") }} </button> </div> </div> </div> </form>