Lines Matching +full:check +full:- +full:attr

120         $router->getAction()->tplContent();
123 msg(hsc($e->getMessage()), -1);
165 $toc = $plugin->getTOC();
191 $class = $INPUT->str('page');
203 if (!is_array($TOC)) $TOC = $plugin->getTOC(); //if TOC wasn't requested yet
205 $plugin->html();
208 $admin->show();
273 'crossorigin' => 'use-credentials' // See issue #4322
278 $styleIni = $styleUtil->cssStyleini();
282 'name' => 'theme-color',
342 if ((time() - $INFO['lastmod']) >= $conf['indexdelay'] && !isHiddenPage($ID)) {
378 if ($conf['useacl'] && $INPUT->server->str('REMOTE_USER')) {
383 …$script .= '(function(H){H.className=H.className.replace(/\bno-js\b/,\'js\')})(document.documentEl…
426 foreach ($inst as $attr) {
427 if (empty($attr)) {
430 if ($nonce && $tag == 'script' && !empty($attr['_data'])) {
431 $attr['nonce'] = $nonce; // add nonce to inline script tags
433 echo '<', $tag, ' ', buildAttributes($attr);
434 if (isset($attr['_data']) || $tag == 'script') {
435 echo '>', $attr['_data'] ?? '', '</', $tag, '>';
527 $parent = $resolver->resolveId($parent);
531 $parent = $resolver->resolveId($parent);
546 * @deprecated 2017-09-01 see devel:menus
587 * @deprecated 2017-09-01 see devel:menus
639 * Check the actions and get data for buttons and links
647 * @deprecated 2017-09-01 see devel:menus
661 $data = $item->getLegacyData();
681 if ($evt->advise_before()) {
687 $evt->advise_after();
706 * @deprecated 2017-09-01 see devel:menus
757 $searchForm->addTagOpen('div')->addClass('no');
758 $searchForm->setHiddenField('do', 'search');
759 $searchForm->setHiddenField('id', $ID);
760 $searchForm->addTextInput('q')
761 ->addClass('edit')
762 ->attrs([
768 ->id('qsearch__in')
769 ->val($ACT === 'search' ? $QUERY : '')
770 ->useInput(false);
771 $searchForm->addButton('', $lang['btn_search'])->attrs([
776 $searchForm->addTagOpen('div')->id('qsearch__out')->addClass('ajax_qsearch JSpopup');
777 $searchForm->addTagClose('div');
779 $searchForm->addTagClose('div');
781 echo $searchForm->toHTML('QuickSearch');
800 //check if enabled
850 // check if enabled
868 for ($i = 0; $i < $count - 1; $i++) {
879 $page = (new PageResolver('root'))->resolveId($page);
915 if ($INPUT->server->str('REMOTE_USER')) {
1019 $plugin_title = $plugin->getMenuText($conf['lang']);
1020 $page_title = $plugin_title ?: $plugin->getPluginName();
1042 $page_title = $name . ' - ' . $lang['btn_revs'];
1049 $page_title = $name . ' - ' . $lang['btn_' . $ACT];
1095 $info = cleanText($imgMeta->getField($tags));
1139 * - string langkey key to lookup in the $lang var, if not found printed as is
1140 * - string type type of value
1141 * - string value tag value (unescaped)
1175 * @param int $maxwidth - maximal width of the image
1176 * @param int $maxheight - maximal height of the image
1177 * @param bool $link - link to the orginal size?
1178 * @param array $params - additional image attributes
1209 $url = ml($IMG, ['cache' => $INPUT->str('cache'), 'rev' => $REV], true, '&');
1210 …$src = ml($IMG, ['cache' => $INPUT->str('cache'), 'rev' => $REV, 'w' => $w, 'h' => $h], true, '&');
1409 * @param bool $fromajax - set true when calling this function via ajax
1424 $do = $INPUT->extract('do')->str('do');
1428 if ($INPUT->bool('edit')) {
1441 if ($evt->advise_before()) {
1448 media_searchlist($INPUT->str('q'), $NS, $AUTH);
1450 msg('Unknown action ' . hsc($do), -1);
1453 $evt->advise_after();
1459 * Prints the central column in full-screen media manager
1474 $opened_tab = $INPUT->str('tab_files');
1476 if ($INPUT->str('mediado') == 'update') $opened_tab = 'upload';
1504 * Prints the third column in full-screen media manager
1528 $do = $INPUT->str('mediado');
1530 $opened_tab = $INPUT->str('tab_details');
1542 if ($INPUT->bool('edit')) $opened_tab = 'edit';
1549 $class = preg_replace('/[^_\-a-z0-9]+/i', '_', $ext);
1605 * @deprecated 2017-09-01 see devel:menus
1611 echo $menu->getDropdown($empty, $button);
1666 * @param bool $useacl Include the page only if the ACLs check out?
1691 * @deprecated 2020-07-23
1696 (new Subscribe())->show();
1814 * @param array $types - list of icon types to display (favicon|mobile|generic)
1831 … $look = [':wiki:apple-touch-icon.png', ':apple-touch-icon.png', 'images/apple-touch-icon.png'];
1832 … $return .= '<link rel="apple-touch-icon" href="' . tpl_getMediaFile($look) . '" />' . NL;
1846 * Prints full-screen media manager
1857 $image = cleanID($INPUT->str('image'));
1906 $INPUT->server->bool('REMOTE_USER') ? 'loggedIn' : '',
1921 * @deprecated 2017-09-01 see devel:menus
1930 if ($evt->advise_before()) {
1931 foreach ($evt->data['items'] as $html) echo $html;
1933 $evt->advise_after();