Skip to content

Commit

Permalink
Merge pull request from GHSA-66c2-p8rh-qx87
Browse files Browse the repository at this point in the history
  • Loading branch information
kaburk authored Feb 22, 2024
1 parent 18f426d commit 1854939
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion plugins/BcColumn/templates/element/site_search_form.php
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@

<div class="section search-box">
<?php echo $this->BcForm->create($searchIndexesFront, array('type' => 'get', 'url' => $url)) ?>
<?php echo $this->BcForm->control('q', ['escape' => false]) ?>
<?php echo $this->BcForm->control('q') ?>
<?php echo $this->BcForm->hidden('site_id', ['value' => $this->getRequest()->getAttribute('currentSite')->id]) ?>
<?php echo $this->BcForm->submit('検索', array('div' => false, 'class' => 'submit_button bs-button')) ?>
<?php echo $this->BcForm->end() ?>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -32,7 +32,7 @@
<?php if ($contentFolders): ?>
<?php echo $this->BcBaser->formControl('f', ['type' => 'select', 'options' => $contentFolders, 'empty' => __d('baser_core', 'カテゴリ')]) ?>
<?php endif ?>
<?php echo $this->BcBaser->formControl('q', ['placeholder' => __d('baser_core', 'キーワード'), 'escape' => false, 'div' => false]) ?>
<?php echo $this->BcBaser->formControl('q', ['placeholder' => __d('baser_core', 'キーワード'), 'div' => false]) ?>
<?php echo $this->BcBaser->formHidden('s') ?>
<?php echo $this->BcBaser->formSubmit(__d('baser_core', '検索'), ['div' => false, 'class' => 'bs-button-small']) ?>
<?php echo $this->BcBaser->endForm() ?>
Expand Down

0 comments on commit 1854939

Please sign in to comment.