summaryrefslogtreecommitdiff
path: root/it_html.class
diff options
context:
space:
mode:
authorChristian Schneider2021-01-13 16:21:03 +0100
committerChristian Schneider2021-01-13 16:21:03 +0100
commit4f7f5e4b1fd1077ad134860b32203810ef24c0ce (patch)
treead1f7ce97388ff1ac4b11e47960ddebe2ae1fa0f /it_html.class
parentb1548c21528cc8158f09a3acaf6fb8ef51ae7e5f (diff)
downloaditools-4f7f5e4b1fd1077ad134860b32203810ef24c0ce.tar.gz
itools-4f7f5e4b1fd1077ad134860b32203810ef24c0ce.tar.bz2
itools-4f7f5e4b1fd1077ad134860b32203810ef24c0ce.zip
Unified join to always use implode
Diffstat (limited to 'it_html.class')
-rw-r--r--it_html.class4
1 files changed, 2 insertions, 2 deletions
diff --git a/it_html.class b/it_html.class
index b27c696..da8f576 100644
--- a/it_html.class
+++ b/it_html.class
@@ -132,7 +132,7 @@ function __construct($p = array())
$code[$func] = "function $func() { \$args = func_get_args(); return call_user_func_array(array(&\$GLOBALS['{$this->p['name']}'], '$func'), \$args); }";
}
- eval(join('', (array)$code));
+ eval(implode('', (array)$code));
}
@@ -255,7 +255,7 @@ function body($args)
$toggled_host = preg_replace("/\.([^.]*)\.([^.]*)\.([^.]*)$/", ".$var.\$1.\$2.\$3", $_SERVER['HTTP_HOST']);
$debug_links[] = a(array('href' => U('http://' . $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'), "Debugvars: " . join(" ", $debug_links));
+ $args[] = div(array('style' => 'position:fixed; bottom:0; z-index:9999; font-family:monospace'), "Debugvars: " . implode(" ", $debug_links));
}
return $this->head() . $this->_tag('body', $args);