mirror of
https://we.phorge.it/source/phorge.git
synced 2025-01-26 06:28:19 +01:00
f8dbfdd59d
Summary: Created with spatch: lang=diff - phutil_render_tag + phutil_tag (X, Y) (and null manually) Test Plan: Loaded homepage Reviewers: epriestley Reviewed By: epriestley CC: aran, Korvin Differential Revision: https://secure.phabricator.com/D4500
19 lines
403 B
PHP
19 lines
403 B
PHP
<?php
|
|
|
|
final class AphrontFormFileControl extends AphrontFormControl {
|
|
|
|
protected function getCustomControlClass() {
|
|
return 'aphront-form-file-text';
|
|
}
|
|
|
|
protected function renderInput() {
|
|
return phutil_tag(
|
|
'input',
|
|
array(
|
|
'type' => 'file',
|
|
'name' => $this->getName(),
|
|
'disabled' => $this->getDisabled() ? 'disabled' : null,
|
|
));
|
|
}
|
|
|
|
}
|