Lines Matching +full:update +full:- +full:user +full:- +full:info -(+path:inc +path:lang) -(+path:lib +path:plugins +path:lang) -(+path:lib +path:tpl +path:dokuwiki +path:lang)

98     global $INFO;
99 $INFO['prependTOC'] = $prependTOC;
120 $router->getAction()->tplContent();
123 msg(hsc($e->getMessage()), -1);
146 global $INFO;
153 } elseif (($ACT == 'show' || str_starts_with($ACT, 'export')) && !$REV && $INFO['exists']) {
165 $toc = $plugin->getTOC();
186 global $INFO;
191 $class = $INPUT->str('page');
203 if (!is_array($TOC)) $TOC = $plugin->getTOC(); //if TOC wasn't requested yet
204 if ($INFO['prependTOC']) tpl_toc();
205 $plugin->html();
208 $admin->show();
229 global $INFO;
273 'crossorigin' => 'use-credentials' // See issue #4322
278 $styleIni = $styleUtil->cssStyleini();
282 'name' => 'theme-color',
299 … 'href' => DOKU_BASE . 'feed.php?mode=list&ns=' . (isset($INFO) ? $INFO['namespace'] : '')
302 if (($ACT == 'show' || $ACT == 'search') && $INFO['writable']) {
340 if ($INFO['exists']) {
342 if ((time() - $INFO['lastmod']) >= $conf['indexdelay'] && !isHiddenPage($ID)) {
364 if (!empty($INFO['meta']['subject'])) {
365 … $head['meta'][] = ['name' => 'keywords', 'content' => implode(',', $INFO['meta']['subject'])];
377 $script = "var NS='" . (isset($INFO) ? $INFO['namespace'] : '') . "';";
378 if ($conf['useacl'] && $INPUT->server->str('REMOTE_USER')) {
383 …$script .= '(function(H){H.className=H.className.replace(/\bno-js\b/,\'js\')})(document.documentEl…
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
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');
868 for ($i = 0; $i < $count - 1; $i++) {
879 $page = (new PageResolver('root'))->resolveId($page);
900 * Print info if the user is logged in
915 if ($INPUT->server->str('REMOTE_USER')) {
923 * Print some info about the current page
934 global $INFO;
943 $fn = $INFO['filepath'];
945 if ($INFO['rev']) {
952 $dateLocal = dformat($INFO['lastmod']);
953 $dateIso = date(DATE_ISO8601, $INFO['lastmod']);
956 if ($INFO['exists']) {
962 if ($INFO['editor']) {
964 $out .= '<bdi>' . editorinfo($INFO['editor']) . '</bdi>';
968 if ($INFO['locked']) {
972 $out .= '<bdi>' . editorinfo($INFO['locked']) . '</bdi>';
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));
1096 if (!$info) return $alt;
1097 return $info;
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, '&');
1402 * Depending on the user's actions this may be a list of
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);
1691 * @deprecated 2020-07-23
1696 (new Subscribe())->show();
1782 * Note: no escaping or sanity checking is done here. Never pass user input
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'));
1898 global $ACT, $conf, $ID, $INFO;
1906 $INPUT->server->bool('REMOTE_USER') ? 'loggedIn' : '',
1907 (isset($INFO['exists']) && $INFO['exists']) ? '' : 'notFound',
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();