PHP Classes
elePHPant
Icontem

File: src/common/motif_extra/select_format.twig

Recommend this page to a friend!
  Classes of Scott Arciszewski  >  CMS Airship  >  src/common/motif_extra/select_format.twig  >  Download  
File: src/common/motif_extra/select_format.twig
Role: Auxiliary data
Content type: text/plain
Description: Auxiliary data
Class: CMS Airship
Content management system with security features
Author: By
Last change: Boyscouting.
Date: 1 year ago
Size: 689 bytes
 

Contents

Class file image Download
<select
    title="{{ __("Format")|e('html_attr') }}"
    name="format"
    id="format"
    {% if readonly %}
        readonly="readonly"
        disabled="disabled"
    {% endif %}
>
    <option {% if format == "HTML"  %} selected{% endif %} value="HTML">
        {{ __("HTML") }}
    </option>
    <option {% if format == "Markdown"  %} selected{% endif %} value="Markdown">
        {{ __("Markdown") }}
    </option>
    <option {% if format == "Rich Text"  %} selected{% endif %} value="Rich Text">
        {{ __("Rich Text (WYSIWYG)") }}
    </option>
    <option {% if format == "RST"  %} selected{% endif %} value="RST">
        {{ __("ReStructuredText") }}
    </option>
</select>