Lines Matching full:if

12 if (!defined('DOKU_INC')) die();
26 if ($_SERVER['REMOTE_USER'] || !$conf['useacl'] || !actionOK('register')) return;
28 if ($wrapper) echo "<$wrapper>";
30 if ($link)
35 if ($wrapper) echo "</$wrapper>";
57 /* if newer settings exist in the core, use them, otherwise fall back to template settings */
59 if (!isset($conf['tagline'])) {
63 if (!isset($conf['sidebar'])) {
69 if (!isset($lang['user_tools'])) {
72 if (!isset($lang['site_tools'])) {
75 if (!isset($lang['page_tools'])) {
78 if (!isset($lang['skip_to_content'])) {
86 if (!function_exists('tpl_getMediaFile')) {
93 if(substr($img, 0, 1) == ':') {
101 if(file_exists($file)) break;
104 // fetch image data if requested
105 if(!is_null($imginfo)) {
110 if($ismedia) {
114 if($abs) $url = DOKU_URL.substr($url, strlen(DOKU_REL));
124 if (!function_exists('tpl_favicon')) {
154 if (!function_exists('tpl_includeFile')) {
158 if(empty($config_cascade['main'][$config_group])) continue;
161 if(file_exists("$dir/$file")) {
170 if(file_exists($file)) {
179 if (!function_exists('tpl_incdir')) {
190 * If the first parameter is given a div with the ID 'qsearch_out' will
193 * attribute autocomplete. If set to false this attribute will be set with an
207 // don't print the search form if search action has been disabled
208 if(!actionOK('search')) return false;
214 if($ACT == 'search') print 'value="'.htmlspecialchars($QUERY).'" ';
218 if($ajax) print '<div id="qsearch__out" class="ajax_qsearch"></div>';
234 //if(is_array($TOC))
236 // This will happen if sidebar has headings in it, so we don't want to use
238 if(($ACT == 'show' || substr($ACT, 0, 6) == 'export') && !$REV && $INFO['exists']) {
239 // get TOC from metadata, render if neccessary
241 if(isset($meta['internal']['toc'])) {
247if(!$tocok || !is_array($toc) || !$conf['tocminheads'] || count($toc) < $conf['tocminheads']) {
254 if(!empty($class)) {
256 if(in_array($class, $pluginlist)) {
262 if( ($plugin !== null) && (!$plugin->forAdminOnly() || $INFO['isadmin']) ) {
270 if($return) return $html;
280 if(!count($toc)) return '';
295 if (count($data) === 0) {
305 if( $item['level'] > $level ){
308 if ($i) $ret .= '<li class="">';
340 if ($forcewrapper || $start_level < 2) {
341 // Trigger building a wrapper ul if the first level is
353 // check if enabled
354 if (!$conf['breadcrumbs']) return false;
359 if ($last > 1) {
364 if ($i == $last - 1) {
367 } else if ($i != $last) {
383 // check if enabled
384 if (!$conf['youarehere']) return false;
401 if ($page == $conf['start']) continue; // skip startpage
409 if (isset($page) && $page == $part.$parts[$i]) return true;
411 if ($page == $conf['start']) return true;
422 if(isset($_SERVER['REMOTE_USER'])) {
454 if(empty($ns)){
467 // insert the current ns into the hierarchy if it isn't already part of it
472 if ($tmp_ns) $tmp_ns .= ':'.$part;
477if ($pos >= count($data) || ($data[$pos]['level'] <= $level+1 && strnatcmp(utf8_encodeFN($data[$po…
498 if(!$item['label']) $item['label'] = $label;
502 // TODO: only deliver an image if it actually has a subtree...
503 if($item['open']){
514 if (!($INPUT->str('do') == 'media'))
526 * Get the sidebar html. Get cached sidebar if $cache param is true.
537 if ($cache && !$rev) {
538 if(@file_exists($file)) {
542 if(@file_exists($file)) {