Skip to content
This repository has been archived by the owner on Nov 3, 2023. It is now read-only.

Commit

Permalink
Readd the surrounding "submit_container" in table forms (see #7396)
Browse files Browse the repository at this point in the history
  • Loading branch information
leofeyer committed Oct 22, 2014
1 parent 44ad53b commit d6c1f5a
Show file tree
Hide file tree
Showing 3 changed files with 15 additions and 0 deletions.
3 changes: 3 additions & 0 deletions system/docs/CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,9 @@ Contao Open Source CMS changelog
Version 3.3.6 (2014-XX-XX)
--------------------------

### Fixed
Readd the surrounding "submit_container" in table forms (see #7396).

### Fixed
Do not generally remove insert tags from page titles (see #7198).

Expand Down
6 changes: 6 additions & 0 deletions system/modules/core/templates/forms/form_submit.html5
Original file line number Diff line number Diff line change
@@ -1,9 +1,15 @@
<?php $this->extend('form_row'); ?>

<?php $this->block('field'); ?>
<?php if (!$this->tableless): ?>
<div class="submit_container">
<?php endif; ?>
<?php if ($this->src): ?>
<input type="image" src="<?php echo $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_<?php echo $this->id; ?>" class="submit<?php if ($this->class) echo ' ' . $this->class; ?>" value="<?php echo specialchars($this->slabel); ?>"<?php echo $this->getAttributes(); ?>>
<?php endif; ?>
<?php if (!$this->tableless): ?>
</div>
<?php endif; ?>
<?php $this->endblock(); ?>
6 changes: 6 additions & 0 deletions system/modules/core/templates/forms/form_submit.xhtml
Original file line number Diff line number Diff line change
@@ -1,9 +1,15 @@
<?php $this->extend('form_row'); ?>

<?php $this->block('field'); ?>
<?php if (!$this->tableless): ?>
<div class="submit_container">
<?php endif; ?>
<?php if ($this->src): ?>
<input type="image" src="<?php echo $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_<?php echo $this->id; ?>" class="submit<?php if ($this->class) echo ' ' . $this->class; ?>" value="<?php echo specialchars($this->slabel); ?>"<?php echo $this->getAttributes(); ?> />
<?php endif; ?>
<?php if (!$this->tableless): ?>
</div>
<?php endif; ?>
<?php $this->endblock(); ?>

0 comments on commit d6c1f5a

Please sign in to comment.