2 merge requests!7452Issue #1797438. HTML5 validation is preventing form submit and not fully...,!789Issue #3210310: Adjust Database API to remove deprecated Drupal 9 code in Drupal 10
$message=t("Security warning: Couldn't write .htaccess. Please create a .htaccess file in your %directory directory which contains the following line: <code>SetHandler This_is_a_Drupal_security_line_do_not_remove</code>",array('%directory'=>$directory));
$message=t("Security warning: Couldn't write .htaccess file. Please create a .htaccess file in your %directory directory which contains the following lines: <code>%htaccess</code>",array('%directory'=>theme('placeholder',$directory),'%htaccess'=>'<br />'.str_replace("\n",'<br />',check_plain($htaccess_lines))));
@@ -375,6 +381,11 @@ function _upload_validate(&$node) {
form_set_error('upload',t('The selected file %name can not be attached to this post, because the disk quota of %quota has been reached.',array('%name'=>theme('placeholder',$file->filename),'%quota'=>theme('placeholder',format_size($usersize)))));
$valid=FALSE;
}
elseif(strlen($node->files[$fid]->filename)>255){
form_set_error('upload',t('The selected file %name can not be attached to this post, because the filename is too long.',array('%name'=>theme('placeholder',$munged_filename))));
@@ -375,6 +381,11 @@ function _upload_validate(&$node) {
form_set_error('upload',t('The selected file %name can not be attached to this post, because the disk quota of %quota has been reached.',array('%name'=>theme('placeholder',$file->filename),'%quota'=>theme('placeholder',format_size($usersize)))));
$valid=FALSE;
}
elseif(strlen($node->files[$fid]->filename)>255){
form_set_error('upload',t('The selected file %name can not be attached to this post, because the filename is too long.',array('%name'=>theme('placeholder',$munged_filename))));