[Affelio-cvs 961] CVS update: affelio

Back to archive index

Tadashi Okoshi slash****@users*****
2005年 12月 19日 (月) 17:38:52 JST


Index: affelio/index.cgi
diff -u affelio/index.cgi:1.29 affelio/index.cgi:1.30
--- affelio/index.cgi:1.29	Sun Dec 18 14:26:54 2005
+++ affelio/index.cgi	Mon Dec 19 17:38:52 2005
@@ -16,7 +16,7 @@
 # along with this program; if not, write to the Free Software
 # Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA  02111-1307, USA.
 #
-# $Id: index.cgi,v 1.29 2005/12/18 05:26:54 slash5234 Exp $
+# $Id: index.cgi,v 1.30 2005/12/19 08:38:52 slash5234 Exp $
 
 use strict;
 
@@ -252,6 +252,18 @@
     $output_data{"friendlist_all_IF"} = \@friendlist_all_IF;
 }
 ##############################
+my @newsbox;
+if($injection_flg =~ /block\_newsbox\,/){
+    try{
+	require Affelio::App::MyNewsRoutines;
+	@newsbox = Affelio::App::MyNewsRoutines::show_news($af,$visitor_afid,$visitor_type);
+    }catch Error with{
+	my $e = shift;
+	error($q, "Affelio: model execution  error.\n" . $e);
+    };
+    $output_data{"newsbox"} = \@newsbox;
+}
+##############################
 try{
     $output_data{"friend__F1count"} = $af->getFM->get_F1_count();
     $output_data{"friend__F2count"} = $af->getFM->get_F2_count();


Affelio-cvs メーリングリストの案内
Back to archive index