aboutsummaryrefslogtreecommitdiffstats
path: root/functions
diff options
context:
space:
mode:
authorGreg Westin <westin@users.sourceforge.net>2004-02-05 07:06:11 +0000
committerGreg Westin <westin@users.sourceforge.net>2004-02-05 07:06:11 +0000
commitad86114448a49bbf132b36b4a1cfbab9628f328c (patch)
tree9f7a39832be4f537c8d532181da9d5805ab71159 /functions
parent30027f73164beba826a969f7dc9e9ebd2cd15b8e (diff)
downloadphpicalendar-ad86114448a49bbf132b36b4a1cfbab9628f328c.tar.gz
phpicalendar-ad86114448a49bbf132b36b4a1cfbab9628f328c.tar.bz2
phpicalendar-ad86114448a49bbf132b36b4a1cfbab9628f328c.zip
Cleaned up code, checking with the W3C HTML validator.
Diffstat (limited to 'functions')
-rw-r--r--functions/list_functions.php4
-rw-r--r--functions/template.php6
2 files changed, 5 insertions, 5 deletions
diff --git a/functions/list_functions.php b/functions/list_functions.php
index 1875bf9..170daa5 100644
--- a/functions/list_functions.php
+++ b/functions/list_functions.php
@@ -14,7 +14,7 @@ function list_jumps() {
function list_calcolors() {
global $template, $master_array;
foreach ($master_array[-3] as $key => $val) {
- $return .= '<img src="templates/'.$template.'/images/monthdot_'.$key.'.gif"> '.$val.'<br>';
+ $return .= '<img src="templates/'.$template.'/images/monthdot_'.$key.'.gif" alt="" /> '.$val.'<br>';
}
return $return;
@@ -114,4 +114,4 @@ function list_languages() {
}
-?> \ No newline at end of file
+?>
diff --git a/functions/template.php b/functions/template.php
index acd7861..e7bc7f1 100644
--- a/functions/template.php
+++ b/functions/template.php
@@ -122,7 +122,7 @@ class Page {
if ($type == 'large') {
$switch['ALLDAY'] .= '<div class="V10"><img src="templates/'.$template.'/images/monthdot_'.$calno.'.gif" alt="" width="9" height="9" border="0">';
$switch['ALLDAY'] .= openevent($event_calna, '', '', $val, $month_event_lines, 15, '', '', 'psf', $event_url);
- $switch['ALLDAY'] .= '</span></div>';
+ $switch['ALLDAY'] .= '</div>';
} else {
$switch['ALLDAY'] .= '<img src="templates/'.$template.'/images/allday_dot.gif" alt=" " width="11" height="10" border="0">';
}
@@ -135,7 +135,7 @@ class Page {
if ($type == 'large') {
$switch['EVENT'] .= '<div class="V9"><img src="templates/'.$template.'/images/monthdot_'.$calno.'.gif" alt="" width="9" height="9" border="0">';
$switch['EVENT'] .= openevent($event_calna, $event_start, $event_end, $val, $month_event_lines, 10, "$start2 ", '', 'ps3', $event_url).'<br>';
- $switch['EVENT'] .= '</span></div>';
+ $switch['EVENT'] .= '</div>';
} else {
$switch['EVENT'] = '<img src="templates/'.$template.'/images/event_dot.gif" alt=" " width="11" height="10" border="0">';
}
@@ -299,4 +299,4 @@ class Page {
print($this->page);
}
}
-?> \ No newline at end of file
+?>

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