* Cleanup
authorArt Cancro <ajc@citadel.org>
Mon, 10 Nov 2003 15:51:56 +0000 (15:51 +0000)
committerArt Cancro <ajc@citadel.org>
Mon, 10 Nov 2003 15:51:56 +0000 (15:51 +0000)
ctdlphp/ctdlprotocol.php
ctdlphp/ctdlsession.php
ctdlphp/do_login.php
ctdlphp/listrooms.php
ctdlphp/login.php
ctdlphp/logout.php
ctdlphp/sessionproxy.php
ctdlphp/welcome.php
ctdlphp/who.php

index 0ab08bdf276ee59de104465e52f6de876327d750..8ed50b9f0095e0dfbfa076392c621ed336b82657 100644 (file)
@@ -6,7 +6,6 @@
 //
 // Copyright (c) 2003 by Art Cancro <ajc@uncensored.citadel.org>
 // This program is released under the terms of the GNU General Public License.
-//
 
 
 //
index f05f9e598159efc5ebbdc8607e57da832e6c5721..f2ac6f5237f052c468bd58766c7beb82ad993857 100644 (file)
@@ -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 <ajc@uncensored.citadel.org>
+// This program is released under the terms of the GNU General Public License.
+
 
 function establish_citadel_session() {
 
index 8a9c2e77bc83c591b87aef5e7f62e6d04b9e7a0f..cc15c791e8def7b0fb577ee205a65e6a4b438883 100644 (file)
@@ -6,7 +6,6 @@
 // 
 // Copyright (c) 2003 by Art Cancro <ajc@uncensored.citadel.org>
 // This program is released under the terms of the GNU General Public License.
-//
 
 include "ctdlheader.php";
 
index 37e5ac38a7f867289fa328a8d61e7d462d1d05a4..069d1bf5d98b993cec816d75b091c4e4e5197826 100644 (file)
@@ -5,6 +5,8 @@
 
 <H1>Known rooms</H1>
 
+This is a sample page to demonstrate how to generate a room list.
+
 <UL>
 
 <?PHP
@@ -23,6 +25,7 @@
 
 </UL>
 
+Sample links<BR>
 <a href="welcome.php">Page One</a><BR>
 <a href="page3.php">Page Three</a><BR>
 
index cf88c2a4bae50343554dbc0c0386d0dddcd5ca13..ffe793c70826569b49c428b7b68238b1c1e7cac2 100644 (file)
@@ -6,7 +6,6 @@
 //
 // Copyright (c) 2003 by Art Cancro <ajc@uncensored.citadel.org>
 // This program is released under the terms of the GNU General Public License.
-//
 
        include "ctdlheader.php";
        bbs_page_header();
index c338b77c1f0aff306e0371c03bfa974c9eda90d7..ca36d77fa05b72ef2ee094c5e292dd3b1a72932c 100644 (file)
@@ -6,7 +6,6 @@
 //
 // Copyright (c) 2003 by Art Cancro <ajc@uncensored.citadel.org>
 // 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 "<a href=\"index.php\">Log in again</a><BR>\n" ;
+       echo "<a href=\"login.php\">Log in again</a><BR>\n" ;
 
        bbs_page_footer();
        ctdl_end_session();
index 986eb2a5219a84a702f9daff22b6214fc162afe9..ba4a502bc597046bb6f27dce21db2219e72e637f 100755 (executable)
@@ -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 <ajc@uncensored.citadel.org>
 // This program is released under the terms of the GNU General Public License.
-//
 
 
 // sock_gets() -- reads one line of text from a socket
index db770c4a88e793f1f1022326f6fc8d6ccc2eeca6..dcf9beef895fab8b76658bef0012570376d3b050 100644 (file)
@@ -7,6 +7,9 @@
 <h2><?PHP echo "Welcome to ", $_SESSION["serv_humannode"]; ?></h2>
 <h3><?PHP echo "You're in: ", $_SESSION["room"]; ?></h3>
 
+<p>This is a sample welcome.php page.  Someone with mad HTML kung-fu should
+edit this and make it useful and attractive.</p>
+
 <P>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.</p>
 
+<b>Sample links</b><BR>
 <a href="who.php">Who is online?</a><BR>
 <a href="listrooms.php">room list</A><BR>
 <a href="page2.php">Page Two</a><BR>
index 6d5295f23a6fa3d7bc5b04309579473a6bc219cd..92d7ccb8dd5332f3d5d7d756eda9ca58d03d4c8f 100644 (file)
@@ -1,11 +1,11 @@
 <?PHP
 
-       // This is an example of the use of ctdl_rwho() to display the
-       // list of users currently logged in.
-
        include "ctdlheader.php";
        bbs_page_header();
 
+       echo "This is an example of the use of ctdl_rwho() to display the " ;
+       echo "list of users currently logged in.<BR><BR>\n" ;
+
        echo "<TABLE border=1>";
        echo "<TR>";
        echo "<TD><B>User</B></TD>";
@@ -27,6 +27,7 @@
 
 ?>
 
+<BR>Sample links<BR>
 <a href="welcome.php">Page One</a><BR>
 <a href="page3.php">Page Three</a><BR>