mirror of
https://github.com/phpbb/phpbb.git
synced 2025-07-30 21:40:43 +02:00
Updates for changes to filelist()
git-svn-id: file:///svn/phpbb/trunk@4289 89ea8834-ac86-4346-8a33-228a782c2dd0
This commit is contained in:
@@ -660,10 +660,13 @@ if ($mode == 'ext_groups')
|
||||
$imglist = filelist($phpbb_root_path . $img_path, '');
|
||||
|
||||
$filename_list = '';
|
||||
foreach ($imglist as $img)
|
||||
foreach ($imglist as $path => $img_ary)
|
||||
{
|
||||
$img = substr($img['path'], 1) . (($img['path'] != '') ? '/' : '') . $img['file'];
|
||||
$filename_list .= '<option value="' . htmlspecialchars($img) . '">' . $img . '</option>';
|
||||
foreach ($img_ary as $img)
|
||||
{
|
||||
$img = substr($path, 1) . (($path != '') ? '/' : '') . $img;
|
||||
$filename_list .= '<option value="' . htmlspecialchars($img) . '">' . $img . '</option>';
|
||||
}
|
||||
}
|
||||
|
||||
$size = isset($_REQUEST['size']) ? intval($_REQUEST['size']) : 0;
|
||||
|
Reference in New Issue
Block a user