Action";
$add = "
";
}
else {
$action = "";
$add = "";
}
$h_aliases = "";
foreach($aliases as $old => $new) {
$h_old = html_escape($old);
$h_new = html_escape($new);
$h_aliases .= "$h_old | $h_new | ";
if($is_admin) {
$h_aliases .= "
|
";
}
$h_aliases .= "
";
}
$html = "
From | To | $action
$h_aliases
$add
Download as CSV
";
$page->set_title("Alias List");
$page->set_heading("Alias List");
$page->add_block(new NavBlock());
$page->add_block(new Block("Aliases", $html));
}
}
?>