<?php if ($this->tableless): ?>

  <div class="submit_container widget<?php if ($this->class) echo ' ' . $this->class; ?><?php if ($this->eSM_fl_width): ?> w<?= $this->eSM_fl_width; ?><?php endif; ?><?php if ($this->eSM_fl_clear): ?> clr<?php endif; ?><?php if ($this->eSM_fl_class): ?> <?php echo $this->eSM_fl_class; ?><?php endif; ?><?php if ($this->eSM_fl_lblpadding): ?> lblp<?php endif; ?><?php if ($this->eSM_fl_alignment): ?> <?php echo $this->eSM_fl_alignment; ?><?php endif; ?>">
    <?php if ($this->src): ?>
      <input type="image" src="<?= $this->src; ?>" id="ctrl_<?php echo $this->id; ?>" class="submit<?php if ($this->class) echo ' ' . $this->class; ?>" title="<?php echo specialchars($this->slabel); ?>" alt="<?php echo specialchars($this->slabel); ?>"<?php echo $this->getAttributes(); ?>>
    <?php else: ?>
      <button type="submit" id="ctrl_<?= $this->id; ?>" class="submit<?php if ($this->class) echo ' ' . $this->class; ?>"<?php echo $this->getAttributes(); ?>><?php echo specialchars($this->slabel); ?></button>
    <?php endif; ?>
  </div>

<?php else: ?>

  <tr class="<?= $this->rowClass; ?>">
    <td class="col_0 col_first">&nbsp;</td>
    <td class="col_1 col_last">
      <div class="submit_container">
        <?php if ($this->src): ?>
          <input type="image" src="<?= $this->src; ?>" id="ctrl_<?php echo $this->id; ?>" class="submit<?php if ($this->class) echo ' ' . $this->class; ?>" title="<?php echo specialchars($this->slabel); ?>" alt="<?php echo specialchars($this->slabel); ?>"<?php echo $this->getAttributes(); ?>>
        <?php else: ?>
          <input type="submit" id="ctrl_<?= $this->id; ?>" class="submit<?php if ($this->class) echo ' ' . $this->class; ?>" value="<?php echo specialchars($this->slabel); ?>"<?php echo $this->getAttributes(); ?>>
        <?php endif; ?>
      </div>
    </td>
  </tr>

<?php endif; ?>