Lines Matching defs:page

286                 'values' => ['top', 'hero', 'page', 'none']
289 'values' => ['page title', 'home', 'icon', 'none']
302 'values' => ['always', 'none', 'page editors']
404 * Check if a page exist in directory or namespace
406 * @param string $page Page/namespace to search.
407 * @return boolean if page exists
409 public function pageExists(string $page): bool
412 tpl_includeFile($page . '.html');
424 if (page_findnearest($page, $useACL) !== false) {
427 } elseif ($useACL === true && auth_quickaclcheck($page) !== AUTH_NONE) {
436 * Print or return page from directory or namespace
438 * @param string $page Page/namespace to include.
441 * @param string $classWrapper Wrap page in a div with class.
442 * @return string contents of page found
444 public function includePage(string $page, bool $print = true, bool $parse = true, string $classWrapper = ''): string
447 tpl_includeFile($page . '.html');
456 $html = tpl_include_page($page, false, $propagate, $useACL);
1005 * Print or return the page tools content
1132 // return if we are not allowed to view the page
1242 $this->userCanEdit() === true && strcasecmp($showPageTools, 'page editors') === 0)
1412 $page = $part;
1413 if ($page === $conf['start']) {
1418 $html .= '<li>' . tpl_pagelink($page, null, true) . '</li>';
1422 resolve_pageid('', $page, $exists);
1423 if ((isset($page) === true && $page === $part . $parts[$i]) === false) {
1424 $page = $part . $parts[$i];
1425 if ($page !== $conf['start']) {
1427 $html .= '<li>' . tpl_pagelink($page, null, true) . '</li>';
1468 if (isset($_GET['page']) === true) {
1489 * @return string page title
1719 if (strcasecmp($INPUT->str('page'), 'config') === 0) {
1750 } elseif (strcasecmp($INPUT->str('page'), 'styling') === 0) {
1890 if (strcasecmp($ACT, 'admin') === 0 && isset($_GET['page']) === false) {
1930 /* Hide page title if hero is enabled */
2039 if (strcasecmp($INPUT->str('page'), 'config') === 0) {
2065 * Get DokuWiki namespace/page/URI as link
2082 * Check if the user can edit current namespace/page
2179 * Print or return the page title
2181 * @param string $page Page id or empty string for current page.
2184 public function getPageTitle(string $page = ''): string
2190 if (empty($page) === true) {
2191 $page = $ID;
2194 $html = p_get_first_heading($page);