Lines Matching full:tag
409 * $data is an array of different header tags. Each tag can have multiple
425 foreach ($data as $tag => $inst) {
430 if ($nonce && $tag == 'script' && !empty($attr['_data'])) {
433 echo '<', $tag, ' ', buildAttributes($attr);
434 if (isset($attr['_data']) || $tag == 'script') {
435 echo '>', $attr['_data'] ?? '', '</', $tag, '>';
445 * Output the given script as inline script tag
1065 * Returns the requested EXIF/IPTC tag from the current image
1076 * @param array|string $tags tag or array of tags to try
1120 foreach ($tags as $tag) {
1121 $label = $lang[$tag['langkey']];
1122 if (!$label) $label = $tag['langkey'] . ':';
1125 if ($tag['type'] == 'date') {
1126 echo dformat($tag['value']);
1128 echo hsc($tag['value']);
1141 * - string value tag value (unescaped)
1153 foreach ($fields as $tag) {
1155 if (!empty($tag[0])) {
1156 $t = [$tag[0]];
1158 if (isset($tag[3]) && is_array($tag[3])) {
1159 $t = array_merge($t, $tag[3]);
1163 $tags[] = ['langkey' => $tag[1], 'type' => $tag[2], 'value' => $value];
1812 * Returns <link> tag for various icon types (favicon|mobile|generic)