All pastes #958358 Raw Edit

Stuff

public php v1 · immutable
#958358 ·published 2008-03-26 17:57 UTC
rendered paste body
require_once("/var/www/cave/lib/SingleSignOnManager.php");$isLoggedInSplunkState  = SingleSignOnManager::isLoggedIn($_COOKIE['Apache']);if (!$isLoggedInSplunkState) error_log("DEBUG [mediawiki::Auth_remote_user_hook] &&&&&&& splunk NO");if ($isLoggedInSplunkState) error_log("DEBUG [mediawiki::Auth_remote_user_hook] &&&&&&& splunk YES");if (sizeof($this->data['personal_urls'])  > 0 && $isLoggedInSplunkState){		?><div class="plainSidebar sidebarModule sidebar_dark_grey smallRoundedCorners" id="p-personal">	<div class="sidebarHeaderDiv">		<h3 class="sidebarHeader"><?php $this->msg('personaltools') ?> </h3>	</div>	<div class="pBody">		<ul><?php 			foreach($this->data['personal_urls'] as $key => $item) { ?>			<li id="pt-<?php echo Sanitizer::escapeId($key) ?>"<?php				if ($item['active']) { ?> class="active"<?php } ?>><a href="<?php			echo htmlspecialchars($item['href']) ?>"<?php echo $skin->tooltipAndAccesskey('pt-'.$key) ?><?php			if(!empty($item['class'])) { ?> class="<?php			echo htmlspecialchars($item['class']) ?>"<?php } ?>><?php			echo htmlspecialchars($item['text']) ?></a></li><?php			} ?>		</ul>	</div></div><?php } // personal_urls ?>