HEX
Server: Apache
System: Linux WWW 6.1.0-40-amd64 #1 SMP PREEMPT_DYNAMIC Debian 6.1.153-1 (2025-09-20) x86_64
User: web11 (1011)
PHP: 8.2.29
Disabled: NONE
Upload Files
File: /var/www/apklausos/application/extensions/GeneralOptionWidget/views/layout.php
<?php
$labelAttr = in_array($this->generalOption->inputType, GeneralOptionWidget::SINGLEINPUTTYPE) ? 'for="' : 'id="label-';
$labelAttr .= CHtml::getIdByName($this->generalOption->name) . '"';
?>
<div class="mb-3">
    <div class="question-option-general-setting-block">
        <div class="col-12">
            <label <?= $labelAttr; ?>>
                <?= $this->generalOption->title; ?>
            </label>
        <?php if ($this->generalOption->formElement->help): ?>
            <a
                role="button"
                data-bs-toggle="collapse"
                href="#help-<?= CHtml::getIdByName($this->generalOption->name); ?>"
            ><i
                class="ri-information-fill"
                data-bs-toggle="tooltip"
                title="<?= CHtml::encode(strip_tags((string) $this->generalOption->formElement->help)) ?>"
            > </i><span class="visually-hidden"><?= gT("Show help"); ?></span> </a>
            <div class="help-block collapse" id="help-<?= CHtml::getIdByName($this->generalOption->name); ?>" aria-expanded="false"><?= $this->generalOption->formElement->help; ?></div>
        <?php endif; ?>
        </div>
        <?= $content; ?>
    </div>
</div>