diff --git a/debian/changelog b/debian/changelog index d1cfaa27..1fda8c55 100644 --- a/debian/changelog +++ b/debian/changelog @@ -1,4 +1,4 @@ -hedera-web (1.0-49) stable; urgency=low +hedera-web (1.1-1) stable; urgency=low * Initial Release. diff --git a/debian/control b/debian/control index 5a57b8a3..94a0fe73 100644 --- a/debian/control +++ b/debian/control @@ -8,7 +8,7 @@ Homepage: http://www.verdnatura.es Vcs-Git: git://www.verdnatura.es/var/git/hedera-web Package: hedera-web -Architecture: any +Architecture: all Depends: apache2, php5-mysql, php-vn-web Suggests: php-text-captcha, php5-imap, vn-image, tinymce Section: misc diff --git a/web/forms/ecomerce/catalog/ui.xml b/web/forms/ecomerce/catalog/ui.xml index 434103ce..90b64a40 100755 --- a/web/forms/ecomerce/catalog/ui.xml +++ b/web/forms/ecomerce/catalog/ui.xml @@ -91,6 +91,7 @@ directory="catalog" subdir="200x200" show-full="true" + full-dir="900x900" editable="true"/> diff --git a/web/js/htk/column/image.js b/web/js/htk/column/image.js index 21dc0424..6724517d 100755 --- a/web/js/htk/column/image.js +++ b/web/js/htk/column/image.js @@ -35,6 +35,21 @@ Htk.ColumnImage = new Class { type: Boolean ,value: false + }, + /** + * Subdirectory where full image are allocated. + **/ + fullDir: + { + type: String + ,set: function (x) + { + this._fullDir = x; + } + ,get: function () + { + return this._fullDir; + } } } @@ -112,8 +127,10 @@ Htk.ColumnImage = new Class ,onMouseOver: function (cell) { + var fullDir = this._fullDir ? this._fullDir : 'full'; + if (!cell.error) - this.fullImage.show (this.basedir, cell.value); + this.fullImage.show (this.basedir +'/'+ fullDir, cell.value); } ,onMouseOut: function () diff --git a/web/js/htk/full-image.js b/web/js/htk/full-image.js index 797afc9f..7d4e5dcd 100755 --- a/web/js/htk/full-image.js +++ b/web/js/htk/full-image.js @@ -44,7 +44,7 @@ Htk.FullImage = new Class ,show: function (basedir, file) { - var src = basedir +'/full/'+ file; + var src = basedir +'/'+ file; if (this.closed && this.src == src) return;