[Weberp-svn] SF.net SVN: weberp:[8665] trunk
Brought to you by:
sotandeka,
tim_schofield
From: <tim...@us...> - 2012-04-27 08:21:51
|
Revision: 8665 http://weberp.svn.sourceforge.net/weberp/?rev=8665&view=rev Author: tim_schofield Date: 2012-04-27 08:21:45 +0000 (Fri, 27 Apr 2012) Log Message: ----------- Layout improvements, new css and buttons Modified Paths: -------------- trunk/Z_Upgrade_3.07-3.08.php trunk/Z_Upgrade_3.08-3.09.php trunk/Z_Upgrade_3.09-3.10.php Modified: trunk/Z_Upgrade_3.07-3.08.php =================================================================== --- trunk/Z_Upgrade_3.07-3.08.php 2012-04-27 08:21:34 UTC (rev 8664) +++ trunk/Z_Upgrade_3.07-3.08.php 2012-04-27 08:21:45 UTC (rev 8665) @@ -9,10 +9,10 @@ echo '<p><form method="post" action="' . htmlspecialchars($_SERVER['PHP_SELF'], ENT_QUOTES, 'UTF-8') . '"></p>'; echo '<input type="hidden" name="FormID" value="' . $_SESSION['FormID'] . '" />'; -echo '<input type="submit" name="DoUpgrade" value="' . _('Perform Upgrade') . '" />'; +echo '<button type="submit" name="DoUpgrade">' . _('Perform Upgrade') . '</button>'; echo '</form>'; -if ($_POST['DoUpgrade'] == _('Perform Upgrade')){ +if (isset($_POST['DoUpgrade'])){ $SQLScriptFile = file('./sql/mysql/upgrade3.07-3.08.sql'); Modified: trunk/Z_Upgrade_3.08-3.09.php =================================================================== --- trunk/Z_Upgrade_3.08-3.09.php 2012-04-27 08:21:34 UTC (rev 8664) +++ trunk/Z_Upgrade_3.08-3.09.php 2012-04-27 08:21:45 UTC (rev 8665) @@ -9,10 +9,10 @@ echo '<p><form method="post" action="' . htmlspecialchars($_SERVER['PHP_SELF'], ENT_QUOTES, 'UTF-8') . '"></p>'; echo '<input type="hidden" name="FormID" value="' . $_SESSION['FormID'] . '" />'; -echo '<input type="submit" name="DoUpgrade" value="' . _('Perform Upgrade') . '" />'; +echo '<button type="submit" name="DoUpgrade">' . _('Perform Upgrade') . '</button>'; echo '</form>'; -if ($_POST['DoUpgrade'] == _('Perform Upgrade')){ +if (isset($_POST['DoUpgrade'])){ $SQLScriptFile = file('./sql/mysql/upgrade3.08-3.09.sql'); Modified: trunk/Z_Upgrade_3.09-3.10.php =================================================================== --- trunk/Z_Upgrade_3.09-3.10.php 2012-04-27 08:21:34 UTC (rev 8664) +++ trunk/Z_Upgrade_3.09-3.10.php 2012-04-27 08:21:45 UTC (rev 8665) @@ -9,10 +9,10 @@ echo '<p><form method="post" action="' . htmlspecialchars($_SERVER['PHP_SELF'], ENT_QUOTES, 'UTF-8') . '"></p>'; echo '<input type="hidden" name="FormID" value="' . $_SESSION['FormID'] . '" />'; -echo '<input type="submit" name="DoUpgrade" value="' . _('Perform Upgrade') . '" />'; +echo '<button type="submit" name="DoUpgrade">' . _('Perform Upgrade') . '</button>'; echo '</form>'; -if ($_POST['DoUpgrade'] == _('Perform Upgrade')){ +if (isset($_POST['DoUpgrade'])){ $SQLScriptFile = file('./sql/mysql/upgrade3.09-3.10.sql'); This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site. |