/[dolibarr]/dolibarr/htdocs/compta/pmt.php
ViewVC logotype

Diff of /dolibarr/htdocs/compta/pmt.php

Parent Directory Parent Directory | Revision Log Revision Log | View Patch Patch

revision 1.7 by eldy, Sat Oct 23 17:01:20 2004 UTC revision 1.8 by eldy, Sat Sep 17 00:53:50 2005 UTC
# Line 106  $cmonth = date("n", time()); Line 106  $cmonth = date("n", time());
106  print "<select name=\"pmonth\">";      print "<select name=\"pmonth\">";    
107  for ($month = 1 ; $month <= 12 ; $month++) {  for ($month = 1 ; $month <= 12 ; $month++) {
108    if ($month == $cmonth) {    if ($month == $cmonth) {
109      print "<option value=\"$month\" SELECTED>" . $strmonth[$month];      print "<option value=\"$month\" selected=\"true\">" . $strmonth[$month];
110    } else {    } else {
111      print "<option value=\"$month\">" . $strmonth[$month];      print "<option value=\"$month\">" . $strmonth[$month];
112    }    }
# Line 116  print "</select>"; Line 116  print "</select>";
116  print "<select name=\"pyear\">";  print "<select name=\"pyear\">";
117  $syear = date("Y", time() ) ;  $syear = date("Y", time() ) ;
118  print "<option value=\"".($syear-1)."\">".($syear-1);  print "<option value=\"".($syear-1)."\">".($syear-1);
119  print "<option value=\"$syear\" SELECTED>$syear";  print "<option value=\"$syear\" selected=\"true\">$syear";
120    
121  for ($year = $syear +1 ; $year < $syear + 5 ; $year++) {  for ($year = $syear +1 ; $year < $syear + 5 ; $year++) {
122    print "<option value=\"$year\">$year";    print "<option value=\"$year\">$year";

Legend:
Removed from v.1.7  
changed lines
  Added in v.1.8

savannah-hackers-public@gnu.org
ViewVC Help
Powered by ViewVC 1.1.26