*/ // must be run within Dokuwiki if(!defined('DOKU_INC')) die(); class helper_plugin_filelisting extends DokuWiki_Plugin { /** * Display the file listing for the current page * * @param bool $print Should the HTML be printed or returned? * * @return string */ public function tpl_filelisting($print = true, $ns = NULL) { global $INFO; global $lang; if (is_null($ns)) $ns = getNS($INFO['id']); if ($ns == false) { $ns = ':'; $ns_string = '[' . $lang['mediaroot'] . ']'; } else { $ns_string = $ns; } $colgroup = '
'); $form->addHTML(' | ' . $this->getLang('header filename') .' | '); $form->addHTML('' . $this->getLang('header filesize') .' | '); $form->addHTML('' . $this->getLang('header filedate') .' | '); $form->addHTML('
---|