Commit fc8d44b7 authored by Nicolas Delaby's avatar Nicolas Delaby

Default values are integer type not string

git-svn-id: https://svn.erp5.org/repos/public/erp5/trunk@20753 20353a03-c40f-0410-a6d1-a30d3c3de9de
parent 3f452add
...@@ -123,38 +123,38 @@ class HtmlStylePreference: ...@@ -123,38 +123,38 @@ class HtmlStylePreference:
{ 'id' : 'preferred_thumbnail_image_height', { 'id' : 'preferred_thumbnail_image_height',
'description' : 'The height for thumbnail image.The unit is the pixel', 'description' : 'The height for thumbnail image.The unit is the pixel',
'type' : 'int', 'type' : 'int',
'default' : '128', 'default' : 128,
'preference' : 1, 'preference' : 1,
'mode' : 'w' }, 'mode' : 'w' },
{ 'id' : 'preferred_thumbnail_image_width', { 'id' : 'preferred_thumbnail_image_width',
'description' : 'The width for thumbnail image.The unit is the pixel', 'description' : 'The width for thumbnail image.The unit is the pixel',
'type' : 'int', 'type' : 'int',
'default' : '128', 'default' : 128,
'preference' : 1, 'preference' : 1,
'mode' : 'w' }, 'mode' : 'w' },
{ 'id' : 'preferred_xsmall_image_height', { 'id' : 'preferred_xsmall_image_height',
'description' : 'The height for thumbnail image.The unit is the pixel', 'description' : 'The height for thumbnail image.The unit is the pixel',
'type' : 'int', 'type' : 'int',
'default' : '200', 'default' : 200,
'preference' : 1, 'preference' : 1,
'mode' : 'w' }, 'mode' : 'w' },
{ 'id' : 'preferred_xsmall_image_width', { 'id' : 'preferred_xsmall_image_width',
'description' : 'The width for xsmall image.The unit is the pixel', 'description' : 'The width for xsmall image.The unit is the pixel',
'type' : 'int', 'type' : 'int',
'default' : '200', 'default' : 200,
'preference' : 1, 'preference' : 1,
'mode' : 'w' }, 'mode' : 'w' },
{ 'id' : 'preferred_small_image_height', { 'id' : 'preferred_small_image_height',
'description' : 'The height for small image.The unit is the pixel', 'description' : 'The height for small image.The unit is the pixel',
'type' : 'int', 'type' : 'int',
'default' : '320', 'default' : 320,
'preference' : 1, 'preference' : 1,
'mode' : 'w' }, 'mode' : 'w' },
{ 'id' : 'preferred_small_image_width', { 'id' : 'preferred_small_image_width',
'description' : 'The width for small image.The unit is the pixel', 'description' : 'The width for small image.The unit is the pixel',
'type' : 'int', 'type' : 'int',
'default' : '320', 'default' : 320,
'preference' : 1, 'preference' : 1,
'mode' : 'w' }, 'mode' : 'w' },
...@@ -167,32 +167,32 @@ class HtmlStylePreference: ...@@ -167,32 +167,32 @@ class HtmlStylePreference:
{ 'id' : 'preferred_medium_image_width', { 'id' : 'preferred_medium_image_width',
'description' : 'The width for medium image.The unit is the pixel', 'description' : 'The width for medium image.The unit is the pixel',
'type' : 'int', 'type' : 'int',
'default' : '480', 'default' : 480,
'preference' : 1, 'preference' : 1,
'mode' : 'w' }, 'mode' : 'w' },
{ 'id' : 'preferred_large_image_height', { 'id' : 'preferred_large_image_height',
'description' : 'The height for large image.The unit is the pixel', 'description' : 'The height for large image.The unit is the pixel',
'type' : 'int', 'type' : 'int',
'default' : '768', 'default' : 768,
'preference' : 1, 'preference' : 1,
'mode' : 'w' }, 'mode' : 'w' },
{ 'id' : 'preferred_large_image_width', { 'id' : 'preferred_large_image_width',
'description' : 'The width for large image.The unit is the pixel', 'description' : 'The width for large image.The unit is the pixel',
'type' : 'int', 'type' : 'int',
'default' : '768', 'default' : 768,
'preference' : 1, 'preference' : 1,
'mode' : 'w' }, 'mode' : 'w' },
{ 'id' : 'preferred_xlarge_image_height', { 'id' : 'preferred_xlarge_image_height',
'description' : 'The height for xlarge image.The unit is the pixel', 'description' : 'The height for xlarge image.The unit is the pixel',
'type' : 'int', 'type' : 'int',
'default' : '1024', 'default' : 1024,
'preference' : 1, 'preference' : 1,
'mode' : 'w' }, 'mode' : 'w' },
{ 'id' : 'preferred_xlarge_image_width', { 'id' : 'preferred_xlarge_image_width',
'description' : 'The width for xlarge image.The unit is the pixel', 'description' : 'The width for xlarge image.The unit is the pixel',
'type' : 'int', 'type' : 'int',
'default' : '1024', 'default' : 1024,
'preference' : 1, 'preference' : 1,
'mode' : 'w' },) 'mode' : 'w' },)
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment