Skip to content

Instantly share code, notes, and snippets.

View unlocomqx's full-sized avatar
🏠
Working from home

Tuni-Soft unlocomqx

🏠
Working from home
  • Module Dev - Tuni-Soft
  • [object Object]
View GitHub Profile
<?php
if ($diagonal < $diag_min) {
$diagonal = $diag_min;
if ($changed == "width") {
$height = sqrt(pow($diagonal, 2) - pow($width, 2));
}
if ($changed == "height") {
$width = sqrt(pow($diagonal, 2) - pow($height, 2));
}
$.publish(dsnTopics.REFRESH_TAB_SCROLL)
ALTER TABLE `ps_productdesigner_config`
ADD `enable_text_precision` tinyint(1) NOT NULL DEFAULT 0;
CREATE TABLE IF NOT EXISTS `ps_productdesigner_config`
(
`id_config` int(11) NOT NULL AUTO_INCREMENT,
`display_base` tinyint(1) NOT NULL DEFAULT 1,
`display_mask` tinyint(1) NOT NULL DEFAULT 1,
`display_layers` tinyint(1) NOT NULL DEFAULT 1,
`preview_in_invoice` tinyint(1) NOT NULL DEFAULT 0,
`preview_in_email` tinyint(1) NOT NULL DEFAULT 0,
`hide_cart_button` tinyint(1) NOT NULL DEFAULT 0,
ALTER TABLE `ps_productdesigner_config` ADD `block_min_dpi` tinyint(1) NOT NULL DEFAULT 1;
.dsn-image-group-item {
width: 140px;
}
.dsn-image-group-item img {
height: 80px;
}
.dsn-image-item {
width: 140px;
{
"video": false,
"chromeWebSecurity": false,
"viewportWidth": 1350,
"viewportHeight": 920,
"watchForFileChanges": false,
"baseUrl": "http://localhost/",
"livereload": {
"hostname": null,
"https": false,
// ***********************************************************
// This example support/index.js is processed and
// loaded automatically before your test files.
//
// This is a great place to put global configuration and
// behavior that modifies Cypress.
//
// You can change the location of this file or turn off
// automatically serving support files with the
// 'supportFile' configuration option.
function dp_nombre_de_montant(value) {
console.log('valeur du slider', value);
}