mirror of
https://github.com/EGroupware/egroupware.git
synced 2024-12-27 09:09:04 +01:00
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
|
||||
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
|
||||
|
Loading…
Reference in New Issue
Block a user