summaryrefslogtreecommitdiff
path: root/includes
diff options
context:
space:
mode:
authorSteven Wittens <steven@10.no-reply.drupal.org>2005-07-30 12:52:54 +0000
committerSteven Wittens <steven@10.no-reply.drupal.org>2005-07-30 12:52:54 +0000
commitc81bbf4aa18dc3b16caab8fd23dec0311939a798 (patch)
tree00702f3e32827a226cba042e145b2a28f52fa70f /includes
parent6a988f92d4dd855fb26fd67c5225c67849efc04f (diff)
downloadbrdo-c81bbf4aa18dc3b16caab8fd23dec0311939a798.tar.gz
brdo-c81bbf4aa18dc3b16caab8fd23dec0311939a798.tar.bz2
- #24673: Fix deprecated usage of implode
Diffstat (limited to 'includes')
-rw-r--r--includes/common.inc2
-rw-r--r--includes/pager.inc4
-rw-r--r--includes/theme.inc4
3 files changed, 5 insertions, 5 deletions
diff --git a/includes/common.inc b/includes/common.inc
index 48c5a3498..8a85e0d71 100644
--- a/includes/common.inc
+++ b/includes/common.inc
@@ -1648,7 +1648,7 @@ function drupal_attributes($attributes = array()) {
foreach ($attributes as $key => $value) {
$t[] = $key .'="'. check_plain($value) .'"';
}
- return ' '. implode($t, ' ');
+ return ' '. implode(' ', $t);
}
}
diff --git a/includes/pager.inc b/includes/pager.inc
index 491e35cc5..dce0465a3 100644
--- a/includes/pager.inc
+++ b/includes/pager.inc
@@ -394,10 +394,10 @@ function theme_pager_link($text, $page_new, $element, $attributes = array()) {
$page_new = pager_load_array($page_new[$element], $element, explode(',', $page));
if (count($attributes)) {
- $url = url($q, 'page='. implode($page_new, ',') .'&'. implode('&', $query));
+ $url = url($q, 'page='. implode(',', $page_new) .'&'. implode('&', $query));
}
else {
- $url = url($q, 'page='. implode($page_new, ','));
+ $url = url($q, 'page='. implode(',', $page_new));
}
return '<a href="'. check_url($url) .'">'. check_plain($text) .'</a>';
diff --git a/includes/theme.inc b/includes/theme.inc
index 74e2066d2..da3e846a7 100644
--- a/includes/theme.inc
+++ b/includes/theme.inc
@@ -538,7 +538,7 @@ function theme_image($path, $alt = '', $title = '', $attributes = NULL, $getsize
* @return a string containing the breadcrumb output.
*/
function theme_breadcrumb($breadcrumb) {
- return '<div class="breadcrumb">'. implode($breadcrumb, ' &raquo; ') .'</div>';
+ return '<div class="breadcrumb">'. implode(' » ', $breadcrumb) .'</div>';
}
/**
@@ -900,7 +900,7 @@ function theme_xml_icon($url) {
*/
function theme_closure($main = 0) {
$footer = module_invoke_all('footer', $main);
- return implode($footer, "\n");
+ return implode("\n", $footer);
}
/**