From 44c48004346e5956cefbd5ebd558a4406cc61253 Mon Sep 17 00:00:00 2001 From: Dries Buytaert Date: Sat, 30 Dec 2000 11:58:14 +0000 Subject: - here a bunch of changes to make "drupal" (for now) work with PHP 4.0.4 - tidied up some of the code and mainly working on the documentation --- includes/widget.inc | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) (limited to 'includes/widget.inc') diff --git a/includes/widget.inc b/includes/widget.inc index ffb883334..a42b11e54 100644 --- a/includes/widget.inc +++ b/includes/widget.inc @@ -10,7 +10,7 @@ function display_account($theme) { return ($result) ? db_result($result, 0) : 0; } - ### Display account settings: + // Display account settings: $content .= "
  • track your comments
  • \n"; $content .= "
  • track your stories
  • \n"; $content .= "
  • track $site_name
  • \n"; @@ -91,7 +91,7 @@ function display_moderation_results($theme, $story) { } function display_related_links($theme, $story) { - ### Parse story for -tags: + // Parse story for -tags: $text = stripslashes("$story->abstract $story->updates $story->article"); while ($text = stristr($text, "") + 4); @@ -99,10 +99,10 @@ function display_related_links($theme, $story) { if (!stristr($link, "mailto:")) $content .= "
  • $link
  • "; } - ### Stories in the same category: + // Stories in the same category: $content .= "
  • More about category) ."\">$story->category.
  • "; - ### Stories from the same author: + // Stories from the same author: if ($story->userid) $content .= "
  • Also by userid) ."\">$story->userid.
  • "; $theme->box("Related links", $content); -- cgit v1.2.3