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
20 lines
403 B
PHP
20 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,
|
|
));
|
|
}
|
|
|
|
}
|