From: <guy...@us...> - 2003-08-25 04:14:54
|
Update of /cvsroot/outreach/opt/e-mails/email_search In directory sc8-pr-cvs1:/tmp/cvs-serv28819/e-mails/email_search Modified Files: index.php people_dates_form.inc Log Message: Use of multiple forms on timesheets, request search, and email search make the default behavior seen when hitting the enter key to submit a form more user friendly. Index: index.php =================================================================== RCS file: /cvsroot/outreach/opt/e-mails/email_search/index.php,v retrieving revision 1.1 retrieving revision 1.2 diff -C2 -d -r1.1 -r1.2 *** index.php 20 Jun 2003 18:54:53 -0000 1.1 --- index.php 25 Aug 2003 04:14:51 -0000 1.2 *************** *** 90,95 **** <script language="JavaScript" src="../../tasks/task/ts_picker.js"></script> - <form name="search" action="results.php" method="GET" style="margin:0;"> - <input type="hidden" name="proj" value="<? echo($proj); ?>" /> <? startTables(); // Field for jumping directly to a specific request --- 90,93 ---- *************** *** 102,105 **** --- 100,105 ---- <tr> <td class="regular" align="left" bgcolor="<? echo $OPT_col_lt; ?>"> + <form name="search" action="results.php" method="GET" style="margin:0;"> + <input type="hidden" name="proj" value="<? echo($proj); ?>" /> Subject: <select name="quick_search_type"> *************** *** 112,115 **** --- 112,116 ---- <input name="quick_search_title" size="50" value=""> <input type="submit" name="quick_search" value="Search"> + </form> </td> </tr> *************** *** 118,121 **** --- 119,126 ---- endTables(); echo("<br />"); + ?> + <form name="search" action="results.php" method="GET" style="margin:0;"> + <input type="hidden" name="proj" value="<? echo($proj); ?>" /> + <? startTables(); ?> Index: people_dates_form.inc =================================================================== RCS file: /cvsroot/outreach/opt/e-mails/email_search/people_dates_form.inc,v retrieving revision 1.1 retrieving revision 1.2 diff -C2 -d -r1.1 -r1.2 *** people_dates_form.inc 20 Jun 2003 18:54:53 -0000 1.1 --- people_dates_form.inc 25 Aug 2003 04:14:51 -0000 1.2 *************** *** 91,98 **** <td nowrap> <input type='text' name='sent_date_start' value='<?echo($sent_date_start)?>' size='12'> ! <a href="javascript:show_calendar('document.forms[0].sent_date_start', document.forms[0].sent_date_start.value);"><img src="../../images/cal.gif" width="16" height="16" border="0" alt="Click Here to Pick Start"></a> and <input type='text' name='sent_date_end' value='<?echo($sent_date_end)?>' size='12'> ! <a href="javascript:show_calendar('document.forms[0].sent_date_end', document.forms[0].sent_date_end.value);"><img src="../../images/cal.gif" width="16" height="16" border="0" alt="Click Here to Pick End"></a> </td> </tr> --- 91,98 ---- <td nowrap> <input type='text' name='sent_date_start' value='<?echo($sent_date_start)?>' size='12'> ! <a href="javascript:show_calendar('document.forms[1].sent_date_start', document.forms[1].sent_date_start.value);"><img src="../../images/cal.gif" width="16" height="16" border="0" alt="Click Here to Pick Start"></a> and <input type='text' name='sent_date_end' value='<?echo($sent_date_end)?>' size='12'> ! <a href="javascript:show_calendar('document.forms[1].sent_date_end', document.forms[1].sent_date_end.value);"><img src="../../images/cal.gif" width="16" height="16" border="0" alt="Click Here to Pick End"></a> </td> </tr> |