12 lines
346 B
PHP
12 lines
346 B
PHP
|
<?php
|
||
|
|
||
|
class CustomUploadTheme extends UploadTheme {
|
||
|
// public function display_block(Page $page) {
|
||
|
// $page->add_block(new Block("Upload", $this->build_upload_block(), "left", 20));
|
||
|
// }
|
||
|
//
|
||
|
// public function display_full(Page $page) {
|
||
|
// $page->add_block(new Block("Upload", "Disk nearly full, uploads disabled", "left", 20));
|
||
|
// }
|
||
|
}
|