Lines Matching defs:id
495 * @param string $id page id
502 function tpl_pagelink($id, $name = null, $return = false)
504 $out = '<bdi>' . html_wikilink($id, $name) . '</bdi>';
516 * @param string $id page id
521 function tpl_getparent($id)
525 $parent = getNS($id) . ':';
527 if ($parent == $id) {
528 $pos = strrpos(getNS($id), ':');
531 if ($parent == $id) return false;
558 * @var string $id
563 if ($id === '#dokuwiki__top') {
566 $out = html_btn($type, $id, $accesskey, $params, $method);
600 * @var string $id
607 if (strpos($id, '#') === 0) {
608 $linktarget = $id;
610 $linktarget = wl($id, $params);
670 'id' => $ID,
754 'id' => 'dw__search',
758 $searchForm->setHiddenField('id', $ID);
767 ->id('qsearch__in')
775 $searchForm->addTagOpen('div')->id('qsearch__out')->addClass('ajax_qsearch JSpopup');
815 foreach ($crumbs as $id => $name) {
819 $out .= '<bdi>' . tpl_link(wl($id), hsc($name), 'class="breadcrumbs" title="' . $id . '"', true) . '</bdi>';
989 * @param string $id page id
995 function tpl_pagetitle($id = null, $ret = false)
999 if (is_null($id)) {
1001 $id = $ID;
1004 $name = $id;
1006 $first_heading = p_get_first_heading($id);
1262 $p['src'] = DOKU_BASE . 'lib/exe/taskrunner.php?id=' . rawurlencode($ID) .
1273 * tpl_getConf($id)
1277 * @param string $id name of the value to access
1281 function tpl_getConf($id, $notset = false)
1299 return $conf['tpl'][$tpl][$id] ?? $notset;
1327 * tpl_getLang($id)
1331 * @param string $id key of language string
1334 function tpl_getLang($id)
1362 return $lang[$id] ?? '';
1369 * @param string $id id of language dependent wiki page
1372 function tpl_locale_xhtml($id)
1374 return p_cached_output(tpl_localeFN($id));
1380 * @param string $id id of localized text
1383 function tpl_localeFN($id)
1387 $file = DOKU_CONF . 'template_lang/' . $conf['template'] . '/' . $conf['lang'] . '/' . $id . '.txt';
1389 $file = $path . $conf['lang'] . '/' . $id . '.txt';
1392 $file = $path . 'en/' . $id . '.txt';
1437 if (!$fromajax) echo '<div id="media__content">';
1590 echo '<div id="media__tree">';
1861 echo '<div id="mediamanager__page">' . NL;
1871 echo '<div class="panelContent" id="media__tree">' . NL;