From: <rc...@us...> - 2016-11-08 15:51:14
|
Revision: 7665 http://sourceforge.net/p/web-erp/reponame/7665 Author: rchacon Date: 2016-11-08 15:51:11 +0000 (Tue, 08 Nov 2016) Log Message: ----------- Fix table html code. Modified Paths: -------------- trunk/SelectSupplier.php trunk/css/default/default.css trunk/doc/Change.log trunk/locale/es_ES.utf8/LC_MESSAGES/messages.mo trunk/locale/es_ES.utf8/LC_MESSAGES/messages.po Modified: trunk/SelectSupplier.php =================================================================== --- trunk/SelectSupplier.php 2016-11-08 07:59:07 UTC (rev 7664) +++ trunk/SelectSupplier.php 2016-11-08 15:51:11 UTC (rev 7665) @@ -348,14 +348,22 @@ echo '<br />'; echo '<div class="centre">' . _('Mapping is enabled, but no Mapping data to display for this Supplier.') . '</div>'; } else { - echo '<div class="centre"><br />'; - echo '<tr><td colspan="2">'; - echo '<table width="45%" class="selection">'; - echo '<tr><th style="width:33%">' . _('Supplier Mapping') . '</th></tr>'; - echo '</td><td valign="top">'; /* Mapping */ - echo '<div class="centre">' . _('Mapping is enabled, Map will display below.') . '</div>'; - echo '<div class="centre" id="map" style="width: ' . $map_width . 'px; height: ' . $map_height . 'px"></div></div><br />'; - echo '</th></tr></table>'; + + echo '<br /> + <table class="selection"> + <thead> + <tr> + <th>', _('Supplier Mapping'), '</th> + </tr> + </thead><tbody> + <tr> + <td class="centre">', _('Mapping is enabled, Map will display below.'), '</td> + </tr><tr> + <td class="centre">', // Mapping: + '<div class="centre" id="map" style="width: ', $map_width, 'px; height: ', $map_height, 'px"></div> + </td> + </tr> + <tbody></table>'; } } // Extended Info only if selected in Configuration Modified: trunk/css/default/default.css =================================================================== --- trunk/css/default/default.css 2016-11-08 07:59:07 UTC (rev 7664) +++ trunk/css/default/default.css 2016-11-08 15:51:11 UTC (rev 7665) @@ -1,16 +1,6 @@ /* $Id$*/ -/*** +/* Default theme for WebERP by . */ -New Default Theme for WebERP - -***/ - -button img { - /* Describes how button image should be displayed. */ - height:16px; - width:16px; -} - body { background-color:#ccd; font-family:Arial, Verdana, Helvetica, sans-serif; @@ -19,6 +9,12 @@ padding:0; } +button img { + height:16px; + width:16px; + /* Describes how button image should be displayed. Related with body font-size in px. */ +} + a { color:blue; text-decoration:none; Modified: trunk/doc/Change.log =================================================================== --- trunk/doc/Change.log 2016-11-08 07:59:07 UTC (rev 7664) +++ trunk/doc/Change.log 2016-11-08 15:51:11 UTC (rev 7665) @@ -1,5 +1,6 @@ webERP Change Log +08/11/16 RChacon: On SelectSupplier.php, fix table html code. 06/11/16 RChacon: On SupplierPriceList.php, fix to show price in user's locale format, add supplier's id and name to title, replace printf() with plain list echo, and regroup and document code. 03/11/16 RChacon: On Dashboard.php, fix creditors payment to point to allocation instead to payment, replace printf() with plain list echo, regroup code, and complete column styles. 01/11/16 RChacon: On SupplierInquiry.php, replace the printf() statements with echo statements to fix bug caused by a supplier invoice with a comment that includes a % character (reported by R2-G, solution by Tim). Modified: trunk/locale/es_ES.utf8/LC_MESSAGES/messages.mo =================================================================== (Binary files differ) Modified: trunk/locale/es_ES.utf8/LC_MESSAGES/messages.po =================================================================== --- trunk/locale/es_ES.utf8/LC_MESSAGES/messages.po 2016-11-08 07:59:07 UTC (rev 7664) +++ trunk/locale/es_ES.utf8/LC_MESSAGES/messages.po 2016-11-08 15:51:11 UTC (rev 7665) @@ -8,7 +8,7 @@ "Project-Id-Version: webERP 4.12.2\n" "Report-Msgid-Bugs-To: \n" "POT-Creation-Date: 2016-10-31 20:01-0600\n" -"PO-Revision-Date: 2016-11-06 21:23-0600\n" +"PO-Revision-Date: 2016-11-07 08:06-0600\n" "Last-Translator: Rafael E. Chacón <raf...@gm...>\n" "Language-Team: TecnoSoluciones.com <web...@te...>\n" "Language: es_ES\n" @@ -25514,7 +25514,7 @@ #: PurchData.php:277 PurchData.php:702 SellThroughSupport.php:266 #: SupplierPriceList.php:542 msgid "Effective From" -msgstr "Vigente Desde" +msgstr "Vigente desde" #: PurchData.php:278 SelectProduct.php:328 SupplierPriceList.php:544 msgid "Min Order Qty" @@ -35259,7 +35259,7 @@ #: SupplierPriceList.php:543 msgid "Suppliers Item Code" -msgstr "Código de Artículo de proveedor" +msgstr "Código de artículo del proveedor" #: SupplierPriceList.php:545 reportwriter/languages/en_US/reports.php:155 msgid "Save" |