diff options
author | Marc Alexander <admin@m-a-styles.de> | 2015-02-02 18:30:05 +0100 |
---|---|---|
committer | Marc Alexander <admin@m-a-styles.de> | 2015-02-02 18:30:05 +0100 |
commit | a93df0e5112962503abc88469c1cc77cef862745 (patch) | |
tree | 5617d0ed6b9cd40b8a5cea8befdb08d1f9936f32 /phpBB/includes | |
parent | 99574cf5e536a4ed81d7c7f291f3fc9e9f2466a2 (diff) | |
download | forums-a93df0e5112962503abc88469c1cc77cef862745.tar forums-a93df0e5112962503abc88469c1cc77cef862745.tar.gz forums-a93df0e5112962503abc88469c1cc77cef862745.tar.bz2 forums-a93df0e5112962503abc88469c1cc77cef862745.tar.xz forums-a93df0e5112962503abc88469c1cc77cef862745.zip |
[ticket/13568] Use more descriptive validation names and merge with path block
PHPBB3-13568
Diffstat (limited to 'phpBB/includes')
-rw-r--r-- | phpBB/includes/acp/acp_attachments.php | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/phpBB/includes/acp/acp_attachments.php b/phpBB/includes/acp/acp_attachments.php index 325c6b63cb..bffe6f7db3 100644 --- a/phpBB/includes/acp/acp_attachments.php +++ b/phpBB/includes/acp/acp_attachments.php @@ -127,7 +127,7 @@ class acp_attachments 'img_create_thumbnail' => array('lang' => 'CREATE_THUMBNAIL', 'validate' => 'bool', 'type' => 'radio:yes_no', 'explain' => true), 'img_max_thumb_width' => array('lang' => 'MAX_THUMB_WIDTH', 'validate' => 'int', 'type' => 'text:7:15', 'explain' => true, 'append' => ' ' . $user->lang['PIXEL']), 'img_min_thumb_filesize' => array('lang' => 'MIN_THUMB_FILESIZE', 'validate' => 'int', 'type' => 'text:7:15', 'explain' => true, 'append' => ' ' . $user->lang['BYTES']), - 'img_imagick' => array('lang' => 'IMAGICK_PATH', 'validate' => 'apath', 'type' => 'text:20:200', 'explain' => true, 'append' => ' <span>[ <a href="' . $this->u_action . '&action=imgmagick">' . $user->lang['SEARCH_IMAGICK'] . '</a> ]</span>'), + 'img_imagick' => array('lang' => 'IMAGICK_PATH', 'validate' => 'absolute_path', 'type' => 'text:20:200', 'explain' => true, 'append' => ' <span>[ <a href="' . $this->u_action . '&action=imgmagick">' . $user->lang['SEARCH_IMAGICK'] . '</a> ]</span>'), 'img_max' => array('lang' => 'MAX_IMAGE_SIZE', 'validate' => 'int', 'type' => 'dimension:3:4', 'explain' => true, 'append' => ' ' . $user->lang['PIXEL']), 'img_link' => array('lang' => 'IMAGE_LINK_SIZE', 'validate' => 'int', 'type' => 'dimension:3:4', 'explain' => true, 'append' => ' ' . $user->lang['PIXEL']), ) |