[Koha-patches] [PATCH] Bug 2400 [12/18]: fixing pod syntax in C4/NewsChannels.pm

Andrew Moore andrew.moore at liblime.com
Tue Aug 12 17:11:47 CEST 2008


---
 C4/NewsChannels.pm |   14 ++++++--------
 1 files changed, 6 insertions(+), 8 deletions(-)

diff --git a/C4/NewsChannels.pm b/C4/NewsChannels.pm
index ec222ba..5edf0f1 100644
--- a/C4/NewsChannels.pm
+++ b/C4/NewsChannels.pm
@@ -47,9 +47,7 @@ This module provides the functions needed to admin the news channels and its cat
 
 =head1 FUNCTIONS
 
-=over 2
-
-=item news_channels
+=head2 news_channels
 
   ($count, @channels) = &news_channels($channel_name, $id_category, $unclassified);
 
@@ -92,7 +90,7 @@ sub news_channels {
     return (scalar(@channels), @channels);
 }
 
-=item news_channels_by_category
+=head2 news_channels_by_category
 
   ($count, @results) = &news_channels_by_category();
 
@@ -114,6 +112,8 @@ A reference to an array of references to hash which keys are the new_channels fi
 
 Additionally the last index of results has a reference to all the news channels which don't have a category 
 
+=back
+
 =cut
 
 sub news_channels_by_category {
@@ -311,11 +311,11 @@ sub get_opac_news {
 }
 
 =head2 GetNewsToDisplay
-    
+
     $news = &GetNewsToDisplay($lang);
     C<$news> is a ref to an array which containts
     all news with expirationdate > today or expirationdate is null.
-    
+
 =cut
 
 sub GetNewsToDisplay {
@@ -415,8 +415,6 @@ sub get_opac_electronics {
 1;
 __END__
 
-=back
-
 =head1 AUTHOR
 
 TG
-- 
1.5.6



More information about the Koha-patches mailing list