1
0
mirror of https://github.com/e107inc/e107.git synced 2025-08-04 13:47:31 +02:00

Trivial XHTML compliance

This commit is contained in:
marj
2009-07-23 08:34:21 +00:00
parent c8e8cd6b42
commit 7fe0bd1282
5 changed files with 17 additions and 17 deletions

View File

@@ -12,9 +12,9 @@
| GNU General Public License (http://gnu.org). | GNU General Public License (http://gnu.org).
| |
| $Source: /cvs_backup/e107_0.8/cron.php,v $ | $Source: /cvs_backup/e107_0.8/cron.php,v $
| $Revision: 1.2 $ | $Revision: 1.3 $
| $Date: 2009-07-14 05:31:57 $ | $Date: 2009-07-23 08:34:20 $
| $Author: e107coders $ | $Author: marj_nl_fr $
+----------------------------------------------------------------------------+ +----------------------------------------------------------------------------+
*/ */
@@ -73,7 +73,7 @@ foreach($list as $func=>$val)
// echo "<br />Cron '$cron_str0' last due at: " . date('r', $cron->getLastRanUnix()) . "<p>"; // echo "<br />Cron '$cron_str0' last due at: " . date('r', $cron->getLastRanUnix()) . "<p>";
// $cron->getLastRan() returns last due time in an array // $cron->getLastRan() returns last due time in an array
// print_a($cron->getLastRan()); // print_a($cron->getLastRan());
// echo "Debug:<br>" . nl2br($cron->getDebug()); // echo "Debug:<br />" . nl2br($cron->getDebug());
/* /*
$cron_str1 = "3 12 * * *"; $cron_str1 = "3 12 * * *";
if ($cron->calcLastRan($cron_str1)) if ($cron->calcLastRan($cron_str1))
@@ -85,7 +85,7 @@ else
{ {
echo "Error parsing"; echo "Error parsing";
} }
echo "Debug:<br>" . nl2br($cron->getDebug()); echo "Debug:<br />" . nl2br($cron->getDebug());
*/ */
exit; exit;

View File

@@ -1,4 +1,4 @@
<?php /* $Id: cron_class.php,v 1.1 2008-06-17 05:39:22 e107coders Exp $ */ <?php /* $Id: cron_class.php,v 1.2 2009-07-23 08:34:20 marj_nl_fr Exp $ */
/**####################################################################################################**\ /**####################################################################################################**\
Version: V1.01 Version: V1.01
@@ -30,7 +30,7 @@ $cron->calcLastRan($cron_str0);
echo "Cron '$cron_str0' last due at: " . date('r', $cron->getLastRanUnix()) . "<p>"; echo "Cron '$cron_str0' last due at: " . date('r', $cron->getLastRanUnix()) . "<p>";
// $cron->getLastRan() returns last due time in an array // $cron->getLastRan() returns last due time in an array
print_r($cron->getLastRan()); print_r($cron->getLastRan());
echo "Debug:<br>" . nl2br($cron->getDebug()); echo "Debug:<br />" . nl2br($cron->getDebug());
$cron_str1 = "3 12 * * *"; $cron_str1 = "3 12 * * *";
if ($cron->calcLastRan($cron_str1)) if ($cron->calcLastRan($cron_str1))
@@ -42,7 +42,7 @@ else
{ {
echo "Error parsing"; echo "Error parsing";
} }
echo "Debug:<br>" . nl2br($cron->getDebug()); echo "Debug:<br />" . nl2br($cron->getDebug());
*####################################################################################################### *#######################################################################################################
*/ */

View File

@@ -11,8 +11,8 @@
| GNU General Public License (http://gnu.org). | GNU General Public License (http://gnu.org).
| |
| $Source: /cvs_backup/e107_0.8/e107_handlers/mail.php,v $ | $Source: /cvs_backup/e107_0.8/e107_handlers/mail.php,v $
| $Revision: 1.11 $ | $Revision: 1.12 $
| $Date: 2009-07-19 11:44:28 $ | $Date: 2009-07-23 08:34:20 $
| $Author: marj_nl_fr $ | $Author: marj_nl_fr $
+----------------------------------------------------------------------------+ +----------------------------------------------------------------------------+
*/ */
@@ -200,7 +200,7 @@ function sendemail($send_to, $subject, $message, $to_name, $send_from='', $from_
} }
if (!$mail->Send()) { if (!$mail->Send()) {
// echo "There has been a mail error sending to " . $row["email"] . "<br>"; // echo "There has been a mail error sending to " . $row["email"] . "<br />";
return FALSE; return FALSE;
// Clear all addresses and attachments for next loop // Clear all addresses and attachments for next loop
$mail->ClearAddresses(); $mail->ClearAddresses();

View File

@@ -442,9 +442,9 @@ if (!defined("PCLTRACE_LIB"))
for ($i=0; $i<$p_entry[index]; $i++) for ($i=0; $i<$p_entry[index]; $i++)
echo "---"; echo "---";
if ($p_entry[type] == 1) if ($p_entry[type] == 1)
echo "<b>".$p_entry[name]."</b>(".$p_entry[param].") : ".$p_entry[message]." [".$p_entry[file].", ".$p_entry[line]."]<br>"; echo "<b>".$p_entry[name]."</b>(".$p_entry[param].") : ".$p_entry[message]." [".$p_entry[file].", ".$p_entry[line]."]<br />";
else if ($p_entry[type] == 2) else if ($p_entry[type] == 2)
echo "<b>".$p_entry[name]."</b>()=".$p_entry[param]." : ".$p_entry[message]." [".$p_entry[file].", ".$p_entry[line]."]<br>"; echo "<b>".$p_entry[name]."</b>()=".$p_entry[param]." : ".$p_entry[message]." [".$p_entry[file].", ".$p_entry[line]."]<br />";
else else
echo $p_entry[message]." [".$p_entry[file].", ".$p_entry[line]."]<br>"; echo $p_entry[message]." [".$p_entry[file].", ".$p_entry[line]."]<br>";
} }

View File

@@ -11,9 +11,9 @@
| GNU General Public License (http://gnu.org). | GNU General Public License (http://gnu.org).
| |
| $Source: /cvs_backup/e107_0.8/e107_plugins/calendar_menu/subscribe.php,v $ | $Source: /cvs_backup/e107_0.8/e107_plugins/calendar_menu/subscribe.php,v $
| $Revision: 1.3 $ | $Revision: 1.4 $
| $Date: 2007-07-13 19:37:52 $ | $Date: 2009-07-23 08:34:21 $
| $Author: e107steved $ | $Author: marj_nl_fr $
| |
+----------------------------------------------------------------------------+ +----------------------------------------------------------------------------+
*/ */
@@ -42,7 +42,7 @@ if (isset($_POST['upsubs']))
$cal_inargs = "0,'" . USERID . "','" . $cal_row . "'"; $cal_inargs = "0,'" . USERID . "','" . $cal_row . "'";
$cal_db->db_Insert("event_subs", $cal_inargs); $cal_db->db_Insert("event_subs", $cal_inargs);
} }
// print $cal_row . $cal_subs[$cal_row] . "<br>"; // print $cal_row . $cal_subs[$cal_row] . "<br />";
} }
$caltext = "<table class='fborder' width='97%'> $caltext = "<table class='fborder' width='97%'>
<tr><td class='fcaption' >" . EC_LAN_130 . "</td></tr> <tr><td class='fcaption' >" . EC_LAN_130 . "</td></tr>