PHP Classes

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

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

Contents

Class file image Download
<div class="table table-pad-1 full-width"> <div class="table-row"> <div class="table-min-width table-pad-right text-right table-cell"> <label for="bridge_cabin_name"> {{ __("Cabin Name") }}: </label> </div> <div class="table-cell"> <input class="full-width" type="text" id="bridge_cabin_name" name="config[name]" value="{{ config.name|e('html_attr') }}" /> </div> </div> <div class="table-row"> <div class="table-min-width table-pad-right text-right table-cell"> <label for="bridge_path"> {{ __("Hostname and Path") }}: </label> </div> <div class="table-cell"> <input class="full-width" type="text" id="bridge_path" name="config[path]" value="{{ config.path|e('html_attr') }}" /><br /> <input id="bridge_enabled" class="inblock" type="checkbox" name="config[enabled]" value="1" {% if config.enabled %} checked="checked"{% endif %} /> <label for="bridge_enabled" class="inblock"> {{ __("Is this Cabin enabled?") }} </label><br /> <input id="bridge_https" class="inblock" type="checkbox" name="config[https]" value="1" {% if config.https %} checked="checked"{% endif %} /> <label for="bridge_https" class="inblock"> {{ __("Only allow HTTPS connections? (Recommended)") }} </label> </div> </div> <div class="table-row"> <div class="table-min-width table-pad-right text-right table-cell"> <label for="bridge_path"> {{ __("Canon URL") }}: </label> </div> <div class="table-cell"> <input class="full-width" type="text" name="config[canon_url]" value="{{ config.canon_url|e('html_attr') }}" placeholder="{{ __("for hyperlinks from other Cabins")|e('html_attr') }}" /> </div> </div> <div class="table-row"> <div class="table-min-width table-pad-right text-right table-cell"> <label for="bridge_lang"> {{ __("Language") }}: </label> </div> <div class="table-cell"> <select class="full-width" id="bridge_lang" name="config[lang]"> {% for ln, txt in get_languages() %} <option {% if config.lang == ln %} selected="selected"{% endif %} value="{{ ln|e('html_attr') }}"> {{ txt }} </option> {% endfor %} </select> </div> </div> </div>