From 7fe0bd128239c35120143654c97b0bce0f4ea997 Mon Sep 17 00:00:00 2001 From: marj Date: Thu, 23 Jul 2009 08:34:21 +0000 Subject: [PATCH] Trivial XHTML compliance --- cron.php | 10 +++++----- e107_handlers/cron_class.php | 6 +++--- e107_handlers/mail.php | 6 +++--- e107_handlers/pcltrace.lib.php | 4 ++-- e107_plugins/calendar_menu/subscribe.php | 8 ++++---- 5 files changed, 17 insertions(+), 17 deletions(-) diff --git a/cron.php b/cron.php index d53e5d0b2..4851e2d3c 100644 --- a/cron.php +++ b/cron.php @@ -12,9 +12,9 @@ | GNU General Public License (http://gnu.org). | | $Source: /cvs_backup/e107_0.8/cron.php,v $ -| $Revision: 1.2 $ -| $Date: 2009-07-14 05:31:57 $ -| $Author: e107coders $ +| $Revision: 1.3 $ +| $Date: 2009-07-23 08:34:20 $ +| $Author: marj_nl_fr $ +----------------------------------------------------------------------------+ */ @@ -73,7 +73,7 @@ foreach($list as $func=>$val) // echo "
Cron '$cron_str0' last due at: " . date('r', $cron->getLastRanUnix()) . "

"; // $cron->getLastRan() returns last due time in an array // print_a($cron->getLastRan()); -// echo "Debug:
" . nl2br($cron->getDebug()); +// echo "Debug:
" . nl2br($cron->getDebug()); /* $cron_str1 = "3 12 * * *"; if ($cron->calcLastRan($cron_str1)) @@ -85,7 +85,7 @@ else { echo "Error parsing"; } -echo "Debug:
" . nl2br($cron->getDebug()); +echo "Debug:
" . nl2br($cron->getDebug()); */ exit; diff --git a/e107_handlers/cron_class.php b/e107_handlers/cron_class.php index 54a2eeabe..404b9fcde 100644 --- a/e107_handlers/cron_class.php +++ b/e107_handlers/cron_class.php @@ -1,4 +1,4 @@ -calcLastRan($cron_str0); echo "Cron '$cron_str0' last due at: " . date('r', $cron->getLastRanUnix()) . "

"; // $cron->getLastRan() returns last due time in an array print_r($cron->getLastRan()); -echo "Debug:
" . nl2br($cron->getDebug()); +echo "Debug:
" . nl2br($cron->getDebug()); $cron_str1 = "3 12 * * *"; if ($cron->calcLastRan($cron_str1)) @@ -42,7 +42,7 @@ else { echo "Error parsing"; } -echo "Debug:
" . nl2br($cron->getDebug()); +echo "Debug:
" . nl2br($cron->getDebug()); *####################################################################################################### */ diff --git a/e107_handlers/mail.php b/e107_handlers/mail.php index ec1ff3fe3..42f1b7834 100644 --- a/e107_handlers/mail.php +++ b/e107_handlers/mail.php @@ -11,8 +11,8 @@ | GNU General Public License (http://gnu.org). | | $Source: /cvs_backup/e107_0.8/e107_handlers/mail.php,v $ -| $Revision: 1.11 $ -| $Date: 2009-07-19 11:44:28 $ +| $Revision: 1.12 $ +| $Date: 2009-07-23 08:34:20 $ | $Author: marj_nl_fr $ +----------------------------------------------------------------------------+ */ @@ -200,7 +200,7 @@ function sendemail($send_to, $subject, $message, $to_name, $send_from='', $from_ } if (!$mail->Send()) { - // echo "There has been a mail error sending to " . $row["email"] . "
"; + // echo "There has been a mail error sending to " . $row["email"] . "
"; return FALSE; // Clear all addresses and attachments for next loop $mail->ClearAddresses(); diff --git a/e107_handlers/pcltrace.lib.php b/e107_handlers/pcltrace.lib.php index cc9824cc2..8b71ece66 100644 --- a/e107_handlers/pcltrace.lib.php +++ b/e107_handlers/pcltrace.lib.php @@ -442,9 +442,9 @@ if (!defined("PCLTRACE_LIB")) for ($i=0; $i<$p_entry[index]; $i++) echo "---"; if ($p_entry[type] == 1) - echo "".$p_entry[name]."(".$p_entry[param].") : ".$p_entry[message]." [".$p_entry[file].", ".$p_entry[line]."]
"; + echo "".$p_entry[name]."(".$p_entry[param].") : ".$p_entry[message]." [".$p_entry[file].", ".$p_entry[line]."]
"; else if ($p_entry[type] == 2) - echo "".$p_entry[name]."()=".$p_entry[param]." : ".$p_entry[message]." [".$p_entry[file].", ".$p_entry[line]."]
"; + echo "".$p_entry[name]."()=".$p_entry[param]." : ".$p_entry[message]." [".$p_entry[file].", ".$p_entry[line]."]
"; else echo $p_entry[message]." [".$p_entry[file].", ".$p_entry[line]."]
"; } diff --git a/e107_plugins/calendar_menu/subscribe.php b/e107_plugins/calendar_menu/subscribe.php index 46b6ed1a4..bbaba7dfc 100644 --- a/e107_plugins/calendar_menu/subscribe.php +++ b/e107_plugins/calendar_menu/subscribe.php @@ -11,9 +11,9 @@ | GNU General Public License (http://gnu.org). | | $Source: /cvs_backup/e107_0.8/e107_plugins/calendar_menu/subscribe.php,v $ -| $Revision: 1.3 $ -| $Date: 2007-07-13 19:37:52 $ -| $Author: e107steved $ +| $Revision: 1.4 $ +| $Date: 2009-07-23 08:34:21 $ +| $Author: marj_nl_fr $ | +----------------------------------------------------------------------------+ */ @@ -42,7 +42,7 @@ if (isset($_POST['upsubs'])) $cal_inargs = "0,'" . USERID . "','" . $cal_row . "'"; $cal_db->db_Insert("event_subs", $cal_inargs); } - // print $cal_row . $cal_subs[$cal_row] . "
"; + // print $cal_row . $cal_subs[$cal_row] . "
"; } $caltext = "
" . EC_LAN_130 . "