addCSS(Link::BOOTSTRAP); $this->loadFontawesome(); } protected function initMetas(): array { return array( array('name' => 'viewport', 'content' => 'width=device-width, initial-scale=1.0'), array('name' => 'format-detection', 'content' => 'telephone=yes'), array('charset' => 'utf-8'), array('http-equiv' => 'expires', 'content' => '0'), array('name' => 'robots', 'content' => 'noarchive'), array('name' => 'referrer', 'content' => 'origin') ); } protected function initRawFields(): array { return array(); } protected function initTitle(): string { return "File Control Panel"; } } class FilesBody extends SimpleBody { public function __construct($document) { parent::__construct($document); } protected function getContent(): string { $html = ""; $html .= "
"; $html .= new Script(Script::MIME_TEXT_JAVASCRIPT, Script::FILES); return $html; } } }