
<div id="tl_buttons">
  <a href="<?= $this->href ?>" class="header_back" title="<?= $this->title ?>"><?= $this->button ?></a>
</div>

<div id="tl_extension">
  <h2 class="sub_headline"><?= $this->headline ?></h2>
  <?= $this->messages ?>
  <form action="<?= $this->action ?>" class="tl_form" method="post">
    <div class="tl_formbody_edit">
      <input type="hidden" name="FORM_SUBMIT" value="tl_autoload">
      <input type="hidden" name="REQUEST_TOKEN" value="<?= REQUEST_TOKEN ?>">
      <div class="tl_tbox">
        <div>
          <fieldset class="tl_checkbox_container" style="margin-top:2em">
            <legend><?= $this->available ?></legend>
            <input type="checkbox" id="check_all_modules" class="tl_checkbox" onclick="Backend.toggleCheckboxGroup(this, 'ctrl_modules')"> <label for="check_all_modules" style="color:#a6a6a6"><em><?= $this->selectAll ?></em></label><br>
            <?php foreach ($this->modules as $module): ?>
              <input type="checkbox" name="modules[]" id="opt_<?= $module ?>" class="tl_checkbox" value="<?= $module ?>" onfocus="Backend.getScrollOffset()"> <label for="opt_<?= $module ?>"><?= $module ?></label><br>
            <?php endforeach; ?>
          </fieldset>
          <p class="tl_help tl_tip"><?= $this->xplAvailable ?></p>
        </div>
        <div>
          <div class="tl_checkbox_single_container">
            <input type="hidden" name="override" value=""><input type="checkbox" name="override" id="opt_override" value="1" class="tl_checkbox" onfocus="Backend.getScrollOffset()"> <label for="opt_override"><?= $this->override ?></label>
          </div>
          <p class="tl_help tl_tip"><?= $this->xplOverride ?></p>
        </div>
      </div>
    </div>
    <div class="tl_submit_container">
      <input type="submit" class="tl_submit" value="<?= $this->autoload ?>">
    </div>
  </form>
</div>
