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>';
988 * @param string $id page id
994 function tpl_pagetitle($id = null, $ret = false)
998 if (is_null($id)) {
1000 $id = $ID;
1003 $name = $id;
1005 $first_heading = p_get_first_heading($id);
1261 $p['src'] = DOKU_BASE . 'lib/exe/taskrunner.php?id=' . rawurlencode($ID) .
1272 * tpl_getConf($id)
1276 * @param string $id name of the value to access
1280 function tpl_getConf($id, $notset = false)
1298 return $conf['tpl'][$tpl][$id] ?? $notset;
1326 * tpl_getLang($id)
1330 * @param string $id key of language string
1333 function tpl_getLang($id)
1361 return $lang[$id] ?? '';
1368 * @param string $id id of language dependent wiki page
1371 function tpl_locale_xhtml($id)
1373 return p_cached_output(tpl_localeFN($id));
1379 * @param string $id id of localized text
1382 function tpl_localeFN($id)
1386 $file = DOKU_CONF . 'template_lang/' . $conf['template'] . '/' . $conf['lang'] . '/' . $id . '.txt';
1388 $file = $path . $conf['lang'] . '/' . $id . '.txt';
1391 $file = $path . 'en/' . $id . '.txt';
1436 if (!$fromajax) echo '<div id="media__content">';
1589 echo '<div id="media__tree">';
1860 echo '<div id="mediamanager__page">' . NL;
1870 echo '<div class="panelContent" id="media__tree">' . NL;