Lines Matching refs:prefix
882 * @param string $prefix Sidebar prefix to use when searching.
885 public function sidebarExists(string $prefix = '')
889 if (strcasecmp($prefix, 'left') === 0) {
890 $prefix = '';
893 return $this->pageExists($conf['sidebar' . $prefix]);
900 * @param string $prefix Sidebar prefix to use when searching.
905 public function includeSidebar(string $prefix = '', bool $print = true, bool $parse = true)
910 $confPrefix = preg_replace('/[^a-zA-Z0-9]/', '', ucwords($prefix));
911 $prefix = preg_replace('/[^a-zA-Z0-9]/', '', strtolower($prefix));
916 if (strcasecmp($prefix, 'left') === 0) {
917 $prefix = '';
920 $sidebarPage = empty($conf[$prefix . 'sidebar']) === true ? $prefix . 'sidebar' : $conf[$prefix . 'sidebar'];
931 if (empty($prefix) === true) {
968 if (empty($prefix) === true && $this->getConf('sidebarAlwaysShowLeft') === true) {
971 if ($this->getConf('sidebarAlwaysShow' . ucfirst($prefix)) === true) {
979 'mikio-sidebar-' . (empty($prefix) === true ? 'left' : $prefix)
984 if(empty($prefix) === true && $this->getConf('stickyLeftSidebar') === true) {
1294 $prefix = $lang['breadcrumb'];
1306 $prefix = $this->getConf('breadcrumbPrefixText');
1307 $img = $this->getMediaFile('breadcrumb-prefix', false);
1310 $prefix = '<img src="' . $img . '">';
1317 if (empty($prefix) === false) {
1318 $html .= '<li class="prefix">' . $prefix . '</li>';
1381 $prefix = $lang['youarehere'];
1393 $prefix = $this->getConf('youareherePrefixText');
1394 $img = $this->getMediaFile('youarehere-prefix', false);
1397 $prefix = '<img src="' . $img . '">';
1402 if (empty($prefix) === false) {
1403 $html .= '<li class="prefix">' . $prefix . '</li>';
2132 $prefix[] = ':' . $INFO['namespace'] . ':';
2135 $prefix[] = ':';
2136 $prefix[] = ':wiki:';
2140 $prefix[] = 'themes/' . $theme . '/images/';
2142 $prefix[] = 'images/';
2145 foreach ($prefix as $pitem) {