Update of /cvsroot/phpslash/phpslash-dev/include/modules/submission
In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv21728/phpslash-dev/include/modules/submission
Modified Files:
index.php
Log Message:
submission fixes for jpcache and session.
Index: index.php
===================================================================
RCS file: /cvsroot/phpslash/phpslash-dev/include/modules/submission/index.php,v
retrieving revision 1.4
retrieving revision 1.5
diff -C2 -d -r1.4 -r1.5
*** index.php 9 Jun 2003 19:10:18 -0000 1.4
--- index.php 16 Nov 2004 18:12:50 -0000 1.5
***************
*** 13,17 ****
$ary_post = clean($HTTP_POST_VARS);
}
!
if (!empty($ary_post['cookie'])) {
$submission_name = $ary_post['name'];
--- 13,18 ----
$ary_post = clean($HTTP_POST_VARS);
}
! /*
! TODO - 2004-11-16 - jvs - remove?
if (!empty($ary_post['cookie'])) {
$submission_name = $ary_post['name'];
***************
*** 20,24 ****
$sess->register("submission_email");
}
!
$content = '';
--- 21,25 ----
$sess->register("submission_email");
}
! */
$content = '';
***************
*** 38,44 ****
// send email for new submission.
if ($_PSL['submitnotify']) {
! $ary['tpl'] = "emailNotifySubmission";
! $ary['vars'] = $HTTP_POST_VARS;
! $success = emailNotify($ary);
}
} else {
--- 39,45 ----
// send email for new submission.
if ($_PSL['submitnotify']) {
! $notify_ary['tpl'] = "emailNotifySubmission";
! $notify_ary['vars'] = $HTTP_POST_VARS;
! $success = emailNotify($notify_ary);
}
} else {
|