Yes, that's another side-effect of the change to use either <pre> or <code> to format the results, as I'd mentioned here.
Printable View
Yes, that's another side-effect of the change to use either <pre> or <code> to format the results, as I'd mentioned here.
The file /admin/customers.php has been changed from the ZC1.5.4 base, but the header comments still reflect last-changed in v1.5.4.
FWIW, I changed the file /admin/includes/developers_tool_kit.css, removing the lines highlighted to restore the display to a non-monospaced font:
Code:/*
* @package Admin
* @copyright Copyright 2003-2015 Zen Cart Development Team
* @license http://www.zen-cart.com/license/2_0.txt GNU Public License V2.0
* @version $Id: Author: DrByte Modified in v1.6.0 $
*/
.dtk-highlite {font-weight: bold; color: rgb(255, 10, 5);}
.dtk-foundline, .dtk-foundline-multi {font-family: courier;}
.dtk-foundline-multi {background-color: rgba(4, 211, 216, 0.12);}
.dtk-contextline {font-family: courier;}
.dtk-linenum {font-family: courier;}
You could just change those to Verdanda, sans-serif to cover 90% of the issue ...Code:/*
* @package Admin
* @copyright Copyright 2003-2015 Zen Cart Development Team
* @license http://www.zen-cart.com/license/2_0.txt GNU Public License V2.0
* @version $Id: Author: DrByte Modified in v1.6.0 $
*/
.dtk-highlite {font-weight: bold; color: rgb(255, 10, 5);}
.dtk-foundline, .dtk-foundline-multi {font-family: courier;}
.dtk-foundline-multi {background-color: rgba(4, 211, 216, 0.12);}
.dtk-contextline {font-family: courier;}
.dtk-linenum {font-family: courier;}
That's, in essence, what the font falls back to with those lines removed!
is there any additional documentation on how to install and/or setup the responsive design stuff?
What are you trying to setup?
Changes made to sql statements in includes/functions/functions_lookups did not use $db->bindVars(
Could/should be:Code:function zen_has_product_attributes_downloads_status($products_id) {
if (!defined('DOWNLOAD_ENABLED') || DOWNLOAD_ENABLED != 'true') {
return false;
}
$query = "select pad.products_attributes_id
from " . TABLE_PRODUCTS_ATTRIBUTES . " pa
inner join " . TABLE_PRODUCTS_ATTRIBUTES_DOWNLOAD . " pad
on pad.products_attributes_id = pa.products_attributes_id
where pa.products_id = " . (int) $products_id;
global $db;
return ($db->Execute($query)->RecordCount() > 0);
}
Code:function zen_has_product_attributes_downloads_status($products_id) {
if (!defined('DOWNLOAD_ENABLED') || DOWNLOAD_ENABLED != 'true') {
return false;
}
$query = "select pad.products_attributes_id
from " . TABLE_PRODUCTS_ATTRIBUTES . " pa
inner join " . TABLE_PRODUCTS_ATTRIBUTES_DOWNLOAD . " pad
on pad.products_attributes_id = pa.products_attributes_id
where pa.products_id = :products_id:";
global $db;
$query = $db->bindvars($query, ':products_id:', $products_id, 'integer');
return ($db->Execute($query)->RecordCount() > 0);
}