summaryrefslogtreecommitdiff
path: root/modules/book.module
diff options
context:
space:
mode:
authorDries Buytaert <dries@buytaert.net>2004-08-19 15:41:57 +0000
committerDries Buytaert <dries@buytaert.net>2004-08-19 15:41:57 +0000
commitfa25c7a0ca13b57f098f0d2a2f7379ce73086723 (patch)
treedbc21e6623702f93fbb93e74b0ac33691c8b3011 /modules/book.module
parentfeb61eea867a51bf061c0a7067126539810c34ec (diff)
downloadbrdo-fa25c7a0ca13b57f098f0d2a2f7379ce73086723.tar.gz
brdo-fa25c7a0ca13b57f098f0d2a2f7379ce73086723.tar.bz2
- Code improvements by Stefan: use capital letters for header titles (and added some missing t() functions).
Diffstat (limited to 'modules/book.module')
-rw-r--r--modules/book.module4
1 files changed, 2 insertions, 2 deletions
diff --git a/modules/book.module b/modules/book.module
index a962f7ee7..4dcdf18fb 100644
--- a/modules/book.module
+++ b/modules/book.module
@@ -685,7 +685,7 @@ function book_admin_view($nid, $depth = 0) {
$output .= '<h3>'. $node->title .'</h3>';
- $header = array(t('title'), t('weight'), array('data' => t('operations'), 'colspan' => 3));
+ $header = array(t('Title'), t('Weight'), array('data' => t('Operations'), 'colspan' => 3));
$rows[] = book_admin_view_line($node);
$rows = array_merge($rows, book_admin_view_book($nid));
@@ -733,7 +733,7 @@ function book_admin_orphan() {
if ($pages) {
$output .= '<h3>'. t('Orphan pages') .'</h3>';
- $header = array(t('title'), t('weight'), array('data' => t('operations'), 'colspan' => 3));
+ $header = array(t('Title'), t('Weight'), array('data' => t('Operations'), 'colspan' => 3));
foreach ($pages as $nid => $node) {
if ($node->parent && empty($pages[$node->parent])) {
$rows[] = book_admin_view_line($node, $depth);