Summary: Modernize Files a bit, use newPage Test Plan: New file, drag and drop file, view file, edit file Reviewers: epriestley Reviewed By: epriestley Subscribers: Korvin Differential Revision: https://secure.phabricator.com/D15631
18 lines
410 B
PHP
18 lines
410 B
PHP
<?php
|
|
|
|
final class PhabricatorFileUploadDialogController
|
|
extends PhabricatorFileController {
|
|
|
|
public function handleRequest(AphrontRequest $request) {
|
|
$viewer = $request->getViewer();
|
|
|
|
return $this->newDialog()
|
|
->setTitle(pht('Upload File'))
|
|
->appendChild(pht(
|
|
'To add files, drag and drop them into the comment text area.'))
|
|
->addCancelButton('/', pht('Close'));
|
|
|
|
}
|
|
|
|
}
|