mirror of
https://gitlab.easter-eggs.com/ee/ldapsaisie.git
synced 2024-12-23 17:03:47 +01:00
LSformElement_image :: getDisplay() : Fixed error
This commit is contained in:
parent
ba7b304e56
commit
4409f854cf
1 changed files with 1 additions and 1 deletions
|
@ -46,6 +46,7 @@ class LSformElement_image extends LSformElement {
|
||||||
function getDisplay(){
|
function getDisplay(){
|
||||||
LSsession :: addCssFile('LSformElement_image.css');
|
LSsession :: addCssFile('LSformElement_image.css');
|
||||||
$return = true;
|
$return = true;
|
||||||
|
$id=$this -> name.'_'.rand();
|
||||||
if (!$this -> isFreeze()) {
|
if (!$this -> isFreeze()) {
|
||||||
LSsession :: addHelpInfos(
|
LSsession :: addHelpInfos(
|
||||||
'LSformElement_date',
|
'LSformElement_date',
|
||||||
|
@ -54,7 +55,6 @@ class LSformElement_image extends LSformElement {
|
||||||
'delete' => _('Click to delete the picture.')
|
'delete' => _('Click to delete the picture.')
|
||||||
)
|
)
|
||||||
);
|
);
|
||||||
$id=$this -> name.'_'.rand();
|
|
||||||
$return = $this -> getLabelInfos();
|
$return = $this -> getLabelInfos();
|
||||||
$return['html'] = $this -> fetchTemplate(NULL,array('id' => 'LSformElement_image_input_'.$id));
|
$return['html'] = $this -> fetchTemplate(NULL,array('id' => 'LSformElement_image_input_'.$id));
|
||||||
$this -> form -> setMaxFileSize(MAX_SEND_FILE_SIZE);
|
$this -> form -> setMaxFileSize(MAX_SEND_FILE_SIZE);
|
||||||
|
|
Loading…
Reference in a new issue