';
- $html .= '| '.$this->escapeHTML($subProps['displayPath']).' | ';
- $html .= ''.$this->escapeHTML($type['string']).' | ';
- $html .= '';
- if (isset($subProps['{DAV:}getcontentlength'])) {
- $html .= $this->escapeHTML($subProps['{DAV:}getcontentlength'].' bytes');
- }
- $html .= ' | ';
- if (isset($subProps['{DAV:}getlastmodified'])) {
- $lastMod = $subProps['{DAV:}getlastmodified']->getTime();
- $html .= $this->escapeHTML($lastMod->format('F j, Y, g:i a'));
- }
- $html .= ' | ';
- if (isset($subProps['{DAV:}displayname'])) {
- $html .= $this->escapeHTML($subProps['{DAV:}displayname']);
- }
- $html .= ' | ';
-
- $buttonActions = '';
- if ($subProps['subNode'] instanceof DAV\IFile) {
- $buttonActions = '';
- }
- $this->server->emit('browserButtonActions', [$subProps['fullPath'], $subProps['subNode'], &$buttonActions]);
-
- $html .= ''.$buttonActions.' | ';
- $html .= '
';
- }
-
- $html .= '