aboutsummaryrefslogtreecommitdiffstats
path: root/month.php
diff options
context:
space:
mode:
authorChad Little <clittle@users.sourceforge.net>2002-10-02 19:06:09 +0000
committerChad Little <clittle@users.sourceforge.net>2002-10-02 19:06:09 +0000
commiteffb56bc908bd801bc752e3036141bdc72793b19 (patch)
tree73d2cf9dcaf737c35a57c42edb3bd331a508d59a /month.php
parent9c0fa2361097c68f21a8bb4665a535fb2dbe95c1 (diff)
downloadphpicalendar-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.php27
1 files changed, 6 insertions, 21 deletions
diff --git a/month.php b/month.php
index a4fc2a2..2e83748 100644
--- a/month.php
+++ b/month.php
@@ -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>

© 2014-2024 Faster IT GmbH | imprint | privacy policy