';
$str .= '' . $formatname . ' | ';
$eicon = "wwwroot/mod/glossary/formats.php?id=$formatid&mode=edit\">";
$eicon .= $OUTPUT->pix_icon('t/edit', get_string('edit')). "";
if ( $recformat->visible ) {
$vtitle = get_string("hide");
$vicon = "t/hide";
} else {
$vtitle = get_string("show");
$vicon = "t/show";
}
$url = "$CFG->wwwroot/mod/glossary/formats.php?id=$formatid&mode=visible&sesskey=".sesskey();
$viconlink = "";
$viconlink .= $OUTPUT->pix_icon($vicon, $vtitle) . "";
$str .= '' . $eicon . ' ' . $viconlink . ' | ';
$str .= '
';
}
$str .= '