summaryrefslogtreecommitdiff
path: root/modules/system/system.module
diff options
context:
space:
mode:
authorDries Buytaert <dries@buytaert.net>2008-05-02 15:11:05 +0000
committerDries Buytaert <dries@buytaert.net>2008-05-02 15:11:05 +0000
commitd1bc88924267f992b539b635a8de296e96c56ae3 (patch)
treefb74d421f9af67271938fcdcb8380e1b057f63fe /modules/system/system.module
parent4bc5d8d244bf152629e5a6738ddab2dd0d225896 (diff)
downloadbrdo-d1bc88924267f992b539b635a8de296e96c56ae3.tar.gz
brdo-d1bc88924267f992b539b635a8de296e96c56ae3.tar.bz2
- Patch #227830 by JohnAlbin: link attributes added to l() incorrectly.
Diffstat (limited to 'modules/system/system.module')
-rw-r--r--modules/system/system.module4
1 files changed, 2 insertions, 2 deletions
diff --git a/modules/system/system.module b/modules/system/system.module
index 21955818a..e8e9d0e14 100644
--- a/modules/system/system.module
+++ b/modules/system/system.module
@@ -2084,10 +2084,10 @@ function theme_system_powered_by($image_path) {
function theme_system_compact_link() {
$output = '<div class="compact-link">';
if (system_admin_compact_mode()) {
- $output .= l(t('Show descriptions'), 'admin/compact/off', array('title' => t('Expand layout to include descriptions.'), 'query' => drupal_get_destination()));
+ $output .= l(t('Show descriptions'), 'admin/compact/off', array('attributes' => array('title' => t('Expand layout to include descriptions.')), 'query' => drupal_get_destination()));
}
else {
- $output .= l(t('Hide descriptions'), 'admin/compact/on', array('title' => t('Compress layout by hiding descriptions.'), 'query' => drupal_get_destination()));
+ $output .= l(t('Hide descriptions'), 'admin/compact/on', array('attributes' => array('title' => t('Compress layout by hiding descriptions.')), 'query' => drupal_get_destination()));
}
$output .= '</div>';