[Weberp-svn] SF.net SVN: weberp:[5139] trunk
Brought to you by:
sotandeka,
tim_schofield
From: <tim...@us...> - 2011-04-08 19:49:20
|
Revision: 5139 http://weberp.svn.sourceforge.net/weberp/?rev=5139&view=rev Author: tim_schofield Date: 2011-04-08 19:49:14 +0000 (Fri, 08 Apr 2011) Log Message: ----------- Phil: More SQL quoting and xhtml fixes Modified Paths: -------------- trunk/SMTPServer.php trunk/Z_Upgrade_3.11-4.00.php Modified: trunk/SMTPServer.php =================================================================== --- trunk/SMTPServer.php 2011-04-08 19:31:29 UTC (rev 5138) +++ trunk/SMTPServer.php 2011-04-08 19:49:14 UTC (rev 5139) @@ -1,7 +1,5 @@ <?php -//$PageSecurity =15; - include('includes/session.inc'); $title = _('SMTP Server details'); @@ -25,17 +23,17 @@ } $sql="SELECT id, - host, - port, - heloaddress, - username, - password, - timeout, - auth - FROM emailsettings"; + host, + port, + heloaddress, + username, + password, + timeout, + auth + FROM emailsettings"; $result=DB_query($sql, $db); $myrow=DB_fetch_array($result); -echo "<form method='post' action=" . $_SERVER['PHP_SELF'] . "?" . SID . ">"; +echo '<form method="post" action="' . $_SERVER['PHP_SELF'] . '">'; echo '<input type="hidden" name="FormID" value="' . $_SESSION['FormID'] . '" />'; echo '<table class=selection>'; echo '<tr><td>'._('Server Host Name').'</td> Modified: trunk/Z_Upgrade_3.11-4.00.php =================================================================== --- trunk/Z_Upgrade_3.11-4.00.php 2011-04-08 19:31:29 UTC (rev 5138) +++ trunk/Z_Upgrade_3.11-4.00.php 2011-04-08 19:49:14 UTC (rev 5139) @@ -9,9 +9,9 @@ if (empty($_POST['DoUpgrade'])){ prnMsg(_('This script will run perform any modifications to the database since v 3.11 required to allow the additional functionality in version 4.00 scripts'),'info'); - echo "<p><form method='post' action='" . $_SERVER['PHP_SELF'] . '?' . SID . "'>"; + echo '<p><form method="post" action="' . $_SERVER['PHP_SELF'] . '?' . SID . '">'; echo '<input type="hidden" name="FormID" value="' . $_SESSION['FormID'] . '" />'; - echo '<div class="centre"?><input type=submit name=DoUpgrade VALUE="' . _('Perform Upgrade') . '"></div>'; + echo '<div class="centre"><input type=submit name=DoUpgrade VALUE="' . _('Perform Upgrade') . '"></div>'; echo '</form>'; } This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site. |