Hi all,
I would like to change the user_defined_function "alt_credits" of plugin credits
https://www.dokuwiki.org/plugin:credits
to have the output as a table, but don't know how to do that.
user_defined_function "alt_credits":
function alt_credits(&$renderer,$info) {
foreach($info as $plugin=>$items) {
$renderer->doc .= "$plugin<br />";
foreach($items as $name=>$value) {
if($name == 'email') $value = credits_hide_email($value);
$renderer->doc .= "$name: $value<br />";
}
$renderer->doc .= '<br />';
}
}
Output is actually a list:
Credits Plugin
base: credits
author: Myron Turner
email: turnermm02@shaw.ca
date: 2011-05-28
name: Credits Plugin
desc: Configurable Display of Plugin Credits
url: http://www.dokuwiki.org/plugin:credits
Could anybody please give me some advice how modify the function, thanks.