Example #1
0
 public function makeThumbLink2(Title $title, $file, $frameParams = [], $handlerParams = [], $time = false, $query = "")
 {
     return Linker::makeThumbLink2($title, $file, $frameParams, $handlerParams, $time, $query);
 }
Example #2
0
 function makeThumbLink2(Title $title, $file, $frameParams = array(), $handlerParams = array(), $time = false, $query = "")
 {
     $html = Linker::makeThumbLink2($title, $file, $frameParams, $handlerParams, $time, $query);
     // remove zoomicon
     preg_match_all('/<div class="magnify">.*?<\\/div>/s', $html, $matches);
     foreach ($matches[0] as $match) {
         $html = str_replace($match, "", $html);
     }
     return $html;
 }