Project

General

Profile

« Previous | Next » 

Revision 2642

Added by sgarg about 19 years ago

Fix for bug# 2220

View differences:

lib/style/common/templates/entryForm.tmpl
1426 1426
  <tr class="sectheader"><td colspan="5" align="left"><span class="label">
1427 1427
  TEMPORAL COVERAGE OF DATA&nbsp;</span><a href="@cgi-prefix@/register-dataset.cgi?cfg=[%cfg%]&amp;stage=guide#TemporalCoverageOfData"
1428 1428
   target="guide"><span class="smalltext">(What's this?)</span></a></td>
1429
   <td class="rightCol"><span><a onClick="temporalBit=swap(event, 'temporalTable', temporalBit)" style="cursor:pointer">Hide</a></span></td>
1429
   <td class="rightCol"e<span><a onClick="temporalBit=swap(event, 'temporalTable', temporalBit)" style="cursor:pointer">Hide</a></span></td>
1430 1430
   </tr>
1431 1431
   </table>
1432 1432
   
......
1446 1446
          [% ELSE %]
1447 1447
		<span class="label">Year (yyyy)</span>
1448 1448
	  [% END %]</td>
1449
	<td align="left" style="width:15%"><input type="TEXT" name="beginningYear" value="[%beginningYear%]" size="8" maxlength="4"></td>
1450
        <td class="rightCol"><span class="label">Year (yyyy)</span></td>
1451
	<td align="left"><input type="TEXT" name="endingYear" value="[%endingYear%]" size="8" maxlength="4"></td>
1452
        <td colspan="3"></td>
1449
		<td align="left" style="width:15%"><input type="TEXT" name="beginningYear" value="[%beginningYear%]" size="8" maxlength="4"></td>
1450
        	<td class="rightCol"><span class="label">Year (yyyy)</span></td>
1451
		<td align="left"><input type="TEXT" name="endingYear" value="[%endingYear%]" size="8" maxlength="4"></td>
1452
        	<td colspan="3"></td>
1453 1453
      </tr>
1454 1454
          
1455 1455
	  
1456 1456
	<tr class="sectbody">
1457 1457
	  <td class="rightCol">
1458
	  [% IF temporalRequired == 'true' %]
1458
          <!-- from eml-2.0.1, it is not required to make month and day required -->
1459
	  <!-- [% IF temporalRequired == 'true' %]
1459 1460
	        <span class="label">*Month</span>
1460 1461
          [% ELSE %]
1461 1462
		<span class="label">Month</span>
1462
	  [% END %]</td>
1463
	  [% END %]-->
1464
	  <span class="label">Month</span>
1465
          </td>
1463 1466
	  <td align="left"><select name="beginningMonth">
1464 1467
	    [% IF form == 're_entry' && beginningMonth != ""%]
1465 1468
	    	<option selected>[%beginningMonth%]</option>
1466 1469
	    [% END %]
1467
            <option>00</option>            <option>01</option>            <option>02</option>            <option>03</option>
1470
            <option>MM</option>            <option>01</option>            <option>02</option>            <option>03</option>
1468 1471
            <option>04</option>            <option>05</option>            <option>06</option>            <option>07</option>
1469 1472
            <option>08</option>            <option>09</option>            <option>10</option>            <option>11</option>
1470 1473
            <option>12</option>
......
1475 1478
	    [% IF form == 're_entry' && endingMonth != ""%]
1476 1479
	    	<option selected>[%endingMonth%]</option>
1477 1480
	    [% END %]
1478
            <option>00</option>            <option>01</option>            <option>02</option>            <option>03</option>
1481
            <option>MM</option>            <option>01</option>            <option>02</option>            <option>03</option>
1479 1482
            <option>04</option>            <option>05</option>            <option>06</option>            <option>07</option>
1480 1483
            <option>08</option>            <option>09</option>            <option>10</option>            <option>11</option>
1481 1484
            <option>12</option>
......
1483 1486
	 	  
1484 1487
   <tr class="sectbody">
1485 1488
	  <td class="rightCol"> 
1486
          [% IF temporalRequired == 'true' %]
1489
          <!--[% IF temporalRequired == 'true' %]
1487 1490
        	  <span class="label">*Day</span>
1488 1491
          [% ELSE %]
1489 1492
	          <span class="label">Day</span>
1490
	  [% END %]</td>
1493
	  [% END %]-->
1494
	          <span class="label">Day</span>
1495
	  </td>
1491 1496
	  
1492 1497
	  <td align="left"><select name="beginningDay">
1493 1498
	    [% IF form == 're_entry' && beginningDay != ""%]
1494 1499
	    	<option selected>[%beginningDay%]</option>
1495 1500
	    [% END %]
1496
            <option>00</option>            <option>01</option>            <option>02</option>            <option>03</option>
1501
            <option>DD</option>            <option>01</option>            <option>02</option>            <option>03</option>
1497 1502
            <option>04</option>            <option>05</option>            <option>06</option>            <option>07</option>
1498 1503
            <option>08</option>            <option>09</option>            <option>10</option>            <option>11</option>
1499 1504
            <option>12</option>            <option>13</option>            <option>14</option>            <option>15</option>
......
1508 1513
	    [% IF form == 're_entry' && endingDay != ""%]
1509 1514
	    	<option selected>[%endingDay%]</option>
1510 1515
	    [% END %]
1511
            <option>00</option>            <option>01</option>            <option>02</option>            <option>03</option>
1516
            <option>DD</option>            <option>01</option>            <option>02</option>            <option>03</option>
1512 1517
            <option>04</option>            <option>05</option>            <option>06</option>            <option>07</option>
1513 1518
            <option>08</option>            <option>09</option>            <option>10</option>            <option>11</option>
1514 1519
            <option>12</option>            <option>13</option>            <option>14</option>            <option>15</option>

Also available in: Unified diff