Yoshihisa Fukuhara
higef****@users*****
2006年 3月 8日 (水) 00:14:41 JST
Index: affelio/apps/diary/Diary/EditCategory.pm
diff -u affelio/apps/diary/Diary/EditCategory.pm:1.1 affelio/apps/diary/Diary/EditCategory.pm:1.2
--- affelio/apps/diary/Diary/EditCategory.pm:1.1 Wed Mar 1 14:40:35 2006
+++ affelio/apps/diary/Diary/EditCategory.pm Wed Mar 8 00:14:41 2006
@@ -1,4 +1,4 @@
-# Copyright (C) 2005 FishGrove Inc.
+# Copyright (C) 2006 Affelio Inc.
#
# This program is free software; you can redistribute it and/or
# modify it under the terms of the GNU General Public License
@@ -17,22 +17,8 @@
package Diary::EditCategory;
{
-use strict;
-#use lib("../../../extlib/");
-#use lib("../../../lib/");
-#use Diary::L10N;
-#use DBI;
-#use Jcode;
-#use LWP::UserAgent;
-#use HTTP::Request::Common qw(POST);
-#use AffelioApp;
-#use HTML::Template;
-#use CGI;
-#use Cwd;
+ use strict;
use Affelio::misc::Debug qw( debug_print);
-# use Affelio::misc::WebInput;
-# use Affelio::exception::SystemException;
-# use Error qw(:try);
use Exporter;
@Diary::EditCategory::ISA = "Exporter";
Index: affelio/apps/diary/Diary/PrefSet.pm
diff -u affelio/apps/diary/Diary/PrefSet.pm:1.1 affelio/apps/diary/Diary/PrefSet.pm:1.2
--- affelio/apps/diary/Diary/PrefSet.pm:1.1 Wed Mar 1 14:40:35 2006
+++ affelio/apps/diary/Diary/PrefSet.pm Wed Mar 8 00:14:41 2006
@@ -1,4 +1,4 @@
-# Copyright (C) 2005 FishGrove Inc.
+# Copyright (C) 2006 Affelio Inc.
#
# This program is free software; you can redistribute it and/or
# modify it under the terms of the GNU General Public License
@@ -17,22 +17,8 @@
package Diary::PrefSet;
{
-use strict;
-#use lib("../../../extlib/");
-#use lib("../../../lib/");
-#use Diary::L10N;
-#use DBI;
-#use Jcode;
-#use LWP::UserAgent;
-#use HTTP::Request::Common qw(POST);
-#use AffelioApp;
-#use HTML::Template;
-#use CGI;
-#use Cwd;
+ use strict;
use Affelio::misc::Debug qw( debug_print);
-# use Affelio::misc::WebInput;
-# use Affelio::exception::SystemException;
-# use Error qw(:try);
use Exporter;
@Diary::PrefSet::ISA = "Exporter";
Index: affelio/apps/diary/Diary/ReadRdf.pm
diff -u affelio/apps/diary/Diary/ReadRdf.pm:1.1 affelio/apps/diary/Diary/ReadRdf.pm:1.2
--- affelio/apps/diary/Diary/ReadRdf.pm:1.1 Wed Mar 1 14:40:35 2006
+++ affelio/apps/diary/Diary/ReadRdf.pm Wed Mar 8 00:14:41 2006
@@ -1,4 +1,4 @@
-# Copyright (C) 2005 FishGrove Inc.
+# Copyright (C) 2006 Affelio Inc.
#
# This program is free software; you can redistribute it and/or
# modify it under the terms of the GNU General Public License
@@ -18,29 +18,15 @@
package Diary::ReadRdf;
{
use strict;
-use lib("../../../extlib/");
-use lib("../../../lib/");
-use lib("../extlib/");
-use Diary::L10N;
-use DBI;
-use Jcode;
use LWP::UserAgent;
use HTTP::Request::Common qw(POST);
-use AffelioApp;
-#use HTML::Template;
-#use CGI;
-use Cwd;
use XML::Parser;
use XML::RSS;
+use Affelio::misc::Debug qw( debug_print);
- use Affelio::misc::Debug qw( debug_print);
- use Affelio::misc::WebInput;
- use Affelio::exception::SystemException;
- use Error qw(:try);
-
- use Exporter;
- @Diary::ReadRdf::ISA = "Exporter";
- @Diary::ReadRdf::EXPORT = qw (show handler);
+use Exporter;
+ @ Diary::ReadRdf::ISA = "Exporter";
+ @ Diary::ReadRdf::EXPORT = qw (show handler);
#######################################################################
Index: affelio/apps/diary/Diary/ShowDiary.pm
diff -u affelio/apps/diary/Diary/ShowDiary.pm:1.3 affelio/apps/diary/Diary/ShowDiary.pm:1.4
--- affelio/apps/diary/Diary/ShowDiary.pm:1.3 Fri Mar 3 12:54:53 2006
+++ affelio/apps/diary/Diary/ShowDiary.pm Wed Mar 8 00:14:41 2006
@@ -14,30 +14,15 @@
# along with this program; if not, write to the Free Software
# Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
#
-# $Id: ShowDiary.pm,v 1.3 2006/03/03 03:54:53 higefuku Exp $
package Diary::ShowDiary;
{
use strict;
-use lib("../../../extlib/");
-use lib("../../../lib/");
-use Diary::L10N;
-use DBI;
-use Jcode;
-use LWP::UserAgent;
-use HTTP::Request::Common qw(POST);
-use AffelioApp;
-#use HTML::Template;
-#use CGI;
-use Cwd;
- use Affelio::misc::Debug qw( debug_print);
- use Affelio::misc::WebInput;
- use Affelio::exception::SystemException;
- use Error qw(:try);
-
- use Exporter;
- @Diary::ShowDiary::ISA = "Exporter";
- @Diary::ShowDiary::EXPORT = qw (show handler);
+use Affelio::misc::Debug qw( debug_print);
+
+use Exporter;
+ @ Diary::ShowDiary::ISA = "Exporter";
+ @ Diary::ShowDiary::EXPORT = qw (show handler);
#######################################################################
Index: affelio/apps/diary/Diary/Top.pm
diff -u affelio/apps/diary/Diary/Top.pm:1.2 affelio/apps/diary/Diary/Top.pm:1.3
--- affelio/apps/diary/Diary/Top.pm:1.2 Fri Mar 3 11:50:36 2006
+++ affelio/apps/diary/Diary/Top.pm Wed Mar 8 00:14:41 2006
@@ -126,7 +126,7 @@
$output_ref->{"install_title"} = $diary->{afap}->get_app_info("install_title");
debug_print("Diary::Top::show end.");
}
-}
+
##############################################
@@ -226,13 +226,14 @@
$tmpl->param(
TITLE => $entry->{title},
- TURL => "$self->{afap}->{af}->{site__web_root}/apps/$self->{afap}->{install_name}/tb/tb.cgi/$id",
- IDENT => "$self->{afap}->{af}->{site__web_root}/apps/$self->{afap}->{install_name}/show_diary.cgi?id=$id",
+ TURL => "$diary->{afap}->{af}->{site__web_root}/apps/$diary->{afap}->{install_name}/tb/tb.cgi/$id",
+ IDENT => "$diary->{afap}->{af}->{site__web_root}/apps/$diary->{afap}->{install_name}/show_diary.cgi?id=$id",
DESCRIPTION => $entry->{contents},
- CREATOR => $self->{afap}->{af}->{user__nickname},
+ CREATOR => $diary->{afap}->{af}->{user__nickname},
DATE => sprintf("%4d-%02d-%02dT%02d:%02d+09:00", $year, $mon, $mday, $hour, $min),
);
return $tmpl->output;
}
+}
Index: affelio/apps/diary/Diary/WriteComment.pm
diff -u affelio/apps/diary/Diary/WriteComment.pm:1.1 affelio/apps/diary/Diary/WriteComment.pm:1.2
--- affelio/apps/diary/Diary/WriteComment.pm:1.1 Wed Mar 1 14:40:35 2006
+++ affelio/apps/diary/Diary/WriteComment.pm Wed Mar 8 00:14:41 2006
@@ -1,4 +1,4 @@
-# Copyright (C) 2005 FishGrove Inc.
+# Copyright (C) 2006 Affelio Inc.
#
# This program is free software; you can redistribute it and/or
# modify it under the terms of the GNU General Public License
@@ -18,27 +18,11 @@
package Diary::WriteComment;
{
use strict;
-use lib("../../../extlib/");
-use lib("../../../lib/");
-use Diary::L10N;
-use DBI;
-use Jcode;
-use LWP::UserAgent;
-use HTTP::Request::Common qw(POST);
-use AffelioApp;
-#use HTML::Template;
-#use CGI;
-use Cwd;
-
- use Affelio::misc::Debug qw( debug_print);
- use Affelio::misc::WebInput;
- use Affelio::exception::SystemException;
- use Error qw(:try);
-
-
- use Exporter;
- @Diary::WriteComment::ISA = "Exporter";
- @Diary::WriteComment::EXPORT = qw (show handler);
+use Affelio::misc::Debug qw( debug_print);
+
+use Exporter;
+ @ Diary::WriteComment::ISA = "Exporter";
+ @ Diary::WriteComment::EXPORT = qw (show handler);
#######################################################################
@@ -155,6 +139,5 @@
return $str;
}
-
-
}
+1;
Index: affelio/apps/diary/Diary/WriteDiary.pm
diff -u affelio/apps/diary/Diary/WriteDiary.pm:1.8 affelio/apps/diary/Diary/WriteDiary.pm:1.9
--- affelio/apps/diary/Diary/WriteDiary.pm:1.8 Fri Mar 3 21:39:50 2006
+++ affelio/apps/diary/Diary/WriteDiary.pm Wed Mar 8 00:14:41 2006
@@ -363,3 +363,4 @@
}
}
+1;