Lines Matching defs:more
45 * filled up with the $default value. If the input string contains more elements, the last
323 //export minimal info to JS, plugins can add more
588 * The $more parameter should always be given as array, the function then
592 * @param mixed $more string or array with additional parameters
598 function ml($id = '', $more = '', $direct = true, $sep = '&', $abs = false)
606 if (is_array($more)) {
608 $w = $more['w'] ?? null;
609 $h = $more['h'] ?? null;
611 $more['tok'] = media_get_token($id, $w, $h);
614 if (isset($more['cache']) && $more['cache'] == 'cache') unset($more['cache']);
615 if (empty($more['w'])) unset($more['w']);
616 if (empty($more['h'])) unset($more['h']);
617 if (isset($more['id']) && $direct) unset($more['id']);
618 if (isset($more['rev']) && !$more['rev']) unset($more['rev']);
619 $more = buildURLparams($more, $sep);
622 if (preg_match_all('/\b(w|h)=(\d*)\b/', $more, $matches, PREG_SET_ORDER) || $isexternalimage) {
627 $more .= $more === '' ? '' : $sep;
628 $more .= 'tok=' . media_get_token($id, $resize['w'], $resize['h']);
630 $more = str_replace('cache=cache', '', $more); //skip default
631 $more = str_replace(',,', ',', $more);
632 $more = str_replace(',', $sep, $more);
644 $xlink .= '?' . $more;
667 if ($more) $xlink .= '?' . $more;
668 } elseif ($more) {
669 $xlink .= $script . '?' . $more;
853 * Convert one or more comma separated IPs to hostnames
1644 'more' => '',
1979 * Inlining SVGs saves on HTTP requests and more importantly allows for styling them through