diff options
author | Chad Little <clittle@users.sourceforge.net> | 2002-10-02 19:06:09 +0000 |
---|---|---|
committer | Chad Little <clittle@users.sourceforge.net> | 2002-10-02 19:06:09 +0000 |
commit | effb56bc908bd801bc752e3036141bdc72793b19 (patch) | |
tree | 73d2cf9dcaf737c35a57c42edb3bd331a508d59a /month.php | |
parent | 9c0fa2361097c68f21a8bb4665a535fb2dbe95c1 (diff) | |
download | phpicalendar-effb56bc908bd801bc752e3036141bdc72793b19.tar.gz phpicalendar-effb56bc908bd801bc752e3036141bdc72793b19.tar.bz2 phpicalendar-effb56bc908bd801bc752e3036141bdc72793b19.zip |
First pass at 0.6 language support, need Jared to wire month to support start day of week.
Diffstat (limited to 'month.php')
-rw-r--r-- | month.php | 27 |
1 files changed, 6 insertions, 21 deletions
@@ -55,27 +55,12 @@ <td colspan="7" width="735"><img src="images/spacer.gif" width="735" height="1" alt=""></td> </tr> <tr> - <td valign="top" width="105" height="12" bgcolor="#eeeeee" class="V9"> - <center><b>Sunday</b></center> - </td> - <td valign="top" width="105" height="12" bgcolor="#eeeeee" class="V9"> - <center><b>Monday</b></center> - </td> - <td valign="top" width="105" height="12" bgcolor="#eeeeee" class="V9"> - <center><b>Tuesday</b></center> - </td> - <td valign="top" width="105" height="12" bgcolor="#eeeeee" class="V9"> - <center><b>Wednesday</b></center> - </td> - <td valign="top" width="105" height="12" bgcolor="#eeeeee" class="V9"> - <center><b>Thursday</b></center> - </td> - <td valign="top" width="105" height="12" bgcolor="#eeeeee" class="V9"> - <center><b>Friday</b></center> - </td> - <td valign="top" width="105" height="12" bgcolor="#eeeeee" class="V9"> - <center><b>Saturday</b></center> - </td> + <?php + // Runs through the days of the week, should use array_push or pop to set correct beginning day. ? + foreach ($daysofweek_lang as $daysofweek) { + echo "<td valign=\"top\" width=\"105\" height=\"12\" bgcolor=\"#eeeeee\" class=\"V9\"><center><b>$daysofweek</b></center></td>"; + } + ?> </tr> <tr> <td width="105"><img src="images/spacer.gif" width="105" height="1" alt=""></td> |