/**
  * 
  * get html for admin browsing
  */
 public function getHtmlForAdmin()
 {
     $this->validateInited();
     $title = $this->title;
     $title_small = UniteFunctionsUG::limitStringSize($title, 25);
     $title = htmlspecialchars($title);
     $title_small = htmlspecialchars($title_small);
     $itemID = $this->id;
     //set thumb
     $urlThumb = $this->urlThumb;
     $style = "";
     $imageText = "";
     if (!empty($urlThumb)) {
         $style = "style=\"background-image:url('{$urlThumb}')\"";
     } else {
         $imageText = __("No Image", UNITEGALLERY_TEXTDOMAIN);
     }
     $urlImage = $this->urlImage;
     $type = $this->type;
     $addHtml = "";
     switch ($this->type) {
         case self::TYPE_VIMEO:
         case self::TYPE_YOUTUBE:
         case self::TYPE_WISTIA:
             $videoID = $this->getParam("videoid");
             $addHtml = "data-videoid=\"{$videoID}\"";
             break;
         case self::TYPE_HTML5VIDEO:
             $videoMp4 = $this->getParam("video_mp4");
             $videoWebm = $this->getParam("video_webm");
             $videoOgv = $this->getParam("video_ogv");
             $addHtml = "data-mp4=\"{$videoMp4}\" data-webm=\"{$videoWebm}\" data-ogv=\"{$videoOgv}\"";
             break;
     }
     //set html output
     $htmlItem = "<li id=\"item_{$itemID}\" class=\"item_type_{$type}\" data-id=\"{$itemID}\" data-title=\"{$title}\" data-image=\"{$urlImage}\" data-type=\"{$type}\" {$addHtml} >";
     $htmlItem .= "\t<div class=\"item_title unselectable\" unselectable=\"on\">{$title_small}</div>";
     $htmlItem .= "\t<div class=\"item_image unselectable\" unselectable=\"on\" {$style}>{$imageText}</div>";
     $htmlItem .= "\t<div class=\"item_icon unselectable\" unselectable=\"on\"></div>";
     $htmlItem .= "</li>";
     return $htmlItem;
 }