Update of /cvsroot/phpmychat/phpMyChat-0.15/chat/lib/index_libs
In directory usw-pr-cvs1:/tmp/cvs-serv31726/chat/lib/index_libs
Modified Files:
main_index.lib.php3
Log Message:
The 'autocomplete' param. of the form was skipping the user's choice, so it has been removed. Also the 'do_enter_js_work' library is now included only if the browser support js
Index: main_index.lib.php3
===================================================================
RCS file: /cvsroot/phpmychat/phpMyChat-0.15/chat/lib/index_libs/main_index.lib.php3,v
retrieving revision 1.25
retrieving revision 1.26
diff -C2 -r1.25 -r1.26
*** main_index.lib.php3 2001/04/28 21:04:20 1.25
--- main_index.lib.php3 2001/04/29 08:16:26 1.26
***************
*** 396,401 ****
<?php
// Gets the JavaScript instructions
! echo("\n");
! include('./' . _CHAT_PATH . 'lib/index_libs/do_enter_js_work.lib.' . C_EXTENSION);
echo("\n");
?>
--- 396,404 ----
<?php
// Gets the JavaScript instructions
! if ($dbSessionVars['jsVersion'] != 'noJs')
! {
! echo("\n");
! include('./' . _CHAT_PATH . 'lib/index_libs/do_enter_js_work.lib.' . C_EXTENSION);
! }
echo("\n");
?>
***************
*** 602,606 ****
<!-- The main form -->
! <form action="<?php echo($action); ?>" method="post" autocomplete="off" name="startingForm" onsubmit="pmcDefineVerField(); return pmcIndexValidate(<?php echo(C_REQUIRE_REGISTER); ?>);">
<?php
// Put the session id in an hidden field
--- 605,609 ----
<!-- The main form -->
! <form action="<?php echo($action); ?>" method="post" name="startingForm" onsubmit="pmcDefineVerField(); return pmcIndexValidate(<?php echo(C_REQUIRE_REGISTER); ?>);">
<?php
// Put the session id in an hidden field
|