[geeklog-cvs] geeklog-1.3/public_html submit.php,1.49,1.50

dhaun at geeklog.net dhaun at geeklog.net
Wed Mar 19 11:05:37 EST 2003


Update of /usr/cvs/geeklog/geeklog-1.3/public_html
In directory internal.geeklog.net:/tmp/cvs-serv6697

Modified Files:
	submit.php 
Log Message:
Pick up the $_CONF['comment_code'] setting when the story submission queue is off.


Index: submit.php
===================================================================
RCS file: /usr/cvs/geeklog/geeklog-1.3/public_html/submit.php,v
retrieving revision 1.49
retrieving revision 1.50
diff -C2 -d -r1.49 -r1.50
*** submit.php	29 Jan 2003 17:08:52 -0000	1.49
--- submit.php	19 Mar 2003 16:05:35 -0000	1.50
***************
*** 5,17 ****
  // | Geeklog 1.3                                                               |
  // +---------------------------------------------------------------------------+
! // | lib-common.php                                                            |
! // | Geeklog common library.                                                   |
  // |                                                                           |
  // +---------------------------------------------------------------------------+
! // | Copyright (C) 2000,2001 by the following authors:                         |
  // |                                                                           |
! // | Authors: Tony Bibbs       - tony at tonybibbs.com                            |
! // |          Mark Limburg     - mlimburg at users.sourceforge.net                |
! // |          Jason Wittenburg - jwhitten at securitygeeks.com                    |
  // +---------------------------------------------------------------------------+
  // |                                                                           |
--- 5,18 ----
  // | Geeklog 1.3                                                               |
  // +---------------------------------------------------------------------------+
! // | submit.php                                                                |
  // |                                                                           |
+ // | Let users submit stories, links, and events.                              |
  // +---------------------------------------------------------------------------+
! // | Copyright (C) 2000-2003 by the following authors:                         |
  // |                                                                           |
! // | Authors: Tony Bibbs        - tony at tonybibbs.com                           |
! // |          Mark Limburg      - mlimburg at users.sourceforge.net               |
! // |          Jason Whittenburg - jwhitten at securitygeeks.com                   |
! // |          Dirk Haun         - dirk at haun-online.de                          |
  // +---------------------------------------------------------------------------+
  // |                                                                           |
***************
*** 698,702 ****
                  $T = DB_fetchArray ($result);
                  $related = addslashes (COM_whatsRelated ($introtext, $_USER['uid'], $A['tid']));
!                 DB_save ($_TABLES['stories'], 'sid,uid,tid,title,introtext,related,date,postmode,owner_id,group_id,perm_owner,perm_group,perm_members,perm_anon', "{$A["sid"]},{$_USER['uid']},'{$A["tid"]}','{$A['title']}','{$A["introtext"]}','{$related}',NOW(),'{$A["postmode"]}',{$_USER['uid']},{$T['group_id']},{$T['perm_owner']},{$T['perm_group']},{$T['perm_members']},{$T['perm_anon']}");
                  if (isset ($_CONF['notification']) && in_array ('story', $_CONF['notification'])) {
                      $A['uid'] = $_USER['uid'];
--- 699,703 ----
                  $T = DB_fetchArray ($result);
                  $related = addslashes (COM_whatsRelated ($introtext, $_USER['uid'], $A['tid']));
!                 DB_save ($_TABLES['stories'], 'sid,uid,tid,title,introtext,related,date,commentcode,postmode,owner_id,group_id,perm_owner,perm_group,perm_members,perm_anon', "{$A["sid"]},{$_USER['uid']},'{$A["tid"]}','{$A['title']}','{$A["introtext"]}','{$related}',NOW(),{$_CONF['comment_code']},'{$A["postmode"]}',{$_USER['uid']},{$T['group_id']},{$T['perm_owner']},{$T['perm_group']},{$T['perm_members']},{$T['perm_anon']}");
                  if (isset ($_CONF['notification']) && in_array ('story', $_CONF['notification'])) {
                      $A['uid'] = $_USER['uid'];





More information about the geeklog-cvs mailing list