Lines Matching refs:more
551 * @param mixed $more string or array with additional parameters
557 function ml($id = '', $more = '', $direct = true, $sep = '&', $abs = false) { argument
561 if(is_array($more)) {
563 if(!empty($more['w']) || !empty($more['h']) || $isexternalimage ){
564 $more['tok'] = media_get_token($id,$more['w'],$more['h']);
567 if(isset($more['cache']) && $more['cache'] == 'cache') unset($more['cache']);
568 if(empty($more['w'])) unset($more['w']);
569 if(empty($more['h'])) unset($more['h']);
571 if($more['fileid'] <1 || $more['fileid'] == '') unset($more['fileid']);
572 if(isset($more['id']) && $direct) unset($more['id']);
573 $more = buildURLparams($more, $sep);
576 if (preg_match_all('/\b(w|h)=(\d*)\b/',$more,$matches,PREG_SET_ORDER) || $isexternalimage){
581 $more .= $more === '' ? '' : $sep;
582 $more .= 'tok='.media_get_token($id,$resize['w'],$resize['h']);
584 $more = str_replace('cache=cache', '', $more); //skip default
585 $more = str_replace(',,', ',', $more);
586 $more = str_replace(',', $sep, $more);
601 if($more) {
602 $xlink .= $sep.$more;
632 if($more) $xlink .= '?'.$more;
634 if($more) {
635 $xlink .= $script.'?'.$more;