From: Art Cancro Date: Sun, 6 May 2001 05:11:50 +0000 (+0000) Subject: * Added paging icon and right-justified it X-Git-Tag: v7.86~6884 X-Git-Url: https://code.citadel.org/?a=commitdiff_plain;h=2df4db4ee77270e0385a724b0a9bde870e20c311;p=citadel.git * Added paging icon and right-justified it * Send-page window is now a popup --- diff --git a/webcit/ChangeLog b/webcit/ChangeLog index 9303c97b2..9190e14e5 100644 --- a/webcit/ChangeLog +++ b/webcit/ChangeLog @@ -1,4 +1,8 @@ $Log$ +Revision 213.10 2001/05/06 05:11:48 ajc +* Added paging icon and right-justified it +* Send-page window is now a popup + Revision 213.9 2001/05/04 04:28:10 ajc * Added "page user" button in wholist @@ -534,4 +538,3 @@ Sun Dec 6 19:50:55 EST 1998 Art Cancro 1998-12-03 Nathan Bryant * webserver.c: warning fix - diff --git a/webcit/paging.c b/webcit/paging.c index 933ea6c12..a27b18485 100644 --- a/webcit/paging.c +++ b/webcit/paging.c @@ -33,7 +33,7 @@ void display_page(void) strcpy(recp, bstr("recp")); - output_headers(1); + output_headers(3); wprintf("
"); wprintf("
\n"); - wprintf("Select a user to send a message to:
"); - - wprintf("\n"); - - wprintf("
"); + wprintf("\n"); wprintf("Enter message text:
"); @@ -79,7 +60,7 @@ void display_page(void) wprintf("

\n"); wprintf(""); - wprintf("
\n"); + wprintf("
\n"); wprintf("\n"); wDumpContent(1); diff --git a/webcit/static/page.gif b/webcit/static/page.gif new file mode 100644 index 000000000..27f96989a Binary files /dev/null and b/webcit/static/page.gif differ diff --git a/webcit/who.c b/webcit/who.c index 06e8a81be..39e0a0639 100644 --- a/webcit/who.c +++ b/webcit/who.c @@ -1,8 +1,6 @@ /* $Id$ */ - - #include #include #include @@ -64,7 +62,11 @@ void whobbs(void) escputs(serv_info.serv_humannode); wprintf("\n"); - wprintf("
\n\n\n"); + wprintf("
\n" + "Click on a name to read user info. Click on " + "\"(p)\" to send " + "a page (instant message) to that user.
" + "
\n\n"); wprintf("\n"); wprintf("\n"); wprintf(""); @@ -113,7 +115,7 @@ void whobbs(void) } while (wlist != NULL) { - wprintf("\n\t\n\t\n\t\n\t\n\t\n\t\n\t\n\t\n"); + wprintf("\n"); wptr = wlist->next; free(wlist); wlist = wptr;
Session IDUser NameRoom
%d", wlist->sessionnum); + wprintf("
%d", wlist->sessionnum); if ((WC->is_aide) && (wlist->sessionnum != serv_info.serv_pid)) { wprintf(" sessionnum); @@ -125,7 +127,7 @@ void whobbs(void) wprintf(" (edit)"); } - wprintf(""); + wprintf(""); /* username (link to user bio/photo page) */ @@ -136,17 +138,21 @@ void whobbs(void) wprintf(""); /* (link to page this user) */ - wprintf("" + "(p)"); + wprintf("', 'CitaPageWin', 'toolbar=no,location=no,copyhistory=no,status=no,scrollbars=yes,resizable=no,height=400,width=400');\">" + "\"(p)\"""); /* room */ - wprintf(""); + wprintf(""); escputs(wlist->roomname); - wprintf(""); + wprintf(""); /* hostname */ escputs(wlist->hostname); - wprintf("