From 1f7642c4ef2cd2f6532451f6bfea2a60c77091d1 Mon Sep 17 00:00:00 2001 From: Art Cancro Date: Mon, 10 Nov 2003 15:51:56 +0000 Subject: [PATCH] * Cleanup --- ctdlphp/ctdlprotocol.php | 1 - ctdlphp/ctdlsession.php | 5 +++++ ctdlphp/do_login.php | 1 - ctdlphp/listrooms.php | 3 +++ ctdlphp/login.php | 1 - ctdlphp/logout.php | 3 +-- ctdlphp/sessionproxy.php | 4 +++- ctdlphp/welcome.php | 4 ++++ ctdlphp/who.php | 7 ++++--- 9 files changed, 20 insertions(+), 9 deletions(-) diff --git a/ctdlphp/ctdlprotocol.php b/ctdlphp/ctdlprotocol.php index 0ab08bdf2..8ed50b9f0 100644 --- a/ctdlphp/ctdlprotocol.php +++ b/ctdlphp/ctdlprotocol.php @@ -6,7 +6,6 @@ // // Copyright (c) 2003 by Art Cancro // This program is released under the terms of the GNU General Public License. -// // diff --git a/ctdlphp/ctdlsession.php b/ctdlphp/ctdlsession.php index f05f9e598..f2ac6f523 100644 --- a/ctdlphp/ctdlsession.php +++ b/ctdlphp/ctdlsession.php @@ -5,6 +5,11 @@ // This gets called from within the header functions. It establishes or // connects to a PHP session, and then connects to Citadel if necessary. // +// Web designers: please make changes in ctdlheader.php, not here. +// +// Copyright (c) 2003 by Art Cancro +// This program is released under the terms of the GNU General Public License. + function establish_citadel_session() { diff --git a/ctdlphp/do_login.php b/ctdlphp/do_login.php index 8a9c2e77b..cc15c791e 100644 --- a/ctdlphp/do_login.php +++ b/ctdlphp/do_login.php @@ -6,7 +6,6 @@ // // Copyright (c) 2003 by Art Cancro // This program is released under the terms of the GNU General Public License. -// include "ctdlheader.php"; diff --git a/ctdlphp/listrooms.php b/ctdlphp/listrooms.php index 37e5ac38a..069d1bf5d 100644 --- a/ctdlphp/listrooms.php +++ b/ctdlphp/listrooms.php @@ -5,6 +5,8 @@

Known rooms

+This is a sample page to demonstrate how to generate a room list. +
    +Sample links
    Page One
    Page Three
    diff --git a/ctdlphp/login.php b/ctdlphp/login.php index cf88c2a4b..ffe793c70 100644 --- a/ctdlphp/login.php +++ b/ctdlphp/login.php @@ -6,7 +6,6 @@ // // Copyright (c) 2003 by Art Cancro // This program is released under the terms of the GNU General Public License. -// include "ctdlheader.php"; bbs_page_header(); diff --git a/ctdlphp/logout.php b/ctdlphp/logout.php index c338b77c1..ca36d77fa 100644 --- a/ctdlphp/logout.php +++ b/ctdlphp/logout.php @@ -6,7 +6,6 @@ // // Copyright (c) 2003 by Art Cancro // This program is released under the terms of the GNU General Public License. -// include "ctdlheader.php"; @@ -14,7 +13,7 @@ echo ctdl_mesg("goodbye"); - echo "Log in again
    \n" ; + echo "Log in again
    \n" ; bbs_page_footer(); ctdl_end_session(); diff --git a/ctdlphp/sessionproxy.php b/ctdlphp/sessionproxy.php index 986eb2a52..ba4a502bc 100755 --- a/ctdlphp/sessionproxy.php +++ b/ctdlphp/sessionproxy.php @@ -8,9 +8,11 @@ // server connection. We need one of these for each session because PHP does // not have a way to bind a session to a persistent socket. // +// Web designers: don't touch this module. It's not included in your web pages +// and therefore you don't need to be here. +// // Copyright (c) 2003 by Art Cancro // This program is released under the terms of the GNU General Public License. -// // sock_gets() -- reads one line of text from a socket diff --git a/ctdlphp/welcome.php b/ctdlphp/welcome.php index db770c4a8..dcf9beef8 100644 --- a/ctdlphp/welcome.php +++ b/ctdlphp/welcome.php @@ -7,6 +7,9 @@

    +

    This is a sample welcome.php page. Someone with mad HTML kung-fu should +edit this and make it useful and attractive.

    +

    Lorem ipsum dolor sit amet, consectetuer adipiscing elit. Vestibulum ante ipsum primis in faucibus orci luctus et ultrices posuere cubilia Curae; Praesent nec massa. Nam enim est, semper sed, ultrices ac, malesuada et, @@ -20,6 +23,7 @@ lorem, mattis et, interdum eu, bibendum sed, tortor. Mauris eu metus. Fusce tellus tortor, vehicula at, iaculis vitae, adipiscing quis, sapien. Lorem ipsum dolor sit amet, consectetuer adipiscing elit.

    +Sample links
    Who is online?
    room list
    Page Two
    diff --git a/ctdlphp/who.php b/ctdlphp/who.php index 6d5295f23..92d7ccb8d 100644 --- a/ctdlphp/who.php +++ b/ctdlphp/who.php @@ -1,11 +1,11 @@
    \n" ; + echo ""; echo ""; echo ""; @@ -27,6 +27,7 @@ ?> +
    Sample links
    Page One
    Page Three
    -- 2.30.2
    User