item ) ) { return; } $enc = $this->encoder(); $boxAttributes = $this->get( 'boxAttributes', array() ); $itemAttributes = $this->get( 'itemAttributes', array() ); $item = $this->item; $url = $item->getUrl(); $previewUrl = $item->getPreview(); $parts = explode( '/', $item->getMimetype() ); $boxattr = ''; foreach( $boxAttributes as $name => $value ) { $boxattr .= $name . ( $value != null ? '="' . $enc->attr( $value ) . '"' : '' ) . ' '; } $itemattr = ''; foreach( $itemAttributes as $name => $value ) { $itemattr .= $name . ( $value != null ? '="' . $enc->attr( $value ) . '"' : '' ) . ' '; } ?>