Send max_file_size for link_file too

This commit is contained in:
Nathan Gray 2012-06-06 19:11:55 +00:00
parent 63a8718dd8
commit 7bd8652b61

View File

@ -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