2001-02-12 20:40:43 +00:00
|
|
|
<?
|
|
|
|
|
|
|
|
$module = array("page" => "locale",
|
|
|
|
"admin" => "locale");
|
|
|
|
|
|
|
|
function locale() {
|
|
|
|
$result = db_query("SELECT * FROM locales ORDER BY english");
|
2001-02-14 09:32:33 +00:00
|
|
|
$output .= "<TABLE BORDER=\"1\" CELLPADDING=\"2\" CELLSPACING=\"2\">\n";
|
|
|
|
$output .= " <TR><TH>string</TH><TH COLSPAN=\"2\">operations</TH><TR>\n";
|
2001-02-12 20:40:43 +00:00
|
|
|
while ($locale = db_fetch_object($result)) {
|
2001-02-14 09:32:33 +00:00
|
|
|
$output .= " <TR><TD>". check_output($locale->english) ."<BR><SMALL><I>$locale->location</I></SMALL></TD><TD><A HREF=\"admin.php?mod=locale&op=edit&id=$locale->id\">edit</A></TD><TD><A HREF=\"admin.php?mod=locale&op=edit&id=$locale->id\">delete</A></TD></TR>";
|
2001-02-12 20:40:43 +00:00
|
|
|
}
|
2001-02-14 09:32:33 +00:00
|
|
|
$output .= "</TABLE>\n";
|
|
|
|
print $output;
|
2001-02-12 20:40:43 +00:00
|
|
|
}
|
|
|
|
|
|
|
|
?>
|