0 AND CanAcessLibrary()){
$html = '';
foreach($current_folder_content as $c){
if($view == 'list'){
if($c['is_file'] == false){
$html .= '
'. TrimText($c['name'], 50) .'
|
'. $c['i'] .' Items
|
|
';
}else{
$html .= '
'. TrimText($c['name'], 50) .'
|
'. formatSizeUnits($c['s']) .'
|
|
';
}
}else{
if($c['is_file'] == false){
$html .= '';
}else{
$html .= '';
}
}
}
if($html != ''){
if($view == 'list'){
$html = '
';
}
$output["html"] = $html;
}else{
$output["html"] = 'No images in the folder.';
}
}else{
$output["html"] = 'No images in the folder.';
}