diff --git a/modules/system.module b/modules/system.module index 119c50e52fb..c0e5550ae74 100644 --- a/modules/system.module +++ b/modules/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 = ''. $value->name .''; @@ -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[] = "$info->name
" . dirname($info->filename) . ''; diff --git a/modules/system/system.module b/modules/system/system.module index 119c50e52fb..c0e5550ae74 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 = ''. $value->name .''; @@ -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[] = "$info->name
" . dirname($info->filename) . '';