WIP : upload documents : add action, ctrl, event

This commit is contained in:
gmorel
2013-09-24 10:54:52 +02:00
parent 695b2b4d94
commit 084f66589a
24 changed files with 1507 additions and 284 deletions

View File

@@ -69,7 +69,7 @@ abstract class DocumentModification extends BaseForm
'file',
array(
'constraints' => array(),
'label' => Translator::getInstance()->trans('File'),
'label' => Translator::getInstance()->trans('Replace current document by this file'),
'label_attr' => array(
'for' => 'file'
)

View File

@@ -72,12 +72,12 @@ abstract class ImageModification extends BaseForm
'constraints' => array(
new Image(
array(
'minWidth' => 200,
'minHeight' => 200
// 'minWidth' => 200,
// 'minHeight' => 200
)
)
),
'label' => Translator::getInstance()->trans('File'),
'label' => Translator::getInstance()->trans('Replace current image by this file'),
'label_attr' => array(
'for' => 'file'
)