From: <vv...@us...> - 2012-09-13 22:23:04
|
Revision: 5664 http://web-erp.svn.sourceforge.net/web-erp/?rev=5664&view=rev Author: vvs2012 Date: 2012-09-13 22:22:58 +0000 (Thu, 13 Sep 2012) Log Message: ----------- xhtml cleanup Modified Paths: -------------- trunk/SelectProduct.php trunk/includes/footer.inc trunk/includes/header.inc trunk/index.php Modified: trunk/SelectProduct.php =================================================================== --- trunk/SelectProduct.php 2012-09-13 15:33:29 UTC (rev 5663) +++ trunk/SelectProduct.php 2012-09-13 22:22:58 UTC (rev 5664) @@ -159,7 +159,7 @@ $Cost = $myrow['cost']; } if (DB_num_rows($PriceResult) == 0) { - echo _('No Default Price Set in Home Currency'); + echo _('No Default Price Set in Home Currency') . '</td></tr>'; $Price = 0; } else { $PriceRow = DB_fetch_row($PriceResult); @@ -739,7 +739,7 @@ $_POST['PageOffset'] = $ListPageMax; } if ($ListPageMax > 1) { - echo '<div class="centre"><p> ' . $_POST['PageOffset'] . ' ' . _('of') . ' ' . $ListPageMax . ' ' . _('pages') . '. ' . _('Go to Page') . ': '; + echo '<div class="centre"><br /> ' . $_POST['PageOffset'] . ' ' . _('of') . ' ' . $ListPageMax . ' ' . _('pages') . '. ' . _('Go to Page') . ': '; echo '<select name="PageOffset">'; $ListPage = 1; while ($ListPage <= $ListPageMax) { @@ -754,11 +754,11 @@ <input type="submit" name="Go" value="' . _('Go') . '" /> <input type="submit" name="Previous" value="' . _('Previous') . '" /> <input type="submit" name="Next" value="' . _('Next') . '" />'; - echo '<input type="hidden" name=Keywords value="'.$_POST['Keywords'].'" />'; - echo '<input type="hidden" name=StockCat value="'.$_POST['StockCat'].'" />'; - echo '<input type="hidden" name=StockCode value="'.$_POST['StockCode'].'" />'; + echo '<input type="hidden" name="Keywords" value="'.$_POST['Keywords'].'" />'; + echo '<input type="hidden" name="StockCat" value="'.$_POST['StockCat'].'" />'; + echo '<input type="hidden" name="StockCode" value="'.$_POST['StockCode'].'" />'; // echo '<input type="hidden" name=Search value="Search" />'; - echo '<p></div>'; + echo '<br /></div>'; } echo '<table class="selection">'; $TableHeader = '<tr> Modified: trunk/includes/footer.inc =================================================================== --- trunk/includes/footer.inc 2012-09-13 15:33:29 UTC (rev 5663) +++ trunk/includes/footer.inc 2012-09-13 22:22:58 UTC (rev 5664) @@ -9,11 +9,11 @@ echo '<div id="FooterWrapDiv">'; echo '<div id="FooterLogoDiv">'; - echo '<img src="'. $rootpath . '/' . $_SESSION['LogoFile'] . '" width="120" alt="webERP" title="webERP ' . _('Copyright') . ' © weberp.org - ' . date('Y') . '" /></td>'; + echo '<img src="'. $rootpath . '/' . $_SESSION['LogoFile'] . '" width="120" alt="webERP" title="webERP ' . _('Copyright') . ' © weberp.org - ' . date('Y') . '" />'; echo '</div>'; echo '<div id="FooterVersionDiv">'; - echo 'webERP ' ._('version') .' ' . $_SESSION['VersionNumber'] . ' ' . _('Copyright') . ' © 2004 - ' . Date('Y'). ' <a target="_blank" href="http://www.weberp.org/weberp/doc/Manual/ManualContributors.html">weberp.org</a>'; + echo 'webERP ' ._('version') .' ' . $_SESSION['VersionNumber'] . ' ' . _('Copyright') . ' © 2004 - ' . Date('Y'). ' <a href="http://www.weberp.org/weberp/doc/Manual/ManualContributors.html">weberp.org</a>'; echo '</div>'; echo '<div id="FooterTimeDiv">'; @@ -22,6 +22,7 @@ echo '</div>'; // FooterWrapDiv echo '</div>'; // FooterDiv +echo '</div>'; // Canvas echo '</body>'; echo '</html>'; Modified: trunk/includes/header.inc =================================================================== --- trunk/includes/header.inc 2012-09-13 15:33:29 UTC (rev 5663) +++ trunk/includes/header.inc 2012-09-13 22:22:58 UTC (rev 5664) @@ -87,7 +87,7 @@ } } - echo '<li><a href="'.$rootpath.'/Logout.php" onclick="return confirm(\''._('Are you sure you wish to logout?').'\');">'._('Logout').'</a></l>'; + echo '<li><a href="'.$rootpath.'/Logout.php" onclick="return confirm(\''._('Are you sure you wish to logout?').'\');">'._('Logout').'</a></li>'; echo '</ul></div>'; // QuickMenuDiv } Modified: trunk/index.php =================================================================== --- trunk/index.php 2012-09-13 15:33:29 UTC (rev 5663) +++ trunk/index.php 2012-09-13 22:22:58 UTC (rev 5664) @@ -195,14 +195,16 @@ $RptLinks = ''; for ($Def=1; $Def>=0; $Def--) { - $RptLinks .= '<tr><td class="menu_group_headers"><div style="text-align:center">'.$Title[$Def].'</div></td></tr>'; + $RptLinks .= '<li class="menu_group_headers">'; + $RptLinks .= '<b>'. $Title[$Def] . '</b>'; + $RptLinks .= '</li>'; $NoEntries = true; if ($ReportList) { // then there are reports to show, show by grouping foreach ($ReportList as $Report) { if ($Report['groupname']==$GroupID AND $Report['defaultreport']==$Def) { - $RptLinks .= '<tr><td class="menu_group_item">'; + $RptLinks .= '<li class="menu_group_item">'; $RptLinks .= '<p>• <a href="' . $rootpath . '/reportwriter/ReportMaker.php?action=go&reportid=' . $Report['id'] . '">' . _($Report['reportname']) . '</a></p>'; - $RptLinks .= '</td></tr>'; + $RptLinks .= '</li>'; $NoEntries = false; } } @@ -211,17 +213,17 @@ foreach ($ReportList as $Report) { $Group=explode(':',$Report['groupname']); // break into main group and form group array if ($NoForms AND $Group[0]==$GroupID AND $Report['reporttype']=='frm' AND $Report['defaultreport']==$Def) { - $RptLinks .= '<tr><td class="menu_group_item">'; + $RptLinks .= '<li class="menu_group_item">'; $RptLinks .= '<img src="' . $rootpath . '/css/' . $_SESSION['Theme'] . '/images/folders.gif" width="16" height="13" alt="" /> '; $RptLinks .= '<p>• <a href="' . $rootpath . '/reportwriter/FormMaker.php?id=' . $Report['groupname'] . '"></p>'; $RptLinks .= $FormGroups[$Report['groupname']] . '</a>'; - $RptLinks .= '</td></tr>'; + $RptLinks .= '</li>'; $NoForms = false; $NoEntries = false; } } } - if ($NoEntries) $RptLinks .= '<tr><td class="menu_group_item">' . _('There are no reports to show!') . '</td></tr>'; + if ($NoEntries) $RptLinks .= '<li class="menu_group_item">' . _('There are no reports to show!') . '</li>'; } return $RptLinks; } This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site. |