diff options
author | Nils Adermann <naderman@naderman.de> | 2007-03-31 16:44:18 +0000 |
---|---|---|
committer | Nils Adermann <naderman@naderman.de> | 2007-03-31 16:44:18 +0000 |
commit | a43416dbb2019980913fbb6449adbe2e6a3fbea9 (patch) | |
tree | 25af7514cb7ae9e11480e1fa09e271024f456733 /phpBB/includes/acp/acp_styles.php | |
parent | c6b0b621651e52bccc778cd9d1e8cf8cf02bc2de (diff) | |
download | forums-a43416dbb2019980913fbb6449adbe2e6a3fbea9.tar forums-a43416dbb2019980913fbb6449adbe2e6a3fbea9.tar.gz forums-a43416dbb2019980913fbb6449adbe2e6a3fbea9.tar.bz2 forums-a43416dbb2019980913fbb6449adbe2e6a3fbea9.tar.xz forums-a43416dbb2019980913fbb6449adbe2e6a3fbea9.zip |
- acp popup, shouldn't require 700 px width
- throw an error if an image that's edited into an imageset doesn't exist
- convert the password not its hash ;-)
- only update user_login_attempts if necessary
- make password requirements even clearer
git-svn-id: file:///svn/phpbb/trunk@7250 89ea8834-ac86-4346-8a33-228a782c2dd0
Diffstat (limited to 'phpBB/includes/acp/acp_styles.php')
-rw-r--r-- | phpBB/includes/acp/acp_styles.php | 8 |
1 files changed, 7 insertions, 1 deletions
diff --git a/phpBB/includes/acp/acp_styles.php b/phpBB/includes/acp/acp_styles.php index 182a565c19..db976f2f0a 100644 --- a/phpBB/includes/acp/acp_styles.php +++ b/phpBB/includes/acp/acp_styles.php @@ -1391,7 +1391,13 @@ parse_css_file = {PARSE_CSS_FILE} // from the image itself ... we ignore width settings for the poll center // image $imgwidth = $imgheight = ''; - if ($imgsize) + + if ($imageset_path && !file_exists("{$phpbb_root_path}styles/$imageset_path/imageset/$imgpath")) + { + trigger_error($user->lang['NO_IMAGE_ERROR'] . adm_back_link($this->u_action), E_USER_WARNING); + } + + if ($imgsize && $imageset_path) { list($imgwidth, $imgheight) = getimagesize("{$phpbb_root_path}styles/$imageset_path/imageset/$imgpath"); $imgheight = '*' . $imgheight; |