';
+ }
+ $fileinfo = pathinfo($i['name']);
+ //$i['path']=$uidOwner.'/files'.$path;
+ $i['basename'] = $fileinfo['filename'];
+ $i['extension'] = isset($fileinfo['extension']) ? ('.' . $fileinfo['extension']) : '';
+
+
+
+ $SHOWURL = OC_Widget_Helper::linkToWidget('norm') . '&path='.$i['directory'].'/' . $i['basename'] . $i['extension'].'&iToken='.rawurlencode($_GET['iToken']);
+
+ $SHOWThumb = OC_Widget_Helper::linkToWidget('thumb') . '&path='.$i['directory'].'/' . $i['basename'] . $i['extension'].'&iToken='.rawurlencode($_GET['iToken']);
+
+ $dataOutput .='
';
+
+ if ($counter == $maxNeben) {
+ $dataOutput .= '
';
+ $counter = -1;
+ }
+
+ $counter++;
+ }
+
+ if ($i['type'] == 'dir'){
+
+ $AlbumData=OC_Widget_Helper::getCountPicsDirectory($i['id']);
+ $ouputAlbumThumb='