This repository has been archived by the owner on Nov 3, 2023. It is now read-only.
-
-
Notifications
You must be signed in to change notification settings - Fork 212
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Readd the surrounding "submit_container" in table forms (see #7396)
- Loading branch information
Showing
3 changed files
with
15 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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(); ?> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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(); ?> |