diff options
author | fenner <fenner> | 2002-11-27 21:13:19 +0000 |
---|---|---|
committer | fenner <fenner> | 2002-11-27 21:13:19 +0000 |
commit | ad4b3af658ce9906a192164bdb4e00ad4f8acb39 (patch) | |
tree | 836f0f79abf1a85239b91324f8b0a6a27966bd27 /functions | |
parent | 4494119c693eda9bef34f329b8a83725bcbd86ca (diff) | |
download | phpicalendar-ad4b3af658ce9906a192164bdb4e00ad4f8acb39.tar.gz phpicalendar-ad4b3af658ce9906a192164bdb4e00ad4f8acb39.tar.bz2 phpicalendar-ad4b3af658ce9906a192164bdb4e00ad4f8acb39.zip |
Some HTML validator cleanups:
- Use & instead of & in URLs
- Use valign="middle" instead of valign="center"
- Add type="text/javascript" to <script>
Diffstat (limited to 'functions')
-rw-r--r-- | functions/error.php | 2 | ||||
-rw-r--r-- | functions/event.js | 4 | ||||
-rw-r--r-- | functions/todo.js | 2 |
3 files changed, 4 insertions, 4 deletions
diff --git a/functions/error.php b/functions/error.php index 8b5b914..d0faefd 100644 --- a/functions/error.php +++ b/functions/error.php @@ -34,7 +34,7 @@ function error($error_msg='There was an error processing the request.', $file='N <table width="100%" border="0" cellspacing="0" cellpadding="0" class="G10B"> <tr> <td align="left" valign="top" width="1%" class="sideback"><img src="images/spacer.gif" width="1" height="20"></td> - <td align="center" valign="center" width="98%" class="sideback"><b><?php echo $error_window_lang; ?></b></td> + <td align="center" valign="middle" width="98%" class="sideback"><b><?php echo $error_window_lang; ?></b></td> <td class="sideback" width="1%"></td> </tr> </table> diff --git a/functions/event.js b/functions/event.js index 59e762d..12f7b74 100644 --- a/functions/event.js +++ b/functions/event.js @@ -1,4 +1,4 @@ -<script language="JavaScript"> +<script language="JavaScript" type="text/javascript"> <!-- function openEventInfo(event, calendarname, start, end, description) { @@ -19,4 +19,4 @@ } //--> -</script>
\ No newline at end of file +</script> diff --git a/functions/todo.js b/functions/todo.js index 29a782a..e9f6c3b 100644 --- a/functions/todo.js +++ b/functions/todo.js @@ -1,5 +1,5 @@ -<script language="JavaScript">
+<script language="JavaScript" type="text/javascript">
<!--
function openTodoInfo(vtodo, calendarname, start, due, description, status, priority)
{
|