Project

General

Profile

Revision 2146

Added by sgarg over 16 years ago

Made changes to fix bug# 1388.

Replaced text field with drop down menu which lists all months and days.

View differences:

lib/style/common/templates/entryForm.tmpl
685 685
      </td>
686 686
      <td width="33%" valign="TOP"> 
687 687
        <p><font size="-1"> 
688
          <input type="TEXT" name="beginningMonth" value="[%beginningMonth%]" size="4" maxlength="2">
689
          <b><font color="#b00000">Month(MM)</font></b></font></p>
688
          <select name="beginningMonth">
689
	    [% IF form == 're_entry' %]
690
	    	<option selected>[%beginningMonth%]</option>
691
	    [% END %]
692
            <option>00</option>            <option>01</option>            <option>02</option>            <option>03</option>
693
            <option>04</option>            <option>05</option>            <option>06</option>            <option>07</option>
694
            <option>08</option>            <option>09</option>            <option>10</option>            <option>11</option>
695
            <option>12</option>
696
          </select>
697
          <b><font color="#b00000">Month (MM)</font></b></font></p>
698
	</font></p>
690 699
      </td>
691 700
      <td width="33%" valign="TOP"> 
692
        <p><font size="-1"> 
693
          <input type="TEXT" name="beginningDay" value="[%beginningDay%]" size="4" maxlength="2">
701
        <p><font size="-1">
702
          <select name="beginningDay">
703
	    [% IF form == 're_entry' %]
704
	    	<option selected>[%beginningDay%]</option>
705
	    [% END %]
706
            <option>00</option>            <option>01</option>            <option>02</option>            <option>03</option>
707
            <option>04</option>            <option>05</option>            <option>06</option>            <option>07</option>
708
            <option>08</option>            <option>09</option>            <option>10</option>            <option>11</option>
709
            <option>12</option>            <option>13</option>            <option>14</option>            <option>15</option>
710
            <option>16</option>            <option>17</option>            <option>18</option>            <option>19</option>
711
            <option>20</option>            <option>21</option>            <option>22</option>            <option>23</option>
712
            <option>24</option>            <option>25</option>            <option>26</option>            <option>27</option>
713
            <option>28</option>            <option>29</option>            <option>30</option>            <option>31</option>
714
          </select>
694 715
          <b><font color="#b00000">Day (DD)</font></b></font></p>
716
	</font></p>
695 717
      </td>
696 718
    </tr>
697 719
    <tr> 
......
708 730
      </td>
709 731
      <td width="33%" valign="TOP"> 
710 732
        <p><font size="-1"> 
711
          <input type="TEXT" name="endingMonth" value="[%endingMonth%]" size="4" maxlength="2">
712
          <b>Month(MM)</b></font></p>
733
          <select name="endingMonth">
734
	    [% IF form == 're_entry' %]
735
	    	<option selected>[%endingMonth%]</option>
736
	    [% END %]
737
            <option>00</option>            <option>01</option>            <option>02</option>            <option>03</option>
738
            <option>04</option>            <option>05</option>            <option>06</option>            <option>07</option>
739
            <option>08</option>            <option>09</option>            <option>10</option>            <option>11</option>
740
            <option>12</option>
741
          </select>
742
          <b>Month (MM)</b>
743
	</font></p>
713 744
      </td>
714 745
      <td width="33%" valign="TOP"> 
715 746
        <p><font size="-1"> 
716
          <input type="TEXT" name="endingDay" value="[%endingDay%]" size="4" maxlength="2">
717
          <b>Day (DD)</b></font></p>
747
          <select name="endingDay">
748
	    [% IF form == 're_entry' %]
749
	    	<option selected>[%endingDay%]</option>
750
	    [% END %]
751
            <option>00</option>            <option>01</option>            <option>02</option>            <option>03</option>
752
            <option>04</option>            <option>05</option>            <option>06</option>            <option>07</option>
753
            <option>08</option>            <option>09</option>            <option>10</option>            <option>11</option>
754
            <option>12</option>            <option>13</option>            <option>14</option>            <option>15</option>
755
            <option>16</option>            <option>17</option>            <option>18</option>            <option>19</option>
756
            <option>20</option>            <option>21</option>            <option>22</option>            <option>23</option>
757
            <option>24</option>            <option>25</option>            <option>26</option>            <option>27</option>
758
            <option>28</option>            <option>29</option>            <option>30</option>            <option>31</option>
759
          </select>
760
          <b>Day (DD)</b>
718 761
      </td>
719 762
    </tr>
720 763
  </table>

Also available in: Unified diff