Файловый менеджер - Редактировать - /var/www/html/mediawiki-1.43.1/extensions/FileImporter/src/Html/InputFormPage.php
Ðазад
<?php namespace FileImporter\Html; use MediaWiki\EditPage\EditPage; use MediaWiki\Html\Html; use OOUI\ButtonInputWidget; use OOUI\TextInputWidget; /** * Page displaying a form for entering a URL to start an import. * * @license GPL-2.0-or-later * @author Addshore */ class InputFormPage extends SpecialPageHtmlFragment { public function getHtml(): string { return Html::openElement( 'div' ) . Html::openElement( 'form', [ 'action' => $this->getPageTitle()->getLocalURL(), 'method' => 'POST', ] ) . Html::hidden( 'wpUnicodeCheck', EditPage::UNICODE_CHECK ) . ( new HelpBanner( $this ) )->getHtml() . new TextInputWidget( [ 'name' => 'clientUrl', 'autofocus' => true, 'required' => true, 'type' => 'url', 'placeholder' => $this->msg( 'fileimporter-exampleprefix' )->plain() . ': https://en.wikipedia.org/wiki/File:Berlin_Skyline', ] ) . new ButtonInputWidget( [ 'classes' => [ 'mw-fileimporter-url-submit' ], 'label' => $this->msg( 'fileimporter-submit' )->plain(), 'type' => 'submit', 'flags' => [ 'primary', 'progressive' ], ] ) . Html::closeElement( 'form' ) . Html::closeElement( 'div' ); } }
| ver. 1.1 | |
.
| PHP 8.4.18 | Ð“ÐµÐ½ÐµÑ€Ð°Ñ†Ð¸Ñ Ñтраницы: 0 |
proxy
|
phpinfo
|
ÐаÑтройка