summaryrefslogtreecommitdiff
path: root/modules/system/system.module
diff options
context:
space:
mode:
authorDries Buytaert <dries@buytaert.net>2005-05-14 21:32:20 +0000
committerDries Buytaert <dries@buytaert.net>2005-05-14 21:32:20 +0000
commitb86a5d495a9f6e99f095fa5b7baee39194aa644e (patch)
tree1ecc974548c32384010091ebba86ff60d3aad600 /modules/system/system.module
parentb0c998319031ddbcdbabfc21585c27e149c68b61 (diff)
downloadbrdo-b86a5d495a9f6e99f095fa5b7baee39194aa644e.tar.gz
brdo-b86a5d495a9f6e99f095fa5b7baee39194aa644e.tar.bz2
- Patch #22883 by darix: system_theme_listing() passes scalar to drupal_attributes(). this patch fixes it and wraps the params into array()
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 119c50e52..c0e5550ae 100644
--- a/modules/system/system.module
+++ b/modules/system/system.module
@@ -142,7 +142,7 @@ function system_user($type, $edit, &$user, $category = NULL) {
// Screenshot column.
$screenshot = dirname($value->filename) .'/screenshot.png';
- $row[] = file_exists($screenshot) ? theme('image', $screenshot, t('Screenshot for %theme theme', array('%theme' => $value->name)), '', 'class="screenshot"', false) : t('no screenshot');
+ $row[] = file_exists($screenshot) ? theme('image', $screenshot, t('Screenshot for %theme theme', array('%theme' => $value->name)), '', array('class' => 'screenshot'), false) : t('no screenshot');
// Information field.
$field = '<strong>'. $value->name .'</strong>';
@@ -419,7 +419,7 @@ function system_theme_listing() {
$row = array();
// Screenshot column.
- $row[] = file_exists($info->screenshot) ? theme('image', $info->screenshot, t('Screenshot for %theme theme', array('%theme' => $info->name)), '', 'class="screenshot"', false) : t('no screenshot');
+ $row[] = file_exists($info->screenshot) ? theme('image', $info->screenshot, t('Screenshot for %theme theme', array('%theme' => $info->name)), '', array('class' => 'screenshot'), false) : t('no screenshot');
// Information field.
$row[] = "<strong>$info->name</strong><br /><em>" . dirname($info->filename) . '</em>';