Conditions | 1 |
Paths | 1 |
Total Lines | 15 |
Lines | 0 |
Ratio | 0 % |
Changes | 0 |
1 | <?php |
||
9 | public function display($dotCount = 6) |
||
10 | { |
||
11 | $this->addScript(); |
||
12 | |||
13 | $dots = str_repeat('*', $dotCount); |
||
14 | |||
15 | return <<<HTML |
||
16 | <span class="secret-wrapper"> |
||
17 | <i class="fa fa-eye" style="cursor: pointer;"></i> |
||
18 | |
||
19 | <span class="secret-placeholder" style="vertical-align: middle;">{$dots}</span> |
||
20 | <span class="secret-content" style="display: none;">{$this->getValue()}</span> |
||
21 | </span> |
||
22 | HTML; |
||
23 | } |
||
24 | |||
36 | } |