Skip to content
Snippets Groups Projects
Select Git revision
  • bfe7015aea500146a824a33cf3383db7c6f5e5d1
  • main default protected
  • step-3263
  • feature/plugins-cli
  • feature/vite
  • step-2484-peerreview
  • biest/issue-5051
  • tests/simplify-jsonapi-tests
  • fix/typo-in-1a70031
  • feature/broadcasting
  • database-seeders-and-factories
  • feature/peer-review-2
  • feature-feedback-jsonapi
  • feature/peerreview
  • feature/balloon-plus
  • feature/stock-images-unsplash
  • tic-2588
  • 5.0
  • 5.2
  • biest/unlock-blocks
  • biest-1514
21 results

tooltip.php

Blame
  • Forked from Stud.IP / Stud.IP
    Source project has a limited visibility.
    Code owners
    Assign users and groups as approvers for specific file changes. Learn more.
    tooltip.php 372 B
    <?php
    /**
     * @var bool $important
     * @var bool $html
     * @var string $text
     */
    ?>
    <span class="as-link tooltip tooltip-icon <? if ($important) echo 'tooltip-important'; ?>"
          tabindex="0"
          data-tooltip
          aria-label="<?= htmlReady($html ? strip_tags($text) : $text) ?>"
    >
        <span class="tooltip-content"><?= $html ? $text : htmlReady($text) ?></span>
    </span>