/**
  * Return true or false whether thumbs should be displayed or not
  *
  * @return	boolean
  */
 function displayThumbs()
 {
     global $BE_USER;
     return parent::displayThumbs() && !$BE_USER->getTSConfigVal('options.noThumbsInRTEimageSelect') && $this->act != 'dragdrop';
 }
 /**
  * We need to pass along some RTE parameters
  *
  * @return	void
  */
 function reinitParams()
 {
     if ($this->editorNo) {
         $pArr = explode('|', $this->bparams);
         $pArr[1] = implode(':', array($this->editorNo, $this->sys_language_content));
         $pArr[2] = $this->RTEtsConfigParams;
         if ($this->act == 'dragdrop' || $this->act == 'plain') {
             $pArr[3] = 'jpg,jpeg,gif,png';
         }
         $this->bparams = implode('|', $pArr);
     }
     parent::reinitParams();
 }