summaryrefslogtreecommitdiff
path: root/themes/example/example.theme
diff options
context:
space:
mode:
Diffstat (limited to 'themes/example/example.theme')
-rw-r--r--themes/example/example.theme4
1 files changed, 2 insertions, 2 deletions
diff --git a/themes/example/example.theme b/themes/example/example.theme
index 8c2b4e9db..9c918e4c3 100644
--- a/themes/example/example.theme
+++ b/themes/example/example.theme
@@ -63,7 +63,7 @@
<TD>
<?php
- echo strtr(t("by %a on %b"), array("%a" => format_name($node->name), "%b" => format_date($node->timestamp, "small")));
+ echo strtr(t("by %a on %b"), array("%a" => format_name($node), "%b" => format_date($node->timestamp, "small")));
?>
</TD>
@@ -120,7 +120,7 @@
echo t("Author") .":";
echo " </TD>";
echo " <TD COLSPAN=\"2\">";
- echo format_name($comment->name) ." on ". format_date($comment->timestamp);
+ echo format_name($comment) ." on ". format_date($comment->timestamp);
echo " </TD>";
echo " </TR>";