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/node/node.pages.inc | |
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/node/node.pages.inc')
-rw-r--r-- | modules/node/node.pages.inc | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/modules/node/node.pages.inc b/modules/node/node.pages.inc index 63d818a5f..414db3570 100644 --- a/modules/node/node.pages.inc +++ b/modules/node/node.pages.inc @@ -521,7 +521,7 @@ function node_revision_overview($node) { $row[] = array('data' => t('!date by !username', array('!date' => l(format_date($revision->timestamp, 'short'), "node/$node->nid"), '!username' => theme('username', array('account' => $revision)))) . (($revision->log != '') ? '<p class="revision-log">' . filter_xss($revision->log) . '</p>' : ''), 'class' => array('revision-current')); - $operations[] = array('data' => theme('placeholder', array('text' => t('current revision'))), 'class' => array('revision-current'), 'colspan' => 2); + $operations[] = array('data' => drupal_placeholder(array('text' => t('current revision'))), 'class' => array('revision-current'), 'colspan' => 2); } else { $row[] = t('!date by !username', array('!date' => l(format_date($revision->timestamp, 'short'), "node/$node->nid/revisions/$revision->vid/view"), '!username' => theme('username', array('account' => $revision)))) |