From: Alan Pippin <apippin@pippins.net> Date: Mon, 11 Oct 2010 18:32:49 +0000 (-0600) Subject: Fixed form bug exposed by IE related to not saving pri/notes properly. X-Git-Tag: release_1_1_0~6^2~4 X-Git-Url: http://git.pippins.net/%27%20%20%20%20.%20%24GLOBALS%5B%27phpgw%27%5D-%3Elink%28%27inc/jquery/images/%7Badd%7D?a=commitdiff_plain;h=e5086ad471f964105838ad01cc3d0214f5521e35;p=eq%2F.git Fixed form bug exposed by IE related to not saving pri/notes properly. --- diff --git a/inc/class.tc.inc.php b/inc/class.tc.inc.php index 5818197..f07b9b9 100644 --- a/inc/class.tc.inc.php +++ b/inc/class.tc.inc.php @@ -1507,6 +1507,8 @@ class tc $this->t->set_var('appt_table_data',$appt_table_data); $this->t->set_var('appt_header_row',$appt_header_row); $this->t->set_var('appt_table_width',$appt_table_width); + $this->t->set_var('lang_save','Save Appts for ' . $presidency_name); + $this->t->fp('apptlist','appt_list',True); } @@ -1616,6 +1618,7 @@ class tc $this->t->set_var('completed_header_row',$completed_header_row); $this->t->set_var('completed_table_width',$completed_table_width); $this->t->set_var('completed',$completed_data); + $this->t->set_var('lang_save','Save Pri / Notes'); $this->t->fp('indivlist','individual_list',True); $indivs_width=300; $totals_width=100; diff --git a/templates/default/ppi_sched.tpl b/templates/default/ppi_sched.tpl index 0fc65bf..191a9a2 100644 --- a/templates/default/ppi_sched.tpl +++ b/templates/default/ppi_sched.tpl @@ -1,5 +1,4 @@ <center> - <form action="{actionurl}" method="POST"> <table border="0" width="{table_width}" cellspacing="2" cellpadding="2"> <tr> <td align="center" bgcolor="#c9c9c9"><font face="{font}"><b>{title}</b></font></td> @@ -11,11 +10,10 @@ <a href="{schedule_ppi_link}">{schedule_ppi_link_title}</a> <br><br> - +<hr> <!-- BEGIN appt_list --> <form action="{actionurl}" method="POST"> <input type=hidden name=presidency_location value={presidency_location}> - <hr> <table border="0" width="{appt_table_width}" cellspacing="2" cellpadding="2"> <tr> <td align="center" bgcolor="#c9c9c9" colspan=20> @@ -34,14 +32,22 @@ <font face="{font}"><input type="submit" name="save" value="{lang_save}"></font> <font face="{font}"><input type="reset" name="reset" value="{lang_reset}"></font> - </form> </td> </tr> </table> + </form> <!-- END appt_list --> - +<hr> <!-- BEGIN individual_list --> + <form action="{actionurl}" method="POST"> <table border="0" width="{table_width}" cellspacing="2" cellpadding="2"> + <tr> + <td colspan=5 height="50" align="right"> + <font face="{font}"><input type="submit" name="save" value="{lang_save}"></font> + + <font face="{font}"><input type="reset" name="reset" value="{lang_reset}"></font> + </td> + </tr> <tr> <td align="center" bgcolor="#c9c9c9" colspan=20> <font face="{font}"><b>{table_title}</b></font> @@ -56,10 +62,10 @@ <font face="{font}"><input type="submit" name="save" value="{lang_save}"></font> <font face="{font}"><input type="reset" name="reset" value="{lang_reset}"></font> - </form> </td> </tr> </table> + </form> <!-- END individual_list --> <hr> <table border="0" width="{completed_table_width}" cellspacing="2" cellpadding="2">