diff options
author | Dries Buytaert <dries@buytaert.net> | 2009-12-22 14:47:14 +0000 |
---|---|---|
committer | Dries Buytaert <dries@buytaert.net> | 2009-12-22 14:47:14 +0000 |
commit | 8749a43a5419fd0e55034a23afb3fc63158ccd5f (patch) | |
tree | 1e13e3a8b5ec70fb99a29bc6cda5bc304125cf25 /modules/update | |
parent | a71fd090aeefd818d80c6163c690694ea6259859 (diff) | |
download | brdo-8749a43a5419fd0e55034a23afb3fc63158ccd5f.tar.gz brdo-8749a43a5419fd0e55034a23afb3fc63158ccd5f.tar.bz2 |
- Patch #601548 by Damien Tournoud, moshe weitzman: loosen the dependency between t() and the theming layer.
Diffstat (limited to 'modules/update')
-rw-r--r-- | modules/update/update.report.inc | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/modules/update/update.report.inc b/modules/update/update.report.inc index 1f0081ec6..1b673ae80 100644 --- a/modules/update/update.report.inc +++ b/modules/update/update.report.inc @@ -164,7 +164,7 @@ function theme_update_report($variables) { foreach ($project['extra'] as $key => $value) { $row .= '<div class="' . implode(' ', $value['class']) . '">'; $row .= check_plain($value['label']) . ': '; - $row .= theme('placeholder', array('text' => $value['data'])); + $row .= drupal_placeholder(array('text' => $value['data'])); $row .= "</div>\n"; } $row .= "</div>\n"; // extra div. @@ -199,7 +199,7 @@ function theme_update_report($variables) { break; default: - $base_themes[] = theme('placeholder', array('text' => $base_theme)); + $base_themes[] = drupal_placeholder(array('text' => $base_theme)); } } $row .= t('Depends on: !basethemes', array('!basethemes' => implode(', ', $base_themes))); |