$view, 'items' => $items ); $hook = 'TEMPLATE_'.strtoupper($toolsname).'_DISPLAY'; $evt = new Doku_Event($hook, $data); if($evt->advise_before()){ $actions = array('export_pdf'); foreach($evt->data['items'] as $k => $html) { if (in_array($k, $actions)) { $html = str_replace(' '.$k, ' plugin_'.$k, $html); } echo $html; } } $evt->advise_after(); } function whiteresume_breadcrumbs() { global $lang; global $conf; //check if enabled if(!$conf['breadcrumbs']) return false; $crumbs = breadcrumbs(); //setup crumb trace $crumbs_sep = ' '.$sep.' '; //render crumbs, highlight the last one print '

'.$lang['breadcrumb'].'

'; $last = count($crumbs); $i = 0; print ''; return true; } function whiteresume_pageinfo($ret = false) { global $conf; global $lang; global $INFO; global $ID; // return if we are not allowed to view the page if(!auth_quickaclcheck($ID)) { return false; } $date = dformat($INFO['lastmod']); // print it if($INFO['exists']) { $out = ''; $out .= $lang['lastmod']; $out .= ' '; $out .= $date; if($ret) { return $out; } else { echo $out; return true; } } return false; }