Skip to content
Snippets Groups Projects
Select Git revision
  • 04a38067ee6821d80f453268597fec07e38facb3
  • main default protected
  • 5.5 protected
  • atlantis
  • 5.3 protected
  • 5.0 protected
  • issue-23
  • issue8-seat-logging-and-export
  • ticket-216
  • tickets-215-216-241-242
10 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 349 B
    <?php
    /**
     * @var bool $important
     * @var bool $html
     * @var string $text
     */
    ?>
    <span class="tooltip tooltip-icon <? if ($important) echo 'tooltip-important'; ?>"
          tabindex="0" aria-label="<?= $html ? htmlReady(strip_tags($text)) : htmlReady($text) ?>">
        <span class="tooltip-content"><?= $html ? $text : htmlReady($text) ?></span>
    </span>