Skip to content
Snippets Groups Projects
Commit 813a902b authored by deuce's avatar deuce
Browse files

Add stupid top index of message subs.

parent 1c2dc11a
Branches
Tags
No related merge requests found
......@@ -16,6 +16,10 @@ var indent_pixels=20;
// User name of the blogger
var parameters=http_request.path_info.substr(1).split("/");
var msg_code=parameters[0];
if(msg_code==null || msg_code=='') {
xjs_load("msg_index.xjs");
exit(0);
}
var poster=parameters[1];
var year=parseInt(parameters[2],10);
var month=parseInt(parameters[3],10);
......
<html>
<head>
<title>Blogifier Subs</title>
</head>
<body>
<?xjs
for(var grp in msg_area.grp_list) {
for(var sub in msg_area.grp_list[grp].sub_list) {
write('<a href="'+msg_area.grp_list[grp].sub_list[sub].code+'/">'+msg_area.grp_list[grp].sub_list[sub].description+'</a><br>');
}
}
?>
</body>
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment