forked from extern/egroupware
Send max_file_size for link_file too
This commit is contained in:
parent
63a8718dd8
commit
7bd8652b61
@ -32,6 +32,7 @@ class etemplate_widget_link extends etemplate_widget
|
|||||||
// TODO: probably a better way to do this
|
// TODO: probably a better way to do this
|
||||||
egw_framework::includeCSS('/phpgwapi/js/jquery/jquery-ui/smoothness/jquery-ui-1.8.16.custom.css');
|
egw_framework::includeCSS('/phpgwapi/js/jquery/jquery-ui/smoothness/jquery-ui-1.8.16.custom.css');
|
||||||
}
|
}
|
||||||
|
$this->setElementAttribute($this->id.'_file', 'max_file_size', egw_vfs::int_size(ini_get('upload_max_filesize')));
|
||||||
}
|
}
|
||||||
|
|
||||||
/* Changes all link widgets to template
|
/* Changes all link widgets to template
|
||||||
|
Loading…
Reference in New Issue
Block a user