diff options
author | wbeaton | 2005-11-18 02:18:38 +0000 |
---|---|---|
committer | wbeaton | 2005-11-18 02:18:38 +0000 |
commit | 1b0e057f2d1f57194db9fdcf80a66688a99e06b1 (patch) | |
tree | 2b7abf82d8507158c32db0bae7852476ff67f823 /scripts | |
parent | 954d5ceb7ce6f51f58ea90b2ce4cb321162dddbd (diff) | |
download | articles-1b0e057f2d1f57194db9fdcf80a66688a99e06b1.tar.gz articles-1b0e057f2d1f57194db9fdcf80a66688a99e06b1.tar.xz articles-1b0e057f2d1f57194db9fdcf80a66688a99e06b1.zip |
*** empty log message ***
Diffstat (limited to 'scripts')
-rw-r--r-- | scripts/articles.php | 4 | ||||
-rw-r--r-- | scripts/articles_xml.php | 6 |
2 files changed, 6 insertions, 4 deletions
diff --git a/scripts/articles.php b/scripts/articles.php index badcb8c..9c98611 100644 --- a/scripts/articles.php +++ b/scripts/articles.php @@ -126,7 +126,7 @@ class Article { } // Render the article's authors to html. - private function authors_to_html($authors) { + function authors_to_html($authors) { $count = count($authors); if ($count == 0) @@ -206,7 +206,7 @@ class Update { } // Render the article's authors to html. - private function authors_to_html($authors, & $html) { + function authors_to_html($authors, & $html) { $count = count($authors); // If there is at least one author, print their information diff --git a/scripts/articles_xml.php b/scripts/articles_xml.php index 470e464..477bc57 100644 --- a/scripts/articles_xml.php +++ b/scripts/articles_xml.php @@ -31,7 +31,8 @@ function articles_as_html() { } $html = ""; - xml_to_ArticleListing()->to_html(& $html); + $listing = xml_to_ArticleListing(); + $listing->to_html(& $html); return $html; } @@ -39,7 +40,8 @@ function compute_and_cache_articles_as_html() { $file_name = "articles.html"; $html = ""; - xml_to_ArticleListing()->to_html(& $html); + $listing = xml_to_ArticleListing(); + $listing->to_html(& $html); // Write the html content to a file cache. $file = fopen($file_name, "w"); |