From c56ee67e29e89f5158801ba7bbe8f574a93215b4 Mon Sep 17 00:00:00 2001 From: Dries Buytaert Date: Mon, 11 Jun 2001 20:01:13 +0000 Subject: - Changed field_set(), field_get() and field_merge() to use ',' and '=' instead of ';' and ':'. It is considered to be more readable. --> A _first_ step towards and improved index.module. Stay tuned for more. + Important: If you update from CVS - apply the queries in 2.00-to-x.xx.sql! - Changed all 'attribute' to 'attributes'. + Important: If you update from CVS - apply the queries in 2.00-to-x.xx.sql! + Important: This might require to ieni-wieni small update to your custom themes and/or node-related modules: - themes: node_index($node->attribute) -> node_index($node) - node modules: attribute -> attributes --- themes/example/example.theme | 2 +- themes/goofy/goofy.theme | 2 +- themes/jeroen/jeroen.theme | 2 +- themes/marvin/marvin.theme | 2 +- themes/unconed/unconed.theme | 2 +- 5 files changed, 5 insertions(+), 5 deletions(-) (limited to 'themes') diff --git a/themes/example/example.theme b/themes/example/example.theme index dae6300a0..e53496b68 100644 --- a/themes/example/example.theme +++ b/themes/example/example.theme @@ -69,7 +69,7 @@ attribute); + echo node_index($node); ?> diff --git a/themes/goofy/goofy.theme b/themes/goofy/goofy.theme index 89d4a3343..c704b2f35 100644 --- a/themes/goofy/goofy.theme +++ b/themes/goofy/goofy.theme @@ -103,7 +103,7 @@ function c(subject,mod,author,date,body) {document.writeln("title\" -->\n"; $title = check_output($node->title); $subleft = strtr(t("Submitted by %a on %b"), array("%a" => format_username($node->userid), "%b" => format_date($node->timestamp, "large"))); - $subright = node_index($node->attribute); + $subright = node_index($node); $body = check_output($node->body, 1) . (node_links($links, $node, $main) ? "
" . $this->links($links, $main) . "
" : ""); print "\n"; } // close node function diff --git a/themes/jeroen/jeroen.theme b/themes/jeroen/jeroen.theme index 8af597435..c5685f326 100644 --- a/themes/jeroen/jeroen.theme +++ b/themes/jeroen/jeroen.theme @@ -122,7 +122,7 @@ ". node_index($node->attribute) .""; + echo " diff --git a/themes/marvin/marvin.theme b/themes/marvin/marvin.theme index 15d11eb62..b6f875904 100644 --- a/themes/marvin/marvin.theme +++ b/themes/marvin/marvin.theme @@ -55,7 +55,7 @@ print " \n"; print " \n"; print " \n"; print " \n"; print " \n"; diff --git a/themes/unconed/unconed.theme b/themes/unconed/unconed.theme index a2b95a4db..55da09982 100644 --- a/themes/unconed/unconed.theme +++ b/themes/unconed/unconed.theme @@ -89,7 +89,7 @@ bgcolor2\">" . strtr(t("Submitted by %a on %b"), array("%a" => format_username($node->userid), "%b" => format_date($node->timestamp, "large"))) . " -- cgit v1.2.3
". node_index($node) .""; ?>
\"\"
\n"; - print " ". strtr(t("Submitted by %a on %b"), array("%a" => format_username($node->userid), "%b" => format_date($node->timestamp, "large"))); ?>". node_index($node->attribute) ."\n"; + print " ". strtr(t("Submitted by %a on %b"), array("%a" => format_username($node->userid), "%b" => format_date($node->timestamp, "large"))); ?>". node_index($node) ."\n"; print "
 
title) .""; ?>
bgcolor2\" ALIGN=\"center\" NOWRAP>". node_index($node->attribute) .""; + print "bgcolor2\">" . strtr(t("Submitted by %a on %b"), array("%a" => format_username($node->userid), "%b" => format_date($node->timestamp, "large"))) . "bgcolor2\" ALIGN=\"center\" NOWRAP>". node_index($node) .""; ?>