[geeklog-cvs] geeklog-1.3/public_html submit.php,1.65,1.65.2.1
vinny at iowaoutdoors.org
vinny at iowaoutdoors.org
Mon May 31 15:37:12 EDT 2004
Update of /var/cvs/geeklog-1.3/public_html
In directory www:/tmp/cvs-serv4494
Modified Files:
Tag: geeklog_1_3_9_1
submit.php
Log Message:
Fixed speedlimit problem with submit.php (speed limit not being checked on
submission)
Index: submit.php
===================================================================
RCS file: /var/cvs/geeklog-1.3/public_html/submit.php,v
retrieving revision 1.65
retrieving revision 1.65.2.1
diff -C2 -d -r1.65 -r1.65.2.1
*** submit.php 28 Feb 2004 11:02:14 -0000 1.65
--- submit.php 31 May 2004 19:37:10 -0000 1.65.2.1
***************
*** 455,458 ****
--- 455,472 ----
global $_CONF, $_TABLES, $_USER, $LANG12;
+ COM_clearSpeedlimit ($_CONF['speedlimit'], 'submit');
+
+ $last = COM_checkSpeedlimit ('submit');
+
+ if ($last > 0) {
+ $retval .= COM_startBlock ($LANG12[26], '',
+ COM_getBlockTemplate ('_msg_block', 'header'))
+ . $LANG12[30]
+ . $last
+ . $LANG12[31]
+ . COM_endBlock (COM_getBlockTemplate ('_msg_block', 'footer'));
+ return $retval;
+ }
+
switch ($type) {
case 'link':
More information about the geeklog-cvs
mailing list