summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDries Buytaert <dries@buytaert.net>2005-09-13 19:12:19 +0000
committerDries Buytaert <dries@buytaert.net>2005-09-13 19:12:19 +0000
commitfd854ea105a56e0ae9d78f456d0b1a2a0efc3327 (patch)
treef3e98a7aee51750d7c97934dc003cbaa3470fe69
parentee33291b554aaccc5423571fea88b01ae96ad9ff (diff)
downloadbrdo-fd854ea105a56e0ae9d78f456d0b1a2a0efc3327.tar.gz
brdo-fd854ea105a56e0ae9d78f456d0b1a2a0efc3327.tar.bz2
- Patch #30935 by m3avrck: generate width and height attributes for the theme screenshots on the theme administration page.
-rw-r--r--modules/system.module4
-rw-r--r--modules/system/system.module4
2 files changed, 4 insertions, 4 deletions
diff --git a/modules/system.module b/modules/system.module
index 3c6f03edf..1168a1223 100644
--- a/modules/system.module
+++ b/modules/system.module
@@ -137,7 +137,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)), '', array('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')) : t('no screenshot');
// Information field.
$row[] = '<strong>'. $value->name .'</strong>';
@@ -476,7 +476,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)), '', array('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')) : t('no screenshot');
// Information field.
$row[] = "<strong>$info->name</strong><br /><em>" . dirname($info->filename) . '</em>';
diff --git a/modules/system/system.module b/modules/system/system.module
index 3c6f03edf..1168a1223 100644
--- a/modules/system/system.module
+++ b/modules/system/system.module
@@ -137,7 +137,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)), '', array('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')) : t('no screenshot');
// Information field.
$row[] = '<strong>'. $value->name .'</strong>';
@@ -476,7 +476,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)), '', array('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')) : t('no screenshot');
// Information field.
$row[] = "<strong>$info->name</strong><br /><em>" . dirname($info->filename) . '</em>';