Lines Matching defs:id

496  * @param string $id page id
503 function tpl_pagelink($id, $name = null, $return = false)
505 $out = '<bdi>' . html_wikilink($id, $name) . '</bdi>';
517 * @param string $id page id
522 function tpl_getparent($id)
526 $parent = getNS($id) . ':';
528 if ($parent == $id) {
529 $pos = strrpos(getNS($id), ':');
532 if ($parent == $id) return false;
559 * @var string $id
564 if ($id === '#dokuwiki__top') {
567 $out = html_btn($type, $id, $accesskey, $params, $method);
601 * @var string $id
608 if (strpos($id, '#') === 0) {
609 $linktarget = $id;
611 $linktarget = wl($id, $params);
671 'id' => $ID,
755 'id' => 'dw__search',
759 $searchForm->setHiddenField('id', $ID);
768 ->id('qsearch__in')
776 $searchForm->addTagOpen('div')->id('qsearch__out')->addClass('ajax_qsearch JSpopup');
816 foreach ($crumbs as $id => $name) {
820 $out .= '<bdi>' . tpl_link(wl($id), hsc($name), 'class="breadcrumbs" title="' . $id . '"', true) . '</bdi>';
990 * @param string $id page id
996 function tpl_pagetitle($id = null, $ret = false)
1000 if (is_null($id)) {
1002 $id = $ID;
1005 $name = $id;
1007 $first_heading = p_get_first_heading($id);
1263 $p['src'] = DOKU_BASE . 'lib/exe/taskrunner.php?id=' . rawurlencode($ID) .
1274 * tpl_getConf($id)
1278 * @param string $id name of the value to access
1282 function tpl_getConf($id, $notset = false)
1300 return $conf['tpl'][$tpl][$id] ?? $notset;
1328 * tpl_getLang($id)
1332 * @param string $id key of language string
1335 function tpl_getLang($id)
1363 return $lang[$id] ?? '';
1370 * @param string $id id of language dependent wiki page
1373 function tpl_locale_xhtml($id)
1375 return p_cached_output(tpl_localeFN($id));
1381 * @param string $id id of localized text
1384 function tpl_localeFN($id)
1388 $file = DOKU_CONF . 'template_lang/' . $conf['template'] . '/' . $conf['lang'] . '/' . $id . '.txt';
1390 $file = $path . $conf['lang'] . '/' . $id . '.txt';
1393 $file = $path . 'en/' . $id . '.txt';
1438 if (!$fromajax) echo '<div id="media__content">';
1591 echo '<div id="media__tree">';
1862 echo '<div id="mediamanager__page">' . NL;
1872 echo '<div class="panelContent" id="media__tree">' . NL;