aboutsummaryrefslogtreecommitdiff
path: root/templates
diff options
context:
space:
mode:
authorDavid Siegfried <david.siegfried@uni-vechta.de>2022-12-15 09:33:48 +0000
committerDavid Siegfried <david.siegfried@uni-vechta.de>2022-12-15 09:33:48 +0000
commit8c53681d8ffb280b1ff89a29799970cd611c155d (patch)
tree1afa3cfe52d33e31ca70978463c8b84ca55793bd /templates
parente3e7e1af2d31c2a4cfba63fb2e70f3a87cdaa467 (diff)
fix alignment in messages-form, closes #1803
Closes #1803 Merge request studip/studip!1241
Diffstat (limited to 'templates')
-rw-r--r--templates/quicksearch/inputfield.php6
1 files changed, 3 insertions, 3 deletions
diff --git a/templates/quicksearch/inputfield.php b/templates/quicksearch/inputfield.php
index fb9b632..4dd569f 100644
--- a/templates/quicksearch/inputfield.php
+++ b/templates/quicksearch/inputfield.php
@@ -4,7 +4,7 @@
<? if ($withButton): ?>
<div class="quicksearch_frame <?= ($extendedLayout === true) ? 'extendedLayout' : ''; ?>" id="<?= $id ?>_frame">
<? if ($box_align === 'left'): ?>
- <?= Icon::create('search', 'clickable')->asInput(["class" => 'text-bottom']) ?>
+ <?= Icon::create('search')->asInput(['class' => 'text-bottom']) ?>
<? endif; ?>
<? endif ?>
<input type=hidden id="<?= $id ?>_realvalue" name="<?= $name ?>" value="<?= htmlReady($defaultID) ?>">
@@ -19,7 +19,7 @@
placeholder="<?= $beschriftung && !$defaultID ? htmlReady($beschriftung) : '' ?>">
<? if ($withButton): ?>
<? if ($box_align !== 'left'): ?>
- <input type="submit" value="Suche starten" name="<?= $search_button_name; ?>"></input>
+ <input type="submit" value="<?= _('Suche starten') ?>" name="<?= htmlReady($search_button_name) ?>">
<? endif; ?>
</div>
<? endif ?>
@@ -28,7 +28,7 @@
jQuery(function () {
STUDIP.QuickSearch.autocomplete("<?= $id ?>",
"<?= URLHelper::getURL("dispatch.php/quicksearch/response/".$query_id) ?>",
- <?= $jsfunction ? $jsfunction : "null" ?>,
+ <?= $jsfunction ?: 'null' ?>,
<?= $autocomplete_disabled ? "true" : "false" ?>
);
});