diff options
Diffstat (limited to 'themes')
-rw-r--r-- | themes/example/example.theme | 4 | ||||
-rw-r--r-- | themes/goofy/goofy.theme | 6 | ||||
-rw-r--r-- | themes/jeroen/jeroen.theme | 4 | ||||
-rw-r--r-- | themes/marvin/marvin.theme | 4 | ||||
-rw-r--r-- | themes/unconed/images/logo.gif | bin | 8339 -> 12648 bytes | |||
-rw-r--r-- | themes/unconed/unconed.theme | 8 | ||||
-rw-r--r-- | themes/yaroon/yaroon.theme | 4 |
7 files changed, 16 insertions, 14 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>"; diff --git a/themes/goofy/goofy.theme b/themes/goofy/goofy.theme index 8277b38f6..4f32b5496 100644 --- a/themes/goofy/goofy.theme +++ b/themes/goofy/goofy.theme @@ -65,7 +65,7 @@ function c(subject,mod,author,date,body) {document.writeln("<table border=\"0\" <body> <table border="0" cellspacing="3" cellpadding="0" width="100%"> <tr> - <td colspan="2" width="100%"><img src="themes/goofy/images/logo.png" alt=""><br> + <td colspan="2" width="100%"><table border="0" cellspacing="0" cellpadding="0" width="100%"><tr><td align="left"><img src="themes/goofy/images/logo.png" alt=""></td><td align="right"><img src="themes/goofy/images/drupal.png" alt="Powered by Drupal"></td></tr></table> <?php $this->linksbar(); ?> </td> </tr> @@ -102,7 +102,7 @@ function c(subject,mod,author,date,body) {document.writeln("<table border=\"0\" function node($node, $main = 0) { echo "\n<!-- node: \"$node->title\" -->\n"; $title = check_output($node->title); - $subleft = strtr(t("Submitted by %a on %b"), array("%a" => format_name($node->name), "%b" => format_date($node->timestamp, "large"))); + $subleft = strtr(t("Submitted by %a on %b"), array("%a" => format_name($node), "%b" => format_date($node->timestamp, "large"))); $subright = node_index($node); $body = check_output($node->body, 1) . ($main ? "<hr color=\"#404040\" size=\"1\"><div align=\"right\">[ " . $this->links(link_node($node)) . " ]</div>" : ""); print "<script language=\"JavaScript\"><!--\ns(\"". $this->stripbreaks(addslashes($title)) ."\",\"". $this->stripbreaks(addslashes($subleft)) ."\",\"". $this->stripbreaks(addslashes($subright)) ."\",\"". $this->stripbreaks(addslashes($body)) ."\"); // -->\n</script>\n"; @@ -112,7 +112,7 @@ function c(subject,mod,author,date,body) {document.writeln("<table border=\"0\" function comment($comment, $link = "") { echo "<A NAME=\"$comment->cid\"></A>\n"; - $author = "<b>" . format_name($comment->name) . "</b>"; + $author = "<b>" . format_name($comment) . "</b>"; if ($comment->name) { if ($comment->fake_email) $info[] = format_email($comment->fake_email); if (eregi("http://",$comment->url)) $info[] = format_url($comment->url); diff --git a/themes/jeroen/jeroen.theme b/themes/jeroen/jeroen.theme index 55717c8db..61aa3ac45 100644 --- a/themes/jeroen/jeroen.theme +++ b/themes/jeroen/jeroen.theme @@ -117,7 +117,7 @@ case 12: $how = "Forged"; break; default: $how = "Sneaked through"; } - echo "<FONT SIZE=\"-1\">". strtr(t("$how by %a on %b"), array("%a" => format_name($node->name), "%b" => format_date($node->timestamp), "large")) ."</FONT>"; + echo "<FONT SIZE=\"-1\">". strtr(t("$how by %a on %b"), array("%a" => format_name($node), "%b" => format_date($node->timestamp), "large")) ."</FONT>"; ?> </FONT> </td> @@ -192,7 +192,7 @@ // Author: echo " <tr>"; - echo " <td align=\"right\"><FONT COLOR=\"#FEFEFE\">". t("Author") .":</FONT></td><td><B>". format_name($comment->name) ."</B> "; + echo " <td align=\"right\"><FONT COLOR=\"#FEFEFE\">". t("Author") .":</FONT></td><td><B>". format_name($comment) ."</B> "; if ($comment->name) { // Display extra information line: if ($comment->fake_email) $info .= format_email($comment->fake_email); diff --git a/themes/marvin/marvin.theme b/themes/marvin/marvin.theme index e4d9e7c95..9c589e81f 100644 --- a/themes/marvin/marvin.theme +++ b/themes/marvin/marvin.theme @@ -56,7 +56,7 @@ print "<table border=\"0\" cellpadding=\"0\" cellspacing=\"0\" width=\"100%\">\n"; print " <tr><td colspan=\"2\"><img src=\"themes/marvin/images/drop.gif\" alt=\"\" /> <b>". check_output($node->title) ."</b></td></tr>\n"; print " <tr valign=\"bottom\"><td colspan=\"2\" bgcolor=\"#000000\" width=\"100%\"><img src=\"themes/marvin/images/pixel.gif\" width=\"1\" height=\"1\" alt=\"\" /></td></tr>\n"; - print " <tr><td nowrap=\"nowrap\"><font color=\"#7C7C7C\"><small>". strtr(t("Submitted by %a on %b"), array("%a" => format_name($node->name), "%b" => format_date($node->timestamp, "large"))); ?><?php print "</small></font></td><td align=\"right\" valign=\"top\" nowrap><small>". node_index($node) ."</small></td></tr>\n"; + print " <tr><td nowrap=\"nowrap\"><font color=\"#7C7C7C\"><small>". strtr(t("Submitted by %a on %b"), array("%a" => format_name($node), "%b" => format_date($node->timestamp, "large"))); ?><?php print "</small></font></td><td align=\"right\" valign=\"top\" nowrap><small>". node_index($node) ."</small></td></tr>\n"; print " <tr><td colspan=\"2\"> </td></tr>\n"; print " <tr><td colspan=\"2\"><p>". check_output($node->body, 1) ."</p></td></tr>\n"; print " <tr><td colspan=\"2\"> </tr></tr>\n"; @@ -90,7 +90,7 @@ // Author: print " <tr>\n"; - print " <td align=\"right\" valign=\"top\">". t("Author") .":</td><td>". format_name($comment->name) ."</td>\n"; + print " <td align=\"right\" valign=\"top\">". t("Author") .":</td><td>". format_name($comment) ."</td>\n"; print " </tr>\n"; // Date diff --git a/themes/unconed/images/logo.gif b/themes/unconed/images/logo.gif Binary files differindex 6ac649096..637455468 100644 --- a/themes/unconed/images/logo.gif +++ b/themes/unconed/images/logo.gif diff --git a/themes/unconed/unconed.theme b/themes/unconed/unconed.theme index 688b00998..2f46ab7c9 100644 --- a/themes/unconed/unconed.theme +++ b/themes/unconed/unconed.theme @@ -60,7 +60,9 @@ <TD BGCOLOR="<?php print $this->cl80; ?>"> <TABLE BORDER="0" CELLPADDING="0" CELLSPACING="9" BGCOLOR="<?php print $this->cl80; ?>"> <TR> - <TD COLSPAN="2"><IMG SRC="themes/<?php print $this->themename; ?>/images/logo.gif" ALT="logo"></TD> + <TD COLSPAN="2"> + <TABLE BORDER="0" WIDTH="100%" CELLSPACING="0" CELLPADDING="0" BGCOLOR="<?php echo $this->brcolor1; ?>"><TR><TD ALIGN="CENTER"><TABLE BORDER="0" WIDTH="100%" CELLSPACING="1" CELLPADDING="4"><TR><TD ALIGN="CENTER" BGCOLOR="<?php echo $this->bgcolor2; ?>"><IMG SRC="themes/<?php print $this->themename; ?>/images/logo.gif" ALT="logo"></TD></TR></TABLE></TD></TR></TABLE> + </TD> </TR> <TR> <TD COLSPAN="2" ALIGN="CENTER"> @@ -90,7 +92,7 @@ <TR><TD COLSPAN="2" BGCOLOR="<?php echo $this->bgcolor1; ?>" WIDTH="100%"><table width="100%" cellpadding="0" cellspacing="0"><tr><td width="100%"><FONT COLOR="<?php echo $this->fgcolor1; ?>"><B><?php echo "". check_output($node->title) .""; ?></B></FONT></td><td valign="middle" align="center"><IMG SRC="themes/<?php print $this->themename; ?>/images/icon.gif" valign="middle"></td></tr></table></TD></TR> <TR BGCOLOR="<?php echo $this->bgcolor2; ?>"> <?php - print "<TD WIDTH=\"70%\" BGCOLOR=\"$this->bgcolor2\"><SMALL>" . strtr(t("Submitted by %a on %b"), array("%a" => format_name($node->name), "%b" => format_date($node->timestamp, "large"))) . "</TD><TD WIDTH=\"30%\" BGCOLOR=\"$this->bgcolor2\" ALIGN=\"center\" NOWRAP><B>". node_index($node) ."</B>"; + print "<TD WIDTH=\"70%\" BGCOLOR=\"$this->bgcolor2\"><SMALL>" . strtr(t("Submitted by %a on %b"), array("%a" => format_name($node), "%b" => format_date($node->timestamp, "large"))) . "</TD><TD WIDTH=\"30%\" BGCOLOR=\"$this->bgcolor2\" ALIGN=\"center\" NOWRAP><B>". node_index($node) ."</B>"; ?> </TD> </TR> @@ -139,7 +141,7 @@ // Author: echo " <TR>"; - echo " <TD ALIGN=\"right\" VALIGN=\"top\">" . t("Author") . ":</TD><TD><B>" . format_name($comment->name) . "</B> "; + echo " <TD ALIGN=\"right\" VALIGN=\"top\">" . t("Author") . ":</TD><TD><B>" . format_name($node) . "</B> "; if ($comment->name) { // Display extra information line: if ($comment->fake_email) $info .= format_email($comment->fake_email); diff --git a/themes/yaroon/yaroon.theme b/themes/yaroon/yaroon.theme index d964638f0..7ef49edbc 100644 --- a/themes/yaroon/yaroon.theme +++ b/themes/yaroon/yaroon.theme @@ -134,7 +134,7 @@ <tr> <td> <img src="themes/yaroon/images/<?php echo $img; ?>" border="0" /> <b style="font-size: 12pt"><?php echo check_output($node->title); ?></b> - <?php echo strtr(t("by %a on %b"), array("%a" => format_name($node->name), "%b" => format_date($node->timestamp), "small")); ?> + <?php echo strtr(t("by %a on %b"), array("%a" => format_name($node), "%b" => format_date($node->timestamp), "small")); ?> </td> </tr> <tr><td bgcolor="<?php echo $color; ?>"><img src="themes/yaroon/images/pixel.gif" width="1" height="1" alt="" border="0" /></td></tr> @@ -172,7 +172,7 @@ <tr> <td valign="bottom" class="box"> <img src="themes/yaroon/images/square.gif" /> <b><?php echo check_output($comment->subject); ?></b> - <font size="-1"><?php echo strtr(t(" by %a on %b"), array("%a" => format_name($comment->name), "%b" => format_date($comment->timestamp), "small")); ?></font> + <font size="-1"><?php echo strtr(t(" by %a on %b"), array("%a" => format_name($comment), "%b" => format_date($comment->timestamp), "small")); ?></font> </td> <td align="right"><?php echo comment_moderation($comment); ?></td> </tr> |