cvs: php-hosts-web /msgboard getdoc.php getdoc2.php shared-msgboard.inc /msgboard/gifs big-doc.gif lil-doc.gif t-mboard.gif
| From: | jim winstead | Date: | Mon, 22 Apr 2002 00:17:03 +0000 |
| Subject: | cvs: php-hosts-web /msgboard getdoc.php getdoc2.php shared-msgboard.inc /msgboard/gifs big-doc.gif lil-doc.gif t-mboard.gif | ||
| Groups: | php.mirrors | ||
| Request: | Send a blank email to php-mirrors+get-9739@lists.php.net to get a copy of this message | ||
jimw Sun Apr 21 20:17:03 2002 EDT
Removed files:
/php-hosts-web/msgboard getdoc.php getdoc2.php
/php-hosts-web/msgboard/gifs big-doc.gif lil-doc.gif t-mboard.gif
Modified files:
/php-hosts-web/msgboard shared-msgboard.inc
Log:
nuke more attachment-related stuff
Index: php-hosts-web/msgboard/shared-msgboard.inc
diff -u php-hosts-web/msgboard/shared-msgboard.inc:1.4
php-hosts-web/msgboard/shared-msgboard.inc:1.5
--- php-hosts-web/msgboard/shared-msgboard.inc:1.4 Sun Apr 21 20:13:59 2002
+++ php-hosts-web/msgboard/shared-msgboard.inc Sun Apr 21 20:17:03 2002
@@ -113,8 +113,6 @@
$BUTTON_POSTNEW="<FONT SIZE=-1> Add a Message </FONT>";
$BUTTON_POSTFOLLOW="<FONT SIZE=-1> Reply to Message </FONT>";
$BUTTON_LISTHEAD="<FONT SIZE=-1> Show All Messages </FONT>";
-$LIL_DOC_IMG="<IMG SRC=\"$GIFS/lil-doc.gif\" ALT=\"Attachment\"
WIDTH=16 HEIGHT=16 BORDER=0>";
-$BIG_DOC_IMG="<IMG SRC=\"$GIFS/big-doc.gif\" ALT=\"Attachment\"
WIDTH=32 HEIGHT=32 BORDER=0>";
$IMG_SHOW = "<b>Show</b>";
$IMG_ADD = "<b>Add</b>";
@@ -133,24 +131,6 @@
<?
};
-function getDocInfo ($fileid) {
-/*
- * Returns information on an attached document
- */
- global $DBASE, $TABLE_DOCS;
- UnSet($return);
- $q1=mysql($DBASE,"select * from $TABLE_DOCS where document=$fileid");
- if (mysql_numrows($q1)==0):
- $return[0]=-1;
- else:
- $return[0]=mysql_result($q1,0,"filename");
- $return[1]=mysql_result($q1,0,"filesize");
- $return[2]=mysql_result($q1,0,"filetype");
- endif;
- return($return);
-};
-
-
function makeIndent($x) {
$return="<IMG SRC=\"/gifs/spacer.gif\" ALT=\" \" WIDTH=8 HEIGHT=18
BORDER=0 ALIGN=top>";
$i=1;
@@ -180,7 +160,7 @@
* Threads the message headers
* if $mode=1, it's the moderator function
*/
- global $DBASE, $TABLE_MSGS, $ROOT_DIR, $ROOT_URL, $MOD_URL, $LIL_DOC_IMG;
+ global $DBASE, $TABLE_MSGS, $ROOT_DIR, $ROOT_URL, $MOD_URL;
global $BGCOLOR, $DATE_FORMAT,$jjj;
$query="select * from $TABLE_MSGS where parent=$parent and subgroup=$subgroup order by date
desc";
$q1=mysql_db_query($DBASE, $query);
@@ -205,9 +185,6 @@
endif;
echo "<A HREF=\"message.php?id=$id\">$subj</A>";
- if ($document!=0):
- echo " $LIL_DOC_IMG";
- endif;
echo "<BR></TD>\n";
if ($mode>=0):
@@ -244,7 +221,7 @@
/*
* Displays a message (!)
*/
- global $FONTFACE, $LIL_DOC_IMG, $DBASE;
+ global $FONTFACE, $DBASE;
global $TABLE_WIDTH, $TABLE_MSGS, $MSG_FRAME_COLOR, $MSG_FRAME_COLOR2, $MSG_TEXT_COLOR;
global $TEXT_COLOR1, $TEXT_COLOR2;
$FT1="<FONT FACE=\"$FONTFACE\" COLOR=\"$TEXT_COLOR1\"
SIZE=-1>";