Файловый менеджер - Редактировать - /var/www/html/mediawiki-1.43.1/extensions/HoneyPot/includes/UndisplayedTextField.php
Ðазад
<?php namespace MediaWiki\Extension\HoneyPot; use HTMLTextField; /** * Subclass of HTMLTextField that applies `display: none;` styles to the output * @license GPL-2.0-or-later */ class UndisplayedTextField extends HTMLTextField { /** * Add a `style` attribute with `display: none;` to the field's attributes * * @inheritDoc */ public function getAttributes( array $list ) { $attribs = parent::getAttributes( $list ); if ( isset( $attribs['style'] ) ) { // add a leading semicolon in case the existing styles are missing // it $attribs['style'] .= '; display: none;'; } else { $attribs['style'] = 'display: none;'; } return $attribs; } /** * Remove the label from the field that isn't shown * * @inheritDoc */ public function getLabel() { return ''; } }
| ver. 1.1 | |
.
| PHP 8.4.18 | Ð“ÐµÐ½ÐµÑ€Ð°Ñ†Ð¸Ñ Ñтраницы: 0 |
proxy
|
phpinfo
|
ÐаÑтройка