also whenever we are in a mailbox room owned by the user.
$Log$
+Revision 625.25 2005/09/26 21:56:31 ajc
+* Offer the [Move] and [Delete] buttons not only for aide/roomaide, but
+ also whenever we are in a mailbox room owned by the user.
+
Revision 625.24 2005/09/26 18:00:51 ajc
* Upgraded TinyMCE to version 2.0RC3. This fixes a conflict with
the prototype.js library.
1998-12-03 Nathan Bryant <bryant@cs.usm.maine.edu>
* webserver.c: warning fix
+
wprintf("\">[%s]</a> ", _("Forward"));
}
- if (WC->is_room_aide) {
+ /* If this is one of my own rooms, or if I'm an Aide or Room Aide, I can move/delete */
+ if ( (WC->is_room_aide) || (WC->is_mailbox) ) {
/* Move */
wprintf("<a href=\"/confirm_move_msg?msgid=%ld\">[%s]</a> ",
msgnum, _("Move"));
WC->room_flags = extract_int(&buf[4], 4);
/* highest_msg_read = extract_int(&buf[4],6);
maxmsgnum = extract_int(&buf[4],5);
- is_mail = (char) extract_int(&buf[4],7); */
+ */
+ WC->is_mailbox = extract_int(&buf[4],7);
ls = extract_long(&buf[4], 6);
WC->wc_floor = extract_int(&buf[4], 10);
WC->wc_view = extract_int(&buf[4], 11);
size_t burst_len;
char *burst;
int gzip_ok; /* Nonzero if Accept-encoding: gzip */
+ int is_mailbox; /* the current room is a private mailbox */
};
#define num_parms(source) num_tokens(source, '|')