From: <vv...@us...> - 2012-02-26 15:59:44
|
Revision: 4977 http://web-erp.svn.sourceforge.net/web-erp/?rev=4977&view=rev Author: vvs2012 Date: 2012-02-26 15:59:37 +0000 (Sun, 26 Feb 2012) Log Message: ----------- xhtml cleanup Modified Paths: -------------- trunk/GLBalanceSheet.php trunk/includes/Login.php Modified: trunk/GLBalanceSheet.php =================================================================== --- trunk/GLBalanceSheet.php 2012-02-26 15:28:19 UTC (rev 4976) +++ trunk/GLBalanceSheet.php 2012-02-26 15:59:37 UTC (rev 4977) @@ -22,11 +22,12 @@ . _('webERP is an "accrual" based system (not a "cash based" system). Accrual systems include items when they are invoiced to the customer, and when expenses are owed based on the supplier invoice date.') . '</div>'; echo '<form method="post" action="' . htmlspecialchars($_SERVER['PHP_SELF'],ENT_QUOTES,'UTF-8') . '">'; + echo '<div>'; echo '<input type="hidden" name="FormID" value="' . $_SESSION['FormID'] . '" />'; echo '<table class="selection"> <tr> <td>'._('Select the balance date').':</td> - <td><select Name="BalancePeriodEnd">'; + <td><select name="BalancePeriodEnd">'; $periodno=GetPeriod(Date($_SESSION['DefaultDateFormat']), $db); $sql = "SELECT lastdate_in_period FROM periods WHERE periodno='".$periodno . "'"; @@ -49,7 +50,7 @@ echo '<tr> <td>'._('Detail Or Summary').':</td> - <td><select Name="Detail"> + <td><select name="Detail"> <option value="Summary">'._('Summary') . '</option> <option selected="selected" value="Detailed">'._('All Accounts') . '</option> </select></td> @@ -64,8 +65,8 @@ echo '<br /> <div class="centre"> <input type="submit" name="PrintPDF" value="'._('Produce PDF Report').'" /> - </div> - </form>'; + </div>'; + echo '</div></form>'; /*Now do the posting while the user is thinking about the period to select */ include ('includes/GLPostings.inc'); @@ -313,6 +314,7 @@ } else { include('includes/header.inc'); echo '<form method="post" action="' . htmlspecialchars($_SERVER['PHP_SELF'],ENT_QUOTES,'UTF-8') . '">'; + echo '<div>'; echo '<input type="hidden" name="FormID" value="' . $_SESSION['FormID'] . '" />'; echo '<input type="hidden" name="BalancePeriodEnd" value="' . $_POST['BalancePeriodEnd'] . '" />'; @@ -671,8 +673,8 @@ echo '</table>'; echo '<br /><div class="centre"><input type="submit" name="SelectADifferentPeriod" value="'._('Select A Different Balance Date').'" /></div>'; + echo '</div></form>'; } -echo '</form>'; include('includes/footer.inc'); ?> \ No newline at end of file Modified: trunk/includes/Login.php =================================================================== --- trunk/includes/Login.php 2012-02-26 15:28:19 UTC (rev 4976) +++ trunk/includes/Login.php 2012-02-26 15:59:37 UTC (rev 4977) @@ -34,6 +34,7 @@ <div id="login_logo"></div> <div id="login_box"> <form action="<?php echo htmlspecialchars($_SERVER['PHP_SELF'], ENT_QUOTES, 'UTF-8');?>" method="post"> + <div> <input type="hidden" name="FormID" value="<?php echo $_SESSION['FormID']; ?>" /> <span><?php echo _('Company'); ?>:</span> @@ -64,6 +65,7 @@ <input type="password" name="Password" /><br /> <div id="demo_text"><?php echo $demo_text;?></div> <input class="button" type="submit" value="<?php echo _('Login'); ?>" name="SubmitUser" /> + </div> </form> </div> </div> This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site. |