', '', $html ); $html = str_replace( '
', '', $html ); $pos = strrpos($ID, ":"); if ($pos === false) { $html = str_replace( ' AUTH_READ ) { print ''; } } /** * Displays the bottombar * */ function tpl_bottombar() { global $INFO,$ID,$lang; $perm = $INFO['perm']; echo ''.$lang['btn_recent'].'' .' · '; if($perm > AUTH_READ) { echo ''.$lang['btn_revs'].'' .' · '; if(file_exists(wikiFN($ID))) { echo ''.$lang['btn_edit'].''; } else { echo ''.$lang['btn_create'].''; } echo ' · '; } else { echo ''.$lang['btn_source'].'' .' · '; } if($perm > AUTH_WRITE) { echo ''.$lang['btn_admin'].'' .' · '; } if(isset($INFO['userinfo']['name'])) { echo ''.$lang['btn_profile'].'' .' · '; echo ''.$lang['btn_logout'].''; } else { echo ''.$lang['btn_login'].''; } } /** * Displays the menu2 * */ function tpl_menu2() { global $conf, $ID, $REV, $INFO, $lang; $currID = false; $pos = strrpos($ID, ":"); if ($pos !== false) { $namespacechar = ":"; } else { $namespacechar = "/"; } if ( $conf['tpl_simpleClean']['menu2Permanent'] ) { $path = ""; } else { if ( false != strpos($ID, $namespacechar) ) { $path = substr($ID, 0, strpos($ID, $namespacechar)); } else { $path = $ID; } } if ( $INFO['perm'] >= AUTH_READ ) { print "