diff options
| author | Christian Helbling | 2024-07-25 13:56:28 +0200 | 
|---|---|---|
| committer | Christian Helbling | 2024-07-25 13:56:28 +0200 | 
| commit | 5b6b40f7ac705ffda91b6422296eb19d71f79a41 (patch) | |
| tree | 9943ac5f7bbdd0443641fd1a9f691b581b423188 /it_html.class | |
| parent | a0ffbff973ec6171175aa8b1306e009f2d01238e (diff) | |
| download | itools-5b6b40f7ac705ffda91b6422296eb19d71f79a41.tar.gz itools-5b6b40f7ac705ffda91b6422296eb19d71f79a41.tar.bz2 itools-5b6b40f7ac705ffda91b6422296eb19d71f79a41.zip | |
remove EDC('what') from itools - doesn't work anymore on search.ch, proably no other users
Diffstat (limited to 'it_html.class')
| -rw-r--r-- | it_html.class | 13 | 
1 files changed, 0 insertions, 13 deletions
| diff --git a/it_html.class b/it_html.class index 7e7f190..71853dd 100644 --- a/it_html.class +++ b/it_html.class @@ -244,19 +244,6 @@ function head($args = array())   */  function body($args)  { -	if (EDC('what')) -	{ -		foreach (it::sort((array)$GLOBALS['ULTRADEBUGVARS'] + ['srclines' => 1, 'texts' => 1], "k") as $var => $dummy) -		{ -			if (EDC($var)) -				$toggled_host = preg_replace("/\.$var(-[^.-]+)?/", "", $_SERVER['HTTP_HOST']); -			else -				$toggled_host = preg_replace('/^(\w+(-\w+)*)/', "\$1.$var", $_SERVER['HTTP_HOST']); -			$debug_links[] = a(array('href' => U('https://' . $toggled_host . $_SERVER['REQUEST_URI']), 'style' => 'font-weight:' . (EDC($var) ? 'bold' : 'normal') . ';'), $var); -		} -		$args[] = div(array('style' => 'position:fixed; bottom:0; z-index:9999; font-family:monospace; background:white'), "Debugvars: " . implode(" ", $debug_links)); -	} -  	return $this->head() . $this->_tag('body', $args);  } |